PDA

View Full Version : [S3PE]VPXY editing bugs


Raven Shadow
2nd Feb 2010, 03:34 AM
I'm using S3PE 0912-13-1729 to try and edit the bounding box on the school
house and have run head first into the following problems.

The grid will not display the bound box data, instead it shows
"Specified argument was out of the range of valid values"
for 6 entries under that header.
The As Array tree for it says there are (Array: 0x135) entries, yet everyone
has "S3PIDemoFE.AsHexCTD" instead of a value.

The VPXY editor will display the bounding box entries, but will not let me change them ( meaning the values revert to the original if I "save" out
of it and renenter it.)

The parts list in the editor mis numbers the list , it skips from line 6 to line 7.
If I select line 6 (so the arroww moves to it) and click the down arrow,
line 6 will be renumbered to line 7 & the #6 will be missing.
If I then click the up arrow, it will remain numbered as line 7, and
lines below it become mis numbered, clicking up 2x then down will get
it renumbered to 6, but the numbering scheme below it gets even more messed up.



If i select line 8 (while the #7 is missing ) it crashes.
the error reason is "Input string was not in a correct format"
The details button lists :

************** Exception Text **************
System.FormatException: Input string was not in a correct format.
at System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at s3pe_VPXY_Resource_Editor.MainForm.RenumberTLP()
at s3pe_VPXY_Resource_Editor.MainForm.btnMoveDown_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)




I understand that the S3PIDemoFE.AsHexCTD is a issue with S3PI that may
not get fixed for a while, I'd just really really, like to be able to edit
the bounding boxes of the rabbit holes.

Delphy
2nd Feb 2010, 07:36 AM
You can always try using my VPXY editor, available seperately (check my profile) to see if that has the same issue with bounding box VPXYs.

Inge Jones
2nd Feb 2010, 08:25 AM
RavenShadow I had discovered this bug just a few days ago, and we're investigating. Thanks for the report, and in the meantime follow Delphy's suggestion :D

Raven Shadow
3rd Feb 2010, 02:31 AM
Thanks , Ill try it out.
Does it handle footprints with more then 4 points?
The school has ( I believe) 16

Raven Shadow
6th Feb 2010, 05:39 PM
Delphy's editor worked on the vpxy with no errors, but the game was still
applying a huge footprint, irregardless of the footprint settings in the vpxy.

TSRW rc4 was recently released, and I was able to get it to load the
school house's meshes.
It indicates that the object uses 4 xtra bounding boxes, that not even S3PE
will give me access to.the data.

A couple weeks ago I posted an error message I got using Wes' ObjectTool,
in the the tool's sticky.
Wes found that many of the rabbit holes contain unknow compressed data that he couldn't figue out.
I believe this data is probably the extra bounding box data that I need to beb able to edit.

HugeLunatic
6th Feb 2010, 05:45 PM
The footprint is contained in the FTPT resource, not the VPXY. The VPXY seems to control the bounding, but not the FTPT values. You can change the FTPT values in s3pe. I have a tutorial on that in Modding Discussion. There are two parts to each FTPT resource, so don't forget to change the main values plus those in the Closed polygon section.

Raven Shadow
6th Feb 2010, 05:57 PM
The footprint is contained in the FTPT resource, not the VPXY. The VPXY seems to control the bounding, but not the FTPT values. You can change the FTPT values in s3pe. I have a tutorial on that in Modding Discussion. There are two parts to each FTPT resource, so don't forget to change the main values plus those in the Closed polygon section.

I know.
But this data is not seen by S3PE yet.

The object contains bounding box data that S3PE does not display.
and is probably related to new compressed data Wes found in the mesh file.

ATM, I can't edit these bounding boxes, and I need to.
A way of editing or just deleting this info would be greatly appreciated.

Inge Jones
6th Feb 2010, 06:28 PM
Peter is attempting to fix the grid this weekend :)

pljones
6th Feb 2010, 07:43 PM
Grid fix identified. Hopefully we'll have a QA version out for this soon.

pljones
7th Feb 2010, 03:30 PM
OK, someone try it all out in the QA version, please. Any remaining bugs, please start a new thread.