Xin-Mo Compatible Emulators (PiSNES/MAME4ALL/PiFBA)
  • Hey everyone!
    As many users would know, the Xin-Mo encoder's 'Player 2' doesn't work in the PiSNES, PiFBA or MAME4ALL emulators.
    Here are some recompiled binaries to fix that issue!
    First of all, I didn't make these patches. Thank @ian57 for that! He did an awesome job! I just uploaded and compiled them.
    To install simply press [ESC] to exit the PiPLAY menu and return to the command line then run the commands below. It will backup your current emulator binaries.

    All the source is available on Github: https://github.com/Conno123009

    Binaries by @ian57


    https://github.com/ian57?tab=repositories

    Source (Compile yourself. Takes much longer):


    PiSNES
    cd /home/pi
    git clone https://github.com/Conno123009/PiSNES-Xin-Mo
    cd PiSNES-Xin-Mo
    make
    cp snes9x /home/pi/pimame/emulators/pisnes
    chmod +x /home/pi/pimame/emulators/pisnes/snes9x


    PiFBA
    cd /home/pi
    git clone https://github.com/Conno123009/PiFBA-Xin-Mo
    cd PiFBA-Xin-Mo
    make
    cp fba2x /home/pi/pimame/emulators/pifba
    chmod +x /home/pi/pimame/emulators/pifba/fba2x


    MAME4ALL
    cd /home/pi
    git clone https://github.com/Conno123009/MAME4ALL-Xin-Mo
    cd MAME4ALL-Xin-Mo
    make
    cp mame /home/pi/pimame/emulators/mame4all-pi
    chmod +x /home/pi/pimame/emulators/mame4all-pi/mame


    Hope you enjoy!
    While your busy enjoying it, why not check out my blog?
    http://conno123009.wordpress.com

    --
    Conno123009
  • i took a fresh piplay3 and tried the binaries on fba and snes and it did not work :(
    ill try again compiling myself.

    thanks conno!
  • I think you'll need to recompiled them. There are surely update version of libraries in the last piplay. If you get black screen, try to compile the debug version. If it works, strip it.
  • so, ive tryed compiling myself now. i did try first fba and here what happens;

    when i type "make" there r lots of errors.
    when i type "cp fba2x /home/pi/pimame/emulators/pifba" its not finding file or diretory.
    ive runned all commands and still no player two axis for me ;(

    heres a screenshot of my command line

    https://www.dropbox.com/s/oof34u28rn6907a/2014-05-28 21.15.43.jpg
    https://www.dropbox.com/s/yp7e8i42b2an8ja/2014-05-28 21.25.07.jpg
  • ive compiled SNES and here what happens;

    IT WORKS! NICE IAN & CONNO ;) TKZ A LOT! s2
  • @ian57 i know you described how to fix fba on other topics but its hard to figure all those comments. maybe you could point out the easiest fix or help conno with this patch, please.

    i want to donate $20 for u guys when the fba is 100%.

    thanks
  • i just patched mame4all and works fine! now ive got all my bts working with it.
    awesomeee!

    im happy with all the support guys, thanks
  • Hi there, i put all my xinmo stuff on github : https://github.com/ian57?tab=repositories feel free to download and compile ;-)
  • For errors, i think lots of dev libs are missing in the piplay. You need to install them before compiling.
  • I've just put binaries of fbacapex fba2x with xinmo support with last firmware and kernel 3.12.20+ on my git hub;... https://github.com/ian57/Raspicade-pibfa-xinmo

    wille do the same for all emus and progs
  • @ian57
    Thanks heaps! The PiPLAY community really appreciate it! I owe you one ;)
  • you guys are awesome! thanks a bunch :)
    so @ian57, i just need to replace my fbacapex and fba2x with yours?

    ill try your suggestion when i get back home tonight. cya
  • Yep, just download the binaries and replace. I've made that for all... mame4all-pi pisnes and gngeo... even for the kernel (last kernel with xinmo support)... and my last version of pimenu is awesome ;-)
  • OMG it workss! Thanks ian57! Finally I can enjoy Marvel vs Capcom :)
    Is there any way to config inputs to a singular ROM like on mame4all?
  • Happy thats it's ok. But No, with pifba, there is only one config for all games. It's normal because all games are from one or two similar types ot arcade machine.
  • alright.
    sometimes when im playing marvel vs capcom with my friend and when we press together a combination of bts we get to rom config screen. u know whats it? i would like to diseable it..
  • That's strange.... which buttons? Normally only the combination "P1 + credits" sends you back to roms screen.
  • And could you post your configuration file too? Thanks
  • I execute the command lines for MAME4ALL and all i get is a lot of error for more than 20 minutes. Here is a screenshot.

    http://imgur.com/vAZ16xl

    :(
  • @ian57 thank you for your work, any idea how i can replace your binarys in my raspi? im more of a designer than a dev :( I need the MAME4ALL

    thank you in advance
  • Hello,

    you can download my binaries from github : https://github.com/ian57/Raspicade-mame4all-xinmo/blob/master/mame

    from a shell on your raspi :
    $ mkdir temp
    $ cd temp
    $ wget https://github.com/ian57/Raspicade-mame4all-xinmo/raw/master/mame

    you'll get my mame (xinmo version) after that just make a backup of the old mame and replace it

    $ cp /location/of/mame/in/piplay/mame /location/of/mame/in/piplay/mame-old
    $ cp mame /location/of/mame/in/piplay/

    and try it.
  • The errors you are getting are normal. Just ignore them, let it run through them.
    The compilation may take an hour or two, sadly.
    Good luck
  • That's not error.... That's a warning ;)
  • Thank you ian57 <3
  • does this apply for 0.8b4 anymore? trying to get my player 2 to work
  • It might, theoretically
    But the emulators have probably been updated since.
  • I am testing them with 0.8b4 now...
  • @Conno123009 - oh cool are you grabbing the binaries or re-compiling from Ian's repository? I've tried grabbing the binaries and that didn't seem to work (had to re-flash my SD card again because I forgot to backup the folder lolz)
  • I'll try it with the binaries first, else I'll probably have to recompile them.
  • Any luck? with 0.8b4 conno123009
  • @Conno123009 - Any updates with regards to the binaries/testing
  • I rebuilt pisnes, it should be compatible with 2 keyboard player/2 joysticks/xinmo now.

    If anyone wants to test it, it's HERE. You will have to manually tweak the snes9x.cfg file, as the controller config utility is not set up to support the modifications. If you are using xinmo, you need to set 'XinMoEnabled=1' in the config file.

    I don't have xinmo, so I cant fully test it. If you do give it a try, let me know how it goes.
  • @mholgatem - thank you sir!

    I assume I just download and overwrite the folder. Having a custom 'XinMoEnabled=1' flag is awesome. Will try this later today.
  • yeah, you can just overwrite it. Let me know!
  • @mholgatem : that's good your modifications for handling (or not) xin-mo controller, i think i'll put that to my emulators.
  • cool, no problem. Once I get some feedback, I may work on the others as well.
  • @mholgatem
    Thats awesome! I think, when it's stable, that it should be added to the official image.

  • @Conno123009 - that's my hope. So far, it's running well with just a keyboard, but I really need to get some feedback from the xin-mo and regular joystick users to be sure.
  • I just finished testing Ian57's binaries, sorry it took so long!
    MAME4ALL worked fine.
    I had problems with PiSNES, so just use mholgatem's version instead :D
    I couldn't get PiFBA working, I hope it's just me though.
  • @mholgatem
    I'm just trying now :D
  • @mholgatem - The new binaries been tested and ..... PiSNES is working for xin-mo 2 players (tested all the push buttons)
    @Conno123009 - Do you have the new binaries for MAME4ALL?
    I tried re-compiling PiFBA (took an hour and a bit), no luck with 2 players for xin-mo
    Just curious - Have you guys overclock your pi? is that 5v fan really necessary?
  • No, I don't have the new binaries. I will try to compile some as soon as I can but no promises, as I'm quite busy for the next week or two, unfortunately. I really like the method @mholgatem used, so i'll try that instead. (As soon as I work out how..)

    I've never overclocked my Pi yet, and I don't really think a fan is neccessary unless your pi is in an really enclosed space... I don't know really :(
  • Yes this method of choosing xin-mo or not is better... I will code that for all modified emu when i have time.

    For overclocking, i run successfuly with these parameters in /boot/config.txt. It's a huge overcloking. So only on "made in UK" Pi

    arm_freq=1000
    gpu_freq=350
    core_freq=500
    sdram_freq=500
    over_voltage=6

    my raspicade distrib shows pimenu winthin 28 s :)

    I put 2 fanless cooler on the gpu and cpu, and let the pi out of the box.
  • @ian57 - Any updates for xin-mo(PiFBA/MAME4ALL) would be great thank you. (I think having the xin-mo flag in the config file is definitely a good call from @mholgatem) If you are too busy then you can roughly tell us where to make the change and I can try do it when I'm free. (trying to finish my thesis at the moment so I can try spare 1 to 2 hrs to update the codes + test (excluding the compile time lolz))

    28s to get to pimenu? are you serious? It takes a minute and a bit for the same thing for my pi. What probably irritates me more is that exiting out of games back to the pimenu (start + select push buttons) takes another 10-20s.

    I got a couple small fans and have a fan case to arrived soon - so I am waiting for that before overclocking it. (I have those small heat sinks on the gpu and cpu as well, just trying to play safe)

  • can anyone play kof2005 or garou here?
  • @mephistod 28s seconds is with my raspicade distribution http://youtu.be/Kugkh8WUsZg?list=UU_NJDQxVHHBwyCSSV9fThNA, I don't use Xorg. Pimenu runs in framebuffer.... xorg is pretty slow on raspi... Which takes time at boot is dhcp network management (10s more if dhcp activated, prefer static IP adress)...

    With pimenu, exiting emulators and get back to pimenu is immediate.

    Well good luck for you PHD ;)... mine was a long time ago http://www.theses.fr/2001VALE0001

    @lsalcedo : I thonk it works with pifba ... will check that
  • when i run garou on fba i get on this config screen loop:
    could not figure how to get out of this...

    https://www.dropbox.com/s/d6nnp8lqy22ya3u/20140801_184054.jpg
    https://www.dropbox.com/s/pxbncq9iya03cug/20140801_184138.jpg

    and kof2005 simple crashes. maybe its that thing about converting it to .fba
    or i need a new roms

    gl to all ;)
  • @ian57 - thanks but still got a long way to go

    @ lsalcedo - hmm ... I typically use WInKawaks and use it to check whether the rom actually works. Not sure about .fba conversions (will need to read that up - MvC crashes for me as well but i'm trying to resolve the xin-mo first)

    Open question - Have anyone dev with microsoft kinect before on c#?
  • i wish i could help you with xin mo. i fixed mine long time ago while on 0.83
    i think ive compiled myself snes and mame4all. and pifba i took ian binaries heheh

    i just updated piplay and still works 100%

    i could make garou run, but it doesnt have any sound as kf2k3pcb, svcpcb and some cp2s roms. http://pimame.org/forum/discussion/1213/no-sound-neogeo-roms-kf2k3pcb-zip-svcpcb-zip-garoup-zip-garoubl-zip#Item_2

    gl :)

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!