Page 1 of 2

Legacy of discord game .fod

Posted: Sat May 15, 2021 10:51 pm
by moonpaladin
Hello! I was checking some info about decompress the .fod file that come with this game because it contain everything related to models! I found a bms script for open this kind of file but it fail at some point of the extraction and to be honest don't know where should I change to it can continue the extraction without throw that error, maybe anyone encountered this kind of error before and could help me with this? I'm gonna attach the .fod file and some other files that are in the game like a .foc file and the launcher. Thanks! :)
https://www.mediafire.com/file/i0wgth6s ... r.zip/file
https://www.mediafire.com/file/vhryjl5r ... d.zip/file
BMS SCRIPT: http://aluigi.org/bms/fancy3d.bms
legacyofdiscord.jpg

Re: Legacy of discord game .fod

Posted: Thu May 20, 2021 7:07 pm
by ikskoks
Did you try to ask author for the script update?

Re: Legacy of discord game .fod

Posted: Thu May 20, 2021 8:22 pm
by moonpaladin
ikskoks wrote: Thu May 20, 2021 7:07 pm Did you try to ask author for the script update?
Hello, yep. Sadly seems like him is not insterested, but he confirmed that the file is not encrypted. : :D

Re: Legacy of discord game .fod

Posted: Sun Jun 06, 2021 5:16 pm
by Bigchillghost
moonpaladin wrote: Sat May 15, 2021 10:51 pmI found a bms script for open this kind of file but it fail at some point of the extraction and to be honest don't know where should I change to it can continue the extraction without throw that error
You'll need more than just changing a few lines of code. The contents extracted using that script usually don't match with their actual names coz they're not placed in the same order. So the script must be rewritten for this archive.

Re: Legacy of discord game .fod

Posted: Mon Jun 14, 2021 8:30 pm
by moonpaladin
Bigchillghost wrote: Sun Jun 06, 2021 5:16 pm
moonpaladin wrote: Sat May 15, 2021 10:51 pmI found a bms script for open this kind of file but it fail at some point of the extraction and to be honest don't know where should I change to it can continue the extraction without throw that error
You'll need more than just changing a few lines of code. The contents extracted using that script usually don't match with their actual names coz they're not placed in the same order. So the script must be rewritten for this archive.
ey Hello Bigchillghost! maybe that was the reason because Aluigi says he will not do it xD, at least the archive is not encrypted. :mrgreen:

Re: Legacy of discord game .fod

Posted: Tue Jun 15, 2021 6:33 pm
by Bigchillghost
Here's a BMS script for extracting the assets from the fod archive. It'll re-calculate the assets' hashes and try to match them with those recorded in the corresponding foc file. If it failed to find the matched hash, it'll try to match the file by its size. If none of these workarounds worked, the un-referenced assets in the fod will be extracted into an individual folder called "no_match". Just remember to pick the foc as input.

Re: Legacy of discord game .fod

Posted: Sun Jun 27, 2021 6:44 pm
by moonpaladin
Bigchillghost wrote: Tue Jun 15, 2021 6:33 pm Here's a BMS script for extracting the assets from the fod archive. It'll re-calculate the assets' hashes and try to match them with those recorded in the corresponding foc file. If it failed to find the matched hash, it'll try to match the file by its size. If none of these workarounds worked, the un-referenced assets in the fod will be extracted into an individual folder called "no_match". Just remember to pick the foc as input.
omggg, gonna try right now!!!!! :eek: thank you

Re: Legacy of discord game .fod

Posted: Sun Dec 12, 2021 7:58 am
by moonpaladin
Bigchillghost wrote: Tue Jun 15, 2021 6:33 pm
Hello Bigchillghost, I have been able to extract the assets from other fancy3d game, it have an foc and fod file too, but I saw that some models are not complete (just the textures and animation files), not mesh (.skn). I searched in the "no_match" folder but nothing, is weird that is not in there because it appear in the game without problems, so dunno what exactly could be the problem. Is there any way I can download that file trought the cdn? because I were trying but seems that Im not pointing the correct direction. Please take a look when you have a spare time :') thanks for your time. (:
Image
https://www.mediafire.com/file/fooqv3mi ... D.zip/file

