Bridge Commander Central

BC Forums => BC Downloads => Topic started by: Mario on January 18, 2021, 07:00:49 PM

Title: TGL Editor (2021)
Post by: Mario 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

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

Usage:
Readme included (you do stuff via hotkeys like load and save files)
Title: Re: TGL Editor (2021)
Post by: JimmyB76 on January 18, 2021, 07:05:36 PM
Awesome!!!   :D :dance :yay:
Title: Re: TGL Editor (2021)
Post by: Haxxor1337 on January 18, 2021, 08:43:15 PM
:bow: :bow: :bow:

Thanks a lot for this Awesome commitment!!!!!
Title: Re: TGL Editor (2021)
Post by: JimmyB76 on September 07, 2021, 11:55:00 PM
BCFiles -

https://www.gamefront.com/games/bridge-commander/file/tgl-editor-2021