01 July 2013, 14:38 | #1 |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
Map Search V Slow
I have noticed on a couple of occasions the map search is extremely slow when matching tiles.
I am currently trying to match Alfred Chicken and it is taking a good 2-3 minutes to run through the process. My screenshot is 320x256 Any reasons? |
02 July 2013, 03:11 | #2 |
2 contact me: email only!
Join Date: May 2001
Location: Auckland / New Zealand
Posts: 3,188
|
Yes, basically it's the garbage in-garbage out principle. Imagine you give it a match which is
0,0,0,0 0,0,0,0 0,0,1,0 3,4,6,7 The first 2 lines are completely useless, as there are potentially thousands of bytes in memory that are a run of the same value. Maptapper does 2 passes, one trying to find exact matches on that sequence, and if that fails it will look for any match with the same differences. Hence 10,10,10,10 would match the first line as the difference is 0. Then it has to check all other combinations to find if the match was good. You must always give Maptapper a unique block of indexes or the search will be very slow. And perhaps illogically, it is better to give maptapper a larger block to match than a small one. A grid of 6x6 indexes is far better than a grid of 3x3 as it can eliminate dud entries much quicker and try the next sequence. With regards to matching a screenshot to tiles, if you have a lot of blank tiles to start with, this will also be very slow. I've seen one game where there about 60 blank tiles at the start, and all those have to be tested when matching. If you want, upload the savestate and I can see what you're doing that's causing it to be so slow. |
02 July 2013, 03:48 | #3 |
Global Moderator
Join Date: Nov 2001
Location: Derby, UK
Age: 48
Posts: 9,355
|
It#s okay. I understand and Alfred Chicken had a bit of blank
Thanks again |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Platman map | Raislin77it | HOL contributions | 3 | 22 September 2012 11:41 |
SkyFox II - Map | ricky500 | request.Old Rare Games | 3 | 01 July 2011 23:19 |
Frontier Map | pubzombie | support.Games | 5 | 31 January 2011 21:15 |
Sensible Soccer, pitch1.map pitch2.map problem. | Whitesnake | project.WHDLoad | 0 | 31 May 2006 14:52 |
|
|