]> Shamusworld >> Repos - virtualjaguar/blob - src/filedb.cpp
Moved CRCs to filedb.h/cpp, various incremetal improvements to GUI
[virtualjaguar] / src / filedb.cpp
1 //
2 // filedb.cpp - File database
3 //
4 // by James L. Hammons
5 // (C) 2010 Underground Software
6 //
7 // JLH = James L. Hammons <jlhamm@acm.org>
8 //
9 // Who  When        What
10 // ---  ----------  -------------------------------------------------------------
11 // JLH  02/15/2010  Created this file
12 //
13
14 #include "filedb.h"
15
16
17 #if 0
18 struct RomIdentifier
19 {
20         const uint32 crc32;
21         const char name[128];
22         const char file[128];
23         const uint32 flags;
24 };
25
26 enum FileFlags { FF_ROM=1, FF_ALPINE=2, FF_BIOS=4, FF_REQ_DSP=8, FF_REQ_BIOS=16, FF_NON_WORKING=32, FF_BAD_DUMP=64 };
27 #endif
28
29 // Should have another flag for whether or not it requires DSP, BIOS,
30 // whether it's a .rom, it's a BIOS, etc...
31 // ... And now we do! :-D
32
33 RomIdentifier romList[] = {
34         { 0x0509C85E, "Raiden (World)", "raiden.jpg", FF_ROM },
35         { 0x08F15576, "Iron Soldier (World) (v1.04)", "iron-soldier.jpg", FF_ROM },
36         { 0x0957A072, "Kasumi Ninja (World)", "kasumi-ninja.jpg", FF_ROM },
37         { 0x0AC83D77, "NBA Jam T.E. (World)", "nba-jam.jpg", FF_ROM },
38         { 0x0EC5369D, "Evolution - Dino Dudes (World)", "dino-dudes.jpg", FF_ROM },
39         { 0x0F6A1C2C, "Ultra Vortek (World)", "ultra-vortek.jpg", FF_ROM },
40         { 0x14915F20, "White Men Can't Jump (World)", "white-men-can't-jump.jpg", FF_ROM },
41         { 0x1660F070, "Power Drive Rally (World)", "power-drive-rally.jpg", FF_ROM },
42         { 0x1E451446, "Trevor McFur in the Crescent Galaxy (World)", "trevor-mcfur.jpg", FF_ROM },
43         { 0x20DBFF9F, "Breakout 2000", "breakout-2000.jpg", FF_ROM },
44         { 0x27594C6A, "Defender 2000 (World)", "defender-2000.jpg", FF_ROM },
45         { 0x2E17D5DA, "Bubsy in Fractured Furry Tales (World)", "bubsy.jpg", FF_ROM },
46         { 0x348E6449, "Double Dragon V - The Shadow Falls (World)", "double-dragon.jpg", FF_ROM },
47         { 0x3615AF6A, "Fever Pitch Soccer (World) (En,Fr,De,Es,It)", "fever-pitch-soccer.jpg", FF_ROM },
48         { 0x38A130ED, "Troy Aikman NFL Football (World)", "troy-aikman-football.jpg", FF_ROM },
49         { 0x3C044941, "Skyhammer (World)", "skyhammer.jpg", FF_ROM },
50         { 0x40E1A1D0, "Air Cars (World)", "air-cars.jpg", FF_ROM },
51         { 0x42A13EC5, "Soccer Kid (World)", "soccer-kid.jpg", FF_ROM },
52         { 0x47EBC158, "Theme Park (World)", "theme-park.jpg", FF_ROM },
53         { 0x4899628F, "Hover Strike (World)", "hover-strike.jpg", FF_ROM },
54         { 0x53DF6440, "Space War 2000 (World)", "", FF_ROM },
55         { 0x55A0669C, "[BIOS] Atari Jaguar Developer CD (World)", "", FF_BIOS },
56         { 0x58272540, "Syndicate (World)", "syndicate.jpg", FF_ROM },
57         { 0x5A101212, "Sensible Soccer - International Edition (World)", "sensible-soccer.jpg", FF_ROM },
58         { 0x5B6BB205, "Ruiner Pinball (World)", "ruiner-pinball.jpg", FF_ROM },
59         { 0x5CFF14AB, "Pinball Fantasies (World)", "pinball-fantasies.jpg", FF_ROM },
60         { 0x5E2CDBC0, "Doom (World)", "doom.jpg", FF_ROM },
61         { 0x61C7EEC0, "Zero 5 (World)", "zero-5.jpg", FF_ROM },
62         { 0x67F9AB3A, "Battle Sphere Gold (World)", "", FF_ROM },
63         { 0x687068D5, "[BIOS] Atari Jaguar CD (World)", "", FF_BIOS },
64         { 0x6B2B95AD, "Tempest 2000 (World)", "tempest-2000.jpg", FF_ROM },
65         { 0x6EB774EB, "Worms (World)", "worms.jpg", FF_ROM },
66         { 0x6F8B2547, "Super Burnout (World)", "super-burnout.jpg", FF_ROM },
67         { 0x817A2273, "Pitfall - The Mayan Adventure (World)", "pitfall.jpg", FF_ROM },
68         { 0x8975F48B, "Zool 2 (World)", "zool-2.jpg", FF_ROM },
69         { 0x8D15DBC6, "[BIOS] Atari Jaguar Stubulator '94 (World)", "", FF_BIOS },
70         { 0x8FEA5AB0, "Dragon - The Bruce Lee Story (World)", "dragon.jpg", FF_ROM },
71         { 0x97EB4651, "I-War (World)", "i-war.jpg", FF_ROM },
72         { 0xA27823D8, "Ultra Vortek (World) (v0.94) (Beta)", "", FF_ROM },
73         { 0xA56D0798, "Protector - Special Edition (World)", "protector-se.jpg", FF_ROM },
74         { 0xA9F8A00E, "Rayman (World)", "rayman.jpg", FF_ROM },
75         { 0xB14C4753, "Fight for Life (World)", "fight-for-life.jpg", FF_ROM },
76         { 0xBCB1A4BF, "Brutal Sports Football (World)", "brutal-sports-football.jpg", FF_ROM },
77         { 0xBDA405C6, "Cannon Fodder (World)", "cannon-fodder.jpg", FF_ROM },
78         { 0xBDE67498, "Cybermorph (World) (Rev 1)", "cybermorph-2mb.jpg", FF_ROM },
79         { 0xC5562581, "Zoop! (World)", "zoop.jpg", FF_ROM },
80         { 0xC654681B, "Total Carnage (World)", "total-carnage.jpg", FF_ROM },
81         { 0xC6C7BA62, "Fight for Life (World) (Alt)", "", FF_ROM | FF_BAD_DUMP },
82         { 0xC9608717, "Val d'Isere Skiing and Snowboarding (World)", "val-d'isere-skiing.jpg", FF_ROM },
83         { 0xCAF33BD6, "Towers II", "towers-2.jpg", FF_ROM },
84         { 0xCD5BF827, "Attack of the Mutant Penguins (World)", "attack-of-the-mutant-pengiuns.jpg", FF_ROM },
85         { 0xD6C19E34, "Iron Soldier 2 (World)", "iron-soldier-2.jpg", FF_ROM },
86         { 0xDA9C4162, "Missile Command 3D (World)", "missile-command-3d.jpg", FF_ROM },
87         { 0xDC187F82, "Alien vs Predator (World)", "alien-vs-predator.jpg", FF_ROM },
88         { 0xDE55DCC7, "Flashback - The Quest for Identity (World) (En,Fr)", "flashback.jpg", FF_ROM },
89         { 0xE28756DE, "Atari Karts (World)", "atari-karts.jpg", FF_ROM },
90         { 0xE60277BB, "[BIOS] Atari Jaguar Stubulator '93 (World)", "", FF_BIOS },
91         { 0xE91BD644, "Wolfenstein 3D (World)", "wolfenstein-3d.jpg", FF_ROM },
92         { 0xEC22F572, "SuperCross 3D (World)", "supercross-3d.jpg", FF_ROM },
93         { 0xECF854E7, "Cybermorph (World) (Rev 2)", "cybermorph.jpg", FF_ROM },
94         { 0xEEE8D61D, "Club Drive (World)", "club-drive.jpg", FF_ROM },
95         { 0xF0360DB3, "Hyper Force (World)", "hyper-force.jpg", FF_ROM },
96         { 0xFA7775AE, "Checkered Flag (World)", "checkered-flag.jpg", FF_ROM },
97         { 0xFAE31DD0, "Flip Out! (World)", "flip-out.jpg", FF_ROM },
98         { 0xFB731AAA, "[BIOS] Atari Jaguar (World)", "", FF_BIOS },
99         { 0xFFFFFFFF, "***END***", "", 0 }
100 };
101 /*
102 memory-track.jpg
103 protector.jpg
104 */