Skip to content

Tweak your 1G1R ROM set to your liking

Andre Brait edited this page Feb 18, 2020 · 7 revisions

Sometimes, you can have some very specific set of requirements. Let's say you prefer European ROMs in French and that you would like to have the earlier revisions of the games instead of the latest ones. The good news is that this is exactly why I created this tool in the first place. Check out the whole set of options it has and think of how you can combine them to achieve what you want:

Usage: python3 generate.py [options] -d input_file.dat
Options:
        -h,--help               Prints this usage message
        -r,--regions=REGIONS    A list of regions separated by commas. Ex.: -r USA,EUR,JPN
        -l,--languages=LANGS    An optional list of languages separated by commas. Ex.: -l en,es,ru
        -d,--dat=DAT_FILE       The DAT file to be used
        --no-bios               Filter out BIOSes
        --no-program            Filter out Programs and Test Programs
        --no-proto              Filter out prototype ROMs
        --no-unlicensed         Filter out unlicensed ROMs
        --no-beta               Filter out beta ROMs
        --no-demo               Filter out demo ROMs
        --no-sample             Filter out sample ROMs
        --no-all                Apply all filters above
        --all-regions           Includes files of unselected regions, if a selected one if not available
        --all-regions-with-lang Same as --all-regions, but only if a ROM has at least one selected language
        -w,--language-weight=N  The degree of priority the first selected languages receive over the latter ones. Default: 3
        --prioritize-languages  If set, ROMs matching more languages will be prioritized over ROMs matching regions
        --early-revisions       ROMs of earlier revisions will be prioritized
        --early-versions        ROMs of earlier versions will be prioritized
        --input-order           ROMs will be prioritized by the order they appear in the DAT file
        --prefer-parents        Parent ROMs will be prioritized over clones
        --prefer-prereleases    Prerelease (Beta, Proto, etc.) ROMs will be prioritized
        -b,--blacklist=WORDS    ROMs containing these words will be avoided. Ex.: -b "Virtual Console,GameCube"
        --ignore-case           If set, the blacklist will be case-insensitive 
        -i,--input-dir=PATH     Provides an input directory (i.e.: where your ROMs are)
        -e,--extension=EXT      ROM names will use this extension. Ex.: -e zip
        -o,--output-dir=PATH    If provided, ROMs will be copied to an output directory
        --move                  If set, ROMs will be moved, intead of copied, to the output directory
        -v,--verbose            Prints more messages (useful when troubleshooting)
        --debug                 Prints even more messages (useful when troubleshooting)