Ploaj / SaveStadium

A Save Editor for Pokemon Stadium 2
7 stars 1 forks source link

Pokémon Stadium 2 German: Save file doesn't load #3

Closed IngwiePhoenix closed 3 years ago

IngwiePhoenix commented 3 years ago

A Null-exception occurs when trying to load the following save file.

I did not dump it - it was returned to me from Vintex 64 as they have repaired a cartridge I have sent them.

Could you look into this?

POKEMON STADIUM 2 [NP3D].zip

Ploaj commented 3 years ago

Are the Pokémon supposed to be like this or is the save corrupted? Does this save work in project 64?

image

IngwiePhoenix commented 3 years ago

That looks...very wrong. o.o;

I just read up on some stuff in the PkHex forum - turns out there are various n64 save formats used by different emulators. Now, the thing is, this save file is a straight dump from a real cartridge's FRAM, so you could say it's "raw". You think that might have to do anything with this weird Gengar? I mean... those stats - let alone all the levels - is... interesting. ^^;

IngwiePhoenix commented 3 years ago

BTW, here is the full exception/trace. Although it's german, you might just be able to see what it means.

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

************** Ausnahmetext **************
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
   bei SaveStadium.WinForm.GUIPokemon.SetPokemon(Pokemon pokemon)
   bei SaveStadium.WinForm.GUIParty.SetParty(Party party)
   bei SaveStadium.Main.buttonLittleCup_Click(Object sender, EventArgs e)
   bei SaveStadium.Main.openToolStripMenuItem_Click(Object sender, EventArgs e)
   bei System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   bei System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   bei System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   bei System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   bei System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   bei System.Windows.Forms.ToolStripMenuItem.ProcessCmdKey(Message& m, Keys keyData)
   bei System.Windows.Forms.ToolStripManager.ProcessShortcut(Message& m, Keys shortcut)
   bei System.Windows.Forms.ToolStripManager.ProcessCmdKey(Message& m, Keys keyData)
   bei System.Windows.Forms.ContainerControl.ProcessCmdKey(Message& msg, Keys keyData)
   bei System.Windows.Forms.Form.ProcessCmdKey(Message& msg, Keys keyData)
   bei System.Windows.Forms.Control.PreProcessMessage(Message& msg)
   bei System.Windows.Forms.Control.PreProcessControlMessageInternal(Control target, Message& msg)
   bei System.Windows.Forms.Application.ThreadContext.PreTranslateMessage(MSG& msg)

************** Geladene Assemblys **************
mscorlib
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.4300.0 built by: NET48REL1LAST_C.
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll.
----------------------------------------
SaveStadium
    Assembly-Version: 1.0.0.0.
    Win32-Version: 1.0.0.0.
    CodeBase: file:///D:/Pok%C3%A9mon/SaveStadium/SaveStadium.exe.
----------------------------------------
System.Windows.Forms
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.4270.0 built by: NET48REL1LAST_C.
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll.
----------------------------------------
System
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.4300.0 built by: NET48REL1LAST_C.
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll.
----------------------------------------
System.Drawing
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.4084.0 built by: NET48REL1.
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll.
----------------------------------------
System.Core
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.4300.0 built by: NET48REL1LAST_C.
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll.
----------------------------------------
System.Configuration
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.4190.0 built by: NET48REL1LAST_B.
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll.
----------------------------------------
System.Xml
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.4084.0 built by: NET48REL1.
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll.
----------------------------------------
System.Windows.Forms.resources
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.4084.0 built by: NET48REL1.
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_de_b77a5c561934e089/System.Windows.Forms.resources.dll.
----------------------------------------
Accessibility
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.4084.0 built by: NET48REL1.
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll.
----------------------------------------
mscorlib.resources
    Assembly-Version: 4.0.0.0.
    Win32-Version: 4.8.4084.0 built by: NET48REL1.
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_de_b77a5c561934e089/mscorlib.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.
Ploaj commented 3 years ago

Fixed the issue that was causing the crash.

In order to open it correctly rename extension ".fla" to ".sav" image

IngwiePhoenix commented 3 years ago

Can you push a new release?

Ploaj commented 3 years ago

The release is built automatically with every commit. You just have to redownload.