Bennu Game Development

English Forums => Platforms => XBOX (homebrew) => Topic started by: pdiddles03 on May 24, 2011, 02:23:13 AM

Title: porting to XBox
Post by: pdiddles03 on May 24, 2011, 02:23:13 AM
anyone have experience in porting bennugd to xbox?  I'm writing games and need some help porting them.
Title: Re: porting to XBox
Post by: FreeYourMind on May 24, 2011, 06:33:46 AM
thereare a topic about it, i'm working on a port too (in standby right now)
Title: Re: porting to XBox
Post by: pdiddles03 on May 24, 2011, 11:22:14 AM
can I get the link for it?  I tried searching for it and couldn't find it.
Title: Re: porting to XBox
Post by: FreeYourMind on May 24, 2011, 11:49:20 AM
write 'xbox' on search, is the second result..... ::)

http://forum.bennugd.org/index.php?topic=2268.0
Title: Re: porting to XBox
Post by: handsource-dyko on May 24, 2011, 12:21:08 PM
Isn't the xbox just a modified pc with an embedded and stripped version of windows? It appears the api's are based on directx. I believe there are linux version for the xbox out there that turn it onto just an ordinairy pc. The controllers are usb based, the only difference are the connectors.
Title: Re: porting to XBox
Post by: pdiddles03 on May 24, 2011, 03:42:04 PM
handsourcedyko,

the xbox is basically a broken down pc.  Yes it runs linux. but it does not run windows.  there was a port of windows ce done fo rit, but it is not fully functioning.  it was more of a proof of concept thing. 

The xbox does not launch EXE files, it launches xbe files.  That is why there are teams at the xbox-scene that were or are dedicated to porting things to the Xbox, becaues the Xbox does not run windows games. 

Of course you can use wine under linux, but with the limited capability to doing that, and sometimes wine won't run the games either.   

