This is a filesystem database that can be used by flashcart and menu emulators to better organise ROM information. It is initially designed for use as metadata for the N64 Flashcart Menu
It works towards fully implementing the ROM Metadata structure.
All files in the to_sort folder have not yet been added to the metadata and need adding/converting.
Also:
- Files already added to the
metadatafolder may be named incorrectly. - Folders are unlikely to not contain
description.txtfiles and contents. - Folders are unlikely to not contain
metadata.inifiles and contents. - There is no new/current boxart available (yet) for PAL ROM's.
It uses the following files organised by the ROM's Game code (each character as sub folders) within the metadata folder:
- boxart_front.png
- boxart_back.png
- boxart_top.png
- boxart_bottom.png
- boxart_left.png
- boxart_right.png
- gamepak_front.png
- gamepak_back.png
- description.txt
- metadata.ini
The Game Code is 4 characters long consisting of:
- The category code (one character)
- The unique code (two characters)
- The media-type/destination code (one character)
For instance, Goldeneye USA would be metadata/N/G/E/E.
Tip
destination-market-region E will be used as the fallback ROM description text (when available), other destination-market-region folders will be used if the destination-market-region is different and the description file exists.
Warning
destination-market-region ROM's may contain multiple languages. We (currently) only aim to support English.
For speed on flashcarts, traversing multiple files by filename is slow, whereas accessing them by folder is exponentially faster.
This should be (at least) the first paragraph contained on the back of the original boxart. It will be used within the menu as a description of the ROM to give the atmosphere of a game, without being able to read the original back boxart text (due to screen resolution).
Tip
A good place to start when deciding which ones to add first (via pull requests) would be: https://www.nintendolife.com/guides/50-best-nintendo-64-games-of-all-time
A metadata.ini file implementing the ROM metadata.ini file structure for external metadata.
Before they can be used, they need to be converted to either:
- png images reduced in size.
- jpg images reduced in size (not supported yet).
So that they can be consumed at a reasonable speed.
We could also generate a thumbnail or sprites, which can be consumed by the menu and may help.
When processing:
- American/European N64 front and back boxart images are landscape, e.g. 158x112.
- Japanese N64 front and back boxart images are generally portrait, e.g. 112x158.
- 64DD boxart front and back images are generally CD case square, e.g. 129x112.
- GamePak images are generally landscape, e.g. 158x112.
- Boxart top and bottom images are generally landscape, e.g. 158x22.
Assuming you have a python environment:
- Run
release_generate_resized_images.py -- cleanto generate and add reduced size image files. - Run
release_generate_descriptions.pyto adddescription.txtfiles. - Run
release_generate_metadata_ini.pyto addmetadata.inifiles.
Files contained in the directory of media-type/destination code with a type of E will be moved to parent unique code directory to use them as a failback (rather than multiple duplicate files for each).
ABeezy from: