libSDLXenon / SDLQuake-libXenon

Show us your projects you made with libXenon
lantus360

libSDLXenon / SDLQuake-libXenon

Post by lantus360 » Thu Oct 20, 2011 6:45 pm

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
Last edited by lantus360 on Thu Oct 20, 2011 9:05 pm, edited 1 time in total.

Juvenal
Administrator
Administrator
Posts: 20
Joined: Wed Mar 23, 2011 8:50 am
Location: Sleeping, My desk.

Re: libSDLXenon / SDLQuake-libXenon

Post by Juvenal » Thu Oct 20, 2011 7:59 pm

Very cool, ill package this up later today and add the binary SDL deb to my repo :)
Whatnow?

warfaren

Re: libSDLXenon / SDLQuake-libXenon

Post by warfaren » Thu Oct 20, 2011 9:53 pm

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.

User avatar
Razkar
Team
Team
Posts: 16
Joined: Sat Feb 19, 2011 6:18 pm
Location: France

Re: libSDLXenon / SDLQuake-libXenon

Post by Razkar » Thu Oct 20, 2011 10:04 pm

[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)
[align=center]Image[/align]

warfaren

Re: libSDLXenon / SDLQuake-libXenon

Post by warfaren » Thu Oct 20, 2011 11:01 pm

[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 :(

lantus360

Re: libSDLXenon / SDLQuake-libXenon

Post by lantus360 » Thu Oct 20, 2011 11:25 pm

[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

lantus360

Re: libSDLXenon / SDLQuake-libXenon

Post by lantus360 » Thu Oct 20, 2011 11:26 pm

[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

warfaren

Re: libSDLXenon / SDLQuake-libXenon

Post by warfaren » Thu Oct 20, 2011 11:53 pm

Alright. No I didn't notice any readme, since I just followed the instructions in this thread.

Thanks for answering though :)

Doerek

Re: libSDLXenon / SDLQuake-libXenon

Post by Doerek » Fri Oct 21, 2011 3:33 pm

Razkar uploaded some Videofootage...
http://youtu.be/6XYvFCa8LMk
Last edited by Doerek on Sun Oct 23, 2011 8:33 pm, edited 1 time in total.

lantus360

Re: libSDLXenon / SDLQuake-libXenon

Post by lantus360 » Fri Oct 21, 2011 4:45 pm

yes, sound is working in SDL under libxenon :)

User avatar
Pa0l0ne
User
User
Posts: 33
Joined: Mon Sep 19, 2011 8:58 pm

Re: libSDLXenon / SDLQuake-libXenon

Post by Pa0l0ne » Fri Oct 21, 2011 10:00 pm

I'm trying to compile but i receive this error:  http://pastebin.com/fx4uQdwa

Any idea how to solve?

lantus360

Re: libSDLXenon / SDLQuake-libXenon

Post by lantus360 » Sat Oct 22, 2011 1:44 am

use gliglis updated libxenon git which will resolve this issue

https://github.com/gligli/libxenon

lantus360

Re: libSDLXenon / SDLQuake-libXenon

Post by lantus360 » Sat Oct 22, 2011 5:08 pm

[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

warfaren

Re: libSDLXenon / SDLQuake-libXenon

Post by warfaren » Sun Oct 23, 2011 1:21 pm

[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!

warfaren

Re: libSDLXenon / SDLQuake-libXenon

Post by warfaren » Sun Oct 23, 2011 5:33 pm

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.
Last edited by warfaren on Sun Oct 23, 2011 5:53 pm, edited 1 time in total.

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests