Commit Graph

169 Commits

Author SHA1 Message Date
sanni
91523269f4
Change Brain Lord to 24 banks 2022-10-27 18:58:00 +02:00
sanni
47b02e38a9
Merge pull request #591 from PsyK0p4T/master
Update gba.txt
2022-10-27 18:13:38 +02:00
sanni
b2ae4abcbc
Add SG-1000 no-intro database (20221022-024211) 2022-10-27 18:12:10 +02:00
PsyK0p4T
60470c5155
Update gba.txt 2022-10-27 16:56:16 +02:00
sanni
9d80d2497b
Change Street Fighter Alpha/Zero 2 to 64 banks, fix Star Ocean typo 2022-10-14 10:16:59 +02:00
sanni
f5aa69f827
Change Star Ocean to 96 banks 2022-10-14 09:23:41 +02:00
sanni
24642b8607
Update README.md 2022-10-10 13:30:44 +02:00
sanni
132b2e7031
Only wanted to change MMC3, not the other MMCs (yet)
````
 // Convert iNES to useful info (thx to fceux)
    mapper = (romFile[6] >> 4);
    mapper |= (romFile[7] & 0xF0);
    mapper |= ((romFile[8] & 0x0F) << 8);

    // PRG size
    if ((romFile[9] & 0x0F) != 0x0F) {
      // simple notation
      prgsize = (romFile[4] | ((romFile[9] & 0x0F) << 8)); //*16
    }
    else {
      // exponent-multiplier notation
      prgsize = (((1 << (romFile[4] >> 2)) * ((romFile[4] & 0x3) * 2 + 1)) >> 14); //*16
    }
    if (prgsize != 0)
      prgsize = (int(log(prgsize) / log(2)));
              
    prgsize = (int_pow(2, prgsize)) * 16;
    
    byte[] first512 = new byte[512];
     
    // MMC1
    //if(mapper == 1){}
     // MMC2
    //else if(mapper == 9){}
    // MMC3
    if(mapper == 4){
      int startoffset = (prgsize/8 - 1) *8 *1024;  
      // Get crc32 of first 512 bytes
      for(int l = 0; l < 512; l++){
        first512[l] = romFile2[startoffset + l];
      }  
    }
    // MMC4
    //else if(mapper == 10){}
    // MMC5
    //else if(mapper == 5){}
    else {
      // Get crc32 of first 512 bytes
      for(int l = 0; l < 512; l++){
      first512[l] = romFile2[l];
      }
    }
    
    CRC32 crc2 = new CRC32();
    crc2.update(first512); 
    checksum512 = String.format("%08X", crc2.getValue());
````
2022-10-05 08:46:35 +02:00
sanni
f52df29266
Add auto mapper detecting for MMC3 carts
"E000-FFFF is always fixed to the last bank of ROM." Source: http://kevtris.org/mappers/mmc3/index.html
Therefore calculate CRC32 of the first 512 bytes of the last bank of the PRG ROM instead of the first bank.

Database creation code example:

````
// Convert iNES to useful info (thx to fceux)
    mapper = (romFile[6] >> 4);
    mapper |= (romFile[7] & 0xF0);
    mapper |= ((romFile[8] & 0x0F) << 8);

    // PRG size
    if ((romFile[9] & 0x0F) != 0x0F) {
      // simple notation
      prgsize = (romFile[4] | ((romFile[9] & 0x0F) << 8)); 
    }
    else {
      // exponent-multiplier notation
      prgsize = (((1 << (romFile[4] >> 2)) * ((romFile[4] & 0x3) * 2 + 1)) >> 14); 
    }
    if (prgsize != 0)
      prgsize = (int(log(prgsize) / log(2)));
              
    prgsize = (int_pow(2, prgsize)) * 16;
    
    byte[] first512 = new byte[512];
     
    // MMC1
    if(mapper == 1){
    }
     // MMC2
    if(mapper == 9){
    }
    // MMC3
    if(mapper == 4){
	// MMC3 has 8KB banks
      int startoffset = (prgsize/8 - 1) *8 *1024;  
      // Get crc32 of first 512 bytes of last PRG bank
      for(int l = 0; l < 512; l++){
        first512[l] = romFile[16 + startoffset + l];
      }  
    }
    // MMC4
    else if(mapper == 10){
    }
    // MMC5
    else if(mapper == 5){
    }
    else {
      // Get crc32 of first 512 bytes after iNES header
      for(int l = 0; l < 512; l++){
      first512[l] = romFile[16 + l];
      }
    }
