Author Topic: TGL Editor (2021)  (Read 604 times)

Offline Mario

  • Senior Software Developer
  • Administrator
  • Posts: 2186
  • Cookies: 1706
  • Life is life
TGL Editor (2021)
« on: January 18, 2021, 07:00:49 PM »
So I lost my BCUT source long ago. I decided to write a new TGL editor and reverse engineer the TGL structure once again (was bored).

TGL Structure (simplified):
- Header data (static)
- Then at index 12 comes total entry count
- Then empty 12 bytes (probably padding)
- Then follows length of each columns starting at index 28 (id, data and sfx) until we reach the last item in the list (so basically the bytes will go id1 string length, data1 string length, sfx1 string length, id2 string length, data2 string length and such).
Note the last entry data and sfx lengths are not written here
- After this follows the id columns (you can use length to find correct offsets)
- Once the ids are written it is closed by the last entry data length
- Then the data is written using the same logic and are closed by the last sfx data length and then follows the sfx data

Download:
https://drive.google.com/drive/folders/1ijueTgV4ueSoLvCgIB9XbrFJVSKz3HwF
  • NET5 -> Requires NET5 installed
  • Self Contained x86 -> Works on >= Win7 x86 systems
  • Self Contained x64 -> Works on >= Win7 x64 systems

Source:
https://github.com/bcssov/TGL-Editor

Usage:
Readme included (you do stuff via hotkeys like load and save files)
Acta, non verba.
aka USS Sovereign

Offline JimmyB76

  • Posts: 6423
  • Cookies: 421
Re: TGL Editor (2021)
« Reply #1 on: January 18, 2021, 07:05:36 PM »
Awesome!!!   :D :dance :yay:

Offline Haxxor1337

  • Posts: 83
  • Cookies: 11
    • .~*BC - Galaxy*~.
Re: TGL Editor (2021)
« Reply #2 on: January 18, 2021, 08:43:15 PM »
:bow: :bow: :bow:

Thanks a lot for this Awesome commitment!!!!!

Offline JimmyB76

  • Posts: 6423
  • Cookies: 421
Re: TGL Editor (2021)
« Reply #3 on: September 07, 2021, 11:55:00 PM »