Welcome!

General Emulation => MAME => Topic started by: Ashura-X on August 23, 2006, 11:47:39 AM

Title: To James33 or another friends :)
Post by: Ashura-X on August 23, 2006, 11:47:39 AM
Looking on some chinese forum I see some tables for CPS2 games. I would like to know if these tables are available or not since only Charles McDonald and Guru had the capacity of dump these tables and make some CPS2 games running without xor´s.


game (
        name 1944jnx
        description "1944: The Loop Master (Japan 000620 / NO XOR)"
        year 2000
        manufacturer "Capcom, supported by Eighting/Raizing"
        rom ( name 1944j-decode.bin size 4194304 crc 6d6fe584 sha1 9815662dc823cc603a6dbc868fe7428bc4a22304 )
)

game (
        name progeara
        description "Progear (Asia 010117 / NO XOR)"
        year 2001
        manufacturer "Capcom, supported by Cave"
        rom ( name progeara-decode.bin size 4194304 crc df2803f8 sha1 193af29006d0b43fb353841ddd416c65fed8b18e )
)

game (
        name sfa3nx
        description "Street Fighter Alpha 3 (US 980904 / NO XOR)"
        year 1998
        manufacturer "Capcom"
        rom ( name sfa3-decode.bin size 4194304 crc d959a011 sha1 f95fcf0de791db5a610e76b637a67af4d9bde4c1 )
)

Title: Re: To James33 or another friends :)
Post by: iq_132 on August 23, 2006, 12:45:55 PM
If they're listed in the newest MAME to be missing xors, than you can believe that they are. ;)
As for people with the capability to dump xors, that would be Raz & Charles (afaik).
Title: Re: To James33 or another friends :)
Post by: Ashura-X on August 23, 2006, 02:08:06 PM
No ! These are listed only on James Build. I want to know where he got these roms or info !
Title: Re: To James33 or another friends :)
Post by: iq_132 on August 24, 2006, 08:32:06 AM
Oh! Those are Creamymami's hack-xors (iirc).  They aren't officially supported (though I would like to know how they were made)
Title: Re: To James33 or another friends :)
Post by: James33 on August 25, 2006, 09:04:21 AM
Oh! Those are Creamymami's hack-xors (iirc).  They aren't officially supported (though I would like to know how they were made)

Oh are you sure about that ?  :p
Street Fighter Alpha 3 (US 980904) is a supported game in mame ( not a  Creamymami hack) but I do not use the XOR thats why I call it sfa3nx

Roms are here http://rapidshare.de/files/30708082/NO_XORs.rar.html

I use this code for the non XOR roms
which was removed from mame

vidhrdw\cps1.c
Code: [Select]
DRIVER_INIT( cps2_noxor )
{
UINT16 *opcodes = (UINT16 *)memory_region(REGION_USER1);
int length = memory_region_length(REGION_CPU1);

memory_set_decrypted_region(0, 0x000000, length - 1, opcodes);
m68k_set_encrypted_opcode_range(0,0,length);

cps2_gfx_decode();

scanline1 = 262;
scanline2 = 262;
scancalls = 0;
}
Title: Re: To James33 or another friends :)
Post by: James33 on August 27, 2006, 11:16:45 PM
They work here . I never did anything like that .

Roms are loaded like this
The code I posted above goes into vidhrdw\cps1.c

Code: [Select]
ROM_START( 1944jnx )
ROM_REGION( CODE_SIZE, REGION_CPU1, 0 )      /* 68000 code */
ROM_LOAD16_WORD_SWAP( "nffj.03", 0x000000, 0x80000, CRC(247521ef) SHA1(c6a04f514dd5ab40d8813dcfb8430bce54e7aa28) )
ROM_LOAD16_WORD_SWAP( "nff.04",  0x080000, 0x80000, CRC(dba1c66e) SHA1(4764e77d4da5d19d9acded27df1e1bcba06b0fcf) )
ROM_LOAD16_WORD_SWAP( "nffj.05", 0x100000, 0x80000, CRC(7f20c2ef) SHA1(380dc54d94c29c049a4c00ed58013e04eec87086) )

ROM_REGION16_BE( CODE_SIZE, REGION_USER1, 0 )
ROM_LOAD16_WORD_SWAP( "1944j-decode.bin", 0x000000, 0x400000, CRC(6d6fe584) SHA1(9815662dc823cc603a6dbc868fe7428bc4a22304) )