````
2022-10-04 22:31:23 +02:00
nsx0r
e372bcc5e3
Update nes.txt
updated nes.txt to no-intro 2022-10-01
now includes ONLY physical releases, should speed up the process (from 3858 games to 3108)
2022-10-01 08:17:48 +02:00
sanni
982945fc25
Update GBA database 2022-09-27 19:12:48 +02:00
sanni
68fbd55291
Add support for Benesse Pocket Challenge W Module (thx to skaman) 2022-09-25 10:36:55 +02:00
sanni
2de810782a
Add files via upload 2022-09-18 20:44:12 +02:00
sanni
84d7758ba8
Add files via upload 2022-08-26 13:09:40 +02:00
PsyK0p4T
89a1527ec9
Update n64.txt 2022-08-25 20:10:50 +02:00
sanni
ddd7adbaab
Update README.md 2022-08-22 18:14:41 +02:00
sanni
a0f0d558ce
Update SNES database to 20220812 2022-08-22 17:50:41 +02:00
sanni
dc867db7ed
Add Virtual Boy and Watara Supervision databases 2022-08-21 12:22:48 +02:00
sanni
9d57d2537d
Temporary fix to gba.txt 2022-08-21 09:40:50 +02:00
sanni
3350b627a2
Add Shining Force (USA).md E0594ABE to md.txt 2022-08-21 07:56:55 +02:00
Kreeblah
323d3c7631
Updated nes20db and snes_clk SD card docs 2022-08-19 11:43:04 -07:00
PsyK0p4T
fe7972a164
gg.txt encoding modified 2022-07-25 13:12:04 +02:00
PsyK0p4T
46391e8c61
Delete gg.txt 2022-07-25 13:10:55 +02:00
sanni
2f79ffc6f9
Add files via upload 2022-07-24 10:34:33 +02:00
nsx0r
a9c0910326
gg.txt for GameGear
up to date with latest GG no-intro DAT (2022-05-31)
2022-07-24 00:13:43 +02:00
sanni
357cf27504
Merge pull request #420 from nsx0r/patch-6
updated
2022-07-19 19:36:17 +02:00
sanni
9854b4d71c
Merge pull request #419 from nsx0r/patch-5
updated
2022-07-19 19:36:08 +02:00
sanni
c4e57f7eca
Merge pull request #418 from nsx0r/patch-4
updated to latest no-intro
2022-07-19 19:35:58 +02:00
nsx0r
43efb89456
updated
updated to latest no-intro PCE DAT (2022-07-14)
2022-07-19 19:03:51 +02:00
nsx0r
aba40c8752
updated
updated to latest no-intro SMS DAT (2022-07-16)
2022-07-19 18:58:03 +02:00
nsx0r
165be7a39f
updated to latest no-intro
updated to MD DAT 2022-07-14
2022-07-19 18:53:54 +02:00
nsx0r
e2aa9353bc
updated
updated to latest no-intro GB+GBC DAT (2022-07-16)
2022-07-19 18:48:39 +02:00
sanni
0601a19362
Update README.md 2022-07-19 17:54:09 +02:00
nsx0r
e3978a86a5
typos... sorry!
fixed and double-checked
2022-07-19 16:54:14 +02:00
nsx0r
816428604e
fixed and update to no-intro 2022-07-18
previous version was all kinds of wrong
2022-07-19 16:34:05 +02:00
sanni
e02a8e49df V9.1 Delete broken entries from SNES database 2022-07-18 09:16:56 +02:00
PsyK0p4T
514316a6ba
Update n64.txt
Fix ROM size and CRC32 for 4 games previously underdumped.
2022-07-09 01:56:58 +02:00
sanni
f546a05a51
Add files via upload 2022-07-07 11:42:05 +02:00
sanni
9d4336741e
Improve NES cart detection 2022-07-07 10:52:25 +02:00
sanni
d6a4101a96 Improve NES cart detection 2022-07-07 10:51:36 +02:00
sanni
6561b8d5d9
Update README.md 2022-07-07 01:05:39 +02:00
sanni
bb7e1f10c7
Update README.md 2022-07-07 01:02:33 +02:00
sanni
f4eaca88c8
Add no-intro database to NES 2022-07-07 00:10:51 +02:00
sanni
9ef81c2912
Set games with unknown save type to 0 2022-07-03 21:57:14 +02:00
sanni
6156be4770
Use CRC1 instead of cart ID in N64 database 2022-07-03 01:04:23 +02:00
sanni
cd0b0f27f7
Add CRC32 and filenames to SNES database 2022-06-21 13:29:52 +02:00
sanni
f084283f5f
Add CRC32 and filenames to GBA database 2022-06-20 22:37:27 +02:00
sanni
196050257b Add filenames to N64 database 2022-06-17 23:57:29 +02:00
sanni
be8a154d29
Update README.md 2022-06-16 22:33:09 +02:00
sanni
e3a42636fd
Update README.md 2022-06-16 18:30:12 +02:00
sanni
25a7e20196
Update README.md 2022-06-16 18:29:39 +02:00
sanni
dccc99c0ad
Add files via upload 2022-06-16 17:22:22 +02:00
sanni
c1716f2b41 Merge branch 'master' of https://github.com/sanni/cartreader 2022-06-16 17:17:18 +02:00
sanni
8b96d250bd Add MD database 2022-06-16 17:17:16 +02:00
sanni
3eb98653bc
Add CRC32 database for SMS 2022-06-16 15:51:38 +02:00
sanni
41efe13dd7
Fix line ending 2022-06-12 12:33:01 +02:00
sanni
1c6d277e84 V8.5 BETA: Add global log and GB database
Both are disabled in options.h by default since they push the RAM usage over the limit resulting in corrupted LCD output.

