Skip to content

Added <concat-path> tag to concatenates rom path with directory#9

Merged
fredbcode merged 2 commits intofredbcode:masterfrom
sergiobenrocha2:master
Mar 25, 2015
Merged

Added <concat-path> tag to concatenates rom path with directory#9
fredbcode merged 2 commits intofredbcode:masterfrom
sergiobenrocha2:master

Conversation

@sergiobenrocha2
Copy link
Copy Markdown

Just put < concat-path > true < /concat-path > and your directory will be concatenate with rom-image.

<?xml version="1.0" encoding="UTF-8"?>
<cabrio-config>

<emulators>
  <emulator>
    <name>MAME</name>
    <display-name>MAME</display-name>
    <executable>retroarch</executable>
    <platform>Arcade</platform>
    <directory>/home/your-user/Path/to/your/ROMs/</directory>
    <concat-path>true</concat-path>
    <params>
      <param>
        <name>-L</name>
      </param>
      <param>
        <name>/usr/lib/libretro/mame_libretro.so</name>
      </param>
    </params>
  </emulator>
</emulators>

<game-list>

<games>

<game>
<name>After Burner II</name>
<platform>Arcade</platform>
<rom-image>aburner2.zip</rom-image>
</game>

</games>

</game-list>

</cabrio-config>

It results:

retroarch -L /usr/lib/libretro/mame_libretro.so /home/your-user/Path/to/your/ROMs/aburner2.zip

It's useful when your emulator doesn't work with the cd /your/path/ & ./executable approach (mame libretro core has this problem, it needs the full path).

… emulators may need the full path instead cd /your/path/ & ./executable).
fredbcode added a commit that referenced this pull request Mar 25, 2015
Added <concat-path> tag to concatenates rom path with directory
@fredbcode fredbcode merged commit 4b71793 into fredbcode:master Mar 25, 2015
@fredbcode
Copy link
Copy Markdown
Owner

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants