Important information: this site is currently scheduled to go offline indefinitely by end of the year.

The Walking Dead: Survival Instinct Subb File

Need help translating games in other languages? Have your language problems solved here.
Post Reply
Kerem123
beginner
Posts: 35
Joined: Fri Dec 01, 2017 6:56 pm
Has thanked: 3 times
Been thanked: 1 time

The Walking Dead: Survival Instinct Subb File

Post by Kerem123 »

https://file.io/J4q4Y0hVF3XW
Hello. I'm translating The Walking Dead: Survival Instinct to my language and I need to know how can I extract and import this .subb file. Looking for help, thank you. You can download the file via link.
Kerem123
beginner
Posts: 35
Joined: Fri Dec 01, 2017 6:56 pm
Has thanked: 3 times
Been thanked: 1 time

Re: The Walking Dead: Survival Instinct Subb File

Post by Kerem123 »

Please help :)
You do not have the required permissions to view the files attached to this post.
User avatar
ikskoks
Moderator
Posts: 1667
Joined: Thu Jul 26, 2012 5:06 pm
Location: Poland, Łódź
Has thanked: 647 times
Been thanked: 431 times
Contact:

Re: The Walking Dead: Survival Instinct Subb File

Post by ikskoks »

I had to clean this topic, because there were a lot of SPAM messages here...

As for subb file, I've checked it, but I didn't see any useful information in the header for extracting data.
Did you try to edit in hex editor?
Kerem123
beginner
Posts: 35
Joined: Fri Dec 01, 2017 6:56 pm
Has thanked: 3 times
Been thanked: 1 time

Re: The Walking Dead: Survival Instinct Subb File

Post by Kerem123 »

ikskoks wrote: Sun Mar 27, 2022 8:27 pm I had to clean this topic, because there were a lot of SPAM messages here...

As for subb file, I've checked it, but I didn't see any useful information in the header for extracting data.
Did you try to edit in hex editor?
I tried and it looked like this.
Image
User avatar
ikskoks
Moderator
Posts: 1667
Joined: Thu Jul 26, 2012 5:06 pm
Location: Poland, Łódź
Has thanked: 647 times
Been thanked: 431 times
Contact:

Re: The Walking Dead: Survival Instinct Subb File

Post by ikskoks »

I can't see your image. Can you upload it to IMGUR or here as an attachment?
Kerem123
beginner
Posts: 35
Joined: Fri Dec 01, 2017 6:56 pm
Has thanked: 3 times
Been thanked: 1 time

Re: The Walking Dead: Survival Instinct Subb File

Post by Kerem123 »

ikskoks wrote: Mon Mar 28, 2022 9:00 am I can't see your image. Can you upload it to IMGUR or here as an attachment?
Here.
You do not have the required permissions to view the files attached to this post.
Kerem123
beginner
Posts: 35
Joined: Fri Dec 01, 2017 6:56 pm
Has thanked: 3 times
Been thanked: 1 time

Re: The Walking Dead: Survival Instinct Subb File

Post by Kerem123 »

ikskoks wrote: Mon Mar 28, 2022 9:00 am I can't see your image. Can you upload it to IMGUR or here as an attachment?
Anyone helps?
User avatar
ikskoks
Moderator
Posts: 1667
Joined: Thu Jul 26, 2012 5:06 pm
Location: Poland, Łódź
Has thanked: 647 times
Been thanked: 431 times
Contact:

Re: The Walking Dead: Survival Instinct Subb File

Post by ikskoks »

I have checked your sample, but I haven't seen any values that may represents string lengths or offsets.
More research needs to be done on this kind of file.
Kerem123
beginner
Posts: 35
Joined: Fri Dec 01, 2017 6:56 pm
Has thanked: 3 times
Been thanked: 1 time

Re: The Walking Dead: Survival Instinct Subb File

Post by Kerem123 »

ikskoks wrote: Thu Mar 31, 2022 6:30 pm I have checked your sample, but I haven't seen any values that may represents string lengths or offsets.
More research needs to be done on this kind of file.
What should I do?
User avatar
ikskoks
Moderator
Posts: 1667
Joined: Thu Jul 26, 2012 5:06 pm
Location: Poland, Łódź
Has thanked: 647 times
Been thanked: 431 times
Contact:

Re: The Walking Dead: Survival Instinct Subb File

Post by ikskoks »

You can try to debug game's code and see how the SUBB file is parsed.
Here you can find some explanation how to do that viewtopic.php?f=29&t=22266
barncastle
beginner
Posts: 32
Joined: Tue Apr 13, 2021 5:13 pm
Been thanked: 32 times

Re: The Walking Dead: Survival Instinct Subb File

Post by barncastle »

Below is the full format but for the purpose of localisation you just need to make sure your replacement text is both null (0 byte) terminated and 4 byte aligned.

Code: Select all

struct SUBB
{
  uint Version;       // must be 3
  byte Unknown04[16]; // checksum? skipped by game
  uint Unknown14;     // always 0
  uint EntryCount;
  Entry Entries[EntryCount];
}

struct Entry
{
  char Text[20][];    // strings are null terminated and 4 byte aligned
                      // 20 slots but not all locales are supported
  float startTime;    // in seconds
  float endTime;
}

enum Locale
{
  English_US,
  French_France,
  Italian,
  Spanish_Spain,
  German,
  Japanese,
  Dutch,
  Korean,
  Polish,
  Russian,
  Spanish_Mexico,
  Chinese_PRC,
  Swedish,
  Norwegian,
  Finnish,
  Danish,
  Spanish_US,
  Czech,
  Portugese,
  Hungarian,
}
Post Reply