[Tool] Prison Architect Manager (Mod & Map Installer)

(previously 'DEVELOPER') Private forum for registered community members. To register, please visit www.prison-architect.com/register.

Moderator: NBJeff

What should we implement next?

Poll ended at Fri Oct 12, 2012 9:37 am

Mod Installer
40
83%
Language Switcher
8
17%
 
Total votes: 48
Jack5500
level2
level2
Posts: 76
Joined: Tue Mar 25, 2008 9:27 pm
Location: Germany
Contact:

[Tool] Prison Architect Manager (Mod & Map Installer)

Postby Jack5500 » Thu Oct 04, 2012 9:56 pm

Image

Image


Image

Image

Update: It can now install maps & mods
Last edited by Jack5500 on Tue Nov 06, 2012 11:15 am, edited 18 times in total.
User avatar
a__gun
level3
level3
Posts: 281
Joined: Wed Sep 26, 2012 4:16 pm
Location: UK

Postby a__gun » Thu Oct 04, 2012 11:47 pm

Comes up with errors on medium and large prisons
saganator
level0
Posts: 7
Joined: Sat Sep 29, 2012 4:10 am

Postby saganator » Fri Oct 05, 2012 1:36 am

Haven't tested yet but looks cool. Someone figured out how to unstuck prisoners (http://forums.introversion.co.uk/prison ... bb24a10518), perhaps you could work that into this?
Jack5500
level2
level2
Posts: 76
Joined: Tue Mar 25, 2008 9:27 pm
Location: Germany
Contact:

Postby Jack5500 » Fri Oct 05, 2012 3:04 pm

a__gun wrote:Comes up with errors on medium and large prisons


That shouldn't happen. We tested all versions through and our code doesn#t depend on the size.
Maybe you are using an old save format, that would be the only thing I can imagine.
User avatar
a__gun
level3
level3
Posts: 281
Joined: Wed Sep 26, 2012 4:16 pm
Location: UK

Postby a__gun » Fri Oct 05, 2012 5:22 pm

An old save format? There has only been one release of the game, and that's what I'm using.
Xill
level1
level1
Posts: 11
Joined: Tue Oct 19, 2010 6:36 pm
Location: Texas
Contact:

Postby Xill » Fri Oct 05, 2012 10:38 pm

a__gun wrote:An old save format? There has only been one release of the game, and that's what I'm using.

The mac has had 3 releases.
User avatar
phees
level1
level1
Posts: 60
Joined: Fri Oct 05, 2012 4:37 pm

Postby phees » Fri Oct 05, 2012 10:53 pm

But... This is an exe, clearly made for the PC. Shouldn't it work with the current PC version? *headscratch*
Legion303
level1
level1
Posts: 59
Joined: Sat Sep 30, 2006 10:19 am

Postby Legion303 » Sat Oct 06, 2012 1:47 am

Crash here too, large area on Win7-32:

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

************** 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.ParseDecimal(String value, NumberStyles options, NumberFormatInfo numfmt)
at System.Convert.ToDecimal(String value)
at PrisonArchitectSavegameEditor.Form1.openSavegameToolStripMenuItem_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.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)
Jack5500
level2
level2
Posts: 76
Joined: Tue Mar 25, 2008 9:27 pm
Location: Germany
Contact:

Postby Jack5500 » Sat Oct 06, 2012 2:10 pm

Legion303 wrote:Crash here too, large area on Win7-32:

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

************** 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.ParseDecimal(String value, NumberStyles options, NumberFormatInfo numfmt)
at System.Convert.ToDecimal(String value)
at PrisonArchitectSavegameEditor.Form1.openSavegameToolStripMenuItem_Click(Object sender, EventArgs e)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.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)


That seems odd. Was your money a negative value?
That could have caused a crash, but it's fixed in the current version.
It'd be nice if you could try it out with recent version and provide us the
savefile when it crashes again
Jack5500
level2
level2
Posts: 76
Joined: Tue Mar 25, 2008 9:27 pm
Location: Germany
Contact:

Postby Jack5500 » Sat Oct 06, 2012 2:11 pm

a__gun wrote:An old save format? There has only been one release of the game, and that's what I'm using.


Was your money negative? Could you try again with the recent version?
User avatar
a__gun
level3
level3
Posts: 281
Joined: Wed Sep 26, 2012 4:16 pm
Location: UK

Postby a__gun » Sat Oct 06, 2012 5:23 pm

Yep same issue.
Jack5500
level2
level2
Posts: 76
Joined: Tue Mar 25, 2008 9:27 pm
Location: Germany
Contact:

Postby Jack5500 » Sat Oct 06, 2012 6:54 pm

a__gun wrote:Yep same issue.


Maybe you researched something in the save while trying to activcate another item.
That could have caused the crash. We fixed that in the most recent version.
Can you make a screencap of the error & send the save file my way?
Last edited by Jack5500 on Sat Oct 06, 2012 8:35 pm, edited 1 time in total.
Jack5500
level2
level2
Posts: 76
Joined: Tue Mar 25, 2008 9:27 pm
Location: Germany
Contact:

Postby Jack5500 » Sat Oct 06, 2012 7:42 pm

saganator wrote:Haven't tested yet but looks cool. Someone figured out how to unstuck prisoners (http://forums.introversion.co.uk/prison ... bb24a10518), perhaps you could work that into this?


Yes, we will do that, thanks!

EDIT: We've implemented that.
User avatar
eagleFMJ
level1
level1
Posts: 24
Joined: Sat Sep 29, 2012 2:09 am

Postby eagleFMJ » Sat Oct 06, 2012 8:44 pm

Jack5500 wrote:
saganator wrote:Haven't tested yet but looks cool. Someone figured out how to unstuck prisoners (http://forums.introversion.co.uk/prison ... bb24a10518), perhaps you could work that into this?


Yes, we will do that, thanks!

EDIT: We've implemented that.


Great! Will give this tool a shot, thanks!

EDIT: I tried loading a save file while in the 'Prison Settings' tab and I get an 'unhandled exception' error http://pastebin.com/W69bSxMe

EDIT 2: I figured out why I am having this issue. I tried the other 'save game tool' made my a__gun and apparently it changes the spacing in the save game file thus rendering the save game file useless with your tool. I verified this by creating a new prison/save then using your tool first and all worked fine. But with my current prison I have been building for awhile where I used that other tool first, I can not use your tool on it.

win 7 x64
.NET Framework 4.5

This tool works fine besides the above issue.
Last edited by eagleFMJ on Sun Oct 07, 2012 5:58 am, edited 1 time in total.
User avatar
a__gun
level3
level3
Posts: 281
Joined: Wed Sep 26, 2012 4:16 pm
Location: UK

Postby a__gun » Sat Oct 06, 2012 11:06 pm

Jack5500 wrote:
a__gun wrote:Yep same issue.


Maybe you researched something in the save while trying to activcate another item.
That could have caused the crash. We fixed that in the most recent version.
Can you make a screencap of the error & send the save file my way?


If there were special circumstances I would of said - I have tried this with several large maps (even brand new ones) and had an error every time.

Code: Select all

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

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at PrisonArchitectSavegameEditor.Form1.SearchSave(String savePath, String type, String firstSearchString, String secondSearchString, Int32 decimals)
   at PrisonArchitectSavegameEditor.Form1.openSavegameToolStripMenuItem_Click(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.269 (RTMGDR.030319-2600)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
PrisonArchitectSavegameEditor
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///D:/Joe/Desktop/PrisonArchitectSavegameEditor.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.278 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.282 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.269 built by: RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.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.

Return to “Community Members”

Who is online

Users browsing this forum: No registered users and 1 guest