[ Midtown Madness 2 Central ] [ Midtown Madness 2 Central ]

Midtown Madness 2 Central > General Discussion > MM2 65k vertex limit...
View previous topic | View next topic
Author
Message Post new topicReply to topic
carking1996
MM2C Too Much

Joined: 12 Aug 2009
Posts: 608
Location: United States

Status: Offline


Post subject: MM2 65k vertex limit... Reply with quote

Hey all. I think I have found out why MM2 has a 65k vertex limit.

I suspect that MM2's *.pkg format is heavily based on the *.3ds format, which Autodesk Studio DOS used before 1996. The *.3ds format has a vertex limit of 65536 vertices.

Wikipedia wrote:
* 65536 (2 ^16) is the number of different values representable in a number of 16 binary digits, also known as a short integer in many computer programming systems

* The number of vertices and polygons per mesh is limited to 65536.


Also, I must assume, that, like Driver 1, MM2 has a memory limit. This can be fixed. But only by partially reprogramming the game. This has been done by Someone972 for Driver 1. It may not be possible for MM2, though. Makes sense?
_________________
Post 31 Aug 2011 12:11 am
View user's profile Send private message Send e-mail MSN Messenger
sajmon14
One of last MM2 track makers

Joined: 10 Oct 2008
Posts: 46
Location: Poland

Status: Offline


Xbox Live Gamertag:
PS3 is better
Post subject: Reply with quote

WHoa nice find, now we need get how to edit it Razz
_________________
_________________
Member of [LTV] Clan.
Post 31 Aug 2011 08:43 am
View user's profile Send private message Visit poster's website
Midas
The PSDL Doctor

Joined: 26 Nov 2009
Posts: 62
Location: Belgium

Status: Offline


Post subject: Reply with quote

Nothing special really. The PKG file format has already been cracked by fre_ber. Didn't look into it myself though.

Each LOD can have a maximum of 4 ^ 16 (4294967296 or 0x100000000) vertices because the number of vertices is actually stored in a long integer (4 bytes), not a short integer. So this means that there is a memory leak in MM2. The PKG file supports holding more vertices though... In my opinion this shouldn't be fixed as there is no need to have more vertices.

Also if you look at the PKG spec you can see that it isn't based on 3DS at all. Wink
_________________
Post 31 Aug 2011 07:33 pm
View user's profile Send private message
HummeR
Is a failure.

Joined: 08 Aug 2010
Posts: 75
Location: Floating In Colours

Status: Offline


Post subject: Reply with quote

Riva has "beat" beat this limit before, using breakable objects, etc. And apparently C├ęsar did to, having a bus that has more than 65K on the main body. So it's not really a limit.
_________________
Buni Comic
Post 01 Sep 2011 01:00 am
View user's profile Send private message Visit poster's website
Display posts from previous: Post new topicReply to topic

Page 1 of 1 All times are GMT


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Home - MM2C.com - Contact - Staff & Seniors - FAQ - Community Rules - Syndication


Powered by phpBB © 2001, 2005 phpBB Group