Thanks for the save assist! Started some work and it's doing some type of vram copy routine @ ROM0:1590. Source comes from R056:6CAB [$15acab]. Some type of hand-painted vwf tiles.
15acab = 8 raw - [code 01] [02 05]
Some decompression routine kicks in here. I'll update as I understand more.
September 12, 2020, 11:46:56 am - (Auto Merged - Double Posts are not allowed before 7 days.)
It's a LZ* copier routine, 12-bit window + 4-bit length (with extension to 8-bit). The buffer wrap code I don't get but I'll see if I can cook some tool to help along.
September 12, 2020, 03:02:49 pm - (Auto Merged - Double Posts are not allowed before 7 days.)
Here's the unpacked bitmaps.https://github.com/blipform/Dragon_Warrior_Monsters_1/raw/decrunch/portal_list.7z
With the source code here.https://github.com/blipform/Dragon_Warrior_Monsters_1/tree/decrunch
Still have to figure out the packer.
September 12, 2020, 10:49:18 pm - (Auto Merged - Double Posts are not allowed before 7 days.)
So the good news is my packer works, and produces slightly tinier sizes (often 2-3 byte savings).https://github.com/blipform/Dragon_Warrior_Monsters_1/tree/crunch
There's a 16-bit ptr table @ 15801f-15803e for the bitmaps. I'm not sure if your edits will fit in-place but you could either: recompress all graphics for some savings or just shove the large ones at end of bank $56.
I expect some problems using the tools but I'll hang around for this part.
As a side-note, this LZ was decent. Instead of using bitflags, it reserves an unused byte code as the escape. Which saves some shift math time and space. And you can use the pre-buffer space for zero'es compression.
September 12, 2020, 10:59:31 pm - (Auto Merged - Double Posts are not allowed before 7 days.)
I am now somewhat interested in trying to port the German title logo over to USA also. As much as I think it should be simple, I've been surprised many times over before though. Let's find out!
September 12, 2020, 11:11:10 pm - (Auto Merged - Double Posts are not allowed before 7 days.)
Uploaded new cruncher exe tools; forgot to static link the gcc dependency libs so no one has to hunt them down.
September 13, 2020, 12:03:11 am - (Auto Merged - Double Posts are not allowed before 7 days.)
And title logo patch for USA rom.https://github.com/blipform/Dragon_Warrior_Monsters_1/raw/title_logo/german_title_logo.ips
Short answer is:
1. Found German logo (16f455, 16faf7)
2. Recrunched it to save some bytes
3. Replaced original English logo (16f455, 16fa8d)
4. Remapped ptrs (16c041, 16c043)
5. Found German nametable (17e56a)
6. Replaced USA nametable (17e583)https://github.com/blipform/Dragon_Warrior_Monsters_1/tree/title_logo