Cat 02 / types / MRUValue.pck

The place to discuss scripting and game modifications for X²: The Threat.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

Seawolfe
Posts: 637
Joined: Thu, 18. Mar 04, 19:44
x3tc

Cat 02 / types / MRUValue.pck

Post by Seawolfe »

There seems to be a problem with my file as it will not decompress. I have tried it with x2modder and x2tool .. both give an error.

X2modder:
ystem.IndexOutOfRangeException: Index was outside the bounds of the array.
at X2Modder.MainForm.Decompress_PCK(String file_name)
at X2Modder.MainForm.Button3_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.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)



X2tool:
C:\Temp\x2modder\02\types>"d:\Simulation\X2 - Modkit\x2tool.exe" -unpack MRUValues.pck MRUValues.txt
X_Unpack: Error in getting compression type
error: can not unpack (file not found?]

this is the only file I have problems with. I unpacked a known good (backed up before I started playing with files) 02.dat file to make sure .. but I still have the problem.

Anyone know of this or had the same problem?

I am running with the 1.3 patch.
Seawolfe

-------------

"Consequences, shmonsequences, as long as I'm rich" - Daffy Duck
User avatar
Burianek
Posts: 2981
Joined: Mon, 29. Dec 03, 03:29
x3tc

Post by Burianek »

do you know what that file contains? maybe it's not meant to be unpacked.
"Nature's first green is gold" . . . stay golden.
Seawolfe
Posts: 637
Joined: Thu, 18. Mar 04, 19:44
x3tc

Post by Seawolfe »

Well .. it depends on if it is the same as the MRUValues.pck file in Cat 4.

That one decompresses fine into a text file with the following entiries:

1;
/define body mru value
/ 0 low level body structs are loaded/unload on instance level. body is always freed LeaveSector()
/ 1..14 low level body structs are only unloaded when body is freed. body is freed at the <value> LeaveSector()
/ 15 low level body structs and body are only freed if story is unloaded.
/bodyid;mruvalue;


I have no idea what the MRUValues file in Cat 2 is suppose to look like.
Seawolfe

-------------

"Consequences, shmonsequences, as long as I'm rich" - Daffy Duck
kryptyk
Posts: 483
Joined: Fri, 5. Dec 03, 20:19
x4

Post by kryptyk »

AFAIK one of them doesn't have anything in it. I think the one in the 04.cat/dat actually has data and will decompress. We had this problem earlier when trying to decompress the empty one.

Return to “X²: The Threat - Scripts and Modding”