PDA

View Full Version : Trying to write to the objects.package


Charity
1st Nov 2014, 2:42 PM
I was trying to clone the sandcastle from Bon Voyage using SimPE Object Workshop but it keeps trying to write to the Bon Voyage objects.package and throwing an error because I have it set to read only.

I don't know why it's trying to write to it in the first place though; has anyone experienced this and/or know how to fix it?

simsfreq
2nd Nov 2014, 4:40 PM
I can't help with why or how to stop it, but I have an idea for a workaround - duplicate the objects.package, and let it write to the duplicate, then delete it? Or duplicate, let it write. replace with clean duplicate, set back to read-only.

Nysha
2nd Nov 2014, 10:15 PM
At what point does the error happen? And what exactly does it say?

Charity
3rd Nov 2014, 11:45 AM
Copied to Clipboard:

Message:
Error while trying to open

Package: C:\Program Files (x86)\EA GAMES\The Sims 2\TSData\Res\Sims3D\Objects00.package
File: Animation Resource (FB00791E) - 72601389 - 1C0532FA - FF18BF4E

SimPE Version:
Default (0.73.44.37511).

Exception Stack:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at SimPe.Packages.PackedFile.Uncompress(Byte[] data, UInt32 targetSize, Int32 offset)
at SimPe.Packages.PackedFile.get_UncompressedData()
at SimPe.Interfaces.Plugin.AbstractWrapper.get_StoredData()
at SimPe.Interfaces.Plugin.AbstractWrapper.ProcessData(IPackedFileDescriptor pfd, IPackageFile package, Boolean catchex)

Source:
simpe.package

Execution Stack:
at SimPe.Packages.PackedFile.Uncompress(Byte[] data, UInt32 targetSize, Int32 offset)
at SimPe.Packages.PackedFile.get_UncompressedData()
at SimPe.Interfaces.Plugin.AbstractWrapper.get_StoredData()
at SimPe.Interfaces.Plugin.AbstractWrapper.ProcessData(IPackedFileDescriptor pfd, IPackageFile package, Boolean catchex)

Windows Version:
Vista

.NET Version:
2.0.50727.5485

It happens when I press clone.

leefish
3rd Nov 2014, 11:46 AM
Are you using the Ultimate Collection?

Nysha
3rd Nov 2014, 1:07 PM
Also, just so you're aware, that's a basegame file, not the BV objects.package. :)

Charity
3rd Nov 2014, 2:14 PM
No, I'm not using the UC.

And yeah, when I grabbed something to show the error I actually grabbed something else from the basegame that was also causing the error.

Nysha
3rd Nov 2014, 3:50 PM
Mkay, so:
Do you have the game, bodyshop, or another instance of SimPE running at the same time?
Just to test, what happens if you unset read-only on your installation files?
Do you have the same problem if you run SimPE as administrator?

Charity
4th Nov 2014, 1:18 AM
Is unsetting read only safe? I mean I set read only in the first place because of possible corruption by things trying to change the objects.package.

Nysha
4th Nov 2014, 11:01 AM
It's safe if all you're doing is using SimPE to try to clone something. Obviously, don't open or edit the files in SimPE while they're not read-only, and I would suggest against playing the game with them like that too.

Charity
5th Nov 2014, 11:26 AM
Mkay, so:
Do you have the game, bodyshop, or another instance of SimPE running at the same time?
Just to test, what happens if you unset read-only on your installation files?
Do you have the same problem if you run SimPE as administrator?

Okay.

