Page 2 of 4

Posted: Thu May 12, 2016 1:06 am
by BUGATTIMAN253MPH
Image
I just chucked a bunch of random cars into my directory along with my upcoming mod and it still works witout issue. :aplausos: :aplausos: I guess the future has finally arrived then. :D

Posted: Thu May 12, 2016 1:49 am
by mm2mm1fan
It didn't work for me, it said it's not a valid Win32 application after I saved it. :?

Posted: Thu May 12, 2016 12:26 pm
by CarLuver69
Hey guys, I've successfully patched the EXE to do the following:

- Increased default heap size to 128MB
- New "heapsize" parameter to allow for custom heap sizes!

To use a custom heap size, pass "-heapsize [size in mb]" to MM2. For example, to have a 1024MB heap, pass "-heapsize 1024" to MM2. So 256MB would be "-heapsize 256", and so on. However, due to extremely limited space, I was unable to implement any sort of error checking. I strongly recommend not to go below 32MB, and don't pass an empty parameter!

Download: https://goo.gl/CYsWYD

Backup your old one before replacing it! Enjoy!

EDIT: I've been informed that the EXE I patched does not include Diatosta's EXE patch. I'll see what I can do about this.

Posted: Thu May 12, 2016 1:55 pm
by COOLGUY200
Great discovery! :)

Posted: Thu May 12, 2016 2:33 pm
by Diatosta
If you want I can try to patch my .exe, and even include error checking if I'm able to :P

Posted: Sat May 14, 2016 4:54 am
by Kunal2045
This is quite an achievement! Amazing find guys. Since then I have been doing nothing more but cruising on New York with all three on max density. Never had this much fun.
While its great so see a patch, I'll wait for Diatosta's EXE patch. ;) Now if only the veterans were here to witness this. (Riva and Stan to name a few)

EDIT: 10 cops as maximum is fine with me. Just need to know how to do that

Posted: Sat May 14, 2016 5:34 am
by FXANBSS
Diatosta's EXE has a annoying crash, if you have over 10 cops chasing you, put 10 cops as maximun and it will fix it.


If you want more than 10 cops without crashes, then use this:
https://mmarchive.com/file_details.php?file_id=2248

The behavior of the cops are more friendly though.

Posted: Sat May 14, 2016 2:22 pm
by SuperSecret
I made a patcher (download: compiled and source code), to use it just drag and drop midtown2.exe on the program.
Since then I have been doing nothing more but cruising on New York with all three on max density. Never had this much fun.
Beware, New York is still quite unstable under certain conditions (the Heap Overruns are gone, but sometimes it just crashes with a generic "FindHeap failed" error)

Posted: Sat May 14, 2016 3:52 pm
by FXANBSS
What about merge this one?

https://www.mm2x.com/modules.php?name=Forum ... pic&t=5409

Every EXE in the universe and then make the Ultimate EXE, with no crashes.

And of course do Beta Testing, i hate the cops crash.

Posted: Sun May 15, 2016 12:49 pm
by Kunal2045
Beware, New York is still quite unstable under certain conditions (the Heap Overruns are gone, but sometimes it just crashes with a generic "FindHeap failed" error)
I haven't come across that error yet, but thanks for the heads up. Good work with the patcher btw. ;)

Posted: Mon May 16, 2016 12:23 am
by Diatosta
So I finally finished the damn .exe mod. It's my modified .exe, but with the -heapsize argument, as in Mark's. But this one includes some error checking. Like, if you try to put something lower than 32, and it'll throw you an fancy error :P

Anyway, here it is:
https://mega.nz/#!U11TUL6L!Qz7vR2AaPMi0 ... duCsan1LAM

Thanks to Mark for finding this out and by giving me some help over at Facebook :P

Posted: Mon May 16, 2016 4:11 am
by mm2mm1fan
Your guys patches worked, thanks :D

Posted: Mon May 16, 2016 8:28 am
by sajmon14
Great work :)

Posted: Tue May 17, 2016 10:45 pm
by dummiesboy
I see that Supersecret's patcher has been uploaded to the site. Great to see this tweak being brought to the general public. :)

Posted: Tue May 17, 2016 11:19 pm
by Franch88
It really had to be published and brought to the public, and more, was me who suggested the implementing of a patcher to SuperSecret, so to apply it to any Midtown2.exe file out there. :wink: