Skip to content

Instantly share code, notes, and snippets.

@ClaireSoftware
Created December 30, 2019 03:56
Show Gist options
  • Save ClaireSoftware/4426597942d8368bc80c0a41c8416b32 to your computer and use it in GitHub Desktop.
Save ClaireSoftware/4426597942d8368bc80c0a41c8416b32 to your computer and use it in GitHub Desktop.
Generate gmenux2 alias files

What are alias files?

Alias files, in gmenux2 and gmenunx, are files that tell the file selector to replace one filename with another when displaying the ROM name. Originally meant for MAME and Neo-Geo ROMS, they're also useful for use with no-intro compatible ROM collections, allowing one to have intact filenames (retroarch coverart uses nointro filenames, for example) while still having human-readable game names.

Using alias files

To use an alias file, find your emulator core under /mnt/gmenu2x/sections/emulators/, and add a line to the config file aliasfile=/mnt/PATH_TO_INTRO_FILE. (if you're lame, you can also set it from the GUI).

Generating alias files

Pre-created alias files for Neo-Geo and MAME exist, but I wrote a simple bash script to generate alias files for your personal collection (assuming the file names are in accordance with the no-intro standard) cd into the directory your ROMs are in, and run the command

You probably don't want to run my awful bash command (it screws up on a few special characters), so I went ahead and generated a GBA alias file and posted it here

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