[GbxDump] GBX file header viewer application

Moderators: Xymph, NADEO

User avatar
Xymph
Posts: 1426
Joined: 15 Jun 2010, 20:35
Contact:

Re: [GbxDump] GBX file header viewer application

Post by Xymph »

Electron wrote: 20 Mar 2018, 22:25 The GbxDump source code is now available as open source on GitHub:
https://github.com/Electron-x/GbxDump
:thumbsup:
Developer of XASECO for TMF/TMN ESWC & XASECO2 for TM²: see XAseco.org
Find your way around the Mania community from the TMN ESWC hub, TMF hub, TM² hub, and SM hub
User avatar
Electron
Posts: 799
Joined: 15 Jun 2010, 18:02
Contact:

Re: [GbxDump] GBX file header viewer application

Post by Electron »

A new release of GbxDump is available.

Changes of version 1.61:
· Fixed incorrect display of file size for files > 4 GB
· Added some new GBX class names (mainly from the Module Studio)
· Added two more DDS file resource formats (e.g. for AmbCubeP.dds)
· Added more flag descriptions for packed files
· Updating the list of collection names/IDs

Details can be found in the GitHub repository of GbxDump.
Image
TM²: TrackMania Telemetry Monitor version 1.2.4
User avatar
Demented
Posts: 2329
Joined: 07 Nov 2010, 13:17
Location: United States

Re: [GbxDump] GBX file header viewer application

Post by Demented »

Wow, Very Cool. :clap:
CPU: Intel I7-4770 64Bit @ 3.4Ghz.
Ram: 32GB DDR3
GPU: Geforce GXT 1060 6.2GB DDR5
Windows: 7 Pro SP1 64bit
User avatar
TMarc
Posts: 15441
Joined: 05 Apr 2011, 19:10
Location: Europe
Contact:

Re: [GbxDump] GBX file header viewer application

Post by TMarc »

this is very handy and up to date as always :thumbsup:
User avatar
Demented
Posts: 2329
Joined: 07 Nov 2010, 13:17
Location: United States

Re: [GbxDump] GBX file header viewer application

Post by Demented »

Hey Electron,
GbxDump is a really handy program, thanks for keeping it up to date. :thumbsup:

I've noticed ManiaExchange shows a list of embedded map items. How hard would it be to add a feature like to GbxDump?
(assuming other people might like that too) ;)
CPU: Intel I7-4770 64Bit @ 3.4Ghz.
Ram: 32GB DDR3
GPU: Geforce GXT 1060 6.2GB DDR5
Windows: 7 Pro SP1 64bit
User avatar
Electron
Posts: 799
Joined: 15 Jun 2010, 18:02
Contact:

Re: [GbxDump] GBX file header viewer application

Post by Electron »

Demented wrote: 18 Nov 2018, 17:08I've noticed ManiaExchange shows a list of embedded map items. How hard would it be to add a feature like to GbxDump?
The tool only displays information located in the file header. However, the information about the embedded objects is located in the body of the file.
It was never planned to display content from the body of Gbx files. The main reason for this was the formerly proprietary license of GbxDump. It was not compatible with the LZO library, which is necessary to decompress the file body. In addition, complete information about the structure of the complex MediaTracker block, which is required for proper data parsing, is still missing. Furthermore, the file body may contain information that is not intended for the public.
Moreover, MapEdit by TGYoshi was already a tool that specialized in reading and modifying data in the file body.

Therefore I've developed some independent mini tools for some data blocks. Below is a selection of these programs:
  • GbxDecompress - a Windows tool that decompresses or compresses the file body of a given .Gbx file
  • EmbeddedItems - a Windows tool that indicates all embedded items of a given .Map.Gbx file
  • GbxLightMap - a Windows tool to extract the lightmaps from a given .Map.Gbx file
  • GbxMetadata - a Windows tool that indicates the persistent attributes of a given .Map.Gbx file (Maps saved with Maniaplanet 4.1 are currently not supported)
The tools use a quick and dirty pattern search to find the data blocks in the file body. Some virus scanners therefore report these programs as dangerous.

Another problem is that Nadeo is permanently making changes to these blocks. Fortunately, the block with the objects has not changed for a long time. But there were constantly changes in the saving of the lightmaps. There were also changes in the meta data again and again (most recently with Maniaplanet 4.1).

The best thing for everyone would be if Nadeo additionally includes the information about the embedded objects in the file header (similar to the locators). :idea:
User avatar
Demented
Posts: 2329
Joined: 07 Nov 2010, 13:17
Location: United States

Re: [GbxDump] GBX file header viewer application

Post by Demented »

Wow, excellent response. Thank you :thx:
I find what you have done and offered to the community very helpful. :thumbsup:
CPU: Intel I7-4770 64Bit @ 3.4Ghz.
Ram: 32GB DDR3
GPU: Geforce GXT 1060 6.2GB DDR5
Windows: 7 Pro SP1 64bit
Poutrel
Posts: 173
Joined: 13 Apr 2011, 17:58

Re: [GbxDump] GBX file header viewer application

Post by Poutrel »

Hey!

Thanks for this tool,this is really useful :)

However, as you wrote, the aim isn't to read the body of the file.
So does anybody knows a tool which could list all blocks on the map and their positions/variants, for any gbx version?

TMEdit is great but works only for MP4/TMT maps, and TrackInfo only for TMF files, and you can't copy/paste the block list.

Would appreciate any help! :thumbsup:
User avatar
Miss
Posts: 2155
Joined: 05 Jan 2016, 11:34
Location: The Netherlands
Contact:

Re: [GbxDump] GBX file header viewer application

Post by Miss »

What exactly do you want to do? You can look through all the blocks with Openplanet too.
3080 RTX, Ryzen 3700X, 32GB RAM, Windows 11
Forum moderator, opinions are my own. :thx:
Check out Image openplanet, the alternative ManiaPlanet & Turbo scripting platform! (Openplanet subforum)
I also stream and tweet.
Poutrel
Posts: 173
Joined: 13 Apr 2011, 17:58

Re: [GbxDump] GBX file header viewer application

Post by Poutrel »

What I'm looking for is a tool which could allow to have, for a given map, all blocks and their position and variants as a text that you could copy and store somewhere, for TM2 but also and mainly for older TM games.

TMEdit does just that, but only for MP4+ (or MP3+ maybe?) maps.
Post Reply

Return to “General Tools”

Who is online

Users browsing this forum: No registered users and 2 guests