libretro / libretro-database

Repository containing cheatcode files, content data files, etc.
Creative Commons Attribution Share Alike 4.0 International
918 stars 789 forks source link

Different directory structure for cheats? #292

Closed lasers closed 8 years ago

lasers commented 8 years ago

Current cheat directories Nothing wrong with that.

cheats
├── Game Boy
│   ├── Game Genie
│   ├── GameShark
│   └── Xploder
├── Game Boy Advance
│   └── CodeBreaker
├── Games
├── Genesis
│   └── Pro Action Replay
├── Nintendo Entertainment System
│   ├── Game Genie
│   └── Pro Action Replay
├── PlayStation
│   ├── Game Busters
│   ├── GameShark
│   └── Xploder
├── Sega Game Gear
│   ├── Game Genie
│   └── Pro Action Replay
├── Sega Master System
│   └── Pro Action Replay
├── Sega Saturn
│   └── GameShark
└── Super Nintendo
    ├── Game Genie
    └── Pro Action Replay

My proposal Mirror the structure from database.

cheats
├── Games
├── Nintendo - Game Boy
│   ├── Game Genie
│   ├── GameShark
│   └── Xploder
├── Nintendo - Game Boy Advance
│   └── CodeBreaker
├── Nintendo - Nintendo Entertainment System
│   ├── Game Genie
│   └── Pro Action Replay
├── Nintendo - Super Nintendo Entertainment System
│   ├── Game Genie
│   └── Pro Action Replay
├── Sega - Game Gear
│   ├── Game Genie
│   └── Pro Action Replay
├── Sega - Master System - Mark III
│   └── Pro Action Replay
├── Sega - Mega Drive - Genesis
│   └── Pro Action Replay
├── Sega - Saturn
│   └── GameShark
└── Sony - PlayStation
    ├── Game Busters
    ├── GameShark
    └── Xploder

My bestest proposal

Mirror the structure from database. Fix possible gotchas. Merge cheat directories for easier navigation/browsing.

Rough example

- Tetris (Game Genie).cht
- Tetris 2 (Game Genie).cht
- Tetris 3 (GameShark).cht
- Tetris II (CodeExampler).cht
- Tetris III (CodeExampler).cht
- Tetris The 3rd Edition (CodeExampler).cht
- Tetris Tournament Edition (GameShark).cht
- TetrisforRetroArch (Game Genie).cht

A gist of real example https://gist.github.com/lasers/04374a96492f39dadcb3633f5fe6998e

Possible Gotcha Game Busters to Game Buster? http://gamehacking.org/wiki/Game_Buster Pro Action Replay to Action Replay? https://en.wikipedia.org/wiki/Action_Replay Code Breaker to Codebreaker? (not sure) https://en.wikipedia.org/wiki/Code_Breaker

RobLoach commented 8 years ago

Feel free to submit a Pull Request to make this change. Seems like it would clean it up a bit.