Jump to content

SPL file format "Extended Header offset" and "Casting Feature Block offset"


Recommended Posts

I have question regarding "Extended Header offset" (0x0064) and "Casting Feature Block offset" (0x006e) fields in SPL (IESDP).

"Feature Block Table offset" seems to always have the same value (0x72), what make sense, since it depends only from header size, which is const.

"Casting Feature Block offset" seems to always have same value (0), what make sense, assuming that casting effects always goes before ability effects.

Question is: can I assume that those values would be always like this and no need for reading them, or am I missing something? For "Feature Block Table offset" it seems to be pretty clear. "Casting Feature Block offset" has this additional assumption, that I'm not sure if it is always true. IESDP doesn't say that casting effect goes before ability effects.

Link to comment

I'm suddenly not sure if it were SPLs or ITMs suddenly, but I've seen files where the External Hearders and the Feature Blocks's order were reversed (klatu's Drop Equipment on X components error out on such files). The game has no issue with that.

Edited by Graion Dilach
Link to comment
On 3/21/2023 at 10:56 PM, Graion Dilach said:

I'm suddenly not sure if it were SPLs or ITMs suddenly, but I've seen files where the External Hearders and the Feature Blocks's order were reversed (klatu's Drop Equipment on X components error out on such files). The game has no issue with that.

That's interesting. IESDP kind of suggesting that it need to be on order, but maybe I'm over interpreting. Anyway, if game is ok with that then indeed no longer discussion is needed. I adjusted my code to handle both cases, so hopefully my mod won't break anyone's work. :) Thank you all for insights!

Link to comment

Yeah I was less worried about how the game handles it, and more worried about whether your Weidu code - or someone else’s* - can successfully parse it. 

* (Every time I do a big install, some mod will choke on some files added by another mod, and I’ll have to find six files out of 100,000 in my override folder, move them somewhere else, then run the installer again, then move those six files back into /override. It’s maddening, every time. Don’t be that guy!)

Link to comment

Join the conversation

You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...