Global log outputs all info to OSCR_LOG.txt in the root of the SD.

no-intro calculates the CRC32 of a Gameboy ROM and if found in the database renames it to no-intro naming scheme.
2022-06-12 12:30:52 +02:00
sanni
a237f64470 Fix n64.txt formatting 2022-06-11 20:04:26 +02:00
PsyK0p4T
1a2a916db7
Update n64.txt
Whole file has been ordered by game serials for easier reading and modifications

Modified entries :
NDQP - Donald Duck - Quack Attack (Europe) : good crc e6220482 replaced bad one c4b0d9ea

Deleted entries :
68fe1cec,CFZE,16,1 : F-Zero X (USA) (Beta) (The Legend of Zelda Ocarina of Time Overdump) : Useless here
13ccb98d,NALJ,16,1 : Nintendo All-Star! Dairantou Smash Brothers (Japan) ? Only entry with crc 04c9d3b1 exists
433bd4a5,NALJ,16,1 : Nintendo All-Star! Dairantou Smash Brothers (Japan) ? Only entry with crc 04c9d3b1 exists
03db0407,NALJ,16,1 : Nintendo All-Star! Dairantou Smash Brothers (Japan) ? Only entry with crc 04c9d3b1 exists
64051ad3,NALJ,16,1 : Nintendo All-Star! Dairantou Smash Brothers (Japan) ? Only entry with crc 04c9d3b1 exists
b0986539,NNSP,16,0 : Beetle Adventure Racing! (Europe) ? Only entry with crc 5b6c6e4c exists
83590247,NPUP,12,0 : Power Rangers - Lightspeed Rescue (Europe) : bad dump, correct entry is crc 36ee5ca8
2c02621f,NPZJ,8,0 : Susume! Taisen Puzzle Dama - Toukon! Marutama Chou (Japan) ? Only entry with crc 4cd21372 exists
06bd781b,NPZJ,8,0 : Susume! Taisen Puzzle Dama - Toukon! Marutama Chou (Japan) ? Only entry with crc 4cd21372 exists
bbf7b6a8,NR6F,16,0 : entry was twice in file
5677eaef,NV2J,12,0 : Chameleon Twist 2 (Japan) ? Only entry with crc 08287cc8 exists
2022-06-08 00:26:18 +02:00
majorpbx
ce39a97699
Update n64.txt
Corrected the items listed below.

