Author Topic: Generator feature requests/Bug Reports  (Read 3647 times)

Offline iq_132

  • Administrator
  • *****
  • Posts: 3543
  • Karma: +369/-0
  • Just a lion with a sword
    • NeoSource
Generator feature requests/Bug Reports
« on: April 08, 2004, 01:34:45 am »
If you have any feature requests or bug reports for the generator, please post them here.



Offline KingHanco

  • Sr. Member
  • ****
  • Posts: 426
  • Karma: +0/-4
  • "Special " Member
Re: Generator feature requests/Bug Reports
« Reply #1 on: September 25, 2005, 06:49:19 pm »
Capcom Generate Drivers subport?

I would like to see someone help you to make one or added on yours.

It would be nice to have one made. :biggrin:

Offline KingHanco

  • Sr. Member
  • ****
  • Posts: 426
  • Karma: +0/-4
  • "Special " Member
Bug Report for Latest Generator version
« Reply #2 on: November 24, 2005, 01:51:32 am »
There is a bug on the lates Generator.

Somehow it think that the 267-p1.bin (112fe2c0) is the same as the 267-v1.bin (e2e8e917).

I recheck it 3 times and I don't make a mistake anywhere.

I can't send the snapshot so I going to post this here without the Generator snapshot there error in the driver that the Generator made.

Code: [Select]
Add this near the middle of NEOGEO.C (src/drivers/) before the init section.

ROM_START( pnyaa )
ROM_REGION( 0x100000, REGION_CPU1, 0 )
ROM_LOAD16_WORD_SWAP( "xxx-p1.bin", 0x000000, 0x100000, CRC(112fe2c0) )

/* The Encrypted Boards do _not_ have an s1 rom, data for it comes from the Cx ROMs */
ROM_REGION( 0x20000, REGION_GFX1, 0 )
ROM_FILL(                 0x000000, 0x20000, 0 )
ROM_REGION( 0x20000, REGION_GFX2, 0 )
ROM_LOAD( "sfix.sfx",  0x000000, 0x20000, CRC(354029fc) )

/* The M1 ROM is encrypted, we load it here for reference and replace it with a decrypted version */
ROM_REGION( 0x080000, REGION_USER4, 0 )
ROM_LOAD( "xxx-m1d.bin", 0x00000, 0x080000, CRC(d58eaa8e) )
NEO_BIOS_SOUND_512K( "xxx-m1.bin", CRC(c7853ccd) )

ROM_REGION( 0x400000, REGION_SOUND1, ROMREGION_SOUNDONLY )
ROM_LOAD( "xxx-v1.bin", 0x000000, 0x400000, CRC(112fe2c0) )

NO_DELTAT_REGION

ROM_REGION( 0x1000000, REGION_GFX3, 0 )
ROM_LOAD16_BYTE( "xxx-c1.bin", 0x0000000, 0x800000, CRC(2e20617a) )
ROM_LOAD16_BYTE( "xxx-c2.bin", 0x0000001, 0x800000, CRC(4edfa720) )
ROM_END


Add this in the middle of NEOGEO.C (src/drivers/) in the init section.

DRIVER_INIT( pnyaa )
{
/* the S data comes from the end fo the C data */
int i;
UINT8 *src = memory_region(REGION_GFX3) + memory_region_length(REGION_GFX3) - 0x20000;
UINT8 *dst = memory_region(REGION_GFX1);

for (i = 0; i < 0x20000; i++)
dst[i] = src[(i & 0x1ffe0) + ((i & 7) << 2) + ((~i & 8) >> 2) + ((i & 0x10) >> 4)];

init_neogeo();
}


Add this at the bottom of NEOGEO.C (src/drivers/)

GAMEB( 2002-2003, pnyaa, neogeo, neogeo, neogeo, neogeo,  pnyaa,   ROT0, "Taito / Aiky", "Pochi & Nyaa" )


Add this at the bottom of DRIVER.C (src/)

DRIVER( pnyaa ) /* (c) 2002-2003 Taito / Aiky */

iq_132, I could send you the snapshot on the mIRC later on.

Offline iq_132

  • Administrator
  • *****
  • Posts: 3543
  • Karma: +369/-0
  • Just a lion with a sword
    • NeoSource
Re: Generator feature requests/Bug Reports
« Reply #3 on: November 24, 2005, 02:49:44 am »
:) Thanks for the Bug submission Hanco.  I can confirm this bug, and it will be fixed in the next generator version.

If you want, you can fix it yourself.

go to files->generator.js

search for this:
Code: [Select]
var v1crc = mame_crc(form.p1crc.value, crc1val, crc2val, 7);
and replace it with this:
Code: [Select]
var v1crc = mame_crc(form.v1crc.value, crc1val, crc2val, 7);



Offline KingHanco

  • Sr. Member
  • ****
  • Posts: 426
  • Karma: +0/-4
  • "Special " Member
Re: Generator feature requests/Bug Reports
« Reply #4 on: November 24, 2005, 03:51:17 am »
go to files->generator.js

search for this:
Code: [Select]
var v1crc = mame_crc(form.p1crc.value, crc1val, crc2val, 7);
and replace it with this:
Code: [Select]
var v1crc = mame_crc(form.v1crc.value, crc1val, crc2val, 7);

It done and thanks.