xboxscene.org forums

Xbox360 Forums => Xbox360 Software Forums => PC Tools and Utilities (Xbox 360 related) => Topic started by: Xbox-Scene on February 18, 2010, 04:26:00 PM

Title: libSDL360x v0.01
Post by: Xbox-Scene on February 18, 2010, 04:26:00 PM
libSDL360x v0.01
Posted by XanTium | February 18 18:26 EST | News Category: Xbox360
 
Lantus released the SDL Library for Xbox 360, which should allow developers to easily port SDL-based emulators/games/etc to the Xbox 360:
Quote

SDL Library for Xbox 360 Consoles
I've had this code for quite some time but its good enough to release. This code is based off the original libSDLx(info) code I wrote for the Xbox over 6 years ago.
The original DX8 audio/video calls were replaced by DX9 stuff and XAudio2 code to work with the Xbox 360.
This is just the source code to build the libraries. No binaries are included so its 100% legal!

Usage
Archive contains 3 folders:
- libSDLx360 contains main SDL project source code
- SDL_ttf360 is SDL TTF project source code
- SDLTest is a sample project showing a simple test of SDL
Basic SDL functionality is up. Graphics/audio/threads/filesystem/joysticks are all in and working nicely.

TODO
- Lots of optimizations
- Mouse/Keyboard/cdrom code is not written (yet)
- SDL Mixer doesnt exist (yet)

Help
Any source code patches people have will be helpful. Im especially looking into DX9 rendering optimizations and improvements to the software blitter code. Thanks :)

Official Site: n/a, by Lantus
Download: here
News-Source: xboxhacker.org



Title: libSDL360x v0.01
Post by: skyliner99 on February 18, 2010, 04:40:00 PM
...request to allow x360 homebrew for take off it granted
Title: libSDL360x v0.01
Post by: signum on February 18, 2010, 04:48:00 PM
Holy Crap!

Everyday gets better and better!

This will open the door further for currently existing programs to be ported to run on the 360.

A flood more of emulators inbound smile.gif
Title: libSDL360x v0.01
Post by: althena on February 18, 2010, 04:59:00 PM
Those made many game ports to the Xbox 1 possible, hope it will have the same effect on the Xbox 360.

Great to see Lantus making such a great contribution to the scene again, still use xSnes9x sometimes on my Xbox 1 for a few special BS roms that don't work so well on ZsnexBox smile.gif
Title: libSDL360x v0.01
Post by: Porta360 on February 18, 2010, 05:00:00 PM
Look up in the sky.. It's ah bird, It's ah plane, nooo.. It's 360HOMEBREW!!!
It's jumping off.
Title: libSDL360x v0.01
Post by: HotKnife420 on February 18, 2010, 05:54:00 PM
I can has this? biggrin.gif

 This is definitely a good addition. Nothing beats legal homebrew (well, except for maybe illegal homebrew j/k tongue.gif).
Title: libSDL360x v0.01
Post by: tristanx on February 18, 2010, 06:18:00 PM
biggrin.gif  biggrin.gif  biggrin.gif  biggrin.gif  biggrin.gif  biggrin.gif  biggrin.gif  biggrin.gif  biggrin.gif  biggrin.gif

i still need to get my system jtagged.
Title: libSDL360x v0.01
Post by: minooch on February 18, 2010, 06:45:00 PM
QUOTE(tristanx @ Feb 19 2010, 12:18 PM) *
biggrin.gif  biggrin.gif  biggrin.gif  biggrin.gif  biggrin.gif  biggrin.gif  biggrin.gif  biggrin.gif  biggrin.gif  biggrin.gif

i still need to get my system jtagged.


 

Its really easy - Should only take 1-2 hours max thats including the dumping & writing to nand

Title: libSDL360x v0.01
Post by: burnshroom on February 18, 2010, 07:30:00 PM
QUOTE(minooch @ Feb 18 2010, 07:45 PM) *

Its really easy - Should only take 1-2 hours max thats including the dumping & writing to nand


Two 30 - 40 min reads / 1 30 -40 min write --
That kills most of your 2 hours there.

Opening and soldering your xbox to boot -- hmmm 2 hours is pushing it.

But well worth whatever time you put into it.

Now I just want to find a Jasper unopened locally.
Title: libSDL360x v0.01
Post by: Lush on February 18, 2010, 08:25:00 PM
great work...
Title: libSDL360x v0.01
Post by: vb_encryption_vb on February 18, 2010, 08:57:00 PM
QUOTE(burnshroom @ Feb 18 2010, 09:30 PM) *

Two 30 - 40 min reads / 1 30 -40 min write --
That kills most of your 2 hours there.

Opening and soldering your xbox to boot -- hmmm 2 hours is pushing it.

But well worth whatever time you put into it.

Now I just want to find a Jasper unopened locally.



2 dumps @ 10 mins using the guide in my signature.

solder some points 30 mins tops and your ready to dump.

