Giter Site home page Giter Site logo

retroarch_cleannaming's Introduction

RetroArch CleanNaming

This is a simple scripts, that help you to rename the ROMs with the right naming

Requirement

git clone https://github.com/libretro/libretro-database.git
pip install python-Levenshtein

Config

You can update the config.json

Just add the new extensions you want, and the libretro dataset you want to use

{
  "smc": "libretro-database/metadat/No-Intro/Nintendo - Super Nintendo Entertainment System.dat",
  "sfc": "libretro-database/metadat/No-Intro/Nintendo - Super Nintendo Entertainment System.dat",
  "gb": "libretro-database/metadat/No-Intro/Nintendo - Game Boy.dat",
  "gbc": "libretro-database/metadat/No-Intro/Nintendo - Game Boy Color.dat",
  "md": "libretro-database/metadat/No-Intro/Sega - Mega Drive - Genesis.dat",
  "nes": "libretro-database/metadat/No-Intro/Nintendo - Nintendo Entertainment System.dat",
  "32x": "libretro-database/metadat/No-Intro/Sega - 32X.dat",
  "n64": "libretro-database/metadat/No-Intro/Nintendo - Nintendo 64.dat",
  "v64": "libretro-database/metadat/No-Intro/Nintendo - Nintendo 64.dat",
  "nds": "libretro-database/metadat/No-Intro/Nintendo - Nintendo DS.dat",
  "iso": "libretro-database/metadat/No-Intro/Sony - PlayStation Portable.dat"
}

Usage

Put all the ROMs in the current directory, and run the scripts

Run

python3 rename_roms.py

parameters

You can change the matching distance by adding this parameter and change the value, more the number is higher more the approx will be

python3 rename_roms.py -distance=10

Results

The ROMs will be renamed according to the database of libretro

RetroArch

Then you simply have to scan the directory and everything will be recognized well

retroarch_cleannaming's People

Contributors

sirsquall avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.