Re: Legacy of discord game .fod

Posted: Tue Jan 04, 2022 8:01 am
by moonpaladin
Bigchillghost wrote: Tue Jun 15, 2021 6:33 pm
Hello Bigchillghost!, could you please check this .skn models?, DKDave made a script for load this models and it work pretty well, my problem is that I encounter many models that are not in T-pose, so don't know if is possible to tweak a bit the script, like your shumenol script to load the model in certain frame, or that the script can load the skeleton that is in the .skl file, hope it can be possible, cause are some models that are in really weird position and is hard to put them in rest pose. :constipated: . Thanks in advance for your time! I'm attaching some samples + the script.

https://www.mediafire.com/file/0xui3k31 ... S.zip/file

Re: Legacy of discord game .fod

Posted: Tue Jan 04, 2022 3:18 pm
by Bigchillghost
moonpaladin wrote: Tue Jan 04, 2022 8:01 am cause are some models that are in really weird position and is hard to put them in rest pose
Don't know what you meant by "weird". Anyway here's one way to handle the skeleton data using ASH.
v_r002_skl.png

Re: Legacy of discord game .fod

Posted: Tue Jan 04, 2022 4:57 pm
by moonpaladin
Bigchillghost wrote: Tue Jan 04, 2022 3:18 pm Don't know what you meant by "weird".
I meant that in the rest pose, it appears as if it is jumping or running, things like that.
I just used the tool you mention and it loads the skeleton :surprise: , is any way to load the mesh bone weights? I could do it one by one if is necessary :( . Thanks!

Re: Legacy of discord game .fod

Posted: Tue Jan 04, 2022 5:03 pm
by DKDave
Thanks to Bigchillhhost's info, I've added the bones to my script. Should do the weights correctly. Still a few things to do, but that bit should work correctly now.
legacy_of_discord_skn.zip

Re: Legacy of discord game .fod

Posted: Tue Jan 04, 2022 5:13 pm
by moonpaladin
DKDave wrote: Tue Jan 04, 2022 5:03 pm Thanks to Bigchillhhost's info, I've added the bones to my script. Should do the weights correctly. Still a few things to do, but that bit should work correctly now.

legacy_of_discord_skn.zip
Thanks alot DKDave!

Re: Legacy of discord game .fod

Posted: Mon Nov 07, 2022 6:48 am
by Cyn
Hello

I wanted to add my light-research on the .san files that are used to store animation data.
Each .san file contains data for 1 specific animation, they do not reference vertex groups by name, the do however describe each individual vertex group, the number of timestamps/keyframes, and defines 1 Vector (Translation XYZ) and 2 quarternions (One is surely rotation, not sure what the other two bytes are doing. For example: "model_90001_lv4" being our model in question currently defines 34 bones, only 22 groups are referenced. in the "std" (Stand) animation there are 5 keys for each group, and each group is only referenced by an index.

This index appears to be built right after the actual bone data. There are only 22 groups seemingly due to the "mirrored" bones in the structure, it seems to be implied (i believe on a flag before the bone names) when bones are "linked" and share animations on a mirrored axis, this may make automatic generation of animations difficult, thankfully the .san files seem to be fairly simple

Re: Legacy of discord game .fod

Posted: Thu Mar 30, 2023 7:29 am
by moonpaladin
DKDave wrote: Tue Jan 04, 2022 5:03 pm Thanks to Bigchillhhost's info, I've added the bones to my script.
Hello DKDave! sorry for the pin [roll] , I have updated the game and tried to get some models and seems that have been changed a bit, would you mind in update the script please?, It doesn't throw error but the model looks invisible, like it is miscalculating a value. :cry:

https://www.mediafire.com/file/84eb77xw ... ES.7z/file