How does TRES translate the text in. dat file header [Zack and Wiki Quest for Barbaros Treasure]
-
- Posts: 2
- Joined: Sat Sep 28, 2019 1:34 pm
How does TRES translate the text in. dat file header [Zack and Wiki Quest for Barbaros Treasure]
Hello, how to extract the text from this dat file? We need to translate the text and package it into a dat file. We need this tool software.
The game is Zack and Wiki Quest for Barbaros Treasure
-
- Site Admin
- Posts: 12984
- Joined: Wed Jul 30, 2014 9:32 pm
Re: How does TRES translate the text in. dat file header [Zack and Wiki Quest for Barbaros Treasure]
Script for quickbms
Code: Select all
endian big
idstring "TRES"
get STRINGS long
get TOC_SIZE long
get STRINGS_OFF long
savepos BASE_OFF
for i = 0 < STRINGS
get OFFSET long
getdstring DUMMY 12
math OFFSET + BASE_OFF
math OFFSET + STRINGS_OFF
slog "" OFFSET -1
next i
-
- Posts: 2
- Joined: Sat Sep 28, 2019 1:34 pm
Re: How does TRES translate the text in. dat file header [Zack and Wiki Quest for Barbaros Treasure]
aluigi wrote:Script for quickbmsCode: Select all
endian big
idstring "TRES"
get STRINGS long
get TOC_SIZE long
get STRINGS_OFF long
savepos BASE_OFF
for i = 0 < STRINGS
get OFFSET long
getdstring DUMMY 12
math OFFSET + BASE_OFF
math OFFSET + STRINGS_OFF
slog "" OFFSET -1
next i
Thank you very much.