Log in
Location: Home  Community Forums  Help  Blockmixing 
Blockmixing
Page: 1 of 4
Post Reply  0 Observer
Blockmixing  
Yay blockmixing is possible..
...Using the awesome old hex editor!
Time to do complicated stuff again :3.

In this tutorial I'll cover a very simple blockmix technique: moving stuff around.

Requirements:
- A hex editor (I'll be using XVI32)
- A .Map.GBX file

Easiest is to move blocks up and down, so I'll start with that, covering the rest in the meantime actually.

Part 1 - Prepare
In TM2: Start a new map.
Open the plugins menu (F5), then select the Example_CursorCoords plugin - so enabling it. At the right side of your screen you can see at what position your cursor currently is.



To test this out, I'll place two blocks above eachother. The upper deco block will be mixed in the arena block at the floor.
I don't change the bottom block, so that's allright.
We'll note down two things about the upper block though:
- The blocks name, visible in the editor, DecoReffineryX4.
- The blocks Y coords, visible at the coords plugin panel. In this case: 25. I recommend to choose a height NOT the same as X and Z, so you can identify it later. That's why I placed the block so high.

Part 2 - Converting
Convert the Y coord we've used (25) to a HEX number. I don't feel like explaining how to, but you can use THIS website to convert them as well.
The number 25 is 19 in HEX notation.

Part 2.5
Yay part 2.5.
You are able to skip this part, but if you get any problems in future steps (You probably will, but not necessarily), make sure you retry with this step!
Here we're going to decompress the .gbx file (your map), so you can view the stuff much more easily and logically.
Check the bottom of this tutorial if you'd like to know why.
> Download the decompresser made by tossha right HERE.
Run the application and follow the instructions.
You should get a new .gbx file called __[YourMapName]. The old file without the '__' is basically a backup. From now on you'll not use that old gbx file anymore unless something goes wrong.
Isn't this explanation vague?

Part 3 - Finding the block
Time to blockmix!
Open up your hex editor and open the .map.gbx file (The decompressed file from step 2.5, probably starting with __).


For you to know: On the RIGHT side of the screen you can see every character translated to text symbols, on the LEFT side you can see the raw hexadecimal data in numbers.
Hit CTRL + F and write in the block's name you want to move around. In this case DecoReffineryX4. Then hit ENTER or press OK. You'll be taken to the correct position (at the right side).


Part 4 - Changing values
Take a good look at the picture below:


Look at the RIGHT panel
Blue underlined = The pieces name.
After the pieces name is one blank space.
After that blank space there are 3 cells with weird symbols (red marked). These symbols are X, Y and Z values.
Click the second red cell, and the cell will also be marked at the LEFT side.
Now click that marked cell again at the LEFT side. You see it contains the value '19' (= 25), the current Y position.
We'll change that to 0F (= 15), the NEW y position. Just type once you have clicked the cell at the left side.
The weird symbol at the right side will change to another weird symbol.

To change the X and Z values, it's basically the same as you can see.

Save the file and enjoy!


It's recommended to try this first with a map with two different blocks, so it'll succeed for sure.
If you want to blockmix in maps with are larger sized, decompiling the GBX file might help. If you have already tried mixing a map of a larger size, you might have noticed you are unable to find some blocks. This is because they are compressed (and so kinda hidden) to decrease file size. A decompiler will make the file size bigger, but it'll also show every block in it's full name. You can download such a tool made by tossha HERE.
Last edited by TGYoshi,
Segmentation fault
Location: NL
 
oh hoh, here we go again :p Currently I have no interest to blockmixing, but it's necessity one day :d (silent mumbling)hmm, if I started making track editor now, I would get a good headstart to otherssss. hmm.
G-kart Racer
Location: FI
 
hi !
thank you very much i go try it
but please where unzip the pack ? on windows xp ? :s
Learner Driver
 
Somewhere where you want. At your desktop or so.
Segmentation fault
Location: NL
 
2008 has called and wants its hex-editor back =p

seriously, just wait a bit, i'm sure the guys will update their mix tools soon enough.
Old Age Caravanner
Location: DE
 
tstargermany says:
2008 has called and wants its hex-editor back =p

seriously, just wait a bit, i'm sure the guys will update their mix tools soon enough.

This way is more badass though :p
· · · – – – · · ·
Location: SE
 
tstargermany says:
2008 has called and wants its hex-editor back =p

seriously, just wait a bit, i'm sure the guys will update their mix tools soon enough.

Maybe, but I just realized that the GBX files got some weird compression technique making it all a lot more complicated if the map is bigger.

Hex-editing :cool: .
Segmentation fault
Location: NL
 
I've heard they tinkered GBX format since TMF... At the moment I have no interest looking into these files until standard maps are getting boring :cool:
G-kart Racer
Location: FI
 
Hey yo, thanks for this thread !

I'm a tm-hexa board admin and i'm pretty fond of blockmixing.


For the moment, we have only the possibility to blockmix with a hex editor, however due to the compression (and the compression/decompression algorithm which is using only for Challenge Edit), it stills hard because all the values or blocks can't be exploited.

I'm waiting for a "live" blockmixing soft (as TMUnlimiter) than a Challenge Edit upload because skubidou, the developper, is no active now.

XTa / du02
Learner Driver
 
aXu says:
I've heard they tinkered GBX format since TMF... At the moment I have no interest looking into these files until standard maps are getting boring :cool:

But there is one thing, if you made a big map and want to mix , then you vant finde blocks anymore because if a word is like the blockname or something example:
builded before -RoadMainSlopeStraight
and you want to mix -RoadMain it iss in my eyes un make able
so I tried a lot but that I doesn't figured out!
(with RixMix can you edit the map, but 1. you must convert the map to .challenge.gbx 2. It edits the wrong values so you edit something and your File is DESTROYED!

GreZz From Germany :cool:
Learner Driver
Location: DE
Page: 1 of 4 Post Reply
© ManiaExchange (mania-exchange.com, mania.exchange) 2024. • Terms and ConditionsPrivacy Policy Top  •  Report a Problem