Sudden Attack .ltb

Skeletons, animations, shaders, texturing, converting, fixing and anything else related to read game models
onelove1210
Posts: 58
Joined: Thu Jun 16, 2016 11:02 am

Sudden Attack .ltb

Post by onelove1210 »

problem solved! :D thanks AceWell
Last edited by onelove1210 on Fri Sep 16, 2016 4:48 am, edited 3 times in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Encrypt .LTB

Post by aluigi »

Moved in the correct section, doesn't seem encrypted.
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Sudden Attack .ltb

Post by Acewell »

first submesh in anna.ltb :D
Image

0xa9 - 4 bytes - number of vertices
0xad - 4 bytes - face count (multiply this by 3 to get actual number)
Last edited by Acewell on Sun Jan 29, 2017 4:27 pm, edited 1 time in total.
onelove1210
Posts: 58
Joined: Thu Jun 16, 2016 11:02 am

Re: Encrypt .LTB

Post by onelove1210 »

Acewell wrote:first submesh in anna.ltb :D

0xa9 - 4 bytes - number of vertices
0xad - 4 bytes - face count (multiply this by 3 to get actual number)


Great! Could you mind showing me the comparison of anna.ltb and yukata.ltb? idk why anna.ltb can't be opened by any software like yukata.ltb can be :(
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: Encrypt .LTB

Post by Acewell »

I see 3 new mesh types using the 3 old mesh IDs from wolfteam_ltb.py and ZuOnline_ltb.py by finale00, these were the only scripts that worked with your yukata_red.ltb sample. i did modify the wolfteam_ltb.py script to open your anna.ltb model but this script will not work with the yukata_red.ltb model and having both scripts active in the folder will create conflict so it needs a new name which i'll call SuddenAttack_ltb.py and you will need to move the other script out of the folder when using this one. :)

*updated July 20, 2016*
fmt_SuddenAttack_ltb.zip


i just guessed about where the normals position was when i set up the new types but they look ok to me :D


i have updated a version of this script on Xentax here
http://forum.xentax.com/viewtopic.php?p=128818#p128818
i didn't want to remove the script above because i couldn't test it on the samples in this thread since the links are dead. :)
Last edited by Acewell on Sat Apr 29, 2017 2:30 am, edited 2 times in total.
onelove1210
Posts: 58
Joined: Thu Jun 16, 2016 11:02 am

Re: Encrypt .LTB

Post by onelove1210 »

Thanks for your help :D I know that, the wolfteam script can't open the oldest model, just some files so i usually open by Lithtech.py.
I tested your plugins, it worked well :D but some files still cant be imported.
Yesterday, i updated SA and have some 9/2015 - 2016 files, which couldn't be imported by 3 scripts and got an error: File could not be previewed. I think the structure of those files are changed. Hope you to help me one more time :D I really appreciate your support

Edit: problem solved
Last edited by onelove1210 on Sun Jul 17, 2016 1:52 pm, edited 3 times in total.
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: Encrypt .LTB

Post by Acewell »

ZuOnline_ltb.py opens your yukata_red.ltb, blue_bear_band_youtube.ltb, and classicblue.ltb samples
WolfTeam_ltb.py opens your yukata_red.ltb, blue_bear_band_youtube.ltb, and classicblue.ltb samples
fmt_SuddenAttack_ltb.py opens your anna.ltb and rayyang.ltb samples
LithTech_ltb.py wouldn't open any of them

all of those scripts use the same type checks and you cannot have them in the python folder all at the same time
because Noesis will error if the model doesn't pass the first one it reads from.
you will need to swap them out as needed :)
onelove1210
Posts: 58
Joined: Thu Jun 16, 2016 11:02 am

Re: Encrypt .LTB

Post by onelove1210 »

Yes, I know, I just used 1 plugins due to what kind of files
That is my mistake, sorry and thank you so much for your support :D

Edit: problem solved
onelove1210
Posts: 58
Joined: Thu Jun 16, 2016 11:02 am

Re: SA .LTB

Post by onelove1210 »

I need your help again, your plugin worked well with characters, but with weapons seem like different:
Same name but different model :D
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: SA .LTB

Post by Acewell »

i was wondering when that type 1 submesh would come creeping around and there it is,
i added it to the script and updated the download in the post here
viewtopic.php?p=15345#p15345

:D
onelove1210
Posts: 58
Joined: Thu Jun 16, 2016 11:02 am

Re: SA .LTB

Post by onelove1210 »

thank you so much :D
Napoleon321
Posts: 2
Joined: Tue Apr 14, 2015 10:08 am

Re: SA

Post by Napoleon321 »

Hello, I'm sorry for the bump, but how did you managed to extract the rez archives of sudden attack?