eddieb
Vice Admiral
A beta version of the new Linux version of Flight Commander is now available at the main Flight Commander page. Go to downloads, and you'll find it there. Please let me know how it goes.
vorfeed said:This seems to be running for me, and looks great, but my USB joystick isn't working even though I can see it work using "cat /dev/js0". Flight commander says "Found joystick with 0 buttons" upon starting. Is there anything special I need to do to get the game working with a joystick?
vorfeed said:Yes, the joystick was plugged in when I booted. I get the following message on bootup:
input: USB HID v1.10 Joystick [THRUSTMASTER Top Gun Fox 2 Pro ] on usb2:3.0
It looks as if the joystick is showing up OK, and I can see it sending input when I cat the device. Maybe there's something else I need to do to get Glut to detect it?
By the way, is mouse support planned for this project? If I can't get the joystick to work, I probably won't have much fun with it, because playing with the keyboard is the worst.
I'll look into it a bit more later (rather busy right now). It runs smooth though and looks good Very polished.Found joystick with 0 buttons
Could not init sound, disabling sound and music
hellcatv said:Awesome Eddie--I'll have to check this out--i'd been trying to get flightcommander working on wine for some time (I tried it in windows land a few times and ti worked great) to try it in linux would be great... though since I'm running debian stale, I'd imagine it would be a lot easier if you statically linked those libraries into your executable (that's what I've done for vegastrike and hence privateer remake) If you need information on how to do this, I'm your man.
anyhow I'll try to go ahead and compile libIL and see where it gets me.
hellcatv said:I don't own a joystick...however after a few decaminutes of hacking at your binary I was able to get things working on debian stable.
I had to setup gcc-3.3 as my default compiler and copy libpthread.so and ld-linux.so.2 and libc.so.6 and libc++.so.5 from a debian unstable (sarge) install of olde. Once I setup LD_PRELOAD to load the proper libs and hacked the flightcommander binary itself to load ld-lunix.so.2 instead of ld-linux.so.2 then it magically all worked
And now it's running perfectly on my box.
You should really consider releasing the source code under some nice open source license. It would be a lot easier to get it running--none of that binary hacking, just build with my gcc and link however I want (i.e. with the statically built libfmod--which was the other closed-source stickler in the group of libs you used)
Unregistered said:I've installed all dependencies, but it claims it couldn't find cursor.bmp although that file is just in the same directory as the flightcommander executable...
./flightcommander
Text to speech not available
Flight Commander 1.1 alpha
Graphics: NVIDIA Corporation GeForce 6600 GT/AGP/SSE2/3DNOW!
point parameters extension found
point sprites extension found
Shaders found
Generate mipmap found
Texture compression found
S3TC texture compression found
Anisotropic texture filtering found
Cube mapping found
Found joystick with 0 buttons
Sound driver:/dev/dsp
Sound driver: OSS
3d sound acceleration not found
Could not find file cursor.bmp
Any hints?