|
Re: STI File Problem/Challenge: Extend Explosion Animations[message #336200]
|
Fri, 26 September 2014 15:04 
|
|
Realist |
 |
Messages:28
Registered:September 2005 Location: Duesseldorf, Germany |
|
|
I had a go at ZGRAV_C.sti, adding 1-2 frames and it seems I get the desired results by
1. updating the frame count byte in the first record of the appdata section
2. extending the appdata section with another record of 16 zero-bytes per additional frame
3. reflecting the changed size of the appdata section in the STCI header (this might be bytes 49-53).
Very minimal testing in Stracciatella suggested the modified animation works. I wouldn't be surprised if the game breaks elsewhere, though. Removing frames might be similar, but didn't test.
Report message to a moderator
|
Private 1st Class
|
|
|
Re: STI File Problem/Challenge: Extend Explosion Animations[message #336201]
|
Fri, 26 September 2014 15:06 
|
|
Tox |
 |
Messages:249
Registered:February 2000 Location: www.webcodesign.de |
|
|
that sounds promising, can you send me your files?
flugente suggested that the appdata size is not written as the header description seems to indicate. I've updated my algorithm to incorporate that, but there's still something breaking everything. didn't test with stracciatella, though - used a customized version of 1.13 build 4870.
[Updated on: Fri, 26 September 2014 15:10] by Moderator Report message to a moderator
|
Sergeant 1st Class JA2STI Creator
|
|
|
Re: STI File Problem/Challenge: Extend Explosion Animations[message #336203]
|
Fri, 26 September 2014 15:40 
|
|
Realist |
 |
Messages:28
Registered:September 2005 Location: Duesseldorf, Germany |
|
|
Sent you the files (to the mail address from your profile page).
I don't know if I understand Flugente's concerns about this thing entirely. However, I agree that Sirtech's file formats are a mess all across the board, worst offenders to me personally are JSDs so far. :compsmash:
Report message to a moderator
|
Private 1st Class
|
|
|
|
|
Re: STI File Problem/Challenge: Extend Explosion Animations[message #362026 is a reply to message #336714]
|
Fri, 11 December 2020 11:52
|
|
myoffice91 |
 |
Messages:6
Registered:December 2020 |
|
|
Quote:
Hi folks,
after almost two days straight researching why adding / removing frames from the ZGRAV_C.STI animation breaks it, I'm still puzzled. I figured out that byte 49 of the STI header is used, even though the source code of the STCIHeader indicates it's not. I found a way to get that byte right, at least identical to all the files I know of that have a byte 49 other than 0. But still adding/removing frames doesn't work.
Has anyone ever figured out a way to extend ZGRAV_* anis? And if so, how? If not, go ahead and give it a shot!
Recently released a program "Wizardry 8 tool 1.0.7 STI Image Editor" , supporting delete frame and add frame image.
[Updated on: Fri, 11 December 2020 12:29] Report message to a moderator
|
Private
|
|
|