Page 4 of 6
Re: [GbxDump] GBX file header viewer application
Posted: 20 Mar 2018, 23:15
by Xymph
Re: [GbxDump] GBX file header viewer application
Posted: 16 Nov 2018, 18:47
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.
Re: [GbxDump] GBX file header viewer application
Posted: 17 Nov 2018, 19:53
by Demented
Wow, Very Cool.

Re: [GbxDump] GBX file header viewer application
Posted: 17 Nov 2018, 22:10
by TMarc
this is very handy and up to date as always

Re: [GbxDump] GBX file header viewer application
Posted: 18 Nov 2018, 17:08
by Demented
Hey Electron,
GbxDump is a really handy program, thanks for keeping it up to date.
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)

Re: [GbxDump] GBX file header viewer application
Posted: 18 Nov 2018, 20:59
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).

Re: [GbxDump] GBX file header viewer application
Posted: 19 Nov 2018, 18:32
by Demented
Wow, excellent response. Thank you
I find what you have done and offered to the community very helpful.

Re: [GbxDump] GBX file header viewer application
Posted: 22 Jan 2019, 19:56
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!

Re: [GbxDump] GBX file header viewer application
Posted: 22 Jan 2019, 21:50
by Miss
What exactly do you want to do? You can look through all the blocks with Openplanet too.
Re: [GbxDump] GBX file header viewer application
Posted: 23 Jan 2019, 10:05
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.