Page 1 of 2

GBXedit - TM2 tool for blockmixing :)

Posted: 13 May 2013, 15:49
by ShadowZ
Hello everybody!
I'd like to present you my new creation - GBXedit. :yes:

It's has NO GUI (Since I don't like playing with Swing), everything is commandline based.
Required JRE 1.7!
Everything is explained in readme file inside the archive, short info on how to blockmix is there too.

INFO (Read before ask):
  • THIS WAS TESTED WITH TM2 STADIUM. SHOULD WORK WITH CANYON, BUT I CAN'T CONFIRM THIS.
  • If someone want's the source, PM me. Program is written in Java.
  • If someone want's a GUI - write it then. I can give you the source. The track operations are separated from user input/commands execution, so porting to GUI wouldn't be so hard.
  • This is not full working editor. Just alpha test. It's somehow heuristic (due to byte searching functions), but It's really hard to crash it this way. It should work on 95% of maps :)
  • If you want to edit something more - just dump the uncompressed data (there is a command for it), and use HEX editor. You can load the dump back with another command.
  • If I find some more time I deafinitely gonna add Daytime changing (Blah, it's stored the worst way Nadeo could do that), and other strings editing.
  • Some other questions are explained in FAQ section of readme.


DOWNLOAD:
(sorry for adf.ly, but I think my work is worth those few cents)
Version 1.2 (Reduced crash ammount)
Version 1.1 (Display bugfix)
Version 1.0

Re: GBXedit - TM2 tool for blockmixing :)

Posted: 13 May 2013, 16:00
by Demented
Interesting.

Re: GBXedit - TM2 tool for blockmixing :)

Posted: 13 May 2013, 16:45
by ShadowZ
Thanks :)

Can any1 confirm it working on Canyon?

Re: GBXedit - TM2 tool for blockmixing :)

Posted: 14 May 2013, 02:26
by phil13hebert
That's look promising :D

P.S. I sent you a pm.

Re: GBXedit - TM2 tool for blockmixing :)

Posted: 14 May 2013, 22:49
by ShadowZ
Updated, so It won't crash in most cases on loading map :)

Re: GBXedit - TM2 tool for blockmixing :)

Posted: 15 May 2013, 13:59
by BigBuddha
First of all, it works fine on Stadium.
But it does not work on Canyon (didn't even bother to try it on Shootmania^^). I tested two different maps and I get the following StackTrace:
>>load test
Reading file: C:\Users\Constantin\Documents\ManiaPlanet\Maps\My Maps\test.Map.Gbx
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 11, Size: 1
at java.util.ArrayList.rangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at org.shadowz.gbxedit.TmTrack.readlookbackString(TmTrack.java:144)
at org.shadowz.gbxedit.TmTrack.readMeta(TmTrack.java:151)
at org.shadowz.gbxedit.TmTrack.executeDump(TmTrack.java:301)
at org.shadowz.gbxedit.TmTrack.load(TmTrack.java:428)
at org.shadowz.gbxedit.Main.main(Main.java:75)
Also, I cannot get the tool to work on files with spaces in their names: "stadium blockmix test". It prints out a "Bad arguments" message.

Besides that, great tool and I featured it on the german Maniablog. You might want to post it on Mania-Exchange, where all the trackbuilders are, because I'm afraid this part of the forum is not visited by regular players that often :(

Re: GBXedit - TM2 tool for blockmixing :)

Posted: 15 May 2013, 14:18
by phil13hebert
BigBuddha wrote:First of all, it works fine on Stadium.
But it does not work on Canyon (didn't even bother to try it on Shootmania^^). I tested two different maps and I get the following StackTrace:
>>load test
Reading file: C:\Users\Constantin\Documents\ManiaPlanet\Maps\My Maps\test.Map.Gbx
Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 11, Size: 1
at java.util.ArrayList.rangeCheck(Unknown Source)
at java.util.ArrayList.get(Unknown Source)
at org.shadowz.gbxedit.TmTrack.readlookbackString(TmTrack.java:144)
at org.shadowz.gbxedit.TmTrack.readMeta(TmTrack.java:151)
at org.shadowz.gbxedit.TmTrack.executeDump(TmTrack.java:301)
at org.shadowz.gbxedit.TmTrack.load(TmTrack.java:428)
at org.shadowz.gbxedit.Main.main(Main.java:75)
Also, I cannot get the tool to work on files with spaces in their names: "stadium blockmix test". It prints out a "Bad arguments" message.

Besides that, great tool and I featured it on the german Maniablog. You might want to post it on Mania-Exchange, where all the trackbuilders are, because I'm afraid this part of the forum is not visited by regular players that often :(
I saw the same error and I was going to tell him too ^^

He could also post it on mania-creative :)

Re: GBXedit - TM2 tool for blockmixing :)

Posted: 15 May 2013, 21:42
by ShadowZ
We are reworking the code and adding GUI :)

Re: GBXedit - TM2 tool for blockmixing :)

Posted: 16 Jun 2013, 21:48
by XCaliber
When its done, can we see a simple tutorial on how to use it ?

YouTube would be a good place. ;)

Re: GBXedit - TM2 tool for blockmixing :)

Posted: 17 Jul 2013, 00:41
by friuns
Awesome project, i want to see source code :P maybe i can help