Sure, I think I can
So there's two programs. Bf2MeshCheck (New), and BfMeshView. One for finding errors, and the other one the fixer.
Link:
ByteHazard's BF Tools (Didn't realize it has a .DDS Checker & BF2 Lightmap Deleter!)
Bf2MeshCheck 1.0.0 and BfMeshView.
To use both programs and make them work:
1. Right-Click on
'meshcheck.exe' and click 'Properties'
2. At the far-bottom, you should see 'Attributes'. You should see a warning, saying 'This file comes from another computer.' Press Unblock.
3. Run as Admin
For the Mesh Viewer, do the same.
Mesh Check is awesome because it scans. checks for duplicate col's and errors, and allows you to double-click on it to fix it. Really cool stuff!
Now, to use Bf2Mesh View, open it up.
We want to configure it to first point to the mod directory.
Before we start, we need to extract the files we need to modify from .zip. Any type of BF2 Tools most likely doesn't support archiving, so you need to extract the files so that they can be read.
So, 1. Go to the content folder on 'pr_edit'
"C:\Program Files\Origin Games\Battlefield 2 Complete Collection\mods\pr_edit\content"
2. Extract 'Object_Statics_Client' to the objects (as a folder)
Now we are ready to configure it.
1. Go to Options, Preferences.
Here, we have the Mod/Texture Paths section. We want to add our mod, which in this case is PR (Project Reality).
2. Click 'Add...' and go to your mod directory, and select 'pr_edit'.
Now we want to setup associations. It's located beneath, and it's not hard to figure this part out
At the far-bottom, under Miscellaneous, you can allow it to maximize (fill up the screen) on start, and change the color of the stage.
Finally, go back to the program, and go to 'Options'. Select 'Load Textures', 'Load Samples' and 'Load Con', then click 'Remember Settings'.
It can both crash sometimes, and be stubborn, so I try to run it on XP Mode SP3 for best compatibility.
To use Bf2 Mesh Check.
1. Open up the 'pr_edit mod' folder, go to contents, go to your extracted archive folder and copy the directory from explorer
2. Paste to 'Mod Path' box
Use normal scan for best results.
Now to go through Errors and their meanings
Code: Select all
[list=1]
[*][size=125]NaNs[/size]
[b]Meaning:[/b] Bad Vertices. The number next to Nan is the number of Vertices that needs fixing.
[b]How to fix:[/b] Double-click it, and then go to 'Tools', then 'Fix Mesh'. Go to File -> Save, and click 'Yes' to replace.
[*][size=125]duplicate: GEOM LOD1[/size]
[b]Meaning:[/b] There's a duplicate lod with the same image file. Next to it shows which one it is.
[b]How to fix:[/b] Double-click it, and then look at the col's, and right-click the duplicate number (Whatever on the error) and click on delete. Go to File -> Save to save.
[*][size=125]polycount: GeomX LODX[/size]
[b]Meaning:[/b] Too many polygons on a mesh
[b]How to fix:[/b] Reduce the polygons with a modelling program, eg: 3dsmax 2009.
[*][size=125]drawcalls: GeomX LODX[/size]
[b]Meaning:[/b] High Draw Call.
[b]How to fix:[/b] Cull the Draw Calls. Reduce unnecessary draw calls like pixel lights etc
[*][size=125]mixup: GeomX LODX/Polycount: GeomX LODX[/size]
[b]Meaning:[/b] Different Models for the same mesh? Not sure and also polycount is high
[b]How to fix:[/b] Delete any mesh that's different from the original and reduce polycount
[/list]
When I see if a mesh is fixed, I click on 'Start' again to make sure the issue disappeared.
I believe that fixing Static Meshes + Removing Useless Networkables (Some, the ones that are needed for clients to see etc - With testing obviously) + Fixing .dds dimensions (^2) & saving mipmaps + .Con and .Tweak tweaking = Huge Performance Boost and Stability! I already tried out the fixes that removes the bad vertices and duplicates (Not all of them), and I notice a difference.
Though I've yet to fully complete all of them, and run a benchmark, I believe this will be the end of performance issues and instability.