EtchedPixels / TaylorMade

Game Interpreter for later Adventure International games
GNU General Public License v2.0
5 stars 1 forks source link

Seas of blood picture support implementation #1

Closed angstsmurf closed 1 year ago

angstsmurf commented 2 years ago

I don't if there is still any interest in this repo, but in case anyone feels like working on picture support, there is a full implementation of the closely related Seas of Blood image drawing in the Spatterlight repo here.

EtchedPixels commented 2 years ago

Interesting that someone went to all that trouble. It looks pretty much how I remember it working (I wrote some of the original one 8)). They are very similar for the games from that point on. Robin of Sherwood was 'special', but the games after pretty much used the same set up for the 8bit era. The pre RoS games are very similar too as the block encoding is taken from the picture encoding in the older games.

Not something I personally have time to dig into much.

angstsmurf commented 2 years ago

Yes, all the earlier versions are working. I made a small video here: https://youtu.be/p5Oelhsmzco.

Currently I'm hacking away at the later games, but the differences are big enough that I haven't gotten very far.

EDIT: One question: In the FORMAT file, there are some notes on the image format. There are a bunch of memory addresses listed there. You don't happen to remember which game they refer to?

angstsmurf commented 2 years ago

The graphics seem to work now, at least in Temple of Terror. The non-graphics parts are still a bit rough.

https://github.com/angstsmurf/spatterlight/blob/33cc71faf193f9d578eacc5fb1db3ca52de7fa7c/terps/taylor/sagadraw.c#L930-L1033

Skärmavbild 2022-03-17 kl  20 44 09
angstsmurf commented 1 year ago

I'll close this now. A full drawing implementation is here: https://github.com/garglk/garglk/blob/54b8c784daf3d0a6507b8188919bf907fbe7dd4a/terps/taylor/sagadraw.c#L1050-L1169