Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

bms script for sdfdata file extension [south park fractured but whole]

Featured Replies

  • Author
  • Localization

kornix3, posted Sat Oct 21, 2017 7:52 pm (27556)


So now; we can export locpackbin files but we can't make the lines longer and we need to edit fonts.

these are our only problems.
  • Replies 105
  • Views 73
  • Created
  • Last Reply

Top Posters In This Topic

  • Author
  • Localization

blabla88, posted Sat Oct 21, 2017 7:55 pm (27557)


Question about that menu translation. Did you edited only menus lockpack or menus lockpack and menus lockpackbin?
  • Author
  • Localization

wlscks7, posted Sat Oct 21, 2017 7:57 pm (27558)


So importing bigger file is not problem?
Just make lines longer and fonts work?
  • Author
  • Localization

kornix3, posted Sat Oct 21, 2017 7:59 pm (27559)


blabla88 wrote:
Question about that menu translation. Did you edited only menus lockpack or menus lockpack and menus lockpackbin?


You need to edit both lockpackbin and lockpack. If you messed up something while doing these game will use the "dummystingsworstcase" default english files..

example; if you type; "Edit." in locpack and if you type "Editt" (double-t) in lockpackbin, this will be cause error and game will use dummystringsworstcase files.
  • Author
  • Localization

blabla88, posted Sat Oct 21, 2017 7:59 pm (27560)


kornix3 wrote:
blabla88 wrote:
Question about that menu translation. Did you edited only menus lockpack or menus lockpack and menus lockpackbin?


You need to edit both lockpackbin and lockpack.


That explains something. Thanks.
  • Author
  • Localization

kornix3, posted Sat Oct 21, 2017 8:01 pm (27561)


I am trying to figure it out how game can show longer lengths in other languages.

for example in german language that "you must be online" string is too long but it's showing succesfully in game. im trying to check out how its going on


i think barks files have connection about string lengths.
  • Author
  • Localization

blabla88, posted Sat Oct 21, 2017 8:09 pm (27562)


First i need to successfully implement text in to game, then i will look on longer lengths.

Lets see if this works. When i edited main menu text i found something, that might be related to text length.

?X ??}??nEN  CONTINUE1?X ??e This is how it should look like, but when i copy pasted text, it changed to this:

?X ??}??nEN  CONTINUE1?X ??e
  • Author
  • Localization

kornix3, posted Sat Oct 21, 2017 8:10 pm (27563)


blabla88 wrote:
First i need to successfully implement text in to game, then i will look on longer lengths.

Lets see if this works. When i edited main menu text i found something, that might be related to text length.


i can help you if u still struggling about how to import only edited files, send me your steamid so we can chat there
  • Author
  • Localization

kornix3, posted Sat Oct 21, 2017 8:21 pm (27564)


blabla88 wrote:
First i need to successfully implement text in to game, then i will look on longer lengths.

Lets see if this works. When i edited main menu text i found something, that might be related to text length.

?X ??}??nEN  CONTINUE1?X ??e This is how it should look like, but when i copy pasted text, it changed to this:

?X ??}??nEN  CONTINUE1?X ??e


are you trying to edit on locpackbin without exporting them with aluigis' tool?
  • Author
  • Localization

blabla88, posted Sat Oct 21, 2017 8:23 pm (27565)


Im giving up. Can't even change main menu text. I'l wait until smarter people show up. Thank you ubisoft, for these complications.

I export files from "200" sfd file, change both menus lockpack and menus lockpackbin, repack them back, rewrite original files but still nothing. Here they are

Look for "https://zenhax.com test 1"
  • Author
  • Localization

kornix3, posted Sat Oct 21, 2017 8:24 pm (27566)


blabla88 wrote:
Im giving up. Can't even change main menu text. I'l wait until smarter people show up. Thank you ubisoft, for these complications.


i can help you! i can change any text but length and font is my problem.

we must unite our forces. just send me your skype or steam id to my pm box
  • Author
  • Localization

blabla88, posted Sat Oct 21, 2017 8:26 pm (27567)


