xboxscene.org forums

Pages: 1 2 3 [4] 5 6 ... 10

Author Topic: Xmugen  (Read 2956 times)

bc54

  • Archived User
  • Full Member
  • *
  • Posts: 196
Xmugen
« Reply #45 on: July 24, 2009, 01:10:00 AM »

well, yeah, i was thinking about that, but first i want to make sure that mugen works, but it freezes at that second now loading, it never plays that intro video or goes to press f1 now. im gonna look into this some more.

yeah, but after i get mugen working, then i want to look into getting the main menu to display xmugen as an option. then maybe we can use this menu to pick screenpacks. i dont know much about them because i havent looked into them more, but it should be possible, we just have to look into more.

anyways, if someone has gotten mugen to correctly launch from minilinux please share how you did it.
Logged

guybird

  • Archived User
  • Sr. Member
  • *
  • Posts: 407
Xmugen
« Reply #46 on: July 24, 2009, 09:32:00 AM »

I assume that you're using a keyboard to launch it right?  I was never able to get anywhere with it as I didn't know how to change the joypad/keyboard assignments.
Logged

guybird

  • Archived User
  • Sr. Member
  • *
  • Posts: 407
Xmugen
« Reply #47 on: July 24, 2009, 10:57:00 AM »

CODE
./mugen -r CVS2


Its case sensitive.  The -r option tells it to load that particular screenpack.  So I tried this out in minilinux, launched it via ssh on my pc.  Got it to load, but past that point, my remote session doesn't seem to be able to pass anymore commands, so I can't get past the press F1 disclaimer.  To be able to get any further than this, you'd either have to have a keyboard plugged into your xbox, or we'll have to figure out how to remap the joypad buttons.
Logged

bc54

  • Archived User
  • Full Member
  • *
  • Posts: 196
Xmugen
« Reply #48 on: July 24, 2009, 12:49:00 PM »

yeah, i should have figured that the screenpack was broken. now, i have a new problem, i think because of the koypad to keyboard patch, f1-f4 are recognized as A-B, so i cant get passed the f1 screen.

also, i dont think that joy2key will work until i can disable the joystick patch. i think im going to have to recompile the kernel, so if you have any of friedgold's documentation it would really help.

also, i am on the #xmugen irc, so if you want to talk there.
Logged

bc54

  • Archived User
  • Full Member
  • *
  • Posts: 196
Xmugen
« Reply #49 on: July 24, 2009, 07:16:00 PM »

CODE
root@spencer-desktop:/usr/src/linux-2.4.31# make bzImage
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/split-include scripts/split-include.c
scripts/split-include.c: In function 'main':
scripts/split-include.c:133: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result
scripts/split-include include/linux/autoconf.h include/config
gcc -D__KERNEL__ -I/usr/src/linux-2.4.31/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -fno-unit-at-a-time   -DKBUILD_BASENAME=main -c -o init/main.o init/main.c
In file included from /usr/src/linux-2.4.31/include/linux/prefetch.h:13,
                 from /usr/src/linux-2.4.31/include/linux/list.h:6,
                 from /usr/src/linux-2.4.31/include/linux/wait.h:14,
                 from /usr/src/linux-2.4.31/include/linux/fs.h:12,
                 from /usr/src/linux-2.4.31/include/linux/capability.h:17,
                 from /usr/src/linux-2.4.31/include/linux/binfmts.h:5,
                 from /usr/src/linux-2.4.31/include/linux/sched.h:9,
                 from /usr/src/linux-2.4.31/include/linux/mm.h:4,
                 from /usr/src/linux-2.4.31/include/linux/slab.h:14,
                 from /usr/src/linux-2.4.31/include/linux/proc_fs.h:5,
                 from init/main.c:15:
/usr/src/linux-2.4.31/include/asm/processor.h:75: error: array type has incomplete element type
In file included from /usr/src/linux-2.4.31/include/linux/fs.h:322,
                 from /usr/src/linux-2.4.31/include/linux/capability.h:17,
                 from /usr/src/linux-2.4.31/include/linux/binfmts.h:5,
                 from /usr/src/linux-2.4.31/include/linux/sched.h:9,
                 from /usr/src/linux-2.4.31/include/linux/mm.h:4,
                 from /usr/src/linux-2.4.31/include/linux/slab.h:14,
                 from /usr/src/linux-2.4.31/include/linux/proc_fs.h:5,
                 from init/main.c:15:
