Donkie / I3DShapesTool

Tool used for extracting the binary .i3d.shapes files used by the GIANTS engine
MIT License
25 stars 12 forks source link

Add .i3d.shapes exporting #24

Open Donkie opened 2 years ago

Donkie commented 2 years ago

Should be possible, just reverse the entire process

P-KK commented 2 years ago

Hi Donkie, I would like to know if you plan to make this feature any time soon. No pressure just want to understand if I shall wait or find different solution for my modding project. :)

Thank you for your answer.

Donkie commented 2 years ago

I wouldn't depend on it coming anytime soon, so I suggest finding an alternative solution!

P-KK commented 2 years ago

Thank you for answer. What I want to do is much more simpler that this tool is doing. I just need to decrypt .shapes file. I spend some time reading your code but I failed to find the spot where actual reading of the file is happening. Would you be able to advice me where it is? which file and which method it is?

Donkie commented 2 years ago

It's split up in multiple files and methods. You should be able to make your tool interact with this in an automatic way by calling it with the proper command line arguments. If you specify the -b flag it will output the raw decrypted binary files which is what you're after.

P-KK commented 2 years ago

Thank you for advice. It generates 50 shape_.bin files. Any idea how can I make it single .shapes one or how to import those to GE? I tried just merging them together using power-shell `gc shape.bin -Encoding Byte -Read 512 | sc new.bin -Encoding Byte` and adding binary header 05 (it is FS19 file) but it is not working.

Donkie commented 2 years ago

Ah, if that's what you're after then I think you need to wait for issue #23 to be finished.

Unfortunately I don't think I can help you more right now since the decryption is quite complicated and I can't just link you to one file or method which does it. You will have to figure it out yourself or wait for me to.

P-KK commented 2 years ago

ok, than I will try to follow that one. Thx for replies.