kornix3 wrote:
blabla88 wrote:
Im giving up. Can't even change main menu text. I'l wait until smarter people show up. Thank you ubisoft, for these complications.


i can help you! i can change any text but length and font is my problem.

we must unite our forces. just send me your skype or steam id to my pm box


I added edited files, so you can look in to them and say what is wrong. Because i don't know what.

eddit: God dammit i edited wrong files. This happen when you have mess in your files :D
  • Author
  • Localization

kornix3, posted Sat Oct 21, 2017 8:36 pm (27568)


blabla88 wrote:
kornix3 wrote:
blabla88 wrote:
Im giving up. Can't even change main menu text. I'l wait until smarter people show up. Thank you ubisoft, for these complications.


i can help you! i can change any text but length and font is my problem.

we must unite our forces. just send me your skype or steam id to my pm box


I added edited files, so you can look in to them and say what is wrong. Because i don't know what.

eddit: God dammit i edited wrong files. This happen when you have mess in your files :D


okey tell me if you have problem
  • Author
  • Localization

blabla88, posted Sat Oct 21, 2017 8:50 pm (27569)


kornix3 wrote:
blabla88 wrote:
kornix3 wrote:

i can help you! i can change any text but length and font is my problem.

we must unite our forces. just send me your skype or steam id to my pm box


I added edited files, so you can look in to them and say what is wrong. Because i don't know what.

eddit: God dammit i edited wrong files. This happen when you have mess in your files :D


okey tell me if you have problem



PROGRESS! https://i.imgur.com/oByj8XV.png

From 3 edits, only one applied and even then, only 4 letters. There is definitely something *SPAM* up with letter length.

It should look like this:


https://zenhax.com test 1
https://zenhax.com test 2
DLC
https://zenhax.com test 3
  • Author
  • Localization

kornix3, posted Sat Oct 21, 2017 9:05 pm (27571)


blabla88 wrote:
kornix3 wrote:
blabla88 wrote:

I added edited files, so you can look in to them and say what is wrong. Because i don't know what.

eddit: God dammit i edited wrong files. This happen when you have mess in your files :D


okey tell me if you have problem



PROGRESS! https://i.imgur.com/oByj8XV.png

From 3 edits, only one applied and even then, only 4 letters. There is definitely something *SPAM* up with letter length.

It should look like this:





https://zenhax.com test 1
https://zenhax.com test 2
DLC
https://zenhax.com test 3



you should replace all "OPTIONS, LOAD" etc. words to make that appear on screen. there are 2-3 same words should be changed.

and yes without the length problem we cant do anything. translate is impossible. btw remove the [img] codes on your picture it makes the page so big and not mobile friendly:D
  • Author
  • Localization

blabla88, posted Sat Oct 21, 2017 9:15 pm (27572)


kornix3 wrote:
blabla88 wrote:
kornix3 wrote:

okey tell me if you have problem



PROGRESS! https://i.imgur.com/oByj8XV.png

From 3 edits, only one applied and even then, only 4 letters. There is definitely something *SPAM* up with letter length.

It should look like this:





https://zenhax.com test 1
https://zenhax.com test 2
DLC
https://zenhax.com test 3



you should replace all "OPTIONS, LOAD" etc. words to make that appear on screen. there are 2-3 same words should be changed.

and yes without the length problem we cant do anything. translate is impossible. btw remove the [img] codes on your picture it makes the page so big and not mobile friendly:D


Holy freaking hell, who coded this crap :D This is worse mess, than moding Stellaris or Civ when it was released :D Yeah bbcode was never mobile friendly :D
  • Author
  • Localization

kornix3, posted Sat Oct 21, 2017 9:22 pm (27573)


well.. looks like the case closed for now. we have nothing to do..

if anyone reading this please try to solve; length problem and font problem!

thank you so much!
  • Author
  • Localization

Dima Bilan, posted Sun Oct 22, 2017 12:07 am (27577)


Image
  • Author
  • Localization

