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.

Frame Gride DC TDT file

Featured Replies

  • Author
  • Localization

domingo, posted Wed Oct 19, 2016 11:04 am (18166)


Hi I need to decode and encode this file to edit the text of the game.

Image

File




Thanks
  • Author
  • Localization

aluigi, posted Thu Oct 20, 2016 8:06 am (18180)


Moved in the correct section.
I guess the strings are compressed (lzss?), otherwise I would have suggested you to modify it with a hex editor.
  • Author
  • Localization

domingo, posted Fri Oct 21, 2016 9:59 am (18197)


I have tried several times to create a table and I have not accomplished anything and it seemed to me strange, so I decided to post it
  • Author
  • Localization

domingo, posted Fri Nov 04, 2016 12:54 am (18544)


Hello, I have been trying to unzip the file with lzss decompressor, but I get the corrupt file error or it is not a lzss file

Any ideas?
  • Author
  • Localization

domingo, posted Fri Nov 04, 2016 4:51 pm (18560)


I think I already have the solution to decode the text.
Each character is composed of 3 bytes example
0C A0 01 = A
0C B0 01 = B
0C 00 11 = G

So successively
  • Author
  • Localization

aluigi, posted Sat Nov 05, 2016 8:46 am (18570)


Something like this, it's a raw visualization, not real parsing, you can use the console redirector to dump the output like quickbms.exe script.bms talk.tdt > list.txt:
Code:
# incomplete!!!
set TABLE string "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.-: =^!/*?&<>()[]{}@%$#"

idstring "TXTCONV "
    get ID long
    get OFFSET long
xmath FILES "(OFFSET - 8) / (4 4)"
goto 8
for i = 0 < FILES
    get ID long
    get OFFSET long
next i

    set OUTPUT string ""
for
    savepos OFFSET
    get VAR1 byte   # 0x0c
    get VAR2 byte
    get VAR3 byte
    if VAR1 == 0x0c
        xmath IDX "((VAR3 >> 4) << 4) | (VAR2 >> 4)"
        getvarchr TMP TABLE IDX
        #print "%OFFSET|X% %TMP|X%"
        string TMP = TMP
        string OUTPUT TMP
    else
        if OUTPUT != ""
            print "%OUTPUT%"
        endif
        set OUTPUT string ""
    endif
next
  • Author
  • Localization

domingo, posted Sun Nov 06, 2016 12:21 am (18595)


Ok,thanks aluigi

I had already created the table, although I lack some characters.
Thanks to the script I have the text almost complete :)
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.