Idea: Playing with .GBX files

Talk about the track editor here

Moderator: English Moderator

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

Idea: Playing with .GBX files

Post by Frankthetankmp » 20 May 2018, 12:00

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: 2266
Joined: 27 Jul 2014, 20:31
Location: Germany » Saxony » Chemnitz
Contact:

Re: Idea: Playing with .GBX files

Post by Florenzius » 20 May 2018, 12:09

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^^
Image

User avatar
TMarc
Posts: 14425
Joined: 05 Apr 2011, 19:10
Location: Europe
Contact:

Re: Idea: Playing with .GBX files

Post by TMarc » 20 May 2018, 12:25

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 :|
maniaplanet forum global moderator

Link list with FAQ, Support, Wiki, Tutorials, Community activities, and much more.

System specs: Intel i7-970 12GB RAM, nVidia GTX 970, Creative SB X-Fi, 2xSSD

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

Re: Idea: Playing with .GBX files

Post by Xymph » 20 May 2018, 15:27

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: 1205
Joined: 05 Jan 2016, 11:34
Location: The Netherlands
Contact:

Re: Idea: Playing with .GBX files

Post by Miss » 20 May 2018, 16:11

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:
Forum moderator, opinions are my own. :thx:
Check out Image openplanet, the alternative Maniaplanet scripting platform! (Openplanet subforum)
I also stream on Twitch and tweet on Twitter.

Post Reply

Return to “Track Editor”

Who is online

Users browsing this forum: No registered users and 1 guest