Page 4 of 5

Re: The Walking Dead: The Final Season

Posted: Thu Aug 23, 2018 7:47 pm
by binlv
merlinsvk wrote:OK. Here they are.
https://drive.google.com/file/d/1V7VQ3o ... sp=sharing

try font

Re: The Walking Dead: The Final Season

Posted: Thu Aug 23, 2018 8:15 pm
by merlinsvk
Helves Bold

Re: The Walking Dead: The Final Season

Posted: Fri Aug 24, 2018 3:32 am
by binlv
merlinsvk wrote:Helves Bold
https://drive.google.com/file/d/1fU7Qgg ... sp=sharing

Try this font for the subtitle

Re: The Walking Dead: The Final Season

Posted: Fri Aug 24, 2018 6:40 am
by merlinsvk
Avo Bold. I like this one :D

Re: The Walking Dead: The Final Season

Posted: Sun Aug 26, 2018 5:17 pm
by merlinsvk
Some crude scripts to export/import fonts from The Final Season.


Example: You want to swap font in menu for Pacifico Regular

1) Use Exporter on MenuBody.font file (you will get MenuBody.head, MenuBody.ttf and MenuBody.tail)
2) Delete (or rename) MenuBody.ttf
3) Rename Pacifico Regular.ttf to MenuBody.ttf
4) Use Importer on MenuBody.head, you will get MenuBody.font_NEW
5) Put MenuBody.font_New into "The Walking Dead The Final Season Episode 1\Archives" folder and rename it to MenuBody.font
6) Run the game

If everything worked, you should see your new font in the game.

Image

EXPORT

Code: Select all

# The Walking Dead: The Final Season
# .FONT to .TTF/.OTF exporter
# by MerlinSVK    Aug 2018
# version 1.0
# script for QuickBMS    http://aluigi.org/papers.htm#quickbms

get SIZE asize
get NAME basename
string HEAD_NAME p "%s.%s" NAME "head"
string TAIL_NAME p "%s.%s" NAME "tail"

idstring "\x36\x56\x53\x4D"				# 6VSM
get ARCHIVE_SIZE longlong				# maybe its not longlong, i dont know
get NULL long
get FILES long							# number of files in archive? not sure, its 0x01 in .font files
get UNKNOWN1 long						# these 0x12 bytes are same for all font files...
get UNKNOWN2 long						# maybe they are some time&date (time_t32) values
get UNKNOWN3 long						# ...

get BLOCK1_SIZE long					# 8 + filename_size
get FILENAME_SIZE long					# hmm, what it could be?
getdstring FILENAME FILENAME_SIZE		# still no clue?

get UNKNOWN4 byte
get UNKNOWN5 long						# no idea, but it looks like float (maybe line height?)
getdstring UNKNOWN6 0x17				# no idea, skipping

get BLOCK2_SIZE long					# 8 + filesize
get FILE_SIZE long
savepos OFFSET

get TYPE long
if TYPE == "\x4F\x54\x54\x4F"			# OTTO = OpenType format
    string TTF_NAME p "%s.%s" NAME "otf"
else									# TrueType format
    string TTF_NAME p "%s.%s" NAME "ttf"
endif

goto OFFSET

log HEAD_NAME 0 OFFSET			        # save header
log TTF_NAME OFFSET FILE_SIZE			# save as TTF/OTF file

xmath OFFSET "OFFSET + FILE_SIZE"
xmath TAIL_SIZE "SIZE - OFFSET"
log TAIL_NAME OFFSET TAIL_SIZE			# save the tail data

IMPORT

Code: Select all

# The Walking Dead: The Final Season
# .TTF/.OTF to .FONT importer
# by MerlinSVK    Aug 2018
# version 1.0
# script for QuickBMS    http://aluigi.org/papers.htm#quickbms

open FDDE TTF 0 EXIST
open FDDE HEAD 1
open FDDE TAIL 2

if EXIST == 0
    open FDDE OTF 0
endif

get NAME basename
string FONT_NAME p "%s.%s" NAME "font_NEW"

get FONT_SIZE asize 0
get HEAD_SIZE asize 1
get TAIL_SIZE asize 2

log MEMORY_FILE 0 HEAD_SIZE 1		        # copy header into memory_file
get MEM_SIZE asize MEMORY_FILE