ROM Size Corrections: (13)

ROM   - Was - Should Be

NV2J  - 08  - 12
NDFJ  - 24  - 32
NDQE  - 20  - 32
NDQP  - 20  - 32
NMFP  - 24  - 32
NMFE  - 24  - 32
NMFJ  - 24  - 32
NPPJ  - 12  - 16
NRAJ  - 08  - 12
NHAJ  - 12  - 16
CFZE  - 32  - 16
NZSP  - 64  - 32
NZLP  - 64  - 32

ROM Save Type Issues: (79)

ROM   - Was - Should Be

NTWJ  - 0  - 5
NHFJ  - 0  - 5
NOSJ  - 0  - 5
NAYP  - 1  - 0
NAYE  - 1  - 0
ND3J  - 0  - 6
ND4J  - 0  - 6
N32E  - 1  - 0
NB5J  - 0  - 1
NP2J  - 4  - 5
NGTJ  - 0  - 6
ND6J  - 1  - 6
ND6J  - 1  - 6
NDAJ  - 1  - 4
CDZJ  - 1  - 0
NDPE  - 6  - 0
NDZP  - 1  - 0
NDZF  - 1  - 0
NDZE  - 1  - 0
NWIP  - 1  - 0
NWIE  - 1  - 0
NNXE  - 6  - 0
NF2P  - 6  - 5
NFGE  - 0  - 5
NG6J  - 0  - 1
NGPJ  - 0  - 1
N3HJ  - 0  - 1
NGLJ  - 0  - 5
NGCP  - 5  - 6
NGCE  - 5  - 6
NHYJ  - 0  - 1
NIMJ  - 0  - 6
NPSJ  - 4  - 1
NPEJ  - 0  - 1
NPAJ  - 0  - 1
NPAJ  - 0  - 1
NJ5J  - 0  - 1
NP6J  - 0  - 1
NJGJ  - 0  - 1
NFYJ  - 0  - 5
N64J  - 1  - 0
NK4P  - 5  - 6
NK4E  - 5  - 6
NLLJ  - 0  - 5
NMSJ  - 0  - 5
NUTJ  - 0  - 1
NPPJ  - 0  - 6
NUBJ  - 0  - 6
NPMP  - 0  - 1
NPTJ  - 0  - 5
NRAJ  - 0  - 5
NWQE  - 0  - 5
NR7J  - 0  - 6
NIBJ  - 0  - 1
NT3J  - 0  - 1
NSNJ  - 0  - 5
NDKJ  - 0  - 5
NB6J  - 0  - 5
NSSJ  - 0  - 5
NS4J  - 0  - 1
NTXP  - 0  - 5
NT6J  - 0  - 5
NOHE  - 5  - 0
NIRJ  - 0  - 5
NWLP  - 5  - 1
NWLP  - 5  - 1
NWLE  - 5  - 1
NWLE  - 5  - 1
NWTJ  - 0  - 5
NYKJ  - 0  - 5
NAYE  - 1  - 0
NIMJ  - 0  - 6
NPEJ  - 0  - 1
NJ5J  - 0  - 1
NJ5J  - 0  - 1
NP6J  - 0  - 1
NP6J  - 0  - 1
NP6J  - 0  - 1
NUTJ  - 0  - 1