No.
Same thing.
I get this running as administrator.

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at System.Drawing.Drawing2D.Matrix.get_Elements()
at System.Drawing.GraphicsContext..ctor(Graphics g)
at System.Drawing.Graphics.Save()
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.UserControl.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)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
SimPe
Assembly Version: 0.73.44.37603
Win32 Version: 0.73.44.37603
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/SimPe.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5483 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
simpe.commandline
Assembly Version: 1.0.3349.37595
Win32 Version: 1.0.3349.37595
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/simpe.commandline.DLL
----------------------------------------
simpe.splash
Assembly Version: 1.0.3349.37537
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/simpe.splash.DLL
----------------------------------------
simpe.helper
Assembly Version: 0.73.44.37511
Win32 Version: 0.73.44.37511
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/simpe.helper.DLL
----------------------------------------
simpe.package
Assembly Version: 1.0.3349.37532
Win32 Version: 1.0.3349.37532
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/simpe.package.DLL
----------------------------------------
simpe.workspace
Assembly Version: 1.0.3349.37539
Win32 Version: 1.0.3349.37539
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/simpe.workspace.DLL
----------------------------------------
simpe.interfaces
Assembly Version: 1.0.3349.37516
Win32 Version: 1.0.3349.37516
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/simpe.interfaces.DLL
----------------------------------------
pjse.SystemClasses
Assembly Version: 1.0.3349.37509
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/pjse.SystemClasses.DLL
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5485 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
NetDocks
Assembly Version: 1.0.2983.24895
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/NetDocks.DLL
----------------------------------------
SandDock
Assembly Version: 2.0.2.1
Win32 Version: 2.0.2.1
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/SandDock.DLL
----------------------------------------
simpe.resourcecontrols
Assembly Version: 1.0.3349.37593
Win32 Version: 1.0.3349.37593
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/simpe.resourcecontrols.DLL
----------------------------------------
XPCommonControls
Assembly Version: 2.2.3.4
Win32 Version: 2.2.3.4
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/XPCommonControls.DLL
----------------------------------------
graphcontrol
Assembly Version: 1.0.3349.37534
Win32 Version: 1.0.3349.37534
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/graphcontrol.DLL
----------------------------------------
AdvancedForms
Assembly Version: 1.0.2983.24897
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/AdvancedForms.DLL
----------------------------------------
simpe.names
Assembly Version: 1.0.3349.37572
Win32 Version: 1.0.3349.37572
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/simpe.names.DLL
----------------------------------------
simpe.scenegraph
Assembly Version: 1.0.3349.37561
Win32 Version: 1.0.3349.37561
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/simpe.scenegraph.DLL
----------------------------------------
bidou.career.plugin
Assembly Version: 1.0.3349.37620
Win32 Version: 1.0.3349.37620
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/Plugins/bidou.career.plugin.dll
----------------------------------------
simpe.commonhandler
Assembly Version: 1.0.3349.37523
Win32 Version: 1.0.3349.37523
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/simpe.commonhandler.DLL
----------------------------------------
optional.simpe.3d.plugin
Assembly Version: 1.0.3349.37609
Win32 Version: 1.0.3349.37609
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/Plugins/optional.simpe.3d.plugin.dll
----------------------------------------
pjBodyMeshTool.plugin
Assembly Version: 2.0.3349.37597
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/Plugins/pjBodyMeshTool.plugin.dll
----------------------------------------
pjHoodTool.plugin
Assembly Version: 2.1.3349.37599
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/Plugins/pjHoodTool.plugin.dll
----------------------------------------
pjse.coder.plugin
Assembly Version: 4.0.3349.37576
Win32 Version: 4.0.3349.37576
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/Plugins/pjse.coder.plugin.DLL
----------------------------------------
pjOBJDTool.plugin
Assembly Version: 2.1.3349.37598
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/Plugins/pjOBJDTool.plugin.dll
----------------------------------------
pjObjKeyTool.plugin
Assembly Version: 2.1.3349.37596
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/Plugins/pjObjKeyTool.plugin.dll
----------------------------------------
pjse.updatetool
Assembly Version: 4.0.3349.37571
Win32 Version: 4.0.3349.37571
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/Plugins/pjse.updatetool.DLL
----------------------------------------
pjse.localisation
Assembly Version: 4.0.3349.37570
Win32 Version: 4.0.3349.37570
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/Plugins/pjse.localisation.DLL
----------------------------------------
pjse.filetable.plugin
Assembly Version: 4.0.3349.37572
Win32 Version: 4.0.3349.37572
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/Plugins/pjse.filetable.plugin.dll
----------------------------------------
pjse.guidtool.plugin
Assembly Version: 4.0.3349.37600
Win32 Version: 4.0.3349.37600
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/Plugins/pjse.guidtool.plugin.dll
----------------------------------------
pjse.Wants.plugin
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/Plugins/pjse.Wants.plugin.dll
----------------------------------------
simpe.bhav.plugin
Assembly Version: 1.0.3349.37606
Win32 Version: 1.0.3349.37606
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/Plugins/simpe.bhav.plugin.dll
----------------------------------------
simpe.filehandler
Assembly Version: 1.0.3349.37548
Win32 Version: 1.0.3349.37548
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/simpe.filehandler.DLL
----------------------------------------
simpe.dockbox.plugin
Assembly Version: 1.0.3349.37617
Win32 Version: 1.0.3349.37617
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/Plugins/simpe.dockbox.plugin.dll
----------------------------------------
NewHexEdit
Assembly Version: 1.0.3349.37594
Win32 Version: 1.0.3349.37594
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/NewHexEdit.DLL
----------------------------------------
simpe.downloads.plugin
Assembly Version: 1.0.3349.37615
Win32 Version: 1.0.3349.37615
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/Plugins/simpe.downloads.plugin.dll
----------------------------------------
simpe.cache
Assembly Version: 1.0.3349.37536
Win32 Version: 1.0.3349.37536
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/simpe.cache.DLL
----------------------------------------
simpe.ngbh.plugin
Assembly Version: 1.0.3349.37580
Win32 Version: 1.0.3349.37580
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/Plugins/simpe.ngbh.plugin.dll
----------------------------------------
simpe.ngbh.scanner.plugin
Assembly Version: 1.0.3349.37612
Win32 Version: 1.0.3349.37612
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/Plugins/simpe.ngbh.scanner.plugin.dll
----------------------------------------
simpe.scanfolder.plugin
Assembly Version: 1.0.3349.37591
Win32 Version: 1.0.3349.37591
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/Plugins/simpe.scanfolder.plugin.DLL
----------------------------------------
simpe.scenegrapher.plugin
Assembly Version: 1.0.3349.37605
Win32 Version: 1.0.3349.37605
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/Plugins/simpe.scenegrapher.plugin.dll
----------------------------------------
simpe.toolbox.plugin
Assembly Version: 1.0.3349.37587
Win32 Version: 1.0.3349.37587
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/Plugins/simpe.toolbox.plugin.dll
----------------------------------------
simpe.workshop.plugin
Assembly Version: 1.0.3349.37583
Win32 Version: 1.0.3349.37583
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/Plugins/simpe.workshop.plugin.dll
----------------------------------------
simpe.extfilehandler
Assembly Version: 1.0.3349.37558
Win32 Version: 1.0.3349.37558
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/simpe.extfilehandler.DLL
----------------------------------------
simpe.wizardbase
Assembly Version: 1.0.3349.37578
Win32 Version: 1.0.3349.37578
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/simpe.wizardbase.DLL
----------------------------------------
simpe.clst
Assembly Version: 1.0.3349.37528
Win32 Version: 1.0.3349.37528
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/simpe.clst.DLL
----------------------------------------
simpe.sims
Assembly Version: 1.0.3349.37566
Win32 Version: 1.0.3349.37566
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/simpe.sims.DLL
----------------------------------------
simpe.3idr
Assembly Version: 1.0.3349.37553
Win32 Version: 1.0.3349.37553
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/simpe.3idr.DLL
----------------------------------------
simpe.rcol
Assembly Version: 1.0.3349.37543
Win32 Version: 1.0.3349.37543
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/simpe.rcol.DLL
----------------------------------------
simpe.gmdc.exporter.base
Assembly Version: 1.0.3349.37556
Win32 Version: 1.0.3349.37556
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/simpe.gmdc.exporter.base.DLL
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 8.0.0.0
Win32 Version: 8.0.50727.5483 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
simpe.geometry
Assembly Version: 1.0.3349.37538
Win32 Version: 1.0.3349.37538
CodeBase: file:///C:/Users/Kirsty/Desktop/SimPe_0_73_44-QA/simpe.geometry.DLL
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.