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

Decode the "MATRIX" text files #55

Open dressupgeekout opened 4 years ago

dressupgeekout commented 4 years ago

Secret and Dance both contain a "MATRIX" archive which has a bunch of text files in it.

The format looks like a spin on CSV. This is also the closest thing the Rockett games have to any sort of scripts which are interpreted at runtime.

The goal of this issue is to determine what exactly they're for, and how to best use them in Luna Purpura.

AlanisSmithee commented 4 years ago

The LS files I'm pretty sure are for determining what items are in a locker for particular choice scene, as well as determining what item plays its animation when you click on it and what stays static. I'm seeing references to scenes and choices before each list. This may also be where the backgrounds for the notes are determined?

The OD files, I'm not sure. I'm seeing stuff that seems to refer to screen positioning and what xmv and sound files are supposed to be called for each item in the LS file.

dressupgeekout commented 4 years ago

Yeah, I think that's pretty close.

On closer inspection, I think the OD files declare which things could be in a character's locker, and the LS files indicate whether each item is visible, depending on the choices the player had made.