Need to be validated as they are unlisted in the known ROM data:

9f14481b,NNiE,04,0
7b870026,NTDP,16,0
1d4a8659,NTDE,16,0
dcec9f8a,NSVJ,08,5
2022-05-18 16:01:57 -05:00
sanni
2e3ab8dc86
Add files via upload 2022-04-27 14:01:10 +02:00
sanni
8f7a15a9fc
Update TG16 database 2022-04-27 12:12:18 +02:00
sanni
1ec31977c5
Add files via upload 2022-04-15 12:54:24 +02:00
sanni
9c102563d1 Fix renaming PCE ROM 2022-04-15 12:52:59 +02:00
PsyK0p4T
c036a7e4b3
Update n64.txt
Paper Mario (NMQP) existed twice in file.
48MB is the correct chip size for PAL cart.
64MB is a mistake and must be removed.
2022-03-22 00:01:04 +01:00
Kreeblah
75e85af20f
Automatically create snes_clk.txt if it doesn't exist 2022-02-26 21:20:33 -08:00
Kreeblah
dedd3dd310
Updated to 2021-12-25 version of nes20db 2022-01-18 15:46:30 -08:00
Kreeblah
d3f627ca95 Updated to 2021-12-18 version of nes20db 2021-12-19 23:14:40 -08:00
sanni
c1fdb8d04b Update README.md 2021-11-15 19:55:58 +01:00
sanni
4fd07a98f8 Spring cleaning 2021-10-01 12:04:26 +02:00
sanni
19d1f1510d Change Pocket Monsters Stadium (CPSJ) to SRAM save 2021-09-11 13:18:31 +02:00
majorpbx
4167bfb392 Update n64.txt
Added remaining ROM CRC's when compared to DoM. The two lines below need to be verified as to what type of save they actually have. They have been set to "0" in this update.

7d0eed6a,NJEJ,08, - J.League Eleven Beat 1997 (Japan)
35461699,NNRJ,08, - Pro Mahjong Tsuwamono 64 - Jansou Battle ni Chousen (Japan)
2021-08-03 14:44:10 -04:00
PsyK0p4T
295f47b909 Update n64.txt
Tom Clancy's Rainbow Six (F) added
2021-07-27 18:54:20 +02:00
PsyK0p4T
b929718152 Update n64.txt
Fighter's Destiny updated with proper dump crc
2021-07-20 23:37:06 +02:00
sanni
eef3f38dd0 Add files via upload 2021-07-20 23:10:36 +02:00
sanni
61b8e1c6ee Add Ganbare Goemon - Neo Momoyama Bakufu no Odori to database 2021-07-20 23:08:42 +02:00
PsyK0p4T
c0c22c13c3 Update n64.txt
"Holy Magic Century (France)" added
2021-07-08 11:20:10 +02:00
PsyK0p4T
1caf3b2839 Update n64.txt
fix "Holy Magic Century (Europe)" crc32
2021-07-08 10:59:40 +02:00
sdhizumi
6b244eb86c update gba.txt
add Gyakuten Saiban 3 (Japan)
2021-04-29 21:55:20 +09:00
sdhizumi
f223b5f855 update gba.txt
BDKJ = DigiCommunication Nyo - Datou! Black Gemagema Dan (Japan) has a 64K EEPROM.
2021-04-23 18:55:12 +09:00
Kreeblah
cf477ee629 Implemented custom atoi methods, as the included one only has 16-bit precision 2021-02-07 20:34:39 -08:00
sanni
52894e5c2f Add files via upload 2021-02-05 10:14:06 +01:00
Kreeblah
bb88acb7ac Sorted NES DB by game title 2021-01-26 00:57:36 -08:00
Kreeblah
dcafe9b5a9 Tested and verified NES 2.0 header functionality 2021-01-26 00:16:08 -08:00
Kreeblah
c18d26e09f Updated nes20db.txt 2021-01-25 16:54:38 -08:00
Kreeblah
c51fb5f377 Added NES DB to SD files 2021-01-24 14:09:18 -08:00
sdhizumi
bee6d104d5 Puyo Puyo Sun 64 (NPYJ) has a 4KB EEPROM
This cartridge has a BU9850 EEPROM. It is a 4KB EEPROM, same as the Super Mario 64.
2020-09-30 23:00:29 +09:00
sanni
4d6594c0aa V5.3: Update snes.txt database
Created with this Processing script parsing the No-Intro set from Dezember 2019 with all beta, proto, unlicensed, sample and missing checksun ROMs removed:

