dressupgeekout / lunapurpura

Reimplementation of Purple Moon's games from the 1990s (WIP) - NOTE: ScummVM port in progress
https://dressupgeekout.github.io/lunapurpura/
BSD 2-Clause "Simplified" License
8 stars 1 forks source link

Handle "DIRECT 0" XPK files #22

Closed dressupgeekout closed 4 years ago

dressupgeekout commented 4 years ago

There's a class of instruction in the XPK format which we're not handling yet: 0x9n

1 entry(ies):
    XPKEntry offset=36 dimensions=160x120 pos=0x0
xpk: ?? unhandled XPK instruction: 91
xpk: ?? unhandled XPK instruction: 19
xpk: ?? unhandled XPK instruction: 91
xpk: ?? unhandled XPK instruction: 91
xpk: ?? unhandled XPK instruction: 91
xpk: ?? unhandled XPK instruction: 9E
xpk: ?? unhandled XPK instruction: 9C
xpk: ?? unhandled XPK instruction: 96
xpk: ?? unhandled XPK instruction: 9C

Let's try to figure out what it could mean

dressupgeekout commented 4 years ago

It's actually got little to do with 0x9 per se -- although, that still could be an issue -- instead, it turns out the immediate problem is that we weren't handling the case when we see a "DIRECT 0" instruction.