Montag, 11. Januar 2016

Map Display Improvement

I improved the display of the maps by considering the tileset offset bit which is part of the tileset data. This bit signals which part of a large tileset (Size = 0x4000 Bytes instead of 0x2000 Bytes) is to be used for a specific tile.
As a result, some maps look much better now, some of them can be seen in the following screenshots with a comparison of the old and new look.

Edward's Castle Old:


Edward's Castle New:
Inca Ship Old:
Inca Ship New:





Freitag, 8. Januar 2016

Sprite Palettes

I found the palette offset information for the sprites so now the color palettes seem to be correct.
A few impressions:




 I also rewrited the loading algorithm for the sprites and it is much faster now. I needed this improvement for the display of the sprites on the maps which will be my next goal.
And as a little outlook:
I need to finish the map data compression routine to write the edited map data back to the ROM. Once this is done I will release the next version of the editor that will enable map editing and mabye even sprite editing.

Dienstag, 29. Dezember 2015

Map Palettes

The map palettes are displayed correctly now! Worked faster than I expected :)






I played around a little with the map editor and added a second floor to the house:

I also renovated the dark part of Freejia a little:


Map Editor

It's now possible to edit the maps in the editor just as I did in the following screenshot:


I still need to finish the compression routine to make it possible to write the edited map data back to the ROM.
I'm also working on the map palettes currently. A map consists of several palettes (up to 8). The palette which a single map tile uses is assigned by a 3 bit index that is part of the tileset data.
With this index I willtry to display the map with all the right palettes.

Sonntag, 13. Dezember 2015

Display Map Layers

I improved the map loading algorithm to support the display of the different map layers. You can now select the layers you want to display in the editor. The following screens show the different map layers for Edward's Prison.

Map layer 1:
 Map layer 2:
 Map layer 1 & 2:

Freitag, 27. November 2015

Display Maps 2

I found the tile mirror bit so the maps look better now:


I also extracted the tilemaps that I need for the implementation of the map editor that will follow soon.
Then I will upload a new version of the editor!

Montag, 16. November 2015

Display Maps

I decoded successfully the map tileset data sets and as a result, the maps look much better now:



There are some tiles that need to be mirrored so I have to search for that mirror bit next.
There is also a second tile layer for several maps that I need to add.
And one very important thing to do: Find the right color palettes..