Midtown Madness 2 made bugs

Using Cheat Engine 6.2

User avatar
FXANBSS
MM2X Active User
MM2X Active User
Posts: 686
Registered for: 11 years 3 months
Location: Midtown Club, Discord
Been thanked: 4 times

Midtown Madness 2 made bugs

Postby FXANBSS » Thu May 02, 2013 4:15 am

I use cheat engine to change the name of cars and colors but when i select a color...

8O Crashes.

Image

User avatar
The_Most_Wanted
MM2X Active User
MM2X Active User
Posts: 960
Registered for: 11 years 8 months
Location: Egypt

Postby The_Most_Wanted » Thu May 02, 2013 8:10 am

To change the name of the cars and colors, you should open .info files with notepad in tune folder instead of using cheat engine.
Image
Best Midtown Madness 2 car converter of the year
Best Midtown Madness 2 innovation of the year
Author of the best Midtown Madness 2 mod of the year

Image
Best Midtown Madness 2 breakout of the year
Author of the best Midtown Madness 2 car add-on of the year

Image

User avatar
FXANBSS
MM2X Active User
MM2X Active User
Posts: 686
Registered for: 11 years 3 months
Location: Midtown Club, Discord
Been thanked: 4 times

Postby FXANBSS » Thu May 02, 2013 10:58 pm

I knew that.

Only used it.

aaro4130
MM2X Super Active User
MM2X Super Active User
Posts: 2405
Registered for: 16 years
Location: Canada
Been thanked: 1 time

Postby aaro4130 » Thu May 02, 2013 11:07 pm

Well of course this happens, here is the technical explanation

The car names and colors are 0 terminated strings, so say you edited the string "Silver" to "Blue"

Now this memory area is "Blue(00)er", So it takes "ER" as the color ID or some other data.

To avoid it make it "Blue(Space)(Space)(Space)". It must always be the same length!
[img]https://i61.tinypic.com/25zrngo.jpg[/img][color=white]
- Most creative active member
- Most smart active member
- Best MM2 innovation of the year
- Best programmer

[img]https://i60.tinypic.com/2m4c2h5.jpg[/img]
- Most helpful active member[/color]

User avatar
Franch88
MM2X Admin
MM2X Admin
Posts: 15759
Registered for: 17 years
Location: Italy
Been thanked: 1 time
Contact:
Italy

Postby Franch88 » Thu May 02, 2013 11:41 pm

The Cheat Engine tool is like an hex editor to edit the executable files running at the moment and loaded in the system memory; exist other similar tools too. It allows to edit them and only in the memory, without edit the real file. In games it's used for cheats like the classic in-game money crediting increasing.
As always, editing with hex editors is picky and difficult, if you don't know what exactly you're changing or how it has to be changed, you get bad working, glitches or let crash the edited executable that's running at the moment.
Fiat 500 = Italian motorization. Franch88, MM2 eXtreme forum and website Administrator.
|Franch88's MM2 Releases|

User avatar
FXANBSS
MM2X Active User
MM2X Active User
Posts: 686
Registered for: 11 years 3 months
Location: Midtown Club, Discord
Been thanked: 4 times

Postby FXANBSS » Fri May 10, 2013 11:03 pm

NEW GLITCH!

I changed the name of the 'vpbullet_WHL1.mtx' to 'va_pickup_f_WHL1.mtx'

no affects 'va_pickup_f'
Image
Image

'va_pickup_f_WHL1.mtx' to 'vpbullet_WHL1.mtx'

Image

'vpbullet_WHL1.mtx' to 'vpcab_WHL1.mtx'

Ford Mustang Fastback:
Image
London Cab:
Image

User avatar
Franch88
MM2X Admin
MM2X Admin
Posts: 15759
Registered for: 17 years
Location: Italy
Been thanked: 1 time
Contact:
Italy

Postby Franch88 » Sat May 11, 2013 11:49 pm

In MM2 vehicles, the .mtx files are used to place the objects like wheels, breakables and fenders. They contain their axis positioning and object size values. In your files renaming you're practically removed the front-left wheel (also the rear-right gets removed for a reason) or given it different properties.
Fiat 500 = Italian motorization. Franch88, MM2 eXtreme forum and website Administrator.
|Franch88's MM2 Releases|

User avatar
FXANBSS
MM2X Active User
MM2X Active User
Posts: 686
Registered for: 11 years 3 months
Location: Midtown Club, Discord
Been thanked: 4 times

Postby FXANBSS » Sun May 12, 2013 3:58 am

In MM2 vehicles, the .mtx files are used to place the objects like wheels, breakables and fenders.
I knew that.