/usr/src/linux-2.4.31/include/linux/ncp_fs_i.h:26: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux-2.4.31/include/linux/ncp_fs_i.h:27: warning: 'packed' attribute ignored for field of type '__u8[6]'
In file included from /usr/src/linux-2.4.31/include/linux/ncp_mount.h:12,
                 from /usr/src/linux-2.4.31/include/linux/ncp_fs_sb.h:12,
                 from /usr/src/linux-2.4.31/include/linux/fs.h:735,
                 from /usr/src/linux-2.4.31/include/linux/capability.h:17,
                 from /usr/src/linux-2.4.31/include/linux/binfmts.h:5,
                 from /usr/src/linux-2.4.31/include/linux/sched.h:9,
                 from /usr/src/linux-2.4.31/include/linux/mm.h:4,
                 from /usr/src/linux-2.4.31/include/linux/slab.h:14,
                 from /usr/src/linux-2.4.31/include/linux/proc_fs.h:5,
                 from init/main.c:15:
/usr/src/linux-2.4.31/include/linux/ncp.h:24: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux-2.4.31/include/linux/ncp.h:25: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux-2.4.31/include/linux/ncp.h:26: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux-2.4.31/include/linux/ncp.h:27: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux-2.4.31/include/linux/ncp.h:28: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux-2.4.31/include/linux/ncp.h:29: warning: 'packed' attribute ignored for field of type '__u8[]'
/usr/src/linux-2.4.31/include/linux/ncp.h:37: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux-2.4.31/include/linux/ncp.h:38: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux-2.4.31/include/linux/ncp.h:39: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux-2.4.31/include/linux/ncp.h:40: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux-2.4.31/include/linux/ncp.h:41: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux-2.4.31/include/linux/ncp.h:42: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux-2.4.31/include/linux/ncp.h:43: warning: 'packed' attribute ignored for field of type '__u8[]'
/usr/src/linux-2.4.31/include/linux/ncp.h:137: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/linux-2.4.31/include/linux/ncp.h:138: warning: 'packed' attribute ignored for field of type '__u8[256]'
/usr/src/linux-2.4.31/include/linux/ncp.h:174: warning: 'packed' attribute ignored for field of type '__u8'
In file included from /usr/src/linux-2.4.31/include/asm/smp.h:17,
                 from init/main.c:74:
/usr/src/linux-2.4.31/include/asm/mpspec.h:87: warning: 'packed' attribute ignored for field of type 'unsigned char[6]'
init/main.c: In function 'start_kernel':
init/main.c:367: warning: format not a string literal and no format arguments
make: *** [init/main.o] Error 1


i looked up that error, and i found 1 post on the linux forums, but the advice was that it might be a bad download. also, its not a problem caused by xbox specific patches, because i get the same error without patching the source. any ideas?
Logged

guybird

  • Archived User
  • Sr. Member
  • *
  • Posts: 407
Xmugen
« Reply #50 on: July 24, 2009, 07:23:00 PM »

Yeah that's the same crap I had.  I have absolutely no idea what causes it though.  Wish I could be more help.
Logged

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
Xmugen
« Reply #51 on: July 24, 2009, 08:03:00 PM »

See if this helps.

I actually used Xebian 1.1 for compiling the kernel for xboxhdm2 since the toolchain is sufficiently old enough  tongue.gif , ran it under vmware installed to a virtual hdd. Modern linux like Ubuntu or SLAX have too much upgrades in gcc , glibc to bother with so I simply used the older xbox linux distribution like Xebian.
Logged

guybird

  • Archived User
  • Sr. Member
  • *
  • Posts: 407
Xmugen
« Reply #52 on: July 24, 2009, 08:16:00 PM »

Thanks for that link.  That's a bit more noob friendly for someone like me to understand.
Logged

bc54

  • Archived User
  • Full Member
  • *
  • Posts: 196
