How's the progress nowdays?
I tried to run jetblade but I encountered errors.
Firstly
$ python3 jetblade.py
File "jetblade.py", line 78
print "Cannot use multiple-map generation with a sourced map file."
^
SyntaxError: invalid syntax
Then using Python 2.7 looked more promising:
$ python2 jetblade.py
Error compiling Cython file:
------------------------------------------------------------
...
## Instantiate a Vector2D. We accept either two coordinates, or a single
# argument which is assumed to be a tuple or list with at least two
# elements. If you want to make a Vector2D from another Vector2D,
# use the copy function.
def __new__(self, first, second = None, magnitude = -1):
^
------------------------------------------------------------
vector2d.pyx:17:4: __new__ method of extension type will change semantics in a future version of Pyrex and Cython. Use __cinit__ instead.
/home/zucca/.pyxbld/temp.linux-x86_64-2.7/pyrex/vector2d.c:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation.
Traceback (most recent call last):
File "jetblade.py", line 108, in <module>
cProfile.run('run()', 'profiling.txt')
File "/usr/lib/python2.7/cProfile.py", line 29, in run
prof = prof.run(statement)
File "/usr/lib/python2.7/cProfile.py", line 135, in run
return self.runctx(cmd, dict, dict)
File "/usr/lib/python2.7/cProfile.py", line 140, in runctx
exec cmd in globals, locals
File "<string>", line 1, in <module>
File "jetblade.py", line 27, in run
import vector2d
File "/usr/lib/python2.7/site-packages/pyximport/pyximport.py", line 331, in load_module
self.pyxbuild_dir)
File "/usr/lib/python2.7/site-packages/pyximport/pyximport.py", line 183, in load_module
so_path = build_module(name, pyxfilename, pyxbuild_dir)
File "/usr/lib/python2.7/site-packages/pyximport/pyximport.py", line 167, in build_module
reload_support=pyxargs.reload_support)
File "/usr/lib/python2.7/site-packages/pyximport/pyxbuild.py", line 85, in pyx_to_dll
dist.run_commands()
File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/usr/lib/python2.7/site-packages/Cython/Distutils/build_ext.py", line 135, in run
_build_ext.build_ext.run(self)
File "/usr/lib/python2.7/distutils/command/build_ext.py", line 340, in run
self.build_extensions()
File "/usr/lib/python2.7/site-packages/Cython/Distutils/build_ext.py", line 143, in build_extensions
self.build_extension(ext)
File "/usr/lib/python2.7/distutils/command/build_ext.py", line 499, in build_extension
depends=ext.depends)
File "/usr/lib/python2.7/distutils/ccompiler.py", line 624, in compile
self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
File "/usr/lib/python2.7/distutils/unixccompiler.py", line 180, in _compile
raise CompileError, msg
ImportError: Building module failed: ["CompileError: command 'gcc' failed with exit status 1\n"]
And finally I even compiled Python 2.5:
$ python2.5 jetblade.py
Traceback (most recent call last):
File "jetblade.py", line 3, in <module>
import splashscreen
File "/home/zucca/jetblabe-hg/jetblade/splashscreen.py", line 4, in <module>
import pygame
ImportError: No module named pygame
... which is kinda strange since I have installed pygame and Python 2.7 doesn't complain about it. :P
Finally here's some of my system stats:
$ inxi -xv2
System: Host Mieu Kernel 2.6.39-ARCH x86_64 (64 bit) Desktop LXDE (Openbox 3.4.11.2) Distro Arch Linux
Machine: System Acer (portable) product Aspire 1810TZ version v1.3314
Mobo Acer model JM11-MS version Base Board Version
Bios INSYDE version v1.3314 date 08/31/2010
CPU: Dual core Intel U4100 (-MCP-) clocked at 1200.00 MHz
Graphics: Card: Intel Mobile 4 Series Chipset Integrated Graphics Controller bus-ID: 00:02.0
X.Org 1.10.2 driver loaded: intel Resolution 1920x1080@60.0hz
GLX Renderer Mesa DRI Mobile Intel GM45 Express Chipset GLX Version 2.1 Mesa 7.10.2 Direct Rendering Yes
Network: Card-1 Atheros AR8131 Gigabit Ethernet driver atl1c v: 1.0.1.0-NAPI port 2000 bus-ID: 01:00.0
Card-2 Intel Centrino Wireless-N 1000 driver iwlagn v: in-tree: bus-ID: 02:00.0
Disks: HDD Total Size: 320.1GB (10.9% used) 1: Hitachi_HTS54503
Info: Processes 133 Uptime 1 day Memory 693.4/3870.0MB Runlevel 3 Client Shell inxi 1.6.7
BTW. If I get this working I'm going to write a PKGBUILD of this game for Arch Linux.