WayForward Game .text, .loctext and .ltb files
-
- Posts: 1193
- Joined: Sun Aug 17, 2014 7:27 pm
WayForward Game .text, .loctext and .ltb files
Game: Shantae and the Pirate's Curse http://store.steampowered.com/app/345820
Last edited by makc_ar on Fri Dec 16, 2016 10:51 pm, edited 1 time in total.
-
- Posts: 233
- Joined: Thu Oct 16, 2014 4:39 pm
Re: WayForward Game .text files (header STXT)
There are many unknown values, but i hope it work.
-
- Posts: 1193
- Joined: Sun Aug 17, 2014 7:27 pm
-
- Posts: 1193
- Joined: Sun Aug 17, 2014 7:27 pm
Re: WayForward Game .text files (header STXT)
Hi swuforce! Support to Shantae Risky's Revenge .loctext and .ltb files?
-
- Posts: 233
- Joined: Thu Oct 16, 2014 4:39 pm
Re: WayForward Game .text, .loctext and .ltb files
Try this tool.
-
- Posts: 1193
- Joined: Sun Aug 17, 2014 7:27 pm
Re: WayForward Game .text, .loctext and .ltb files
Thanks a lot swuforce!
-
- Posts: 25
- Joined: Tue Jul 26, 2016 12:07 am
Re: WayForward Game .text, .loctext and .ltb files
Swuforce, and can you make a tool for .ltb Shantae Half-Genie Hero?
-
- Posts: 1
- Joined: Sun Jul 09, 2017 9:58 pm
Re: WayForward Game .text, .loctext and .ltb files
Swuforce, and can you make a tool for .ltb Shantae Half-Genie Hero?
+1
-
- Posts: 2
- Joined: Fri Aug 11, 2017 5:54 pm
Re: WayForward Game .text, .loctext and .ltb files
To anyone who is interested in HGH, that game uses .ltb files, so Risky's Revenge TextTool should be OK.
And it works for localization.ltb in localization.pak (It's menu/interface stuff, the new file's size can't be too different from original, otherwise the game crashes). The problem is shantae_dialog.ltb in shantae_common.pak. That file has ridiculous ammount of text (because it contains all dialogue lines for every official language). When I exported that file into .txt and then immediately imported back into .ltb, the new file had 64 more bytes than original, so the game couldn't read that .ltb properly and crashes. So maybe either the exporter or importer breakes the file.
So, sorry to bother you, swuforce, but is it possible to fix that problem?
And it works for localization.ltb in localization.pak (It's menu/interface stuff, the new file's size can't be too different from original, otherwise the game crashes). The problem is shantae_dialog.ltb in shantae_common.pak. That file has ridiculous ammount of text (because it contains all dialogue lines for every official language). When I exported that file into .txt and then immediately imported back into .ltb, the new file had 64 more bytes than original, so the game couldn't read that .ltb properly and crashes. So maybe either the exporter or importer breakes the file.
So, sorry to bother you, swuforce, but is it possible to fix that problem?
-
- Posts: 233
- Joined: Thu Oct 16, 2014 4:39 pm
Re: WayForward Game .text, .loctext and .ltb files
As far as i know it works, just you need to "editing .pak file with a hex editor".
Contact with robotnick.
Contact with robotnick.
-
- Posts: 2
- Joined: Fri Aug 11, 2017 5:54 pm
Re: WayForward Game .text, .loctext and .ltb files
Nevermind that, I just figured out exactly how to fix it. It just requires fixing shantae_dialog.ltb with hex editor in a specific way. Maybe I'll make a tool someday, but here's step-by-step tutorial for now.
(Will EDIT this post if I find mistakes). EDITED 23.08.17
1) The NEW .ltb needs to have 1 866 688 bytes (64 more bytes than OLD .ltb). Making .txt have 854 901 bytes before importing should do it in most cases.
2) Open both the OLD .ltb and NEW .ltb in hex editor.
3) In NEW, replace "40" in 000020 and 000030 with "00".
4) Copy bytes from OLD's 1A1000-1A2CD8 (last bytes: "00 00 00 00 98") and paste it into NEW's 1A1000-1A2D18. Notice that these blocks of bytes have different size (After that NEW will be 64 bytes shorter).
5) Copy bytes from OLD's 1C7700-1C7748 (last bytes: "00 00 00 00 48") and paste it into NEW's 1C7700-1C7748.
After that shantae_dialog.ltb from Risky's Revenge Text Tools should be fixed. These blocks of bytes are after all dialogue lines, if you watch the .txt's size everything should be OK.
(Will EDIT this post if I find mistakes). EDITED 23.08.17
1) The NEW .ltb needs to have 1 866 688 bytes (64 more bytes than OLD .ltb). Making .txt have 854 901 bytes before importing should do it in most cases.
2) Open both the OLD .ltb and NEW .ltb in hex editor.
3) In NEW, replace "40" in 000020 and 000030 with "00".
4) Copy bytes from OLD's 1A1000-1A2CD8 (last bytes: "00 00 00 00 98") and paste it into NEW's 1A1000-1A2D18. Notice that these blocks of bytes have different size (After that NEW will be 64 bytes shorter).
5) Copy bytes from OLD's 1C7700-1C7748 (last bytes: "00 00 00 00 48") and paste it into NEW's 1C7700-1C7748.
After that shantae_dialog.ltb from Risky's Revenge Text Tools should be fixed. These blocks of bytes are after all dialogue lines, if you watch the .txt's size everything should be OK.
-
- Posts: 16
- Joined: Tue Jun 13, 2017 7:12 am
Re: WayForward Game .text, .loctext and .ltb files
swuforce wrote:As far as i know it works, just you need to "editing .pak file with a hex editor".
Contact with robotnick.
this Shantae Half-Genie Hero for wiiu 'files
can you support it?
-
- Posts: 5
- Joined: Mon Mar 16, 2020 2:31 am
Re: WayForward Game .text, .loctext and .ltb files
Hi there! Does anyone still have a link to shantaeandthepiratescurse_texttool? The one by swuforce?