COMMON TOOL AND DEBUG.TXT ERRORSHey, I'm UnevenElefant5, and here are some helping notes for dealing with Tool errors and Debug.txt
If Sapien closes automatically after opening do this:Go to the folder you installed Halo Custom Edition in. By default it is:
C:\Program Files\Microsoft Games\Halo Custom Edition
Look for the file called debug.txt.
Open it.
Scroll down to the bottom.
Read the last paragraph.
Try to understand what it means.
If you can't then maybe these will help:
http://hce.halomaps.org/index.cfm?fid=1983http://hce.halomaps.org/index.cfm?fid=1982http://hce.halomaps.org/index.cfm?fid=1981NOTE:
Yes, a "###WARNING" is not usually fatal to your map
but a "###ERROR" usually is.
Common Geometry Errors and their Definitions:Open Edges:### ERROR edge #1394 is open
try selecting all the vertices in your map and weld to a threshold of 0.1 (or 0.01 depending on how small you are modelling)
If that doesn't work go to:
File->Import
Then click the .WRL .WRZ file type
Navigate to your Halo Custom Edition root directory.
if you saved your map before export you will see the name of your map in a .wrl file.
Import that.
If you didn't save it, then you will see either "debug" or "Untitled" import that
Now select all the error geometry and align it with your level by moving it to 0, 0, 0. and also go into the top view, then rotate it 90 degrees by dragging your cursor up.
If you imported with Chimp v1.6
http://hce.halomaps.org/index.cfm?fid=1147 then the geometry will already be aligned.
You should see a bunch of different colored faces. Select your map and delete the faces that are bad and re-make them.
Overlapping Surfaces:### ERROR couldn't build bsp because of overlapping surfaces (orange).
If you made your map using several primitives (box, cylinder) then move the primitives farther away from each other so that they are no longer intersecting.
If it's made with one object, then import the .WRL file and it will show an orange face. Delete the corresponding face on your model and re-create it so that it no longer overlaps.
### ERROR couldn't update edge #Problem: You have 2 two edges in the same place, and each of them have their own pair of vertices. Your map is using both of those faces in the model, and they didn't get welded them together, or you created an illegal face.
Solution:Try welding the vertices to a threshold of 0.1 or 0.01 depending on how small you are modelling, or if that doesn't work, convert your map to editable poly and target weld the bad verts.
### WARNING found nearly coplanar surfaces (red and green).Problem: I think this is when 2 faces are almost on top of each other, but I'm not sure.
Solution: I would guess tha deleting the face would fix it, or moving some of the vertices so that the faces are not so close together.
Degenerate TrianglesOccurs when you have a triangle that has "collapsed." A triangle has 3 points, and a degenerate triangle occurs when the topmost point of the triangle collapses and is no colinear (is that a word?) with the other 2 points.
Here is a picture I found that illustrates it:
loc: Tried to add item ui\hud\hud_icon_messages with different size (1636) than expected (1096).Problem: Means the file was bigger or smaller than expected. It will not affect the final map. Can occur with other files as well. Usually UI files related to pickup icons or strings for weapons/vehicles.
WARNING: 1 clusters in structure_bsp levels\warrens\warrens have no background sound or sound environment.Problem: Means there is no backgound sound. Will not affect final map.
You can add background sound in sapien by expanding the cluster properties option in sapien
couldn't read #108 bytes from offset #64 in local tag 'tags\sky\sky_a50\skynight0\bitmaps\sky night.bitmap'Problem: File is corrupted.
Solution: Re-rip using the
http://hce.halomaps.org/index.cfm?fid=2289 Or, if it is custom, re compile it.
the model 'vehicles\car\car' and the animation graph 'vehicles\warthog\warthog' don't match
the object 'vehicles\car\car' will not animateProblem: The node checksum lists in the .gbxmodel and .model_animation files do not match.
Solution: Open the .model_animation file and scroll to the bottom. Copy the "node checksum list" from there. Then open the .gbxmodel file and paste the value in at the top in "node checksum list"
That is the simple solution to the simple problem. It could also mean that your frames and bones are not rigged the same way as they are rigged in the animation file. If you are trying to match it to bungie's rig, then use the gbxmodel importer (http://ghost.halomaps.org/bluestreak/gbxmodel/ (right click save target as -> save it to prog files\3ds max\scripts))
Import the gbxmodel of the animation you are trying to replicate and double check all your frames.
the tag 'ui\hud\hud_icon_messages' was the wrong group type ('string_list' instead of 'unicode_string_list')Problem: The .string_list file is not in the correct format.
Solution: save it in the right format. Whichever format tool tells you. Here you would save it as "unicode_string_list"
01.04.09 19:20:15 Couldn't read map file './toolbeta.map'
01.04.09 19:20:15 crosshair element 1 for weapons\r12\r12 is not valid
01.04.09 19:20:15 file_open('tags\weapons\plasma rifle\plasma rifle.model_animations') error 0x00000002 'The system cannot find the file specified. '
01.04.09 19:20:15 couldn't open model_animations tag 'plasma rifle.model_animations'.
01.04.09 19:20:15 failed to load weapon tag 'weapons\gravity_rifle\gravity_rifle'
01.04.09 19:20:15 failed to load item_collection tag 'item collections\single weapons\gravity_rifle'
01.04.09 19:20:15 file_open('tags\weapons\plasma rifle\plasma rifle.model_animations') error 0x00000002 'The system cannot find the file specified. '
01.04.09 19:20:15 couldn't open model_animations tag 'plasma rifle.model_animations'.
01.04.09 19:20:15 failed to load weapon tag 'weapons\gravity_rifle\gravity_rifle'
01.04.09 19:20:15 failed to load item_collection tag 'item collections\single weapons\gravity_rifle'
01.04.09 19:20:15 failed to load scenario tag 'levels\warrens\warrens'
01.04.09 19:20:15 file_open('tags\weapons\plasma rifle\plasma rifle.model_animations') error 0x00000002 'The system cannot find the file specified. '
01.04.09 19:20:15 couldn't open model_animations tag 'plasma rifle.model_animations'.
01.04.09 19:20:15 failed to load weapon tag 'weapons\gravity_rifle\gravity_rifle'
01.04.09 19:20:15 failed to load item_collection tag 'item collections\single weapons\gravity_rifle'
01.04.09 19:20:15 file_open('tags\weapons\plasma rifle\plasma rifle.model_animations') error 0x00000002
'The system cannot find the file specified. '01.04.09 19:20:15 couldn't open model_animations tag 'plasma rifle.model_animations'.
01.04.09 19:20:15 failed to load weapon tag 'weapons\gravity_rifle\gravity_rifle'
01.04.09 19:20:15 failed to load item_collection tag 'item collections\single weapons\gravity_rifle'
01.04.09 19:20:15 failed to load scenario tag 'levels\warrens\warrens'
01.04.09 19:20:15
need to get the following tags:01.04.09 19:20:15 weapons\plasma rifle\plasma rifle.model_animations
01.04.09 19:20:15 weapons\plasma rifle\plasma rifle.model_animations
Problem: You are missing these tags, or they are not in the right place:
weapons\plasma rifle\plasma rifle.model_animations.
It is listed twice because 2 objects in the map require the tag to operate correctly. (I am 90% sure that is the reason it is listed twice)
Solution: Rip them with the HEK+ or move them into the right place. Here you would take the file and move it into:
tags\weapons\plasma rifle
file_read('tags\sound\sfx\weapons\weapon_anims\plasrifle_melee.sound') error 0x00000026 'Reached the end of the file. '
couldn't read #72 bytes from offset #228 in local tag 'tags\sound\sfx\weapons\weapon_anims\plasrifle_melee.sound'Problem: Again, corrupted tags.
Solution: Re-rip or re-compile them.
01.08.09 17:59:24 EAX: 0x0B173668
01.08.09 17:59:24 EBX: 0x00000001
01.08.09 17:59:24 ECX: 0x06466C84
01.08.09 17:59:24 EDX: 0x00000000
01.08.09 17:59:24 EDI: 0x0012E3F8
01.08.09 17:59:24 ESI: 0x00000000
01.08.09 17:59:24 EBP: 0x0012E2D0
01.08.09 17:59:24 ESP: 0x0012E2C0
01.08.09 17:59:24 EIP: 0x7C90EB94, C3 8D A4 24 ?????
01.08.09 17:59:24 EXCEPTION halt in \halopc\haloce\source\tag_files\tag_groups.c,#3157: #3 is not a valid animation_block index in [#0,#3)Problem: Something is wrong with a .model_animation file. It is probably one you modified.
Solution: Just delete the one you modified and redirect any tags referencing it to new directories.
This could be caused by extracting the scorpion or monitor (343 guilty spark) tags using the HEK+. It has a known issue with these tags. I believe these tags are available on halomaps, but if not the only way to get them back is to reinstall the HEK. Make sure you back up your tags folder if you have modified default tags.
garbage collection warning (60 slots free)Problem: I think this means that you have too many .garbage files being placed in the scenario. Not fatal to your map.
Solution: Get rid of some. Not sure how though, never messed around with .garbage files.
01.08.09 18:00:51 ### WARNING camera went below atmosphere-dominant fog planeProblem: This happened when I went underwater in the c10 scenario (343 Guilty Spark) I think it just means that you are underneath the fog layer. Not fatal to your map.
two fog planes intersected in a cluster (see black in error geometry).Problem: You have two planes with the symbol "$" and they are intersecting across planes.
Solution: When using the name "water!$" the plane you make must be a perfect plane. If you want the water plane to bend and flow up and down, more like a river, name it "timberland_waterfall!" You cannot have a nonplanar fog plane in your map.
crosshair element 1 for weapons\r12\r12 is not validProblem: In the .weapon_hud_interface tag you have the "sequence index" field for the crosshair set to a number higher than the amount of crosshair bitmaps. For example, you make a new crosshair bitmap with one picture on it. Then you must set the "sequence index" value to 0. If you have more than one, then change the numbr to whatever number you want. Remember, 0 counts as the first place, so the first picture has a sequence index of 0, the second has an index of 1, and so on.
Solution: Change it to a number that matches.
file_open('data\level\cliffhanger\models\cliffhanger.jms') error 0x00000003 'The system cannot find the path specified. 'Problem: Your tool structure command is directed to a directory that does not contain the .jms file.
Solution:If you exported your .jms to the wrong place, move it. If you haven't exported it, export it.
09.13.08 12:42:52 EXCEPTION halt in \halopc\haloce\source\physics\physics.c,#390: Problem: Something is wrong with the physics of your most recently created asset. Either your physics are messed up, or your collision geometry is messed up.
Solution: Re-create both of them.
03.04.09 11:10:29 EAX: 0xFFFFFFFE
03.04.09 11:10:29 EBX: 0x001B2701
03.04.09 11:10:29 ECX: 0x0012F128
03.04.09 11:10:29 EDX: 0x000002CC
03.04.09 11:10:29 EDI: 0x0012F128
03.04.09 11:10:29 ESI: 0x00000000
03.04.09 11:10:29 EBP: 0x0012F000
03.04.09 11:10:29 ESP: 0x0012EFF0
03.04.09 11:10:29 EIP: 0x77C59A94, C3 8D A4 24 ?????
03.04.09 11:10:29 EXCEPTION halt in .\intermediate_geometry.c,#444: triangle->material_index>=0 && triangle->material_index<old_material_countProblem:The problem is not exactly specified, but the word material appears several times. The textures in your map are obviously bad or out of order.
IE:
1
3
2
Solution:Re-order your materials so they are numerically correct. Make sure all your faces have a material applied to them. Or completely re-do the materials.
Quote: --- Original message by: l283023Solution:Re-apply materials to your model. Click the Face button