ROM_REGION( 0x2000000, REGION_GFX1, 0 )
ROMX_LOAD( "nff.13m",   0x0000000, 0x400000, CRC(c9fca741) SHA1(1781d4fc18b6d6f79b7b39d9bcace750fb61a5cf) , ROM_GROUPWORD | ROM_SKIP(6) )
ROMX_LOAD( "nff.15m",   0x0000002, 0x400000, CRC(f809d898) SHA1(a0b6af49e1780678d808c317b875161cedddb314) , ROM_GROUPWORD | ROM_SKIP(6) )
ROMX_LOAD( "nff.17m",   0x0000004, 0x400000, CRC(15ba4507) SHA1(bed6a82bf1dc1aa501d4c2d098115a15e18d446a) , ROM_GROUPWORD | ROM_SKIP(6) )
ROMX_LOAD( "nff.19m",   0x0000006, 0x400000, CRC(3dd41b8c) SHA1(676078baad789e25f6e5a79de29672587be7ff00) , ROM_GROUPWORD | ROM_SKIP(6) )
ROMX_LOAD( "nff.14m",   0x1000000, 0x100000, CRC(3fe3a54b) SHA1(0a8e5cae141d24fd8b3cb11796c44728b0acd69e) , ROM_GROUPWORD | ROM_SKIP(6) )
ROMX_LOAD( "nff.16m",   0x1000002, 0x100000, CRC(565cd231) SHA1(0aecd433fb4ca2de1aca9fbb1e314fb1f6979321) , ROM_GROUPWORD | ROM_SKIP(6) )
ROMX_LOAD( "nff.18m",   0x1000004, 0x100000, CRC(63ca5988) SHA1(30137fa77573c84bcc24570bccb7dba61ddb413c) , ROM_GROUPWORD | ROM_SKIP(6) )
ROMX_LOAD( "nff.20m",   0x1000006, 0x100000, CRC(21eb8f3b) SHA1(efa69f19a958047dd91a294c88857ed3133fcbef) , ROM_GROUPWORD | ROM_SKIP(6) )

ROM_REGION( QSOUND_SIZE, REGION_CPU2, 0 ) /* 64k for the audio CPU (+banks) */
ROM_LOAD( "nff.01",   0x00000, 0x08000, CRC(d2e44318) SHA1(33e45f6fe9fed098a4c072b8c39406aef1a949b2) )
ROM_CONTINUE(         0x10000, 0x18000 )

ROM_REGION( 0x800000, REGION_SOUND1, 0 ) /* QSound samples */
ROM_LOAD16_WORD_SWAP( "nff.11m",   0x000000, 0x400000, CRC(243e4e05) SHA1(83281f7290ac105a3f9a7507cbc11317d45ba706) )
ROM_LOAD16_WORD_SWAP( "nff.12m",   0x400000, 0x400000, CRC(4fcf1600) SHA1(36f18c5d92b79433bdf7088b29a244708929d48e) )
ROM_END

ROM_START( sfa3nx )
ROM_REGION( CODE_SIZE, REGION_CPU1, 0 )      /* 68000 code */
ROM_LOAD16_WORD_SWAP( "sz3u.03c", 0x000000, 0x80000, CRC(e007da2e) SHA1(d190ac7ca2c27f11b9b4f96860b226bbea0ee403) )
ROM_LOAD16_WORD_SWAP( "sz3u.04c", 0x080000, 0x80000, CRC(5f78f0e7) SHA1(f4df30fd3515fe9f1125f470b96028052c61f57b) )
ROM_LOAD16_WORD_SWAP( "sz3.05c",  0x100000, 0x80000, CRC(57fd0a40) SHA1(bc2d5f4d57117bbf58b1adb088e00424ef489e92) )
ROM_LOAD16_WORD_SWAP( "sz3.06c",  0x180000, 0x80000, CRC(f6305f8b) SHA1(3fd1ebdbad96103aca604e950b488e52460a71ec) )
ROM_LOAD16_WORD_SWAP( "sz3.07c",  0x200000, 0x80000, CRC(6eab0f6f) SHA1(f8d093dda65cf4e8a3000dc1b96355bb03dcb495) )
ROM_LOAD16_WORD_SWAP( "sz3.08c",  0x280000, 0x80000, CRC(910c4a3b) SHA1(dbd41280f9b16ad6a5b8f12092549970349395f1) )
ROM_LOAD16_WORD_SWAP( "sz3.09c",  0x300000, 0x80000, CRC(b29e5199) SHA1(c6c215eb5aa37f678a9cafcbd8620969fb5ca12f) )
ROM_LOAD16_WORD_SWAP( "sz3.10b",  0x380000, 0x80000, CRC(deb2ff52) SHA1(0aa4722aad68a04164946c78bf05752f947b4322) )

ROM_REGION16_BE( CODE_SIZE, REGION_USER1, 0 )
ROM_LOAD16_WORD_SWAP( "sfa3-decode.bin", 0x000000, 0x400000, CRC(d959a011) SHA1(f95fcf0de791db5a610e76b637a67af4d9bde4c1) )

