Page 1 of 3

ATI-Rage Edition geometry

Posted: Fri Nov 14, 2008 10:22 am
by Col.Kell
I'm a bit curious, I was looking at the differences in the ATI-Rage edition geometry as compared to the regular, and saw this:

Look at this 2.0KB Gargoyle head from the regular PRJ...
Untitled2.png
Untitled2.png (35.39 KiB) Viewed 14645 times

As compared to this 18KB Gargoyle head!
Untitled1.png
Untitled1.png (35.33 KiB) Viewed 14643 times
This is just about what all the geometry in the ATI-Rage PRJ looks like, it is much larger in data size and it looks all scrambled. I'm not sure why it looks like that exactly, maybe the ATI graphics card this ran on "translated" these polygons into actual shapes? I just thought you'd like to see that.

Re: ATI-Rage Edition geometry

Posted: Sat Nov 15, 2008 2:27 pm
by Skyfaller
Thanks for telling me.

Sorry, I haven't spent much time on the 3D enhanced versions. I'm getting the same effect with the Matrox and 3DFX versions.

I'll get back to it later.

Re: ATI-Rage Edition geometry

Posted: Sun Nov 16, 2008 2:35 am
by Skyfaller
Oh, one more thing: could please tell me where MW2.PRJ is located on the ATI Rage CD (root directory on the CD) and its size?
That way, I'll at least be able to detect it ...

Re: ATI-Rage Edition geometry

Posted: Sun Nov 16, 2008 11:49 am
by Skyfaller
I've been able to tweak the existing load algorithm to handle the 3DFX and Matrox versions of Mw2:31stCC as well. If things go as planned, I'll be able to test it with MW2:Mercs 3DFX next weekend, but I don't have the ATI edition yet.

I am impressed with the added detail found in these editions. The screenshot below shows the 3DFX models in the top row, and the DOS models for reference below.

If you post gg1_head.wtb, I can check if the algorithm works as supposed with the ATI edition.

Re: ATI-Rage Edition geometry

Posted: Sun Nov 16, 2008 12:18 pm
by Col.Kell
:shock:
Awesome.

Okay, Skyfaller, I'll get you a GG1_HEAD.WTB (and maybe some additional WTBs) from both the regular PRJ and the ATI-3D Rage Edition PRJ, and I'll provide specs on the ATI PRJ.

(/me rushes to the Vista, Flashdrive and all. :lol: )

Re: ATI-Rage Edition geometry

Posted: Sun Nov 16, 2008 1:02 pm
by Col.Kell
Here you are Skyfaller, a .zip with samples of PRJ geometry:
ATI_WTBs.zip
(33.04 KiB) Downloaded 857 times
the files that have "_REG.WTB" in them are WTB's from the regular PRJ, the ones that are "_ATI.WTB" are the ATI-Rage Edition WTB's.

The ATI PRJ is located directly in the CD's main dirctory, it is in no subfolders. (e.g., if your CD drive is D:\ then the PRJ is "D:\MW2.PRJ".) The size of the ATI PRJ is 46,409 KBs, which is more than twice the normal one.

Lemme know if you have any more requests or questions.
Off to my plt1.bwd project! Away!

Re: ATI-Rage Edition geometry

Posted: Sun Nov 16, 2008 1:39 pm
by Skyfaller
Thanks for the fast reply.
Col.Kell wrote:the files that have "_REG.WTB" in them are WTB's from the regular PRJ, the ones that are "_ATI.WTB" are the ATI-Rage Edition WTB's.
The regular files are apparently those in the DOS version. The ATI files are identical to the 3DFX edition files and display fine. Only in the last file, there may be a superfluous polygons ...
Col.Kell wrote:The ATI PRJ is located directly in the CD's main dirctory, it is in no subfolders. (e.g., if your CD drive is D:\ then the PRJ is "D:\MW2.PRJ".) The size of the ATI PRJ is 46,409 KBs, which is more than twice the normal one.
This helps, but the exact size in bytes would help even more ...
Col.Kell wrote:Off to my plt1.bwd project! Away!
Kapla! Oh, wrong franchise ...

Re: ATI-Rage Edition geometry

Posted: Sun Nov 16, 2008 1:47 pm
by Col.Kell
In exact size, the ATI PRJ is 46,409,421 bytes.

P.S., what is this algorithm you are converting? I'd like to get a feel for the bigger better geometry in gameplay.

Re: ATI-Rage Edition geometry

Posted: Sun Nov 16, 2008 2:16 pm
by Skyfaller
Thanks.

What do you want to know about the algorithm? If you can read C++, it's located in MechWarriorIIPRJ.cpp, MechWarriorIIPRJ::loadMesh. The new version differs from the old mostly in a few constants.

Re: ATI-Rage Edition geometry

Posted: Sun Nov 16, 2008 8:31 pm
by Col.Kell
What I mean is this; what minor "tweeks" do you do to the algorithm in order to properly display the ATI geometry?

And, sadly, no. I am illiterate in the C++ field. But fortunetly, the hex editor I am using is strong and powerful, it has the ability to make C++ easy-to-read, all it does is display empty hex digits as "00" on both sections of the hexedit window, but, it's somehow supposed to make it easy to read.
I could preform an automated search for these locations you are discribing, but I'll shoot you back a post if I need some more help.