08-25-2012, 12:09 AM
There is another way to dump entire game maps. As an example I will use Beyond the Beyond game. It stores game map at the end of RAM as a 128x128 array:
![[Image: Screen_Shot_2012_08_25_at_8_43_39.jpg]](http://s11.postimage.org/z0av6t2sf/Screen_Shot_2012_08_25_at_8_43_39.jpg)
Changing it's content automatically updates game screen, so we can use the following alghorithm:
1. determine the location of viewport
2. using a simple script, blit there a chunk from the other part of the map
3. save a screenshot
4. repeat to 2, until all chunks are saved.
5. use ImageMagick to combine all screenshots into one big image.
![[Image: Screen_Shot_2012_08_25_at_8_43_39.jpg]](http://s11.postimage.org/z0av6t2sf/Screen_Shot_2012_08_25_at_8_43_39.jpg)
Changing it's content automatically updates game screen, so we can use the following alghorithm:
1. determine the location of viewport
2. using a simple script, blit there a chunk from the other part of the map
3. save a screenshot
4. repeat to 2, until all chunks are saved.
5. use ImageMagick to combine all screenshots into one big image.