Git Product home page Git Product logo

msxromsorter's Introduction

MSXRomSorter

MSX ROM Sorter

This ROM Sorter will be able to sort all known ROMs into their respective folders. The Sorter will also remove all unwanted files (see code) that are not associated with ROMs.

THIS SCRIPT IS DESTRUCTIVE TO THE DATA DROPPED IN THE UNSORTED DIRECTORY

This script uses Python - Download python for free on https://www.python.org/downloads/

Non Standard Dependencies:

  • SQLite3 https://sqlite.org/ (for SQLite3 database support)
  • py7zr pip install py7zr (Windows) or apt install python3-py7zr (Linux)
  • Requests pip install requests

Upon 1st run this script will create 3 directories:

  • unsorted
  • notfound
  • sorted

A database file is downloaded as well

Running the script

  • Windows run the script by typing python romsorter.py
  • Linux run with python3 romsorter.py

If the script runs it will show this menu:

------------------------------
RomSorter Menu
------------------------------
[1] Scanning For New Roms
[2] Create Preferred ZIP Files
[3] Exit
------------------------------
Enter your choice:

Once you see the menu above place your unsorted ROM Collection in the unsorted directory and pick the 1st option

Depending on what files you put in there the directory that can be created looks like this:

  • unsorted (Place ROM collections here)
  • notfound (Resulting ROMs that aren't in the ROMDB)
  • sorted (Sort results)
    • BadDump (known bad dumps)
    • ColecoVision (Limited Colecovision support)
    • Confidential (ROMs that are still for sale or never have been publicly released)
      • BadDump
      • MSX
      • MSX2
    • MSX (All known MSX1 ROMs)
    • MSX2 (All known MSX2 ROMs)
    • SVI (SVI ROMs)
    • Systemroms (Known System ROMs)

The files in not found have a SHA1 file has added to the front of the file - these files are not yet in the database. Files that which are not in the database can be submitted by visiting https://romdb.vampier.net/checkrom.php (bulk upload supported up to 50 files) so that I can process them

Creating Preferred zip files

Once all files have been sorted a collection of the most relevant files can be generated for the use in sofarun or your favorite emulator.

A new directory will be created:

  • perfsorted
    • MSX (MSX ROMs sorted per directory)
    • MSX2 (MSX2 ROMs sorted per directory)
    • ZIP
      • MSX (MSX ROM ZIPs sorted per starting letter)
      • MSX2 (MSX2 ROM ZIPs sorted per per starting letter)

The ZIP files have been created with level 0 compression - this means that the MSX can just unpack the file with minimal CPU usage and thus loading procedure times will be reduced.

msxromsorter's People

Contributors

vampier avatar

Stargazers

Osvaldo Santana Neto avatar Eric Boez avatar Artifex Maximus avatar Chad Doebelin avatar  avatar  avatar takahara tsuyoshi 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.