ADRIFT Forum


The place to discuss the ADRIFT Interactive Fiction toolkit

Enhancement request for resetting the Runner Layout

This forum is the place to learn about and discuss ADRIFT 5. Feel free to mention any bugs you find here, but please also add these to the Bugs & Enhancements list.

Please also refer to the ADRIFT 5 Wiki for more information.

Enhancement request for resetting the Runner Layout

Postby ElliotM » Fri Dec 25, 2015 9:38 pm

I would like to suggest that a restore layout to default option be given in the developer and/or the runner so that we can nuke glitched layouts and restore default or saved custom ones to how they were originally without having to resort to deleting and renaming files, as explained below.

I'll link NickyDude's enhancement request because it sounds like a similar request to what I'm thinking. If this impacts you, please vote.
:Thanks:

The Problem: I was looking for a solution to removing old custom windows you can't reposition and found this thread. My problem was slightly different because I wasn't trying to get a window back but was trying to get rid of one I didn't want that was now stuck and unable to be closed. If I had closed the custom window while still in the runner before restarting the file where it wasn't referenced anymore, I may have been able to avoid this problem.

The Solution:
Campbell wrote:I think the only way you'll be able to get it back is to delete the layout file. In Developer, go to Options > Bibliography, and take a note of the IFID for your game. Then go to C:\Users\Lazzah\AppData\Local\CampbellWild\ADRIFT (or equivalent for your O/S) and delete the RunnerLayout-<IFID>.xml file.

When you next start up Runner, the layout should be back to the default.

The solution above didn't work for me at first, but after renaming "RunnerLayout.xml" to "RunnerLayout.xml.old" so that the runner couldn't find it anymore, I deleted all the IFID runner xml's and that fixed it. That gave me a Splash error, referenced below in the textbox, but the runner started the game anyway after I clicked continue. When it did, the problem window was interactive again and I could reposition it. After the window bug was fixed, I renamed "RunnerLayout.xml.old" back to "RunnerLayout.xml" and the splash bug disappeared, too.

adrift Code: Select all
SPLASH BUG OUTPUT
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 ADRIFT.frmRunner.SaveDataInLayoutXML(Size RunnerWindowSize, FormWindowState RunnerWindowState, SizeModeEnum PictureSizeMode)
   at System.Windows.Forms.Form.OnResize(EventArgs e)
   at System.Windows.Forms.Control.OnSizeChanged(EventArgs e)
   at System.Windows.Forms.Control.UpdateBounds(Int32 x, Int32 y, Int32 width, Int32 height, Int32 clientWidth, Int32 clientHeight)
   at System.Windows.Forms.Control.UpdateBounds()
   at System.Windows.Forms.Control.WmWindowPosChanged(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.Form.WmWindowPosChanged(Message& m)
   at System.Windows.Forms.Form.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.34209 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
run500
    Assembly Version: 5.0.34.1
    Win32 Version: 5.0.34.1
    CodeBase: file:///C:/Program%20Files%20(x86)/ADRIFT/run500.exe
----------------------------------------
WindowsBase
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34238 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34251 built by: FX452RTMGDR
    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.34270 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Infragistics4.Shared.v13.2
    Assembly Version: 13.2.20132.2098
    Win32 Version: 5.0.34.1
    CodeBase: file:///C:/Program%20Files%20(x86)/ADRIFT/run500.exe
----------------------------------------
Infragistics4.Win.Misc.v13.2
    Assembly Version: 13.2.20132.2098
    Win32 Version: 5.0.34.1
    CodeBase: file:///C:/Program%20Files%20(x86)/ADRIFT/run500.exe
----------------------------------------
Infragistics4.Win.UltraWinDock.v13.2
    Assembly Version: 13.2.20132.2098
    Win32 Version: 5.0.34.1
    CodeBase: file:///C:/Program%20Files%20(x86)/ADRIFT/run500.exe
----------------------------------------
Infragistics4.Win.UltraWinEditors.v13.2
    Assembly Version: 13.2.20132.2098
    Win32 Version: 5.0.34.1
    CodeBase: file:///C:/Program%20Files%20(x86)/ADRIFT/run500.exe
----------------------------------------
Infragistics4.Win.UltraWinStatusBar.v13.2
    Assembly Version: 13.2.20132.2098
    Win32 Version: 5.0.34.1
    CodeBase: file:///C:/Program%20Files%20(x86)/ADRIFT/run500.exe
----------------------------------------
Infragistics4.Win.UltraWinTabControl.v13.2
    Assembly Version: 13.2.20132.2098
    Win32 Version: 5.0.34.1
    CodeBase: file:///C:/Program%20Files%20(x86)/ADRIFT/run500.exe
----------------------------------------
Infragistics4.Win.UltraWinToolbars.v13.2
    Assembly Version: 13.2.20132.2098
    Win32 Version: 5.0.34.1
    CodeBase: file:///C:/Program%20Files%20(x86)/ADRIFT/run500.exe
----------------------------------------
Infragistics4.Win.v13.2
    Assembly Version: 13.2.20132.2098
    Win32 Version: 5.0.34.1
    CodeBase: file:///C:/Program%20Files%20(x86)/ADRIFT/run500.exe
----------------------------------------
zlib.net
    Assembly Version: 1.0.5.0
    Win32 Version: 5.0.34.1
    CodeBase: file:///C:/Program%20Files%20(x86)/ADRIFT/run500.exe
----------------------------------------
run500
    Assembly Version: 5.0.34.1
    Win32 Version: 5.0.34.1
    CodeBase: file:///C:/Program%20Files%20(x86)/ADRIFT/run500.exe
----------------------------------------
Microsoft.VisualBasic
    Assembly Version: 10.0.0.0
    Win32 Version: 12.0.51209.34209 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
UIAutomationProvider
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationProvider/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationProvider.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xaml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
System.Deployment
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34280 built by: FX452RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Deployment/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Deployment.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.
ElliotM
 
Posts: 1183
Joined: Tue Apr 17, 2007 8:04 pm
Location: The Midwest in the USA

Return to ADRIFT 5.0

Who is online

Users browsing this forum: No registered users and 2 guests