Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. Thank you for your support. Tom Speirs

Patreon

Game Manager crashed while saving and corrupted something.


Brutze

Recommended Posts

Hi,

The Game Manager won't read my VP XML. It appeared to crash on saving about 20-30 changes, and now has an invalid string/char exception every time it tries to read my VP XML. PinballX won't start anymore and just closes to the desktop at once.

Other XMLs for FP, PBFX2 are unaffected and are still readable in the app.

I hope the following is helpful. My OS is set to German.

BTW the VP XML file itself looks fine. I've attatched it too.

Windows 10. PBX latest install. It's been working fine.

Help.

Br

Error.PNG.626f04a7c3518b6ea394d4e709602866.PNG

Informationen über das Aufrufen von JIT-Debuggen
anstelle dieses Dialogfelds finden Sie am Ende dieser Meldung.

************** Ausnahmetext **************
System.ArgumentException: Illegales Zeichen im Pfad.
   bei System.IO.Path.CheckInvalidPathChars(String path)
   bei System.IO.Path.GetDirectoryName(String path)
   bei Game_Manager.Module1.FindFileExists(String FileNamePath)
   bei Game_Manager.Module1.FindFile(String Dir, String S, String S_Stripped, String Extension)
   bei Game_Manager.Form1.LoadSystem(String Sys, String File, String IniSysName, Boolean JustList)
   bei Game_Manager.Form1.DropSystem_SelectedIndexChanged(Object sender, EventArgs e)
   bei System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
   bei System.Windows.Forms.ComboBox.WmReflectCommand(Message& m)
   bei System.Windows.Forms.ComboBox.WndProc(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Geladene Assemblys **************
mscorlib
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.8745 (WinRel.050727-8700).
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
----------------------------------------
Game Manager
    Assembly-Version: 1.0.0.0.
    Win32-Version: 1.0.0.0.
    CodeBase: file:///C:/PinballX/Game%20Manager.exe.
----------------------------------------
Microsoft.VisualBasic
    Assembly-Version: 8.0.0.0.
    Win32-Version: 8.0.50727.8745 (WinRel.050727-8700).
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll.
----------------------------------------
System
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.8759 (QFE.050727-8700).
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll.
----------------------------------------
System.Windows.Forms
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.8745 (WinRel.050727-8700).
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.
----------------------------------------
System.Drawing
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.8745 (WinRel.050727-8700).
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
----------------------------------------
System.Runtime.Remoting
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.8745 (WinRel.050727-8700).
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Runtime.Remoting/2.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll.
----------------------------------------
Interop.VPinMAMELib
    Assembly-Version: 1.0.0.0.
    Win32-Version: 1.0.0.0.
    CodeBase: file:///C:/PinballX/Interop.VPinMAMELib.DLL.
----------------------------------------
mscorlib.resources
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.8745 (WinRel.050727-8700).
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll.
----------------------------------------
System.Web
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.8745 (WinRel.050727-8700).
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll.
----------------------------------------
System.Windows.Forms.resources
    Assembly-Version: 2.0.0.0.
    Win32-Version: 2.0.50727.8745 (WinRel.050727-8700).
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
----------------------------------------

************** JIT-Debuggen **************
Um das JIT-Debuggen (Just-In-Time) zu aktivieren, muss in der
Konfigurationsdatei der Anwendung oder des Computers
(machine.config) der jitDebugging-Wert im Abschnitt system.windows.forms festgelegt werden.
Die Anwendung muss mit aktiviertem Debuggen kompiliert werden.

Zum Beispiel:

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

Wenn das JIT-Debuggen aktiviert ist, werden alle nicht behandelten
Ausnahmen an den JIT-Debugger gesendet, der auf dem
Computer registriert ist, und nicht in diesem Dialogfeld behandelt.

 

 

 

Visual Pinball.xml

Link to comment
Share on other sites

Okay. It seems to be the VP XML that's at fault. If I remove it from the databases folder PBX starts up fine.

Would like to find the mistake. My last backup has about 100 less entries.

Hmm.

So it works fine with the old XML.

Back to the clicking?

Link to comment
Share on other sites

OK. I found the problem in the XML file...

<game name="Chicago Cubs Triple Play (Gottlieb 1985)">
        <description>Chicago Cubs &quot;Triple Play&quot; (Gottlieb 1985)</description>
        <rom></rom>
        <manufacturer>Gottlieb</manufacturer>
        <year>1985</year>
        <type>SS</type>
        <hidedmd>True</hidedmd>
        <hidetopper>True</hidetopper>
        <hidebackglass>False</hidebackglass>
        <enabled>True</enabled>
        <rating>0</rating>
    </game>

 

This entry caused the hang/crash. Not sure how it got like this. Mistype.

Well Phew. Nonetheless.

Link to comment
Share on other sites

I'm not sure why that would cause a crash. That looks like valid xml code to me. If you really want this to match the table name as it is known in IPDB, an alternate would be

Chicago Cubs &#34,Triple Play&#34, (Gottlieb 1985) and maybe that would work better.

If you don't care about matching the IPDB exactly then Chicago Cubs Triple Play (Gottlieb 1985), same as the game name tag, would definitely work. 

How far you go to identically match the IPDB depends on how much of a stickler you are for these things. 

Link to comment
Share on other sites

Thanks there. I understand, and I'm not too obsessive. :wacko:

Well. I just got done importing all my missing wheel art, flyers etc. I left this one to last. I'd been selecting the table description from the IPDB table list (Second Select option in the game manager) before seeking the art using the import feature. The inverted commas/quotation marks in the IPDB listing do seem to be the problem. I just deleted them. Now working.

I'm just glad to find the solution.I feel like Sherlock Holmes now. Ahhh- A Sherlock themed pintable? Hmm. Rathbone, Downey Jr., or Cumberbatch?

Now...PBXrecorder with 300 tables. Then I'm just playing for a month I swear!!!

Cheers guys.

Link to comment
Share on other sites

  • 2 weeks later...

Well. Alls well that ends well. Got all that done. The pbx recorder is very fine! Happy Happy.

I just noticed btw Carny that you uploaded the modded roms for haunted house.I couldn't get those to work with JPs VP9 table or the later Night mod. Is there a trick? Or is someone somewhere working on HH for VPX? That was the first pintable I ever played. An arcade in Aviemore, Scotland early 1980s. Must have been brand new. It made quite an impression on me.

Link to comment
Share on other sites

Sorry, those newer Haunted House sets are currently non-working. PinMAMEdev does not have the speech code that was created for the mod by the flipprojets team. Maybe later. For now, I would use the rom set that the table author has referenced in the script. That way you can be sure that it will play correctly. 

I seem to recall reading that somebody was looking at HH for a VPX upgrade, but I don't know. Best thing to do to jump start interest in a new project you want completed is to collect a lot of very high quality images of the playfield and plastics. Or redraw them if you are handy with a graphics program. Good resources are the biggest hurdle to getting tables upgraded.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...