Homepage Forums RetroPie Project Everything else related to the RetroPie Project [Neo Geo] segmentation fault: runcommand.sh @ line 23

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #82869
    musichemyst
    Participant

    First off, I’ve gotten RetroPie as a whole up and running almost at 100% and it’s awesome. Thank you for producing this killer bundle of software!

    However, the one area where I’m hitting a dead is with the Neo Geo. No matter what I try I keep getting the same error:

    /opt/retropie/supplementary/runcommand/runcommand.sh: line 23: 9927 Segmentation Fault <<<filename of game>>>

    I’ve placed neogeo.zip in the ~/RetroPie/roms/neogeo directory and, among many other files, it contains the following:

    000-lo.lo
    sfix.sfx
    usa_2slt.bin
    vs-bios.rom
    asia-s3.rom
    sp-s2.sp1
    aes-bios.bin
    uni-bios.rom

    And it’s my understanding that these are the essentials required to be in the neogeo.zip.

    I’ve tried several different games downloaded from different sources. Also I’ve tried different configurations, i.e. ISO/CUE inside a ZIP. ISO/CUE/WAVE inside a zip, plain ISO/CUE, etc. But in the end everything throws the same segementation fault error.

    Lastly, I checked line 23 in runcommand.sh and found this:

    eval $@

    …which is outside of my limited understanding of script syntax and thus presents a bit of a dead end for me. Hence, I’m posting here.

    Thanks for any input you all can provide.

    #82907
    proxycell
    Participant

    put everything into the /roms/fba/ directory instead of the neogeo one

    #82909
    musichemyst
    Participant

    Thanks for the reply, proxycell. I tried moving them to the FB Alpha directory, but just ended up with a different batch of segmentation fault errors.

    However, this time the errors seem to vary from game to game. For example, CUE/ISO->ZIP games report a 14066 Segmentation Fault and CUE/ISO/WAV->ZIP games report a 14100 Segmentation Fault.

    #82910
    proxycell
    Participant

    hmmm,

    i’m not familiar with those at all unfortunately. perhaps your neogeo.zip doesn’t contain everything it should? my neogeo games are all kept inside of .zip files for each game

    #82911
    musichemyst
    Participant

    Okay, just for clarification I’m working with games in .zip file form. What I was trying to explain in my last post is that some .zip files contain a simple .cue and .iso file while others contain a .cue, one or more .iso files and several .wav files. (And that, ultimately, both fail due to segmentation faults.)

    Also, is there a definitive list somewhere of the the BIOS files required to be in neogeo.zip? I’ve encountered (and tried) a variety of different .zip files with varying archive contents. For example, the one I’m using now contains:

    000-lo.lo
    236-bios.bin
    271-bios.bin
    aes-bios.bin
    asia-s3.rom
    japan-j3.bin
    ks-ng005.bin
    ks-ng045.bin
    mvsbios.rom
    neodbug2.bin
    neodebug.rom
    ng-cd.bin
    ngcd-old.bin
    sfix.sfix
    sfix.sfx
    sm1.sm1
    sp1.jipan.1024
    sp-1v1_3db8c.bin
    sp-45.sp1
    sp-e.sp1
    sp-j2.rom
    sp-j2.sp1
    sp-s.sp1
    sp-s2.sp1
    sp-u2.sp1
    uni-bios.10
    uni-bios.11
    uni-bios.12
    uni-bios.12a
    uni-bios.13
    uni-bios.20
    uni-bios.21
    uni-bios.22
    uni-bios_1_0.rom
    uni-bios_1_1.rom
    uni-bios_1_2.rom
    uni-bios_1_2o.rom
    uni-bios_1_3.rom
    uni-bios_2_0.rom
    uni-bios_2_1.rom
    uni-bios_2_2.rom
    uni-bios_2_3.rom
    uni-bios_2_3o.rom
    uni-bios_3_0.rom
    uni-bios_3_1.rom
    unk-bios.bin
    unk-nglo.bin
    unkngsm1.bin
    usa_2slt.bin
    vs-bios.rom

    While others contain only a few files:

    neo-geo.rom
    ng-lo.rom
    ng-sfix.rom
    ng-sm1.rom

    Sometimes I’ve encountered combinations of the above examples. In the end, I’ve tried running my games with every neogeo.zip I’ve come across at least once. However, I’ve never been clear on which one I should be using.

    #82945
    musichemyst
    Participant

    Well, it now looks like the errors I was getting weren’t the cause of my games failing to load. After making some changes, I’m still getting the same segmentation fault errors, but now the games load and play just fine!

    What ultimately solved the problem was I just kept trying different combinations of BIOS files and ROM files until I finally found one that worked. And so, in the event that others are having similar problems with the Neo Geo, I’ll try to prevent some wasted time and headaches by posting my findings here.

    Only one type of ROM seems to work for me — the .zip ROMs that contain .bin files. For example, here’s Metal Slug [mslug.zip]:

    201-c1.bin
    201-c2.bin
    201-c3.bin
    201-c4.bin
    201-m1.bin
    201-p1.bin
    201-s1.bin
    201-v1.bin
    201-v2.bin

    And here’s the BIOS files in my neogeo.zip plus MD5 hashes:

    000-lo.lo         : fc7599f3f871578fe9a0453662d1c966
    asia-s3.rom       : ff453315c5ddacc0f3bf4ca994c13adc
    neodebug.bin      : 3089166a89d9735d038e8e7da36e5bc2
    neo-epo.bin       : b11751ad42879c461d64ad2b7b2b0129
    neo-po.bin        : 1ec68104095d4b7236e8c18c77ea501b
    sfix.sfix         : aa2b5d0eae4158ffc0d7d63481c7830b
    sm1.sm1           : 8c26241f9f5beb3a55c8d6ab638d250e
    sp1.jipan.1024    : a80fffe27bf8e615171ce728e43d2f6c
    sp-1v1_3db8c.bin  : 629e6beaa277e039eae2f96ff237f8e6
    sp-45.sp1         : 0396470c1ed8b1a7d5cce754924246bb
    sp-e.sp1          : a7b798c9cafb1aba49090bca34e1d4ec
    sp-j2.sp1         : a51ad226535ff862c1f54120e4298f79
    sp-s.sp1          : 908b5a0026b2b10f2a7c01ccd98a1236
    sp-s2.sp1         : 2968f59f44bf328639aa79391aeeeab4
    uni-bios_1_0.rom  : 6293999bbc32e594aa0ae1da2113dc4d
    uni-bios_1_1.rom  : cafa6c274b271c769b8246c8f87473a1
    uni-bios_1_2.rom  : 206fb0d9b5d01a0375d2d3ecab2401b1
    uni-bios_1_2o.rom : 6b2f2d8507be4d1feb14fdfbab0bf22e
    uni-bios_1_3.rom  : 856d122ee5fc473d7d1dd99dbf42c25b
    uni-bios_2_0.rom  : 1b9724d1b9d41a1a9b733007b2033fb5
    uni-bios_2_1.rom  : 0377c32f69a28f23d9281c448aafb391
    uni-bios_2_2.rom  : 5b9079a81d84137d8b6f221659d777c5
    uni-bios_2_3.rom  : 74c4bb6a945f7284350036b40f0a0d9d
    uni-bios_2_3o.rom : d9f0ed2e0eeab813c9692d7e8d037fd8
    usa_2slt.bin      : b60fb8ea07e8a64772ab717afba3706d
    vs-bios.rom       : 530fb9761957e59aeb47f2e8782df288

    I think I came across seven or eight different variations of neogeo.zip and three different variations of ROM .zips from over a dozen sources. And, in the end, only the above combination seems to work.

    #82950
    proxycell
    Participant

    yeah thats how i had to do it too lol… a lot of trial and error

    #82957
    Floob
    Member

    A specific version seemed to help me:

Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.