Idea: Playing with .GBX files

Talk about the track editor here

Moderator: English Moderator

Post Reply
Frankthetankmp
Posts: 130
Joined: 19 Jul 2015, 19:21

Idea: Playing with .GBX files

Post by Frankthetankmp »

Hello there,
yesterday I was very boored. So I thought of what I could do. Instead of doing usefull things I took the next map.gbx file I could find and played arround withit . Next to the hieroglyphs in the code of an map.gbx I found some normal letters defining the author times, the environment and the size of the map. There were many possibilitys for a boored Frank to spend his time with.
Things I tried: Cheat author times better
put 64x64 on a valley map
add random letters and watch what happens
The problem is: No matter what I do (even if I change the settings, save them, then open the file again, reset the settings and save again) after the map is changed in the code it is no longer openable in Maniaplanet.
Not even If I changed an author time in a gbx file maniaplanet allowed me to open the map. (First it was 22000 and I changed it to 21000) but there was no reason why it should not work.

Well, in result I completely failed to do sth with it. But other people who might understand that could do many things with it.
So If you are boored one day (and you are not such a gbx-noob like I am) - do the same like me :3 . Maybe sth cool happens - or maybe
not... most propably not....
User avatar
Florenzius
Translator
Translator
Posts: 2545
Joined: 27 Jul 2014, 20:31
Location: Germany
Contact:

Re: Idea: Playing with .GBX files

Post by Florenzius »

Maybe the type how you saved the HEX-edited file is not supported or you always changed a value that is important and shouldn't changed. Maybe Dommy can help you. He was experimenting with GBX files and Hex-editing a lot lately and made impossible things possible :P
I guess you will see later what I mean^^
Creative Director at UNBITN - 3D Modeler for Pursuit - ManiaPlanet Translator and Beta tester - Freelancer for Ubisoft Nadeo
___
MB - B550 AORUS ELITE
RAM - 32GB
CPU - AMD Ryzen 5 3600XT
GPU - Nvidia GeForce RTX 3070Ti
User avatar
TMarc
Posts: 15441
Joined: 05 Apr 2011, 19:10
Location: Europe
Contact:

Re: Idea: Playing with .GBX files

Post by TMarc »

Ever heard of checksums? ;)
They are there to detect undesired manipulations.

If it was too easy to manipulate times, the whole ranking and also the dedimania system would be useless :|
User avatar
Xymph
Posts: 1426
Joined: 15 Jun 2010, 20:35
Contact:

Re: Idea: Playing with .GBX files

Post by Xymph »

Frankthetankmp wrote: 20 May 2018, 12:00 yesterday I was very boored. So I thought of what I could do. Instead of doing usefull things I took the next map.gbx file I could find and played arround withit . Next to the hieroglyphs in the code of an map.gbx I found some normal letters defining the author times, the environment and the size of the map.
Those are in the plain text XML chunk, and not used by the engine when a binary challenge chunk already defines them. See https://wiki.xaseco.org/wiki/GBX
Also, if saving the file changed null (0x00) bytes into spaces (0x20) then the .gbx won't load indeed. This is an occasional problem with maps uploaded to TMX.

TMarc wrote: 20 May 2018, 12:25 Ever heard of checksums?
There are few checksums in GBX chunks, that is unlikely to be a factor.
TMarc wrote: 20 May 2018, 12:25 If it was too easy to manipulate times, the whole ranking and also the dedimania system would be useless
Those systems are separate from and not directly related to GBX chunks.
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
Miss
Posts: 2155
Joined: 05 Jan 2016, 11:34
Location: The Netherlands
Contact:

Re: Idea: Playing with .GBX files

Post by Miss »

Xymph wrote: 20 May 2018, 15:27 Also, if saving the file changed null (0x00) bytes into spaces (0x20) then the .gbx won't load indeed. This is an occasional problem with maps uploaded to TMX.
What. People edit map files in Notepad or some shit? :lol: :lol:
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.
Post Reply

Return to “Track Editor”

Who is online

Users browsing this forum: No registered users and 1 guest