Xmugen
« Reply #53 on: July 24, 2009, 08:51:00 PM »

yeah, i just found that too, unfortuneately my xebian disc wont boot and sourceforge cant "find" any of the xebian downloads.

anybody have an alternate download link? in the mean time i will try to get my disc to boot. oh, wait, i still have a backup of my old gentoox rootfs. do you think gentoox will be able to compile the kerenel? it should, because it compiles everything.
Logged

ldotsfan

  • Archived User
  • Hero Member
  • *
  • Posts: 2072
Xmugen
« Reply #54 on: July 24, 2009, 09:13:00 PM »

Logged

bc54

  • Archived User
  • Full Member
  • *
  • Posts: 196
Xmugen
« Reply #55 on: July 24, 2009, 09:39:00 PM »

thanks for the link ldotsfan.

unfortunately gentoox threw the same error. so the download will take an hour, but i am positive it will work because every tut for compiling xbox linux uses xebian.

lets keep our fingers crossed.
Logged

bc54

  • Archived User
  • Full Member
  • *
  • Posts: 196
Xmugen
« Reply #56 on: July 25, 2009, 01:17:00 AM »

SUCCESS!!!

i finally got it to compile, but then i got the unable to mount root fs. i dont know why but my previously edited initrd didnt work, but friedgolds gz-ed initrd worked fine. but, the xpad patch is now removed and i can play mugen with keyboartd controls. now i have to redit the initrd to include joy2key (or should i leave that external, right now im going to add it, but if you guys think it should be external, it easy to do.)

then, i will get the menu to have a launch xmugen entry, then i will finally gbegin work on alsa, but now that i know how to compile the kernel, it shouldnt be hard, xbox-inux.org has an easy tut.

thank you all.
Logged

bc54

  • Archived User
  • Full Member
  • *
  • Posts: 196
Xmugen
« Reply #57 on: July 25, 2009, 02:22:00 AM »

CODE
...
joy2key1 103 106 108 105 28 1 30 31 32 33 119 35 29 59 63 62 36 61 2 4&
joy2key2 8 9 10 11 96 1 44 45 46 47 119 49 97 60 62 64 50 61 3 5&
...
then the console reads:
CODE
joy2key1 - joystick one to keys.
Using parameters.
joy2key2 - joystick two to keys.
Joystick /dev/input/js1 not present.
so, i get that it is starting joy2key1 and joy2key2 isnt working because only 1 controller is plugged in. but, i cannot get any response from the controller. i dont know how to really use joy2key, so can you double check the parameters?

after, i get this working, then i just have to implement joy2key before the menu, and compile the kernel for alsa.
Logged

guybird

  • Archived User
  • Sr. Member
  • *
  • Posts: 407
Xmugen
« Reply #58 on: July 25, 2009, 11:04:00 AM »

Hmm, according to that, the joystick isn't getting detected.  You may have to patch in new controller drivers.  I couldn't find that xpad.c anywhere on sourceforge (even though that's where I got it from originally), luckily I had a copy on my machine.  Among other things, that allows for controllers like X-Arcade or even better: wireless 360 controllers!  With my joy2key settings, R3 (Right stick press) is F1, start is enter, back is escape.  The rest don't really matter, and can be reconfigured in game.
Logged

bc54

  • Archived User
  • Full Member
  • *
  • Posts: 196
Xmugen
« Reply #59 on: July 25, 2009, 01:59:00 PM »

CODE
hub.c: new USB device 00:02.0-1.3, assigned address 7
hub.c: USB hub found found
hub.c: 3 ports detected
hub.c: new usb device 00:02.0-1.3.1, assigned address 8
xpad-core.c: Microsoft Xbox Controller S
now, those first three might be talking about my keyboard and the usb hub its connected to, but the last definitively prove that the controller is found and working, so it has to be a problem with the joy2key1 and joy2key2. did you edit them in any way that would change how they interface the controllers?

also, i tried to use the new xpad.c you gave me, however it wont compile, some in the make bzImage i get error 2. i didnt look into it much, because the current xpad driver works fine. maybe later i can look into this becasue it waould support for so many more controllers.
Logged
Pages: 1 2 3 [4] 5 6 ... 10