GBXedit - TM2 tool for blockmixing :)

Moderators: Xymph, NADEO

ShadowZ
Posts: 4
Joined: 13 May 2013, 15:47

GBXedit - TM2 tool for blockmixing :)

Post 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
Last edited by ShadowZ on 14 May 2013, 18:13, edited 1 time in total.
User avatar
Demented
Posts: 2327
Joined: 07 Nov 2010, 13:17
Location: United States

Re: GBXedit - TM2 tool for blockmixing :)

Post by Demented »

Interesting.
CPU: Intel I7-4770 64Bit @ 3.4Ghz.
Ram: 32GB DDR3
GPU: Geforce GXT 1060 6.2GB DDR5
Windows: 7 Pro SP1 64bit
ShadowZ
Posts: 4
Joined: 13 May 2013, 15:47

Re: GBXedit - TM2 tool for blockmixing :)

Post by ShadowZ »

Thanks :)

Can any1 confirm it working on Canyon?
User avatar
phil13hebert
Posts: 564
Joined: 29 Oct 2011, 14:11
Location: Québec

Re: GBXedit - TM2 tool for blockmixing :)

Post by phil13hebert »

That's look promising :D

P.S. I sent you a pm.
OS: Windows 7 64 bit
CPU: Intel Core i7 3770 @ 3.40Ghz
RAM: 8GB DDR3 798MHz
GPU: Nvidia GeForce GTX 660 1536MB
Motherboard: Intel 0KM92T
Sound: 7.1
Peripherals: Logitech G510, SteelSeries sensei raw, Corsair vengeance 1500
ShadowZ
Posts: 4
Joined: 13 May 2013, 15:47

Re: GBXedit - TM2 tool for blockmixing :)

Post by ShadowZ »

Updated, so It won't crash in most cases on loading map :)
User avatar
BigBuddha
Posts: 168
Joined: 15 Jun 2010, 13:12
Location: Germany

Re: GBXedit - TM2 tool for blockmixing :)

Post 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 :(
User avatar
phil13hebert
Posts: 564
Joined: 29 Oct 2011, 14:11
Location: Québec

Re: GBXedit - TM2 tool for blockmixing :)

Post 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 :)
OS: Windows 7 64 bit
CPU: Intel Core i7 3770 @ 3.40Ghz
RAM: 8GB DDR3 798MHz
GPU: Nvidia GeForce GTX 660 1536MB
Motherboard: Intel 0KM92T
Sound: 7.1
Peripherals: Logitech G510, SteelSeries sensei raw, Corsair vengeance 1500
ShadowZ
Posts: 4
Joined: 13 May 2013, 15:47

Re: GBXedit - TM2 tool for blockmixing :)

Post by ShadowZ »

We are reworking the code and adding GUI :)
XCaliber
Posts: 174
Joined: 18 Oct 2011, 17:45

Re: GBXedit - TM2 tool for blockmixing :)

Post by XCaliber »

When its done, can we see a simple tutorial on how to use it ?

YouTube would be a good place. ;)
friuns
Posts: 5
Joined: 17 Jul 2013, 00:13

Re: GBXedit - TM2 tool for blockmixing :)

Post by friuns »

Awesome project, i want to see source code :P maybe i can help
Post Reply

Return to “General Tools”

Who is online

Users browsing this forum: No registered users and 1 guest