RagnarokFileFormats icon indicating copy to clipboard operation
RagnarokFileFormats copied to clipboard

Research how the "system palette" is used to render sprites for ancient SPR versions

Open rdw-software opened this issue 5 years ago • 1 comments

Since I've never actually seen a SPR file that is this ancient, I can't verify the assumptions outlined in the specification so far. It might be they aren't publicly available at all, or that they are used in Arcturus, or possibly early alpha clients?

I would expect them to either use a predefined set of colors, or to simply rely on using whatever the user's computer (i.e., the Windows OS) provides and simply hope it works out. The latter seems prone to errors, but also like something they'd do :P

It's probably not really relevant to my efforts, but for completion's sake it'd be useful to investigate this at some point in the future.

rdw-software avatar Nov 16 '20 19:11 rdw-software

Looks like Arcturus uses version 1.1, but without a header. This breaks ActEditor as well as my own decoder.

Adapting it to deal with this should be easy enough, though it'll be difficult to determine the format since no one appears to have researched Arcturus formats much.

The iRO alpha seems to use version 2.0 and a 2003 iRO client I found already used 2.3 for at least the few sprites that I manually checked. I'd have to verify this by gathering statistics for all versions and all files, but that seems like a rather annoying task for relatively little gain.

As this means there's no files using version 1.0 that are publicly available, researching the interaction with the system palette is both pointless and impossible. I'll shelve this for the time being; after more capable analysis tools have been developed, we can more easily check if there's really no file using this version and then close this later.

rdw-software avatar Apr 06 '21 18:04 rdw-software

Not sure where the info about system palettes comes from. But there's no version this ancient, even in Arcturus.

In fact, I had no issues decoding Arcturus sprites with the regular SPR decoder (FFI, not JS). So I'll consider this resolved.

rdw-software avatar Sep 04 '23 23:09 rdw-software