ROM_REGION( 0x2000000, REGION_GFX1, 0 )
ROMX_LOAD( "sz3.13m",   0x0000000, 0x400000, CRC(0f7a60d9) SHA1(c69e0ee22537312909dacc86d2e4be319d54e426) , ROM_GROUPWORD | ROM_SKIP(6) )
ROMX_LOAD( "sz3.15m",   0x0000002, 0x400000, CRC(8e933741) SHA1(f4ac4bfe830dc7df9fe4f680e4e0c053e7cbd8fe) , ROM_GROUPWORD | ROM_SKIP(6) )
ROMX_LOAD( "sz3.17m",   0x0000004, 0x400000, CRC(d6e98147) SHA1(37f331fbb1284db446faecade6f484f58c0e1b2a) , ROM_GROUPWORD | ROM_SKIP(6) )
ROMX_LOAD( "sz3.19m",   0x0000006, 0x400000, CRC(f31a728a) SHA1(f14136564648f006c1b74afda78349f260524b5f) , ROM_GROUPWORD | ROM_SKIP(6) )
ROMX_LOAD( "sz3.14m",   0x1000000, 0x400000, CRC(5ff98297) SHA1(9e0ce43380b776c7a03872bafd4856f6fa60bda7) , ROM_GROUPWORD | ROM_SKIP(6) )
ROMX_LOAD( "sz3.16m",   0x1000002, 0x400000, CRC(52b5bdee) SHA1(7918204dc457f7a146d8fb8cf7242dfed3109fd8) , ROM_GROUPWORD | ROM_SKIP(6) )
ROMX_LOAD( "sz3.18m",   0x1000004, 0x400000, CRC(40631ed5) SHA1(c18c56822b90a71ca5fbdf3440eb2671011f3d8f) , ROM_GROUPWORD | ROM_SKIP(6) )
ROMX_LOAD( "sz3.20m",   0x1000006, 0x400000, CRC(763409b4) SHA1(af60a5116c1ca9050366a35ea29128921867f3cc) , ROM_GROUPWORD | ROM_SKIP(6) )

ROM_REGION( QSOUND_SIZE, REGION_CPU2, 0 ) /* 64k for the audio CPU (+banks) */
ROM_LOAD( "sz3.01",   0x00000, 0x08000, CRC(de810084) SHA1(fd0b969b732921ed8b40c16fbfa30ee09c7a7cbd) )
ROM_CONTINUE(         0x10000, 0x18000 )
ROM_LOAD( "sz3.02",   0x28000, 0x20000, CRC(72445dc4) SHA1(14fca7596ac45ba655016eef5b6120f9f9671c23) )

ROM_REGION( 0x800000, REGION_SOUND1, 0 ) /* QSound samples */
ROM_LOAD16_WORD_SWAP( "sz3.11m",   0x000000, 0x400000, CRC(1c89eed1) SHA1(649a0b0a3eb72e2e69e9fb1ac51a58b70daa39f3) )
ROM_LOAD16_WORD_SWAP( "sz3.12m",   0x400000, 0x400000, CRC(f392b13a) SHA1(fa04ce0370144a49bd1d5acd873eef87b0dc9d15) )
ROM_END
And I have the rest of it done this way

Code: [Select]
GAME( 2000, 1944jnx,  1944,    cps2, 19xx,    cps2_noxor, ROT0,   "Capcom, supported by Eighting/Raizing", "1944: The Loop Master (Japan 000620 / NO XOR)", 0 )
GAME( 1998, sfa3nx,   sfa3,    cps2, ssf2,    cps2_noxor, ROT0,   "Capcom", "Street Fighter Alpha 3 (US 980904 / NO XOR)", 0 )
GAME( 2001, progeara, progear, cps2, sgemf,   cps2_noxor, ROT0,   "Capcom, supported by Cave", "Progear (Asia 010117 / NO XOR)", 0 )
Title: Re: To James33 or another friends :)
Post by: James33 on August 28, 2006, 09:59:22 PM
I did forget to mention this though .

You add this line to the bottom   .
includes\cps1.h
DRIVER_INIT( cps2_noxor );
Title: Re: To James33 or another friends :)
Post by: Ashura-X on August 29, 2006, 11:09:00 AM
Yep ! Iq noticed me about that ;)
Title: Re: To James33 or another friends :)
Post by: James33 on August 30, 2006, 06:29:40 AM
Yep ! Iq noticed me about that ;)

So have you got the games working now ?
Title: Re: To James33 or another friends :)
Post by: Ashura-X on August 30, 2006, 11:24:19 AM
Sure ! All games are working fine here ! :smilie:
Title: Re: To James33 or another friends :)
Post by: James33 on August 31, 2006, 11:07:44 AM
Cool , I hope someone finds those roms usefull .