under Editable Mesh. Select all (Ctrl+A). Scroll down to Surface Properties, and Set ID to your material.
Quote: --- Original message by: l283023C:\Program Files\Microsoft Games\Halo Custom Edition>tool model it
Couldn't read map file './toolbeta.map'
### it.jms
### ERROR the marker '(null)' looks like garbage.
### ERROR failed to import geometry 'it.jms'.Problem:Your geometry has been mistaken as a marker.
Solution:Give a name to your material.

### ERROR can't extract sprites without a valid plateProblem: Usually means that you didn't make a blue border around your bitmap.
Solution: Select a 1 pixel wide border area and color it with pure blue. (0, 0, 255)
03.13.09 14:44:49 ESI: 0x00000000
03.13.09 14:44:49 EBP: 0x0012EEB0
03.13.09 14:44:49 ESP: 0x0012EEA0
03.13.09 14:44:49 EIP: 0x7C90E4F4, C3 8D A4 24 ?????
03.13.09 14:44:49 EXCEPTION halt in \halopc\haloce\source\hs\hs_compile.c,#306: tell matt that somebody failed to correctly report a parsing error.Problem: Occurs when hud messages are not compiled correctly.
Solution: Don't know the solution to this one, please post if you know it.General Advice:Quote: --- Original message by: Maniac1000
Change the Weld threshold to 0.01 instead of 0.1 because if you are working on something small or with high detailed parts you will mess the model geometry.
also include these things
Quote: --- Original message by: Koo294To find open edges (Why no-one seems to use this I'll never know):

Also, the .wrl can be used for almost anything, so use it wisely.
Edited by Koo294 on Apr 9, 2009 at 01:06 PM If you actually take the time to read and try to understand what Debug.txt and Tool tell you, you can even fix horrendously big problems.
Anyway, that's all I can add right now, if any of you guys have something to add, just post it here and I'll edit it into my first post :)
Edited by UnevenElefant5 on Apr 8, 2009 at 07:40 PMEdited by UnevenElefant5 on Apr 12, 2012 at 03:51 PMEdited by UnevenElefant5 on Apr 12, 2012 at 03:52 PMEdited by UnevenElefant5 on Apr 12, 2012 at 04:18 PM