Sorry for being an idiot, how do I get the PRG/CHR only and how do I merge them later?lidnariq wrote:You should be able to start with the GNROM script here: https://github.com/arantius/anago-scrip ... /_gnrom.ad
and change this line in cpu_dump:toCode: Select all
cpu_write(d, 0x8000, i << 4);
to get the PRG out of the cartridge.Code: Select all
cpu_write(d, 0x4120, i | (i<<4));
Naruko's provided mmc3 script is complex enough that I'm a little afraid of it, but as I said, you should just be able to dump it twice once using each technique, split the resulting files and reassemble into something functional.
Kazzo USB rom dumper / dev cart programmer
Moderator: Moderators
Re: Kazzo USB rom dumper / dev cart programmer
Re: Kazzo USB rom dumper / dev cart programmer
For whatever reason, anago can't read 32 KiB at a time, and must read 16 KiB at a time.Werrock wrote:I got this error:
ength range must be 0x000000 to 0x004000
AN ERROR HAS OCCURED [script logical error]
Replace
Code: Select all
cpu_read(d, 0x8000, banksize);
Code: Select all
cpu_read(d, 0x8000, 0x4000);
cpu_read(d, 0xc000, 0x4000);
Re: Kazzo USB rom dumper / dev cart programmer
Amazing!
mirroring Program ROM fixed
mirroring Charcter ROM fixed
gluk_189_try_2.nes, mapper 189
Program ROM: size 0x020000, crc32 0x3f60ac50
Charcter ROM: size 0x020000, crc32 0x9219bd34
And it works perfectly in the emulator. You Sir are a genius!
Where can upload a rom for public access and are there any legal issue with this?
Edit: We should also upload the mapper script, its really nice with more mappers to this great tool.
Edit 2: I got it uploaded to github, all credit to Joe. https://github.com/arantius/anago-scrip ... txc_189.ad
mirroring Program ROM fixed
mirroring Charcter ROM fixed
gluk_189_try_2.nes, mapper 189
Program ROM: size 0x020000, crc32 0x3f60ac50
Charcter ROM: size 0x020000, crc32 0x9219bd34
And it works perfectly in the emulator. You Sir are a genius!
Where can upload a rom for public access and are there any legal issue with this?
Edit: We should also upload the mapper script, its really nice with more mappers to this great tool.
Edit 2: I got it uploaded to github, all credit to Joe. https://github.com/arantius/anago-scrip ... txc_189.ad
Re: Kazzo USB rom dumper / dev cart programmer
Don't give all the credit to me, most of it is copied from other scripts (especially the MMC3 script).
Re: Kazzo USB rom dumper / dev cart programmer
Is there some kind of script database? I'm sure I'm missing alot.
Either way: Mapper 246 (Fong Shen Bang) script:
Either way: Mapper 246 (Fong Shen Bang) script:
Code: Select all
board <- {
mappernum = 246,
cpu_rom = {
size_base = 4 * mega, size_max = 4 * mega, banksize = 0x2000
},
ppu_rom = {
size_base = 4 * mega, size_max = 4 * mega, banksize = 0x0800,
},
ppu_ramfind = true, vram_mirrorfind = false
};
function cpu_dump(d, pagesize, banksize)
{
for(local i = 0; i < pagesize; i += 1){
cpu_write(d, 0x6000, i);
cpu_read(d, 0x8000, banksize);
}
}
function ppu_dump(d, pagesize, banksize)
{
for(local i = 0; i < pagesize; i += 1){
cpu_write(d, 0x6004, i);
cpu_write(d, 0x8000, i);
ppu_read(d, 0, banksize );
}
}
- infiniteneslives
- Posts: 2104
- Joined: Mon Apr 04, 2011 11:49 am
- Location: WhereverIparkIt, USA
- Contact:
Re: Kazzo USB rom dumper / dev cart programmer
If someone would like to make a nice neat .zip download of scripts that aren't currently distributed with my dropbox .zip along with the readme and drivers etc I can add them in.
If you're gonna play the Game Boy, you gotta learn to play it right. -Kenny Rogers
Re: Kazzo USB rom dumper / dev cart programmer
If I have you permission, I can upload this to the git repository.Ice Man wrote:Is there some kind of script database? I'm sure I'm missing alot.
Either way: Mapper 246 (Fong Shen Bang) script:Code: Select all
code
-
- Posts: 44
- Joined: Sun Aug 31, 2014 9:55 am
Re: Kazzo USB rom dumper / dev cart programmer
Yeah, this would be great to have an updated list of scripts available.infiniteneslives wrote:If someone would like to make a nice neat .zip download of scripts that aren't currently distributed with my dropbox .zip along with the readme and drivers etc I can add them in.
Also, was a script made for mapper 11 Color Dreams games?
Re: Kazzo USB rom dumper / dev cart programmer
Ok, I have created a pull request, hopefully it will be accepted.
Next up I want to dump Policeman, it should use mapper 36:
http://wiki.nesdev.com/w/index.php/INES_Mapper_036
Is the https://github.com/arantius/anago-scrip ... /_gnrom.ad script supporting oversize? I doubt it looking at the max sizes. Is it enough to increase them or is the bank switching different on oversize?
"Theoretically the bank select register could be implemented with a 74HC377 octal D latch, allowing up to 512 KB of PRG ROM and 128 KB of CHR ROM. " I guess this is the oversizing? I will open the cart and have a look if this chip is in use.
Next up I want to dump Policeman, it should use mapper 36:
http://wiki.nesdev.com/w/index.php/INES_Mapper_036
Is the https://github.com/arantius/anago-scrip ... /_gnrom.ad script supporting oversize? I doubt it looking at the max sizes. Is it enough to increase them or is the bank switching different on oversize?
"Theoretically the bank select register could be implemented with a 74HC377 octal D latch, allowing up to 512 KB of PRG ROM and 128 KB of CHR ROM. " I guess this is the oversizing? I will open the cart and have a look if this chip is in use.
Re: Kazzo USB rom dumper / dev cart programmer
Color dreams look very similar also to the gnrom. If anyone can create a mapper I can test it. I have all color dreams/bunch and wisdom tree games.
https://github.com/arantius/anago-scrip ... per_246.ad is published. Thank you Ice Man, one more down!
https://github.com/arantius/anago-scrip ... per_246.ad is published. Thank you Ice Man, one more down!
Re: Kazzo USB rom dumper / dev cart programmer
We don't know anything about mapper 36 beyond what the emulator source says, so pictures of the PCB would appreciated regardless.
To get a color dreams dumper from the gnrom one, swap these two lines:and
To get a color dreams dumper from the gnrom one, swap these two lines:
Code: Select all
cpu_write(d, 0x8000, i << 4);
Code: Select all
cpu_write(d, 0x8000, i);
Re: Kazzo USB rom dumper / dev cart programmer
Sure, go ahead and upload it.Werrock wrote:If I have you permission, I can upload this to the git repository.Ice Man wrote:Is there some kind of script database? I'm sure I'm missing alot.
Either way: Mapper 246 (Fong Shen Bang) script:Code: Select all
code
Re: Kazzo USB rom dumper / dev cart programmer
I tried but it did not work. Black screen in emulator, Info from anago:
bible_adventures.nes, mapper 11
Program ROM: size 0x010000, crc32 0xb7941ad3
Charcter ROM: size 0x004000, crc32 0xd6a30cde
Cleaned it and works on NES, got new result (same inserting the cart three times now):
bible_adventures3.nes, mapper 11
Program ROM: size 0x010000, crc32 0x9b8e02c0
Charcter ROM: size 0x004000, crc32 0xd6a30cde
Starts in emulator but graphics is very messed up.
bible_adventures.nes, mapper 11
Program ROM: size 0x010000, crc32 0xb7941ad3
Charcter ROM: size 0x004000, crc32 0xd6a30cde
Cleaned it and works on NES, got new result (same inserting the cart three times now):
bible_adventures3.nes, mapper 11
Program ROM: size 0x010000, crc32 0x9b8e02c0
Charcter ROM: size 0x004000, crc32 0xd6a30cde
Starts in emulator but graphics is very messed up.
Re: Kazzo USB rom dumper / dev cart programmer
Hm. Somehow your CHR is much too small. But it's not 8 KiB, it's 16 KiB, so I'm kinda confused.
That said, this PRG checksum: 0x9b8e02c0 is consistent with revision 1.3 of the game.
That said, this PRG checksum: 0x9b8e02c0 is consistent with revision 1.3 of the game.
Re: Kazzo USB rom dumper / dev cart programmer
We are close then!
Here is the picture of Policeman PCB:
http://sv.tinypic.com/r/sw6xpj/9
The chip on the left is a 74LS175 and the right one 74LS138 so 74HC377 (mentioned as a chip used for over sizing) is not used.
Here is the picture of Policeman PCB:
http://sv.tinypic.com/r/sw6xpj/9
The chip on the left is a 74LS175 and the right one 74LS138 so 74HC377 (mentioned as a chip used for over sizing) is not used.