The only linux that runs properly under Xbox is XDSL .  all other ones have a hard time running and are slow becuase of the original Xbox's limited resources.
Title: Re: porting to XBox
Post by: handsource-dyko on May 24, 2011, 06:15:09 PM
I knew that it does not run exe files, but it what thought that the os was based on the kernal of windowsNT. The filesystem is believed to be a FAT12 variant. But it does use directx. (I've got it from wikipedia).
Title: Re: porting to XBox
Post by: pdiddles03 on May 24, 2011, 07:19:31 PM
Yes, but that doesn't help much with porting
Title: Re: porting to XBox
Post by: l1nk3rn3l on May 25, 2011, 01:58:17 AM
bennu xbox binaries...

http://www.mediafire.com/?c65py0h5q2bs1d6

http://www.mediafire.com/?8bs87t5dddxd25d
Title: Re: porting to XBox
Post by: SplinterGU on May 25, 2011, 03:02:21 AM
karma! increible!

gracias.
Title: Re: porting to XBox
Post by: FreeYourMind on May 25, 2011, 06:35:12 AM
Quote from: SplinterGU on May 25, 2011, 03:02:21 AM
karma! increible!

gracias.

Yo flipo contigo  ;D
Has dado un karma sin saber o ni siquiera mirar porque lo has hecho xDDDDDDDDDDDDDD
Title: Re: porting to XBox
Post by: pdiddles03 on May 25, 2011, 12:38:56 PM
Quote from: l1nk3rn3l on May 25, 2011, 01:58:17 AM
bennu xbox binaries...

http://www.mediafire.com/?c65py0h5q2bs1d6

http://www.mediafire.com/?8bs87t5dddxd25d

How do i use them?
Title: Re: porting to XBox
Post by: SplinterGU on May 25, 2011, 01:02:21 PM
Quote from: FreeYourMind on May 25, 2011, 06:35:12 AM
Quote from: SplinterGU on May 25, 2011, 03:02:21 AM
karma! increible!

gracias.

Yo flipo contigo  ;D
Has dado un karma sin saber o ni siquiera mirar porque lo has hecho xDDDDDDDDDDDDDD

por los binarios bennu para xbox, acaso esta mal?
Title: Re: porting to XBox
Post by: FreeYourMind on May 25, 2011, 01:24:47 PM
Si esta mal, has visto que binarios eran ?

Son los mismos que puse yo semanas antes en el post de SORR, y no es un port de Bennu completo, pero si el mismo que viene con el SORR de XBOX que fue portado por A600 xDDDDDDDDDDDDDDD
Title: Re: porting to XBox
Post by: pdiddles03 on May 25, 2011, 01:31:04 PM
please reply in english.
Title: Re: porting to XBox
Post by: SplinterGU on May 25, 2011, 01:59:36 PM
Quote from: FreeYourMind on May 25, 2011, 01:24:47 PM
Si esta mal, has visto que binarios eran ?

Son los mismos que puse yo semanas antes en el post de SORR, y no es un port de Bennu completo, pero si el mismo que viene con el SORR de XBOX que fue portado por A600 xDDDDDDDDDDDDDDD

when you posted they, you was receive your karma too.

I don't have xbox for test it.
Title: Re: porting to XBox
Post by: FreeYourMind on May 25, 2011, 02:22:58 PM
But are the same....  :D
Title: Re: porting to XBox
Post by: SplinterGU on May 25, 2011, 02:34:01 PM
Quote from: FreeYourMind on May 25, 2011, 02:22:58 PM
But are the same....  :D

what you want? that I remove my gift karma from l1nk3rn3l?

sorry, karma for you then.
Title: Re: porting to XBox
Post by: FreeYourMind on May 25, 2011, 02:56:47 PM
Is not about the karma, is because you don't take a look to the anexed files and you believe there is a port from Bennu to XBox made by linkernel xD
Title: Re: porting to XBox
Post by: pdiddles03 on May 25, 2011, 03:01:36 PM
Im so confused, what does this have to do with portin bennugd games to Xbox?
Title: Re: porting to XBox
Post by: SplinterGU on May 25, 2011, 03:11:23 PM
Quote from: FreeYourMind on May 25, 2011, 02:56:47 PM
Is not about the karma, is because you don't take a look to the anexed files and you believe there is a port from Bennu to XBox made by linkernel xD

I don't have an xbox, then what is the point to see the binary file? I just encourage the effort, if somebody said "binaries for xbox" and add a link for download it, in a thread talking about "porting to Xbox", then I'll congratulate he... sorry if you disagree it.
Title: Re: porting to XBox
Post by: josebita on May 25, 2011, 10:01:39 PM
Quote from: pdiddles03 on May 25, 2011, 03:01:36 PM
Im so confused, what does this have to do with portin bennugd games to Xbox?
For what I understood, this port uses the official Microsoft SDK (without their consent).
I would've tested it, but it requires a very specific version of Visual Studio which is not the one I have (VS2010). If there's a working SDK with a working SDL port, let me know and I'll try to give it a look.
Title: Re: porting to XBox
Post by: pdiddles03 on May 26, 2011, 01:24:34 PM
I'm still confused because a600 ported a bennu game to the Xbox. Using openxdk i believe.  How does he not have permission to do that? 
Title: Re: porting to XBox
Post by: SplinterGU on May 26, 2011, 03:18:24 PM
Freeyourmain, explain that no need permission... I think.
Title: Re: porting to XBox
Post by: pdiddles03 on May 26, 2011, 03:23:06 PM
this forum is weird.
Title: Re: porting to XBox
Post by: SplinterGU on May 26, 2011, 04:26:28 PM
Quote from: pdiddles03 on May 26, 2011, 03:23:06 PM
this forum is weird.

we are weird!
Title: Re: porting to XBox
Post by: FreeYourMind on May 26, 2011, 05:51:50 PM
Quote from: pdiddles03 on May 26, 2011, 01:24:34 PM
I'm still confused because a600 ported a bennu game to the Xbox. Using openxdk i believe.  How does he not have permission to do that? 

No. It do the port with oficial Microsoft Xbox SDK and i'm working in the bennu port for xbox with the same SDK...
Title: Re: porting to XBox
Post by: josebita on May 26, 2011, 05:55:22 PM
I believe the port was done with my monolithic code as a basis. I had understood that the one used in the Xbox version of SORRv5 was using microsoft's SDK.
If it can be made to work with openxdk, I can try to give it a look.
Title: Re: porting to XBox
Post by: FreeYourMind on May 26, 2011, 06:01:03 PM
Yes is you monolitic version.
Anyway, any comment i made in the future, i made it on original post from Bennu XBox port...
Title: Re: porting to XBox
Post by: pdiddles03 on June 01, 2011, 12:50:29 PM
ok ill ask one more time, see if anyone can help.

How can i uses a600 modules he used to port a game to XBox?  Do i use cygwin? is there a tutorial somewhere?

if not, can someone tell me how?
Title: Re: porting to XBox
Post by: FreeYourMind on June 01, 2011, 01:48:00 PM
cygwin !???? Man, i think you are a bit confused...
The port to XBOX is Microsoft technology, they don't use Linux, and use the SDL distro for Windows....

I say it again, i'm working on the port to XBox, if you whant to do the port yourself, you're welcome.
The A600 src are included in the distro of SORR to XBox, take a look to see what modules A600 has ported, in the other post we put the complete list and details...
Title: Re: porting to XBox
Post by: pdiddles03 on June 01, 2011, 01:51:39 PM
Problem is, i don't read spanish lol.  if i did it would be alot easier. 

freeyourmind, thank you for your help.  I appreciate it.  :) You seem to be there a lot for people. 

