bartlomiejduda / Tools

Set of tools to manage and modify files from many various games.
GNU General Public License v3.0
144 stars 30 forks source link

[Request] Tom Clancy's Splinter Cell Conviction Mobile Text Support #6

Closed SakiMika closed 2 years ago

SakiMika commented 3 years ago

Hello there I'm sorry to disturb you I want to translate Tom Clancy's Splinter Cell Conviction Mobile to my language But i have a little problem The text file of the above game includes 2 files .off is offset (pointer) .bin is text Here is structure of the file

20210731-184608 20210731-184100 20210731-183919 20210731-183954

I also send the file in attachment I do not know what to do, so i wonder could there any tool or script to easily just export and reimport text. Hope you can help Sincere thanks sample.zip

bartlomiejduda commented 3 years ago

Hi, here is a simple tool for dumping all texts: https://github.com/bartlomiejduda/Tools/blob/master/NEW%20Tools/Tom%20Clancy's%20Splinter%20Cell%20Conviction%20Mobile/Tom%20Clancy's%20Splinter%20Cell%20Conviction%20Mobile%20Tool.py

I don't usually make text importers, if i'm not intereested in the game, so you should probably ask someone else for that.

Also, here is the result of extraction https://i.imgur.com/ZpeP8ei.png

SakiMika commented 3 years ago

Hi, here is a simple tool for dumping all texts: https://github.com/bartlomiejduda/Tools/blob/master/NEW%20Tools/Tom%20Clancy's%20Splinter%20Cell%20Conviction%20Mobile/Tom%20Clancy's%20Splinter%20Cell%20Conviction%20Mobile%20Tool.py

I don't usually make text importers, if i'm not intereested in the game, so you should probably ask someone ales for that.

Also, here is the result of extraction https://i.imgur.com/ZpeP8ei.png

Thank you very much, but I still hope you do the import text, because I don't know anyone else but you and I'm not good at python too 🥺🥺🥺

bartlomiejduda commented 3 years ago

Ok, I've added import function in the tool linked above. Please check it, but I can't promise that it will work, because I haven't tested it in game.

SakiMika commented 3 years ago

As far as I know your tool does not support utf-8. Yesterday, i tried to extract japanese and succeeded but today it failed I need to extract the japanese file for String Replace, because the font of the game is too hard to edit

bartlomiejduda commented 3 years ago

My tool currently supports only utf16. Can you upload a sample with japanese text?

SakiMika commented 3 years ago

@bartlomiejduda sample japanese.zip

bartlomiejduda commented 3 years ago

I've just tested it and it worked fine for me without any changes to the code https://i.imgur.com/GXJLTQ2.png

SakiMika commented 3 years ago

I've just tested it and it worked fine for me without any changes to the code https://i.imgur.com/GXJLTQ2.png

But it not work for me

20210802-165604
luatsenpai commented 2 years ago

Screenshot_20220516-111905_Splinter Cell Conviction HD Free i tried it and it works Edit: Make sure the file you save is in utf-16 encoding