VitaSmith / gust_tools

A set of utilities for dealing with Gust (Koei Tecmo) PC games files
Other
206 stars 23 forks source link

Incorrect assumption for field purpose in Elixir Header #16

Closed yretenai closed 4 years ago

yretenai commented 4 years ago

version of lxr_header is not version, it's filename width. I have found elixir files with version 0, 1, and 2, the only change in the format is lxr_entry.filename changes size (0x20 + (lxr_header.version << 4)).

0: 0x20 1: 0x30 2: 0x40

VitaSmith commented 4 years ago

Thanks for the report. I'll try to update the code according to this information when I have a chance.

VitaSmith commented 4 years ago

This should be fixed now.