Heap Overruns are a thing of the past!

Incredible discovery by CarLuver69

User avatar
Deanna_Troi
MM2X Occasional User
MM2X Occasional User
Posts: 334
Registered for: 14 years 10 months
Location: Dallas, Texas, U.S.A.

Postby Deanna_Troi » Wed May 18, 2016 9:20 pm

I just downloaded the MM2 Heap Patcher of SuperSecret's, but the files are corrupted, I cannot even extract it, any solutions to this problem?

P.S. Although I also downloaded the heap .exe fixes of other authors and they work. Good work, guys! :D
[color=orange]Best MM2 Breakout of 2010[/color]
[img]https://i.imgur.com/a701OBI.jpg[/img]
[url=https://www.youtube.com/channel/UCB-1_luBqmkKKFUDgP18fiw]My YouTube Channel[/url]
[url=https://www.mm2x.com/page.php?name=Forums&file=viewtopic&p=53209#53209]My MM2 Releases[/url]

User avatar
BUGATTIMAN253MPH
MM2X Very Active User
MM2X Very Active User
Posts: 1296
Registered for: 13 years
Location: Ireland
Contact:
Ireland

Postby BUGATTIMAN253MPH » Wed May 18, 2016 9:53 pm

You're back Deanna_Troi.
Image
Best Midtown Madness 2 car converter of the year
Best Midtown Madness 2 car converter of the year
Author of the best Midtown Madness 2 car add-on of the year
Best active member Midtown Madness 1 screenshot-er

Image
Best active member avatar
Best Midtown Madness 2 breakout of the year
Funniest active member

User avatar
Franch88
MM2X Admin
MM2X Admin
Posts: 15758
Registered for: 16 years 9 months
Location: Italy
Been thanked: 1 time
Contact:
Italy

Postby Franch88 » Wed May 18, 2016 10:16 pm

That's really weird, surely the file download hasn't been completed successfully. Try to download it again from MM2X and from the link posted by SuperSecret here. Use also another browser to download the file, if it's suddenly possible for you.

And yeah, welcome back Deanna_Troi! :D
Fiat 500 = Italian motorization. Franch88, MM2 eXtreme forum and website Administrator.
|Franch88's MM2 Releases|

User avatar
Deanna_Troi
MM2X Occasional User
MM2X Occasional User
Posts: 334
Registered for: 14 years 10 months
Location: Dallas, Texas, U.S.A.

Postby Deanna_Troi » Thu May 19, 2016 1:01 am

Thanks for the welcome back BUGATTIMAN253MPH and Franch88! :D

Yeah, this is curious, and frankly not logical. I tested the SuperSecret's Heap Patcher's 7z archive, and I get this (even though I use a different browser; I downloaded it using Firefox, Google Chrome, and Internet Explorer): ;)

Image
[color=orange]Best MM2 Breakout of 2010[/color]
[img]https://i.imgur.com/a701OBI.jpg[/img]
[url=https://www.youtube.com/channel/UCB-1_luBqmkKKFUDgP18fiw]My YouTube Channel[/url]
[url=https://www.mm2x.com/page.php?name=Forums&file=viewtopic&p=53209#53209]My MM2 Releases[/url]

User avatar
SuperSecret
MM2X Junior User
MM2X Junior User
Posts: 127
Registered for: 15 years 3 months
Location: Italy

Postby SuperSecret » Thu May 19, 2016 1:57 am

I uploaded a zip version here. (indeed, for so small files I should have used zip as a first choice for better compatibility) Anyway, try updating 7zip to open the .7z file (if it's not up to date)
ImageAuthor of best MM2 track add-on of the year (2014) - Best Programmer (2015)
ImageBest programmer (2013 - 2014) - Best MM2 innovation of the year (2014)
ImageAuthor of best MM2 mod of the year (2013)

User avatar
Deanna_Troi
MM2X Occasional User
MM2X Occasional User
Posts: 334
Registered for: 14 years 10 months
Location: Dallas, Texas, U.S.A.

Postby Deanna_Troi » Thu May 19, 2016 2:34 am

I downloaded the zip version, and I got the files. :) Thanks SuperSecret! :D Now to the in-game testing part... ;)

P.S. Unfortunately, I have the old Windows Vista, and 7zip updates from this point forward can only be compatible with Windows 7 or later OS Systems. :(
[color=orange]Best MM2 Breakout of 2010[/color]
[img]https://i.imgur.com/a701OBI.jpg[/img]
[url=https://www.youtube.com/channel/UCB-1_luBqmkKKFUDgP18fiw]My YouTube Channel[/url]
[url=https://www.mm2x.com/page.php?name=Forums&file=viewtopic&p=53209#53209]My MM2 Releases[/url]

User avatar
Diatosta
MM2X Active User
MM2X Active User
Posts: 783
Registered for: 11 years 9 months
Location: Portugal? Maybe...
Contact:

Postby Diatosta » Thu May 19, 2016 8:46 am

Unfortunately, I have the old Windows Vista
I feel so, so sorry for you XD
[color=white]MM2 lover! Yeah![/color]
[color=white]diatosta.pt[/color]

[color=white]Also, gotta love when people don't publicize their work or ask for support in their signatures. Also don't forget to check my unfinished mods and donate to my Paypal

Also, one of my trucks[/color]
[img][/img]

User avatar
Jimmy89
MM2X Junior User
MM2X Junior User
Posts: 165
Registered for: 12 years 11 months
Location: France

Postby Jimmy89 » Sun May 22, 2016 3:10 am

I don't have anymore game freezing of heap overrun with that patch, when in my garage I add some high poly cars in the game folder. However, I noticed that there's still the problem of memory allocator with some addon maps, such as Manhattan or Bay City. If there are cops, traffic and I have a medium/high poly car (especially in NYC).

Nonetheless, it's a great improvement for the game, not anymore forced to move cars from game folder to "Cars" as much as I had considering more can be stored!

User avatar
e-cobra
MM2X Very Active User
MM2X Very Active User
Posts: 1629
Registered for: 13 years 2 months
Location: Navi Mumbai, India

Postby e-cobra » Sun May 22, 2016 7:22 pm

Finally something that was earlier called impossible to do. :D I'll try this mod soon with some hi poly traffic at max density. But how did Carluver find this, I mean was there any clue for the memory address of the heap anywhere?
[img][/img]
[url=https://www.mm2x.com/page.php?name=Forums&file=viewtopic&t=5362&start=52&highlight=e-cobra][color=gold][size=75]MM2X Awards[/size][/color][/url]
[b][size=84][color=blue]If a tree falls in the woods and no one?s around to hear it, does it make a sound?[/color][/size][/b]

User avatar
garywhite1
MM2X Newbie
MM2X Newbie
Posts: 8
Registered for: 7 years 11 months
Location: San Francisco, CA

Reply

Postby garywhite1 » Sat May 28, 2016 1:48 am

I don't know at all how to use the whole hex thing on software. Would it be possible for someone to post the EXE files with the heap increased to different sizes? Then it would be much easier for people like me.

User avatar
sajmon14
MM2X VIP Member
MM2X VIP Member
Posts: 5321
Registered for: 16 years 1 month
Location: Poland
Contact:
Poland

Postby sajmon14 » Sat May 28, 2016 10:24 am

Look at the main page

User avatar
Jimmy89
MM2X Junior User
MM2X Junior User
Posts: 165
Registered for: 12 years 11 months
Location: France

Postby Jimmy89 » Sat May 28, 2016 4:56 pm

Considering one can now play with high poly traffic, own car, opponents, cops and so on...while having addon mods enhancing graphics, could it mean that SF extended map could be finished, with traffic and buildings on the extended parts without game to crash?

User avatar
Jimmy89
MM2X Junior User
MM2X Junior User
Posts: 165
Registered for: 12 years 11 months
Location: France

Postby Jimmy89 » Sat May 28, 2016 5:57 pm

I suppose it's working well against memory overrun.

Image

Five cop cars (cop cars patch), 2 Rhinos, 2 Saleen Barricade, 1 Exage (that 34mb HD car) vs my car which is also an Exage. Mods installed: RV5 graphics, MM2HD, Spectacular Sky Mod ...

User avatar
Franch88
MM2X Admin
MM2X Admin
Posts: 15758
Registered for: 16 years 9 months
Location: Italy
Been thanked: 1 time
Contact:
Italy

Postby Franch88 » Sat May 28, 2016 8:10 pm

Of course, the memory limit increasing involves also the using of very high resolution textures. Everything that's about the memory usage, in few words. :wink:
Considering one can now play with high poly traffic, own car, opponents, cops and so on... while having addon mods enhancing graphics, could it mean that SF extended map could be finished, with traffic and buildings on the extended parts without game to crash?
Very good question. Certainly this discover has solved that problem, but there can always be others while making that project, like those about the PSDL terrain, I assume... This is mainly up to Midas, though.
Fiat 500 = Italian motorization. Franch88, MM2 eXtreme forum and website Administrator.
|Franch88's MM2 Releases|

User avatar
JimvanDam
MM2X Newbie
MM2X Newbie
Posts: 25
Registered for: 8 years 4 months
Location: Za Netherlands! WAAHOO!

Postby JimvanDam » Wed Jun 01, 2016 11:44 am

I can't thank you guys anough for this! MM2 is now running under Linux Mint with wine, so no Windows OS used!
And it runs very smooth at highest resolution with only city sound effects enabled.
FINALLY, Linux can run my favourite game thanks to you guys 8)