How do you use the modules?
Title: Re: porting to XBox
Post by: pdiddles03 on June 01, 2011, 01:53:06 PM
Is this compiled then with c# and visual studio 2003?

My problem is I am trying to compile a XBE file
Title: Re: porting to XBox
Post by: FreeYourMind on June 01, 2011, 03:46:46 PM
In the spanish post, they are a external link in english who teach you to configure VS2003, only works with VS2003.
Title: Re: porting to XBox
Post by: pdiddles03 on June 01, 2011, 05:34:43 PM
On Xbox-scene people say you can use cygwin to make an xbe along with openxdk. 

My question is, how the heck do you use the streets of rage modules?  There is no documentation on bennu for Xbox, i've looked and looked. 
Title: Re: porting to XBox
Post by: FreeYourMind on June 01, 2011, 05:45:01 PM
First try to compile A600 port, if you have sucess on this, to complete the bennu port you need to compile the rest of the modules. It's simple...
I don't undestand your doubts, you don't need documentation (don't exists anyway), simply try to compile the src, i'm compiling the actual src, but i have problems with the version of pnglib, my port is in standby for now, i can't help you about cygwin, because i use oficial Xbox SDK and i don't have problems to generate the XBE if i disable the module that use the pnglib...
Title: Re: porting to XBox
Post by: pdiddles03 on June 01, 2011, 06:06:27 PM
Ok, so I'm sorry I'm such a headache.

But i got more questions lol. 

If I have a game already written in bennu, it's all working right on pc.  And I want to port it using the official xdk, how would I use the libraries of streets of rage to compile the xbe?  is there another language I need to learn or are the libraries streets of rage all I need to compile the xbe? 

thanks for all your help
Title: Re: porting to XBox
Post by: FreeYourMind on June 01, 2011, 06:21:20 PM
First, forget the SORR game, the only thing have to be present is the xbox port have X modules of Y ported (the list in the spanish post).

So, if your game only needs modules of this list, your game works with the sorr bennu port, only rename your game (your .dcb) to the name of the SORR dcb...

The second step is to adapt your game to XBox buttons or resolution, this depends on your game...
Title: Re: porting to XBox
Post by: pdiddles03 on June 01, 2011, 06:27:54 PM
In what language is that done in?  or can this also be done in bennugd?
Title: Re: porting to XBox
Post by: FreeYourMind on June 01, 2011, 06:33:48 PM
i don't understand , do what ?
Title: Re: porting to XBox
Post by: pdiddles03 on June 01, 2011, 06:36:27 PM
Ok, how can i specify which button to push for an action lets say on the computer, jump is space bar, and shift is shoot.  How can i specify A is shoot and B is jump?  can this be done in bennu or does it need to be done through xdk?
Title: Re: porting to XBox
Post by: pdiddles03 on June 01, 2011, 06:42:34 PM
BAsically how is adapting done, Can it be done through bennu
Title: Re: porting to XBox
Post by: FreeYourMind on June 01, 2011, 06:52:39 PM
you can see the src of the port to view the equivalence of buttons, or compare PC version of SORR with the XBox version and annotate them...
Title: Re: porting to XBox
Post by: pdiddles03 on June 01, 2011, 07:17:05 PM
did a600 write the the button thin in bennu? or did he write it in another language
Title: Re:porting to XBox
Post by: FreeYourMind on December 07, 2012, 10:31:38 AM
I wonder who of you have an XBox 1 hacked? Thanks.
Title: Re:porting to XBox
Post by: FreeYourMind on December 09, 2012, 08:37:10 PM
No one have a X-box 1 ?? No one try Street Of Rage Remake on his X-Box 1 ?
Title: Re:porting to XBox
Post by: FreeYourMind on December 14, 2012, 08:23:02 PM
Finally!!!!

I made the compilation of BennuGD of the A600 xbox port (Street of rage Remake bennugd monolithic version to play this game on xbox), on my PC.


Now, the current release have ported the next modules:

libblit
libdraw
libfont
libgrbase
libjoy
libkey
libmouse
librender
libsdlhandler
libtext
libvideo
libwm
mod_dir
mod_draw
mod_effects
mod_file
mod_grproc
mod_joy
mod_key
mod_map
mod_math
mod_proc
mod_rand
mod_screen
mod_sound
mod_string
mod_text
mod_time
mod_timers
mod_video
mod_wm

Modules missing to complete on next bennu port:

libscroll
mod_blendop
mod_cd
mod_crypt
mod_debug
mod_ffi
mod_flic
mod_m7
mod_mathi
mod_mem
mod_mouse
mod_path
mod_regex
mod_say
mod_scroll
mod_sort
mod_sys


If your game only use the current ported modules you can play your bennugd game on xbox (you can use A600 SORR port for this).

The next goal is complete port and next step is compile last version of bennu monolithic.


Like I see, no one have a Xbox here, so I will test the port in another place, at the moment I cannot play a burnied cd-rw or dvd-rw on my xbox with panasonic driver (is xbox from futublog, futu please give some info about that xD).
Title: Re:porting to XBox
Post by: FreeYourMind on January 14, 2013, 10:07:47 PM
------------------------------------------------------------
Current status of BennuGD monolithic port - version r244:
------------------------------------------------------------


Official modules compiled/included:

libblit
libdraw
libfont
libgrbase
libjoy
libkey
libmouse
librender
libsdlhandler
libtext
libvideo
libwm
mod_dir
mod_draw
mod_effects
mod_file
mod_grproc
mod_joy
mod_key
mod_map
mod_math
mod_proc
mod_rand
mod_screen
mod_sound
mod_string
mod_text
mod_time
mod_timers
mod_video
mod_wm
libscroll
mod_blendop
mod_mathi
mod_mem
mod_mouse
mod_path
mod_flic
mod_say
mod_scroll
mod_sort

Official modules missing:

mod_regex
mod_cd
mod_crypt
mod_debug
mod_ffi
mod_m7
mod_sys
Title: Re:porting to XBox
Post by: handsource-dyko on January 15, 2013, 08:17:56 AM
mod_ffi?  ??? Isn't that module scrapped from the official version? In the earlier bennu releases it was included but it seems to be gone. Any Idea why?
Title: Re:porting to XBox
Post by: FreeYourMind on January 15, 2013, 08:19:01 AM
I'n fact I put on list but I don't know what do this module, I need to check src.
Title: Re:porting to XBox
Post by: handsource-dyko on January 15, 2013, 10:02:14 AM
As far as I can remember it was created for communicating with/accessing system api's. Wonder why it's actually beeing removed. I think it can be usefull in some cases.
Title: Re:porting to XBox
Post by: SplinterGU on January 15, 2013, 03:32:59 PM
was removed because libffi had some bugs... I think that all it was fixed...

but other reason because it was removed was because no user was interest in it.
Title: Re:porting to XBox
Post by: FreeYourMind on January 15, 2013, 10:09:29 PM
News! Now finally I can test by myself xD
New port working, and testing Sorr with new port, new games will come tested in the next days.
It's amazing playing Sorr in a plasma 50 xD

(http://www.gp32spain.com/foros/attachment.php?attachmentid=30620&d=1358286992)

(http://www.gp32spain.com/foros/attachment.php?attachmentid=30623&d=1358287144)

(http://www.gp32spain.com/foros/attachment.php?attachmentid=30622&d=1358287096)

(http://www.gp32spain.com/foros/attachment.php?attachmentid=30621&d=1358287048)

(http://www.gp32spain.com/foros/attachment.php?attachmentid=30619&d=1358286949)

(http://www.gp32spain.com/foros/attachment.php?attachmentid=30618&d=1358286904)
Title: Re:porting to XBox
Post by: SplinterGU on January 15, 2013, 10:16:31 PM
que mal no ser admin... no puedo poner karma hasta dentro de 1 hora...

karma free!
Title: Re:porting to XBox
Post by: FreeYourMind on January 16, 2013, 07:59:47 PM
Firsts tests with port.

Testing Hamster's Escape, all work perfect at fullscreen, the only problem at the moment is I cannot find all buttons mappers, but some of Wiz buttons mappers works. I see we need to use Joy buttons (The key's defined for sorr don't work on this game so I think only joy buttons works).

http://www.youtube.com/watch?v=GweJSiK6_Ps (http://www.youtube.com/watch?v=GweJSiK6_Ps)

(http://sphotos-g.ak.fbcdn.net/hphotos-ak-snc6/207651_10151344798068118_991878093_n.jpg)
Title: Re:porting to XBox
Post by: FreeYourMind on January 27, 2013, 01:02:20 PM
Geca Blaster 2 running on XBox (Beta)

(http://sphotos-e.ak.fbcdn.net/hphotos-ak-ash3/523170_10151365988413118_1201019415_n.jpg)

(http://sphotos-e.ak.fbcdn.net/hphotos-ak-prn1/150005_10151365986423118_194874268_n.jpg)

(http://sphotos-f.ak.fbcdn.net/hphotos-ak-prn1/64909_10151365984178118_1513406799_n.jpg)

(http://sphotos-h.ak.fbcdn.net/hphotos-ak-prn1/76151_10151365987398118_1045160834_n.jpg)

(http://sphotos-g.ak.fbcdn.net/hphotos-ak-ash4/196287_10151365987038118_34324292_n.jpg)

(http://sphotos-d.ak.fbcdn.net/hphotos-ak-prn1/556612_10151365987118118_1656914832_n.jpg)

(http://sphotos-g.ak.fbcdn.net/hphotos-ak-prn1/62291_10151365987788118_680218812_n.jpg)

(http://sphotos-f.ak.fbcdn.net/hphotos-ak-ash4/419754_10151365988168118_445833297_n.jpg)

(http://sphotos-h.ak.fbcdn.net/hphotos-ak-ash4/734675_10151365988378118_812747395_n.jpg)
Title: Re:porting to XBox
Post by: FreeYourMind on January 27, 2013, 01:22:23 PM
bad news, mod_scroll is compiled and included but start_scroll is freezing the console...
Title: Re:porting to XBox
Post by: SplinterGU on January 27, 2013, 06:42:07 PM
no tendras un grafico muy grande? quizas sea cosas de memoria... no se me ocurre nada en la mod_scroll que te freeze el equipo, salvo que consuma mucha memoria o quizas el programa crasheo, y no se que pasa en una xbox cuando crashea un programa.
Title: Re:porting to XBox
Post by: FreeYourMind on January 27, 2013, 08:42:36 PM
I fix the error, now mod_scroll works perfectly  ;)

(http://sphotos-h.ak.fbcdn.net/hphotos-ak-ash3/555227_10151366749933118_1359479283_n.jpg)
Title: Re:porting to XBox
Post by: SplinterGU on January 27, 2013, 11:16:15 PM
can you tell us what was the problem?
Title: Re:porting to XBox
Post by: FreeYourMind on January 27, 2013, 11:20:09 PM
I forget to uncomment some imports...
Title: Re:porting to XBox
Post by: SplinterGU on January 27, 2013, 11:21:51 PM
ok... thanks... great work!