Need help with rompath for lr-mame2003 or lr-mame2010

Home Forums RetroPie Project New to RetroPie? Start Here! Need help with rompath for lr-mame2003 or lr-mame2010

RetroPie has a new website and forum. Please visit https://retropie.org.uk/ for the new site. The new forum is located at https://retropie.org.uk/forum/. This forum is left here as a read-only archive.

This topic contains 30 replies, has 6 voices, and was last updated by Profile photo of dankcushions dankcushions 1 year, 1 month ago.

Viewing 31 posts - 1 through 31 (of 31 total)
  • Author
    Posts
  • #111581
    Profile photo of patl
    patl
    Participant

    Can anyone tell me where the mame.ini and mame.cfg are stored for lr-mame2003 or lr-mame2010 ?
    Or how can I setup MAME itself, eg rompath, etc. on these emulators?
    I can’t get eg. fantjour.zip to run.
    In fantjour.zip I get the message that the 300a01.34k file is missing.
    This is the BIOS file which is located in the folder /home/pi/RetroPie/BIOS in the file konamigx.zip.
    The ROM itself works (with lr-mame2010) but only if I put the Bios file 300a01.34k within the file fantjour.zip.
    I would also like for example, turn off the system information at ROM start.
    But I can not find anywhere an INI or CFG file to the MAME settings.
    Unfortunately I could not find any instructions for this emulations, also not with Google.
    Can anybody help me please?

    #111586
    Profile photo of Floob
    Floob
    Moderator

    Sure, here are the paths:
    https://github.com/RetroPie/RetroPie-Setup/wiki/Managing-ROMs#lr-mame2003

    MAME 2003 uses 0.78

    It looks like should need 12 roms in fantjour.zip
    http://www.progettoemma.net/index.php?gioco=fantjour&lang=en

    I would imagine if you put konamigx.zip in your roms dir with 300a01.34k in it, the game should start. Do note the game is marked as imperfect in terms of the graphics emulation though.

    I dont have a Pi to test on at the moment, but when you run this you can see the core options by going into RGUI (Select + X)

    RetroPie help guides --> https://goo.gl/Yfy8kj
    Please read this before asking for help --> http://goo.gl/eLErnl

    #111604
    Profile photo of patl
    patl
    Participant

    Thanks Floob

    [Edit]
    It starts with the file konamigx.zip in the same folder as the rom fantjour.zip.
    But this does not solve the problem with the mame.cfg or name.ini.
    Normale you can setup rompaths for MAME, where MAME looks for the files that necessary to run the rom, eg. the bios files.
    I don’t like to have the bios files are shown in Emulationstation.
    And you can setup view things like the „skip_gameinfo 1“ …

    In various instructions for eg. mame-mame4all described the mame.cfg is in /opt/retropie/emulators/mame4all-pi/mame.cfg and there are the paths settings. But
    lr-mame2003, lr-mame2010 and even with lr-imame4all lacks mame.cfg and I can not make any paths or other settings for MAME.

    Another problem, if I as mk.zip Create tab and change the input setting, the setting will not be saved and the next time a game is reset.

    The problem also occurs in a completely fresh retropie image, in which I have not done any configurations only a keyboard and a few ROMs have copied.

    • This reply was modified 1 year, 4 months ago by Profile photo of patl patl.
    #111617
    Profile photo of dankcushions
    dankcushions
    Participant

    normally with mame you have all the files required for each game within the games zip (a ‘merged’ set) – there’s no other bios files needed. if they’re in the .zip file, they don’t show up as anything additional in emulationstation – just one entry for each .zip (game). this is also how the scrapers will expect to find the roms, for chksum etc.

    eg, for mame 2003, your ~/roms/mame-libretro/ folder should have fantjour.zip with 12 files in it:

    	<game name="fantjour" cloneof="gokuparo" romof="gokuparo">
    		<description>Fantastic Journey</description>
    		<year>1994</year>
    		<manufacturer>Konami</manufacturer>
    		<category>Shooter / Flying Horizontal</category>
    		<nplayers>2P sim</nplayers>
    		<verAdded>.67</verAdded>
    		<rom name="300a01.34k" merge="300a01.34k" size="131072" crc="d5fa95f5" sha1="c483aa98ff8ef40cdac359c19ad23fea5ecc1906"/>
    		<rom name="321_b06.9c" merge="321_b06.9c" size="131072" crc="da810554" sha1="f253e1aa137eecf283d8b083ef2b3b049e8366f4"/>
    		<rom name="321_b07.7c" merge="321_b07.7c" size="131072" crc="c47634c0" sha1="20e4105df5bbc33edd01894e78f74ed5f173576e"/>
    		<rom name="321b09.30g" merge="321b09.30g" size="1048576" crc="94add237" sha1="9a6d0a9727e7fa02d91ece220b145074a6741a95"/>
    		<rom name="321b12.13g" merge="321b12.13g" size="524288" crc="5f9edfa0" sha1="36d54c5fe498a4d0fa64757cef11c56c67518258"/>
    		<rom name="321b17.9g" merge="321b17.9g" size="2097152" crc="b3e8d5d8" sha1="6644a414e7f0e69ded9aa1bf892566002cebae26"/>
    		<rom name="321b18.7g" merge="321b18.7g" size="2097152" crc="2c561ad0" sha1="6265054072ba1c2837dd96e0259b20bc50457160"/>
    		<rom name="fj-jap.17h" merge="fj-jap.17h" size="2097152" crc="437d0057" sha1="30c449200e0510dc664289b527bade6e10dbe57a"/>
    		<rom name="fj-jap.25g" merge="fj-jap.25g" size="2097152" crc="c6e2e74d" sha1="3875a50923e46e2986dbe2573453af5c7fa726f7"/>
    		<rom name="fj-jap.28g" merge="fj-jap.28g" size="2097152" crc="ea9f8c48" sha1="b5e880015887308a5f1c1c623011d9b0903e848f"/>
    		<rom name="fsus27b.bin" size="524288" crc="b2cfe225" sha1="7fd43acb1dd853a7980e7fcf48971ae28175e421"/>
    		<rom name="fsus31b.bin" size="524288" crc="afaf9d17" sha1="a12214c6e634862d6507f56719b55d4a23a0ef0f"/>
    	</game>

    and since fantjour is a clone of gokuparo, you’ll also likely (or possibly not, as it seems they haven’t been properly merged in the xml i’m looking that) need that zip with another 12 files:

    	<game name="fantjour" cloneof="gokuparo" romof="gokuparo">
    		<description>Fantastic Journey</description>
    		<year>1994</year>
    		<manufacturer>Konami</manufacturer>
    		<category>Shooter / Flying Horizontal</category>
    		<nplayers>2P sim</nplayers>
    		<verAdded>.67</verAdded>
    		<rom name="300a01.34k" merge="300a01.34k" size="131072" crc="d5fa95f5" sha1="c483aa98ff8ef40cdac359c19ad23fea5ecc1906"/>
    		<rom name="321_b06.9c" merge="321_b06.9c" size="131072" crc="da810554" sha1="f253e1aa137eecf283d8b083ef2b3b049e8366f4"/>
    		<rom name="321_b07.7c" merge="321_b07.7c" size="131072" crc="c47634c0" sha1="20e4105df5bbc33edd01894e78f74ed5f173576e"/>
    		<rom name="321b09.30g" merge="321b09.30g" size="1048576" crc="94add237" sha1="9a6d0a9727e7fa02d91ece220b145074a6741a95"/>
    		<rom name="321b12.13g" merge="321b12.13g" size="524288" crc="5f9edfa0" sha1="36d54c5fe498a4d0fa64757cef11c56c67518258"/>
    		<rom name="321b17.9g" merge="321b17.9g" size="2097152" crc="b3e8d5d8" sha1="6644a414e7f0e69ded9aa1bf892566002cebae26"/>
    		<rom name="321b18.7g" merge="321b18.7g" size="2097152" crc="2c561ad0" sha1="6265054072ba1c2837dd96e0259b20bc50457160"/>
    		<rom name="fj-jap.17h" merge="fj-jap.17h" size="2097152" crc="437d0057" sha1="30c449200e0510dc664289b527bade6e10dbe57a"/>
    		<rom name="fj-jap.25g" merge="fj-jap.25g" size="2097152" crc="c6e2e74d" sha1="3875a50923e46e2986dbe2573453af5c7fa726f7"/>
    		<rom name="fj-jap.28g" merge="fj-jap.28g" size="2097152" crc="ea9f8c48" sha1="b5e880015887308a5f1c1c623011d9b0903e848f"/>
    		<rom name="fsus27b.bin" size="524288" crc="b2cfe225" sha1="7fd43acb1dd853a7980e7fcf48971ae28175e421"/>
    		<rom name="fsus31b.bin" size="524288" crc="afaf9d17" sha1="a12214c6e634862d6507f56719b55d4a23a0ef0f"/>
    	</game>
    • This reply was modified 1 year, 4 months ago by Profile photo of dankcushions dankcushions.
    • This reply was modified 1 year, 4 months ago by Profile photo of dankcushions dankcushions.
    #111618
    Profile photo of dankcushions
    dankcushions
    Participant

    regarding the internal mame settings not saving: https://github.com/libretro/mame2003-libretro/issues/11

    #111624
    Profile photo of patl
    patl
    Participant

    Thanks,

    The Problem with the game fantjour is only an example.
    The main problem is that I’m not able to find a solution to setup MAME because of the lacking mame.ini / cfg
    (Not the retroarch.cfg).
    In mame.ini there are lots of things you can setup.
    The non libretro imame4all have an mame.cfg in the emulator folder.

    The problem with the inputsetting isn’t so big, it easy to setup via retroarch.cfg and the joypad cfg’s.
    But its good to know that it told to the developers

    #111625
    Profile photo of dankcushions
    dankcushions
    Participant

    yeah i think all the configuration is just handled by retroarch, and saved in retroarch.cfg or in the retroarch-core-options.cfg. i think most stuff you’d care about for mame setup is handle by the retroarch settings. the only thing i can think that isn’t is core input remapping, which is important for mame as you’re not going to find one controller setup that works for every game (another issue is logged for this), yet you still want the RGUI to use the same buttons on retropad.

    it’s weird we can even access that mame tab menu at all given that it doesn’t seem to save anything from it! i would expect it to be disabled in retroarch.

    #111627
    Profile photo of patl
    patl
    Participant

    In the retroarch.cfg I cannot find any settings especially for MAME
    And in the core options there are only 3 or 4 for me unimportant things.
    Later I can test if the
    scip_gameinfo 1
    setting works in the retroarch.cfg or retrorach-core-options.cfg , but I don’t think so.
    The rompath setting certainly do not.

    In every other MAME version (on PC or non libretro) you can setup alot of things …rompath, nvram, skip_gameinfo, scanlines and so on.
    Most you can setup in RGUI but not all.
    Especially important for me are the romtpath and skip_gameinfo Option.

    #111629
    Profile photo of dankcushions
    dankcushions
    Participant

    i think with retroarch the ideal scenario would for it to map these options as core options, but both mame2003 and mame2010 are pretty ‘beta’ – a proof of concept, really. they don’t appear to be seeing much development so i’m not hopeful 🙁

    libretro/retroarch seem to be focussing most on the latest mame core https://github.com/libretro/mame, but who knows if that one is viable on ARM/the pi. i think we might be stuck with these older, less supported cores.

    #111637
    Profile photo of patl
    patl
    Participant

    Hmmm …. 😉

    Thanks for the explanation.

    My project is almost finished, the last major part is still the arcade games.
    But I know now that it does not seem are the settings that I do not have to search anymore.

    Thank you.

    #118448
    Profile photo of dankcushions
    dankcushions
    Participant

    old thread but FYI i did a couple of fixes so if you compile lr-mame2003 from source you can:
    – skip nag screen (new core option)
    – save input remppings using the non-retroarch mame menu (accessed by TAB by default)
    – save dipswitch/nvram/etc settings when changed via the service menu (F2 by default)

    (it saves all the various files in folders in the /roms/ directory at the moment, which isn’t great but yeah!)

    now to reconfigure all my mame games! :/

    #119366
    Profile photo of spaceinvader
    spaceinvader
    Participant

    Where in the hell gets saved the input remappings done with mame menu (TAB key)?

    #119370
    Profile photo of dankcushions
    dankcushions
    Participant

    /home/pi/RetroPie/roms/config/

    i’m going to change it the mame2003 folder soon, or mame it customizable

    #119378
    Profile photo of spaceinvader
    spaceinvader
    Participant

    But they are not manually editables. I am having a hard work to configure my 2 players (P1 with keyboard and P2 with a usb pad).

    BTW, could you tell my how to get a mouse working in mame 2003?

    #119383
    Profile photo of dankcushions
    dankcushions
    Participant

    you need to edit them via the mame tab interface.

    don’t know about using mice in mame, sorry.

    #119391
    Profile photo of spaceinvader
    spaceinvader
    Participant

    Uff, via the mame tab interface is a little difficult to me. Thanks anyway.

    #119563
    Profile photo of joyrider3774
    joyrider3774
    Participant

    in some games you can test the input in their test menu’s (F3 i think is the default key) that’s how i configured the mortal komcat games, you can clearly see which button does what (if you ever played in an arcade) it makes it easier to set it up using TAB Interface

    #119567
    Profile photo of spaceinvader
    spaceinvader
    Participant

    My problem is that I want to set the player 1 keys to keyboard and the player 2 to a USB pad, but when I try to configure player 1 with tab, if I press up, it gets up keypad 1 up, so my player 1 and player 2 controls, control player one both.

    I don’t know if I’ve expressed well…

    #119571
    Profile photo of joyrider3774
    joyrider3774
    Participant

    i have done exactly the same thing and that works without a problem.. my picade (usb keyboard encoder) is set to player 1 and player 2 i using my gamepad it works fine for all retroarch emulators. For mame4all you have to set it up manually using tab config.

    I think although not certain withouth looking at my config (can’t check at work atm) is that you need to change / play with input_player1_joypad_index = “0” input_player2_joypad_index = “1” in retroarch.cfg i manually edited that file and it works fine. I can post my file if i come home if you like or you can try and have a look at those joypad indexes but i’m not certain it was that setting

    Also in the tab config pressing Select ui button (default enter i think or a certain gamepad button) and the cancel button (default escape) sets the input to none so you can start cleanly to assign a button / direction i think i did that as well for every button where the joypad was also mapped to player 1 i just deleted those (set those to none) and then reassigned the keyboard (only) controls for player 1 for player 2 (gamepad) i did the same also

    • This reply was modified 1 year, 1 month ago by Profile photo of joyrider3774 joyrider3774.
    • This reply was modified 1 year, 1 month ago by Profile photo of joyrider3774 joyrider3774.
    #119590
    Profile photo of spaceinvader
    spaceinvader
    Participant

    Many thanks for your help joyrider3774. Until next weekend I won’t be able to try it, but if you can post your files, to take a look meanwhile…

    Anyway I’m using lr-mame2003, so it also uses retroarch configs and in the tab config I press cancel and start every one with none, but when I press up or so, it puts UP RETROPAD1 UP, so I suppose that anyway, pad’s buttons are assigned to keyboard’s ones and this is what I have to solve.

    By the way, do you know how to use the mouse in retroarch? In advmame I’ve assigned its buttons in the tab menu, but not the mouse movements, and in lr-mame2003, not the buttons, nor the movements…

    #119593
    Profile photo of dankcushions
    dankcushions
    Participant

    if you’ve configured your keyboard as a controller in emulation station, i think it will show up as RETROPAD1 (and your controller as RETROPAD2, so maybe it’s working correctly??

    but if you want to just change it for all systems then doing it the .cfg way is better.

    #119600
    Profile photo of spaceinvader
    spaceinvader
    Participant

    I’ve tried everything, configure in emulationstation only keyboard, only pad, first keyboard and then pad and viceverse, and no work.

    It seems that both keyboard and pad are retropad 1. So what I need is that my pad was retropad 2.

    #119652
    Profile photo of joyrider3774
    joyrider3774
    Participant

    <p abp=”799″>I’ve tried everything, configure in emulationstation only keyboard, only pad, first keyboard and then pad and viceverse, and no work.

    <p abp=”800″>It seems that both keyboard and pad are retropad 1. So what I need is that my pad was retropad 2.

    this is what i have in my retroarch.cfg for my gamepad (ps3 one) and keyboard. Basically i switched my keyboard to be joystick index 0 (first pad) and my keyboard to be joystick index 1 (second pad) the rest of the confiruation needs to be done in mame itselve using tab / escape en assignments to buttons

    
    input_player1_joypad_index = "1"
    input_player1_a = shift
    input_player1_b = z
    input_player1_y = alt
    input_player1_x = ctrl
    input_player1_start = s
    input_player1_select = c
    input_player1_l = space
    input_player1_r = x
    input_player1_left = left
    input_player1_right = right
    input_player1_up = up
    input_player1_down = down
    # input_player1_l2 =
    # input_player1_r2 =
    # input_player1_l3 =
    # input_player1_r3 =
    
    input_player2_joypad_index = "0"
    input_player2_analog_dpad_mode = "1"
    input_player2_b_btn = "3"
    input_player2_y_btn = "1"
    input_player2_select_btn = "8"
    input_player2_start_btn = "9"
    input_player2_a_btn = "0"
    input_player2_x_btn = "2"
    input_player2_l_btn = "4"
    input_player2_r_btn = "5"
    input_player2_l2_btn = "6"
    input_player2_r2_btn = "7"
    input_player2_l3_btn = "10"
    input_player2_r3_btn = "11"
    input_player2_l_x_plus_axis = "+0"
    input_player2_l_x_minus_axis = "-0"
    input_player2_l_y_plus_axis = "+1"
    input_player2_l_y_minus_axis = "-1"
    input_player2_r_x_plus_axis = "+2"
    input_player2_r_x_minus_axis = "-2"
    input_player2_r_y_plus_axis = "+3"
    input_player2_r_y_minus_axis = "-3"
    
    #119754
    Profile photo of spaceinvader
    spaceinvader
    Participant

    Excuse me for my late reply and many thanks for your lines. I will try them next weekend. Will let you know the result…

    #119783
    Profile photo of zerojay
    zerojay
    Participant

    There’s a possibility that if you turn on mame save config and mame load config from the core menu options that you’ll be able to use a mame.ini file. I’m not sure where it would need to be, however.

    #119794
    Profile photo of spaceinvader
    spaceinvader
    Participant

    How can I turno con these options?

    #119802
    Profile photo of zerojay
    zerojay
    Participant

    In the retroarch quick menu under core options.

    #119844
    Profile photo of spaceinvader
    spaceinvader
    Participant

    Ok, thanks. I will try too…

    #120092
    Profile photo of spaceinvader
    spaceinvader
    Participant

    It works!

    Only missing exit emulators with only escape key. Any suggestion?

    #120099
    Profile photo of joyrider3774
    joyrider3774
    Participant

    don’t know about changing that but with me all retroarch / libretro emulators exit by pressing the buttons that have been assigned to “select” and “start” at the same time. Have no idea if it’s possible to switch this to just one button

    #120208
    Profile photo of dankcushions
    dankcushions
    Participant

    /home/pi/RetroPie/roms/config/

    i’m going to change it the mame2003 folder soon, or mame it customizable

    this is done. see see https://github.com/libretro/mame2003-libretro/pull/21

Viewing 31 posts - 1 through 31 (of 31 total)

Forums are currently read only - please visit the new RetroPie forums at https://retropie.org.uk/forums/

Skip to toolbar