append
    log MEMORY_FILE 0 FONT_SIZE 0	        # append font file
    log MEMORY_FILE 0 TAIL_SIZE 2		    # append tail
append

get MEM_SIZE asize MEMORY_FILE
xmath ARCHIVE_SIZE "MEM_SIZE - 0x20"

goto 0x20 MEMORY_FILE
get SKIP long MEMORY_FILE
math SKIP + 0x18

goto SKIP MEMORY_FILE SEEK_CUR
savepos OFFSET MEMORY_FILE

xmath OFFSET2 "OFFSET + 0x04"
xmath FONT_SIZE2 "FONT_SIZE + 8"

putVarChr MEMORY_FILE 0x04 ARCHIVE_SIZE longlong
putVarChr MEMORY_FILE OFFSET FONT_SIZE2 long
putVarChr MEMORY_FILE OFFSET2 FONT_SIZE long

get MEM_SIZE asize MEMORY_FILE
log FONT_NAME 0 MEM_SIZE MEMORY_FILE

Re: The Walking Dead: The Final Season

Posted: Thu Sep 06, 2018 12:47 pm
by elybelbely
Ok. There is new problem for me.
I used my font in my language and translated splash screen and warning in first of the game, and this part was ok with RTL lang. but when I change menu and games texts, the game don't load any more and crash.
Is there any help for this?

Re: The Walking Dead: The Final Season

Posted: Thu Sep 06, 2018 4:00 pm
by merlinsvk
Post your txt file what makes the game crash.

Re: The Walking Dead: The Final Season

Posted: Thu Sep 06, 2018 9:03 pm
by VOID
elybelbely wrote:Ok. There is new problem for me.
I used my font in my language and translated splash screen and warning in first of the game, and this part was ok with RTL lang. but when I change menu and games texts, the game don't load any more and crash.
Is there any help for this?
You have done something wrong, mine menu works and it ain't crashing. Just look over for missing space in file.

Re: The Walking Dead: The Final Season

Posted: Fri Sep 07, 2018 7:40 am
by elybelbely
merlinsvk wrote:Post your txt file what makes the game crash.
Here we go
ui_text_english.landb.zip
I just changed one line that is a message in first of the game.

Re: The Walking Dead: The Final Season

Posted: Fri Sep 07, 2018 5:36 pm
by VOID
We have almost completed polish version, but we're struggling with custom title. At the start it wasn't even showing when we've compiled the d3dtx, after removing the fillers inside hexeditor (now it has exactly same weight) that's best, what we could receive. Image Anybody know what we could do?
We had to use copy /b in the command prompt, because ttg tools couldn't handle the dds.

Re: The Walking Dead: The Final Season

Posted: Fri Sep 07, 2018 6:21 pm
by merlinsvk
elybelbely wrote: I just changed one line that is a message in first of the game.
Yes, but the original sentence was on two lines, and yours in in one. So your file has 279 lines in total, but english file has 280. Could this be that issue?
I can't export landb file to exactly the same format as you have, I maybe have a different version of TTG tools.


@VOID: Which file (and archive) is that logo?

Re: The Walking Dead: The Final Season

Posted: Fri Sep 07, 2018 10:03 pm
by Nefario
I'm working with VOID. The file is ui_boot_title.d3dtx in WD4_pc_Boot_txmesh.ttarch2.

Re: The Walking Dead: The Final Season

Posted: Fri Sep 07, 2018 10:34 pm
by merlinsvk
It's DXT5 with no mipmaps.

Header's length: 0x130 or 304 bytes
Texture data: 0x100000 or 1048576 bytes

Image

Re: The Walking Dead: The Final Season

Posted: Sat Oct 27, 2018 12:19 pm
by pashok6798
Can somebody test this version tool? It supports extract and import TTF fonts but I didn't fix yet bitmap fonts of the last Telltale's game.
https://github.com/pashok6798/TTG_Tools ... /tag/1.0.1

Re: The Walking Dead: The Final Season

Posted: Sun Dec 09, 2018 3:00 pm
by elybelbely
Hey again. As you know subtitle is showing left to right in game and is like typing from left to right. I translated the game but my language is Right to Left and I want to edit the subtitle typing to be RTl. I think I have to edit "ui_subtitle_text.prop" file but I have no idea how to edit it to be what I want. Any help with this? Thanks.