kornix3, posted Sun Oct 22, 2017 1:56 am (27579)


can somenoe make a tool for editing lengths easily? its too complex to calculate one by one.. converting hex to decimal.

for example 333 = 33 03
  • Author
  • Localization

blabla88, posted Sun Oct 22, 2017 8:16 am (27586)


kornix3 wrote:
can somenoe make a tool for editing lengths easily? its too complex to calculate one by one.. converting hex to decimal.

for example 333 = 33 03


You can see hex decimal, when you higlight part of text in hex edit.

(Nevermind i see your problem).
  • Author
  • Localization

mysl, posted Sun Oct 22, 2017 2:00 pm (27602)


Hello,everyone. :)

I am trying to translate this to my language too , and want to provide some help (not codewide, I am sorry :*( )

There are some "*.fontmetrics" files locate in "camel\baked\fonts\" , which are contant in sdf-A-0001.sdfdata.
I guess they are the key to edit the length or font links, but I cant find any relate article from google.
Sigh, stick of truth was so easy.

Btw, If you guys want to change the title logo ,edit "camel\ui\images\logos\small\sp_tfbw_logo_small_en.png"(or other language)which is contants in sdf-A-0204.sdfdata.

Hope that helps.
  • Author
  • Localization

wlscks7, posted Sun Oct 22, 2017 3:59 pm (27603)


mysl wrote:
Hello,everyone. :)

I am trying to translate this to my language too , and want to provide some help (not codewide, I am sorry :*( )

There are some "*.fontmetrics" files locate in "camel\baked\fonts\" , which are contant in sdf-A-0001.sdfdata.
I guess they are the key to edit the length or font links, but I cant find any relate article from google.
Sigh, stick of truth was so easy.

Btw, If you guys want to change the title logo ,edit "camel\ui\images\logos\small\sp_tfbw_logo_small_en.png"(or other language)which is contants in sdf-A-0204.sdfdata.

Hope that helps.


http://i91.fastpic.ru/big/2017/1022/91/ ... ba5391.png

script length is related in locpackbin files
i tried change that code and it worked as i changed
btw thanks for title logo, now i can make it in our language
  • Author
  • Localization

blabla88, posted Sun Oct 22, 2017 5:27 pm (27605)


Hello, Im bringing great news. Tool for easy edit is out. No more manually rewriting strings or editing lockpackbin.

How to use it:

Open in rar software, extract all files in to root directory (localization etc). Edit desired lockpack how much you want (length or type of text (cyrlic, cantonese etc doesn't matter). Save. Open tool, chose your edited lockpack and wait. Tool will create LOCPACKBIN_OLD, thats your backup file, that you can remove it. And it will also rewrite locpackbin, so you don't need to edit it anymore.

Then repack with QBMS, copy data back to your root folder with game and enjoy your translation!

Image

Now go out and fix something, that Ubisoft weren't able to do. Proper localization.

Also, for easier lockpack files edit, i would recommend visual studio software, because it contain nice function, to edit text in bulk (ctlr shift h).

ALL HAIL TO MerlinSVK.

NEW VERSION OUT


v 1.2 - fixed bug with last hex line.

SouthPark_texttool_v12.zip

  • Author
  • Localization

mysl, posted Mon Oct 23, 2017 1:56 am (27613)


Hello, thank you for the tool and I have some newfound.

I compared 3DM's translation files with originals, and they ONLY edited 2 files: sdf-A-0200.sdfdata and stf.stftoc .
new stf.stftoc is 8.40MB vs old 8.38MB,
new sdf-A-0200 is 48.1MB vs old 23.3MB.

and sdf-A-0200.sdfdata's font folder looks like this:
Image

Since it dosent contain sdf-A-0001, it maybe nothing to do with fontmetrics.
So, I guess we can simply use the font we want to replace all .ttf and .otf,
and do some trick to reimport them successfully.
Any thoughts?
  • Author
  • Localization

kornix3, posted Mon Oct 23, 2017 6:57 am (27615)


thanks merlinSVK!
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.