English Amiga Board


Go Back   English Amiga Board > abime.net - Hosted Projects > project.Maptapper

 
 
Thread Tools
Old 11 July 2013, 22:11   #1
BippyM
Global Moderator
 
BippyM's Avatar
 
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
Action Cat

Had a look at this,

Although I can find the tiles, the sizes are a bit iffy, which I think is an Amos Icon limitation.

Basically the tiles are 24 x 16, but internally they are stored as 32x16 (Amos icon images can only be multiples of 16 wide (longword I assume). So the map i guess plonks down a tile, moves 24px plonks the next one down etc.

What I have done is to create the icons vertically (attached) and then search the map. It matches the tiles, but never finds a map, or a suitably real map.

Any ideas?

Last edited by BippyM; 23 August 2015 at 23:23.
BippyM is offline  
Old 12 July 2013, 13:22   #2
Codetapper
2 contact me: email only!
 
Codetapper's Avatar
 
Join Date: May 2001
Location: Auckland / New Zealand
Posts: 3,188
Thumbs up Action Cat solved!

Here you go. I'll let you rip the rest. I used the savestate to find the map in case the map file was post-processed by the game. (If you prefer to use the included map file (especially if you have maps for all levels), load the map file, tick "use loaded map" and set the address to 2 to get the same result).

A couple of problems in this one. The game used tile 0 as a blank tile, but the graphics for the first tile in memory are garbage. It must have code that says "if tile index is 0, erase the tile" rather than "draw tile 0".

I always try and pick tiles that are unique for the search and not contain any blank cells in, and that allowed me to find the map with the search. Also because the adjust value is set to -1 (ie. the first tile is missing), then it draws a completely blank tile which is exactly what's required.

A feature to clear tile 0 is probably not a bad idea and allow for that when searching. Onto the huge to do list...


BTW another trick is to search for a small area (say 4x4) and see if the tiles turn out to be a block of 2x2 sequential numbers:

12, 13, 48, 49
14, 15, 50, 51
20, 21, 16, 17
22, 23, 18, 19

If those numbers had come up in the match, I would guess the game is using 2x2 blocks internally. Not needed in this case but that's what I would have tried next. At some point I will make a deep search option that tries to find stuff like that.

(In cased that's not clear, the top left block is 12, 13, 14, 15 when read as a 2x2 block across then down. Then 48, 49, 50, 51 follows. That's a dead giveaway that it's using bigger blocks or a double map).
Attached Files
File Type: zip Action Cat Fixed.zip (42.6 KB, 237 views)

Last edited by Codetapper; 12 July 2013 at 13:26. Reason: Added note about using the map file instead
Codetapper is offline  
Old 12 July 2013, 18:40   #3
BippyM
Global Moderator
 
BippyM's Avatar
 
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
Well I ripped the tiles directly as they are Amos Icons and there was no tile 0, so I am guessing it reloads them into a different set of banks, or if it's a blank the game just says box x,y,col or similar..

Thanks for looking. I'll rip this tonight if I get time (Work stuff to do also!)
BippyM is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cat Weasel mk4.... amiga man support.Hardware 3 16 June 2011 19:51
Cat and Mouse stainy project.aGTW 0 21 November 2007 09:22
BAD CAT Game @UAE request.Old Rare Games 7 07 October 2002 22:30
CD cat or something like this Chain request.Apps 5 23 June 2002 01:05
Top Cat MethodGit request.Old Rare Games 2 18 December 2001 23:34

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 18:14.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.07442 seconds with 14 queries