_Q_ Posted May 15, 2014 Share Posted May 15, 2014 There was some scarecrow anim in game folders some time ago, anyone knows what happened with that file, or maybe have that file, I would like to use it for something but can't find it in game folders. Link to comment https://forums.kleientertainment.com/forums/topic/36465-scarecrow/ Share on other sites More sharing options...
debugman18 Posted May 15, 2014 Share Posted May 15, 2014 There was some scarecrow anim in game folders some time ago, anyone knows what happened with that file, or maybe have that file, I would like to use it for something but can't find it in game folders. Yup, Up and Away uses it, you could grab it from our repo. The original would give you trouble anyway, provided you could find it. When I added it to U&A I had to deconvert it with the very old Textool and reconvert it for it to show up properly. Link to comment https://forums.kleientertainment.com/forums/topic/36465-scarecrow/#findComment-481425 Share on other sites More sharing options...
_Q_ Posted May 15, 2014 Author Share Posted May 15, 2014 Yup, Up and Away uses it, you could grab it from our repo. The original would give you trouble anyway, provided you could find it. When I added it to U&A I had to deconvert it with the very old Textool and reconvert it for it to show up properly. I got it, but whats up with anim file, I can't see any anim states in it like idle and so on? Link to comment https://forums.kleientertainment.com/forums/topic/36465-scarecrow/#findComment-481427 Share on other sites More sharing options...
debugman18 Posted May 15, 2014 Share Posted May 15, 2014 I got it, but whats up with anim file, I can't see any anim states in it like idle and so on? Did you grab the zip of it? Anyways, the anim state that I am aware of is "anim". There may be others. Link to comment https://forums.kleientertainment.com/forums/topic/36465-scarecrow/#findComment-481429 Share on other sites More sharing options...
_Q_ Posted May 15, 2014 Author Share Posted May 15, 2014 Did you grab the zip of it? Anyways, the anim state that I am aware of is "anim". There may be others. I can always put the texture in the spriter and correct it. Thanks. Link to comment https://forums.kleientertainment.com/forums/topic/36465-scarecrow/#findComment-481451 Share on other sites More sharing options...
simplex Posted May 15, 2014 Share Posted May 15, 2014 (edited) I got it, but whats up with anim file, I can't see any anim states in it like idle and so on? By "can't see" do you mean when you opened it with a hex editor there was no list of animations at the end of anim.bin? If so, that's because it uses an older animation encoding version, where the animation names are not stored in anim.bin (only their hashes are). Edited May 15, 2014 by simplex Link to comment https://forums.kleientertainment.com/forums/topic/36465-scarecrow/#findComment-481458 Share on other sites More sharing options...
_Q_ Posted May 15, 2014 Author Share Posted May 15, 2014 By "can't see" do you mean when you opened it with a hex editor there was no list of animations at the end of anim.bin? If so, that's because it uses an older animation encoding version, where the animation names are not stored in anim.bin (only their hashes are). So that anim file is still usable or I just need to make new one? Link to comment https://forums.kleientertainment.com/forums/topic/36465-scarecrow/#findComment-481467 Share on other sites More sharing options...
simplex Posted May 15, 2014 Share Posted May 15, 2014 So that anim file is still usable or I just need to make new one? It's usable, it just won't tell you which animations there are, just as build.bin won't tell you which animation symbols there are. Link to comment https://forums.kleientertainment.com/forums/topic/36465-scarecrow/#findComment-481469 Share on other sites More sharing options...
DeathDisciple Posted May 15, 2014 Share Posted May 15, 2014 Yup, Up and Away uses it, you could grab it from our repo. The original would give you trouble anyway, provided you could find it. When I added it to U&A I had to deconvert it with the very old Textool and reconvert it for it to show up properly. Where would I find the old version of textool? Cause I was looking at beta tex files before, but they were crashing absolutely everything I tried to put them through. Link to comment https://forums.kleientertainment.com/forums/topic/36465-scarecrow/#findComment-481471 Share on other sites More sharing options...
debugman18 Posted May 15, 2014 Share Posted May 15, 2014 Where would I find the old version of textool? Cause I was looking at beta tex files before, but they were crashing absolutely everything I tried to put them through. I uploaded the old version here a while back: http://www.mediafire.com/download/n9wcnyqhm8xpyah/converter.zip I'm actually surprised it's still up there. Link to comment https://forums.kleientertainment.com/forums/topic/36465-scarecrow/#findComment-481472 Share on other sites More sharing options...
simplex Posted May 15, 2014 Share Posted May 15, 2014 (edited) Where would I find the old version of textool? Cause I was looking at beta tex files before, but they were crashing absolutely everything I tried to put them through. What debugman said. Though I could implement support for pre-caves textures in ktech. I haven't yet because that's very rarely relevant, but since the format change is quite small and this "rarely relevant" scenario tends to always pop up again I might as well do it. I'm sure you would be able to write a converter yourself as well, since it amounts to simply shifting some bits in the first 4 bytes of the TEX file (technically, TEX files can be both in little and big endian, and detecting that when you have to account for more than one binary structure is a bit tricky, though as far as I know DS's textures are always in little endian, even if I implemented support for both cases in ktech). EDIT: Sorry, the the header isn't at the first 4 bytes, that's the magic number. It's right after that, in bytes 5-8 (counting from 1). EDIT 2: @debugman18 and @DeathDisciple, I implemented precaves texture support in ktech (and pushed it to github, but I haven't uploaded it to the forums yet). Though the old textool also does the trick, of course. Edited May 15, 2014 by simplex Link to comment https://forums.kleientertainment.com/forums/topic/36465-scarecrow/#findComment-481487 Share on other sites More sharing options...
DeathDisciple Posted May 15, 2014 Share Posted May 15, 2014 What debugman said.Though I could implement support for pre-caves textures in ktech. I haven't yet because that's very rarely relevant, but since the format change is quite small and this "rarely relevant" scenario tends to always pop up again I might as well do it. I'm sure you would be able to write a converter yourself as well, since it amounts to simply shifting some bits in the first 4 bytes of the TEX file (technically, TEX files can be both in little and big endian, and detecting that when you have to account for more than one binary structure is a bit tricky, though as far as I know DS's textures are always in little endian, even if I implemented support for both cases in ktech).EDIT: Sorry, the the header isn't at the first 4 bytes, that's the magic number. It's right after that, in bytes 5-8 (counting from 1).EDIT 2: @debugman18 and @DeathDisciple, I implemented precaves texture support in ktech (and pushed it to github, but I haven't uploaded it to the forums yet). Though the old textool also does the trick, of course. Actually for some weird reason old textool wouldn't do it either - I guess I went too far into the past even for that. But new ktech build chew through the files perfectly fine, so I won't bother figuring out why. Thanks Link to comment https://forums.kleientertainment.com/forums/topic/36465-scarecrow/#findComment-481543 Share on other sites More sharing options...
simplex Posted May 15, 2014 Share Posted May 15, 2014 Actually for some weird reason old textool wouldn't do it either - I guess I went too far into the past even for that. But new ktech build chew through the files perfectly fine, so I won't bother figuring out why. Thanks Glad to be of use (:. Though there was a bug in my previous commit: all textures were erroneously being flagged as precaves, so conversion of current textures had been broken. I just pushed a fix for that. Link to comment https://forums.kleientertainment.com/forums/topic/36465-scarecrow/#findComment-481563 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now