Commit Graph

154 Commits

Author SHA1 Message Date
Roger Braunstein
9272c5f947 Adds loopy checksum database 2023-06-28 13:23:29 -07:00
sanni
50b6540863 Delete old/unused NES database code 2023-06-26 17:05:10 +02:00
sanni
f432ad15f5
Shorten "Smurf - Rescue in Gargamel's Castle" name to prevent crash 2023-06-26 16:26:01 +02:00
sanni
ab300b795b
Add files via upload 2023-06-25 14:09:44 +02:00
joshman196
3e34dda6e1 Update md.txt
Added some lock-on entries.
2023-06-07 18:51:10 -07:00
PsyK0p4T
dbc41d0a07
Update md.txt
Fix crc32 for "Eyra - The Crow Maiden"
2023-06-04 14:08:18 +02:00
PsyK0p4T
b917a6241a
Update n64.txt
Add Xeno Crisis (Aftermarket)
2023-05-12 10:52:59 +02:00
PsyK0p4T
04ae5178d9
Update md.txt
Added support for "mikeyeldey95 (Aftermarket)"
2023-05-04 09:18:26 +02:00
PsyK0p4T
43dbad6e04
Update snes.txt
Fix Jim Power - The Lost Dimension in 3D (World) (Enhanced) (Aftermarket) (Unl)
2023-04-26 23:52:59 +02:00
PsyK0p4T
16a2569626
Update md.txt
Aftermarket entries added/modified.
2023-04-24 23:20:39 +02:00
PsyK0p4T
0420b13d49
Update n64.txt
Support added for Big2Small (Aftermarket)
2023-04-24 11:15:21 +02:00
PsyK0p4T
225ea40dee
Update pcw.txt
3 new entries added
2023-04-23 00:55:16 +02:00
PsyK0p4T
fc909606ac
Update pcw.txt
Truncated names fixed
2023-04-22 01:29:02 +02:00
fakkuyuu
7a870949a8
Update nes.txt 2023-04-14 10:51:35 +09:00
fakkuyuu
0fe836cf73
Update nes.txt 2023-04-09 14:58:22 +09:00
fakkuyuu
5fe7b5a39f
Update nes.txt 2023-04-09 14:34:47 +09:00
fakkuyuu
d359e4e441
Update nes.txt 2023-04-09 14:16:06 +09:00
fakkuyuu
b82071e22e
Update nes.txt 2023-04-09 11:33:15 +09:00
fakkuyuu
96c57a2e90
Update nes.txt 2023-04-09 10:41:08 +09:00
fakkuyuu
fea1148fc9
Update nes.txt 2023-04-09 09:41:55 +09:00
PsyK0p4T
2284efe6c0
Update pce.txt 2023-03-25 10:45:28 +01:00
PsyK0p4T
a1ce5a1917
Add WonderSwan / PCv2 database
Database for :
- WonderSwan
- WonderSwan Color
- Benesse Pocket Challenge v2
2023-03-24 10:19:01 +01:00
PsyK0p4T
3f9fab0312
Update md.txt 2023-03-10 00:16:38 +01:00
splash5
9d0ac8c27d Fix wrong first/last bank crc32 2023-02-26 15:58:56 +08:00
sanni
9bfa9c3418
Fix some duplicate first bank/last bank CRCs 2023-02-13 11:32:46 +01:00
PsyK0p4T
aa6824eefd
Update pce.txt 2023-02-02 18:52:27 +01:00
sanni
b453bf85a8
Fix wrong first/last bank CRC32 for Zelda 1 2023-01-28 16:27:33 +01:00
sanni
248a1d9af5 V12.0: Add Atari 2600, Emerson Arcadia 2001, Fairchild Channel F, Magnavox Odyssey 2 modules (thx to skaman) 2023-01-03 19:33:34 +01:00
Michael Mattiacci
a565cf4002 Fix F-Zero X being detected as F-Zero X Beta 2022-12-27 02:26:35 -08:00
splash5
b4021f5594 Fix wrong first/last bank crc32 2022-12-25 18:46:02 +08:00
splash5
1d3eecfc14 Fix wrong first bank crc32 2022-12-14 12:31:31 +08:00
splash5
de8a76af10 Fix wrong crc32 and cart size for Kakinoki Shougi (Japan) 2022-12-13 00:10:35 +08:00
splash5
7eb3acb2bb Fix "Kakinoki Shougi (Japan)" 2022-12-11 10:45:42 +08:00
splash5
ed1c1f0bea Fix SNES Daikaijuu Monogatari 2 2022-11-24 17:08:41 +08:00
sanni
948cfc4285
Fix Brain Lord checksum and header CRC32 2022-10-27 23:38:20 +02:00
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