https://www.dropbox.com/s/379g607k6ka8bfq/snesdata.pde?dl=1
2020-06-30 12:52:08 +02:00
sanni
55df69ef2b
Update n64.txt 2019-09-14 09:16:04 +02:00
sanni
d76bda4ba7
Update n64.txt 2019-09-13 08:22:55 +02:00
sanni
a240702c93
Change Fushigi no Dungeon - Fuurai no Shiren 2 to Sram 2019-08-28 15:10:09 +02:00
sanni
099587b0b3
Remove 0xCFE5 (Lemmings) 2019-08-27 07:50:06 +02:00
sanni
1f02031055
Update README.md 2019-08-26 09:19:44 +02:00
sanni
13243cdba4 MD Sketch Improvements by skaman
IMPROVEMENTS:
Added read/write support for all Serial EEPROM cart types (Acclaim Type 1, Acclaim Type 2, Capcom, Codemasters, EA, and Sega).  Capcom EEPROM code is untested but should work the same as Sega EEPROM code.

Fixed SRAM code to handle all SRAM types.

Added identification of SRAM carts that have bad headers.

Added support for Super Street Fighter 2.

WARNINGS:
Serial EEPROM writes take time to complete.

Serial EEPROM support was tested using Serial Output only.  Support using the OLED Display might require some timing adjustment as display_Update() on Serial translates to delay(100).

ADDITIONAL NOTES:
I've included a save file for NBA Jam T.E. Rev 0.

NBA Jam T.E. Rev 0 has faulty code that will erase the EEPROM when the cart is played on the console.  The solution proposed by the publisher was to play the cart with two different sets of initials (XXX, NBA) to initialize the EEPROM.  The included save file was created after doing this special initialization.  My tests of the EEPROM show that it will still erase after the special initialization.

I did some additional tests and found a potential solution.  Write the included save file to the cart.  Play the cart on the console as normal.  Create new saves as needed.  When done playing, HOLD THE RESET BUTTON DOWN BEFORE TURNING THE CONSOLE OFF.  YMMV.
2019-08-25 10:15:23 +02:00
sanni
37ab67bd21
Remove 0xDD0A (Lethal Enforcers) 2019-08-21 10:47:14 +02:00
sanni
f9ac34c105
Add Excitebike 64 Rev 1 CRC 2019-08-06 23:33:15 +02:00
sanni
7354ad824a
Update n64.txt 2019-07-06 20:37:59 +02:00
sanni
82ccb57b45
Fix Lego Racer CRC 2019-07-06 20:33:46 +02:00
sanni
dedbda9d09
Update Golden Nugget 64 CRC
Thx to JCreazy & skaman
2019-06-16 11:51:55 +02:00
sanni
17dccd40e5
Add Pokemon Stadium USA Rev A and Rev B and remove Frogger Beta 2019-05-21 09:33:09 +02:00