50 minutes total so,far

10 mins to write xellous to nand...

ftp into xellous download nand image... 10 mins

put xbr on usb disk and installed 2 minutes.

total time invested 72 minutes....

I'll have to time this some time...remember it's all a matter of fast you can solder and throw commands.
Title: libSDL360x v0.01
Post by: p4r0l3 on February 18, 2010, 09:02:00 PM
Fantastic news! Lantus has opened up many new possibilities with this release. 2010 surely is THE year for 360 homebrew. Can anyone say Mupen64 port? (*goldeneye nerdgasm*)
Title: libSDL360x v0.01
Post by: minooch on February 18, 2010, 09:05:00 PM
QUOTE(burnshroom @ Feb 19 2010, 01:30 PM) *


Two 30 - 40 min reads / 1 30 -40 min write --
That kills most of your 2 hours there.

Opening and soldering your xbox to boot -- hmmm 2 hours is pushing it.

But well worth whatever time you put into it.

Now I just want to find a Jasper unopened locally.


 

vb_encrytion beat me to it (and he is being generous with times) - you don't need nandpro for the entire process - it can even be a jasper 512 and still be less then 2 hours - Easy as 1-2-3

 

Title: libSDL360x v0.01
Post by: Odb718 on February 19, 2010, 04:15:00 AM
GJ
Title: libSDL360x v0.01
Post by: tweak3r on February 19, 2010, 04:31:00 AM
QUOTE(minooch @ Feb 19 2010, 05:05 AM) *

vb_encrytion beat me to it (and he is being generous with times) - you don't need nandpro for the entire process - it can even be a jasper 512 and still be less then 2 hours - Easy as 1-2-3


Its not about doing it fast, its about doing it right, so that it can be used for years without any E-Codes :-)

Title: libSDL360x v0.01
Post by: devideas on February 19, 2010, 04:39:00 AM
My SDK is too old sad.gif I must use Microsoft Visual Studio 2005 but it need Microsoft Visual Studio 2008 to open it  sad.gif

I have Microsoft Visual Studio 2008 but no newer XDK/SDK

 dry.gif  sleep.gif  sad.gif  mad.gif  blink.gif  ohmy.gif  uhh.gif  unsure.gif
Title: libSDL360x v0.01
Post by: dstruktiv on February 19, 2010, 05:16:00 AM
With a name like "devideas" it doesn't sound like you can actually code so just ignore this tongue.gif

But for ppl that know what they're doing it should be simple to make this compile under VS2005.
Title: libSDL360x v0.01
Post by: lantus on February 19, 2010, 05:38:00 AM
VS2005 project files are up on Xbins now
Title: libSDL360x v0.01
Post by: FrankMorris on February 19, 2010, 07:38:00 AM
Nice progress  (IMG:style_emoticons/default/ohmy.gif)




- - - - - - - -

Btw.. someone mentioned xSnes9x

After 6 years still need to use it to emulate couple of games on Xbox1. It just works!  (IMG:style_emoticons/default/smile.gif)




Title: libSDL360x v0.01
Post by: HotKnife420 on February 19, 2010, 07:40:00 AM
QUOTE(minooch @ Feb 19 2010, 05:05 AM) *

vb_encrytion beat me to it (and he is being generous with times) - you don't need nandpro for the entire process - it can even be a jasper 512 and still be less then 2 hours - Easy as 1-2-3


 That's kinda misleading. The only way to do it 100% right and be less than 3 hours is if you have a USB solution (well worth it if you're doing big block jasper). I know some people only grab the kv+config data and say to hell with the rest of the original image, but what if once you flash, for whatever reason, you can't get it to work (or some other scenario - a full backup is always recommended).
Title: libSDL360x v0.01
Post by: Reaper527 on February 19, 2010, 10:53:00 AM
great work lantus! this is a huge step forward for the jtag community. your libsdlx library on the xbox1 was awesome and made it very simple for people with little coding experience to participate in homebrew creation. i'm sure this will also give that opportunity to many people, and greatly aid the experienced as well.

This post has been edited by Reaper527: Feb 19 2010, 06:53 PM
Title: libSDL360x v0.01
Post by: hfmls on February 19, 2010, 11:33:00 AM
N64 emulator? is it possible now? smile.gif
Title: libSDL360x v0.01
Post by: akijikan on February 19, 2010, 11:37:00 PM
QUOTE(HotKnife420 @ Feb 19 2010, 09:40 AM) *

That's kinda misleading. The only way to do it 100% right and be less than 3 hours is if you have a USB solution (well worth it if you're doing big block jasper). I know some people only grab the kv+config data and say to hell with the rest of the original image, but what if once you flash, for whatever reason, you can't get it to work (or some other scenario - a full backup is always recommended).


grab the kv-config and then get the rest over xellous....
Title: libSDL360x v0.01
Post by: WarriorSan on February 20, 2010, 07:33:00 AM
This is great news thanks lantus