Page 1 of 2

libSDLXenon / SDLQuake-libXenon

Posted: Thu Oct 20, 2011 6:45 pm
by lantus360
I've been working on a full fledged port of SDL for LibXenon and its at a stage where its good enough be released.

the repository is located at

https://github.com/lantus/libSDLXenon

Currently the following features are implemented in SDL

- Graphics
- Audio (some audio formats are probably still buggy)
- Joysticks (all 4 are supported)
- Threads (hasn't really been tested)

To compile up grab the latest source from the repository and use:

'make -f Makefile.xenon install' to build/install SDL in your environment

As a testbed, ive ported SDLQuake in parallel with libSDLXenon

SDLQuake libXenon repository is located at

https://github.com/lantus/sdlquake-libxenon

Download the source and use 'make' to build SDLQuake.

I've attached a binary with shareware quake as well.

Enjoy :)


SDLQuake-libXenon: Download

Re: libSDLXenon / SDLQuake-libXenon

Posted: Thu Oct 20, 2011 7:59 pm
by Juvenal
Very cool, ill package this up later today and add the binary SDL deb to my repo :)

Re: libSDLXenon / SDLQuake-libXenon

Posted: Thu Oct 20, 2011 9:53 pm
by warfaren
Nice, it compiled great and runs just fine :)
Although, my settings don't get saved when running from USB-drive after restarting the game (I guess it can't write to FAT32?).

Also, it would be nice with networking support. Right now it just says No network interface available or something like that when I go to the multiplayer menu.

Re: libSDLXenon / SDLQuake-libXenon

Posted: Thu Oct 20, 2011 10:04 pm
by Razkar
[quote="warfaren"]
Nice, it compiled great and runs just fine :)
Although, my settings don't get saved when running from USB-drive after restarting the game (I guess it can't write to FAT32?).

Also, it would be nice with networking support. Right now it just says No network interface available or something like that when I go to the multiplayer menu.
[/quote]
Save works fine for me via USB fat32 (4go usb key)

Re: libSDLXenon / SDLQuake-libXenon

Posted: Thu Oct 20, 2011 11:01 pm
by warfaren
[quote="Razkar"]
[quote="warfaren"]
Nice, it compiled great and runs just fine :)
Although, my settings don't get saved when running from USB-drive after restarting the game (I guess it can't write to FAT32?).

Also, it would be nice with networking support. Right now it just says No network interface available or something like that when I go to the multiplayer menu.
[/quote]
Save works fine for me via USB fat32 (4go usb key)
[/quote]

Do you mean savegames? Because I was talking about settings: key config etc.

Btw, it doesn't seem to recognize LB/RB and clicking the thumbsticks as buttons :(

Re: libSDLXenon / SDLQuake-libXenon

Posted: Thu Oct 20, 2011 11:25 pm
by lantus360
[quote="warfaren"]
Nice, it compiled great and runs just fine :)
Although, my settings don't get saved when running from USB-drive after restarting the game (I guess it can't write to FAT32?).

Also, it would be nice with networking support. Right now it just says No network interface available or something like that when I go to the multiplayer menu.
[/quote]

didnt you read the README where i said that networking is disabled? :p

Re: libSDLXenon / SDLQuake-libXenon

Posted: Thu Oct 20, 2011 11:26 pm
by lantus360
[quote="warfaren"]
[quote="Razkar"]
[quote="warfaren"]
Nice, it compiled great and runs just fine :)
Although, my settings don't get saved when running from USB-drive after restarting the game (I guess it can't write to FAT32?).

Also, it would be nice with networking support. Right now it just says No network interface available or something like that when I go to the multiplayer menu.
[/quote]
Save works fine for me via USB fat32 (4go usb key)
[/quote]

Do you mean savegames? Because I was talking about settings: key config etc.

Btw, it doesn't seem to recognize LB/RB and clicking the thumbsticks as buttons :(
[/quote]

you have to quit Quake for your config to be stored

Re: libSDLXenon / SDLQuake-libXenon

Posted: Thu Oct 20, 2011 11:53 pm
by warfaren
Alright. No I didn't notice any readme, since I just followed the instructions in this thread.

Thanks for answering though :)

Re: libSDLXenon / SDLQuake-libXenon

Posted: Fri Oct 21, 2011 3:33 pm
by Doerek
Razkar uploaded some Videofootage...
http://youtu.be/6XYvFCa8LMk

Re: libSDLXenon / SDLQuake-libXenon

Posted: Fri Oct 21, 2011 4:45 pm
by lantus360
yes, sound is working in SDL under libxenon :)

Re: libSDLXenon / SDLQuake-libXenon

Posted: Fri Oct 21, 2011 10:00 pm
by Pa0l0ne
I'm trying to compile but i receive this error:  http://pastebin.com/fx4uQdwa

Any idea how to solve?

Re: libSDLXenon / SDLQuake-libXenon

Posted: Sat Oct 22, 2011 1:44 am
by lantus360
use gliglis updated libxenon git which will resolve this issue

https://github.com/gligli/libxenon

Re: libSDLXenon / SDLQuake-libXenon

Posted: Sat Oct 22, 2011 5:08 pm
by lantus360
[quote="warfaren"]
[quote="Razkar"]
[quote="warfaren"]
Nice, it compiled great and runs just fine :)
Although, my settings don't get saved when running from USB-drive after restarting the game (I guess it can't write to FAT32?).

Also, it would be nice with networking support. Right now it just says No network interface available or something like that when I go to the multiplayer menu.
[/quote]
Save works fine for me via USB fat32 (4go usb key)
[/quote]

Do you mean savegames? Because I was talking about settings: key config etc.

Btw, it doesn't seem to recognize LB/RB and clicking the thumbsticks as buttons :(
[/quote]

shoulder and thumb buttons are now supported in the last commit i made

thanks

Re: libSDLXenon / SDLQuake-libXenon

Posted: Sun Oct 23, 2011 1:21 pm
by warfaren
[quote="lantus360"]
[quote="warfaren"]
[quote="Razkar"]
[quote="warfaren"]
Nice, it compiled great and runs just fine :)
Although, my settings don't get saved when running from USB-drive after restarting the game (I guess it can't write to FAT32?).

Also, it would be nice with networking support. Right now it just says No network interface available or something like that when I go to the multiplayer menu.
[/quote]
Save works fine for me via USB fat32 (4go usb key)
[/quote]

Do you mean savegames? Because I was talking about settings: key config etc.

Btw, it doesn't seem to recognize LB/RB and clicking the thumbsticks as buttons :(
[/quote]

shoulder and thumb buttons are now supported in the last commit i made

thanks
[/quote]awesome, thank you!

Re: libSDLXenon / SDLQuake-libXenon

Posted: Sun Oct 23, 2011 5:33 pm
by warfaren
I found a new bug, I believe.
Stereo audio seem to be inverted. It's pretty obvious when you're firing a grenade, and looking to the left and (so the grenade would explode to the right of you) and yet the explosion comes in the left speaker.

I don't know if this bug is exclusive to this game or if it exists in all of Libxenon / SDL or whatever.

So unless my cable (M$ Original Component) is messed up, we have a bug.
edit: Ok, so I double-checked my cable and ran Mirror's Edge just to make sure. Nothing wrong with my cable.