Skip to content
This repository has been archived by the owner on Nov 26, 2022. It is now read-only.

SDAT Info section issue #45

Open
JeanHenriqueAlves opened this issue Jun 24, 2016 · 0 comments
Open

SDAT Info section issue #45

JeanHenriqueAlves opened this issue Jun 24, 2016 · 0 comments

Comments

@JeanHenriqueAlves
Copy link

I'm using Tinke 0.9.0.0, when I click the Info section after I open a .sdat file, it gives the following error:

System.OverflowException: The value was too large or too small for an unassigned byte.
in System.Decimal.ToByte(Decimal value)
in SDAT.InfoForm.numericPLAYER_ValueChanged(Object sender, EventArgs e)
in System.Windows.Forms.NumericUpDown.OnValueChanged(EventArgs e)
in System.Windows.Forms.NumericUpDown.set_Value(Decimal value)
in SDAT.InfoForm.ReadRecord(Int32 page)
in SDAT.InfoForm.ReadInfo()
in SDAT.InfoForm..ctor(Info info)
in SDAT.iSDAT.btnInfoSect_Click(Object sender, EventArgs e)
in System.Windows.Forms.Control.OnClick(EventArgs e)
in System.Windows.Forms.Button.OnClick(EventArgs e)
in System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
in System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
in System.Windows.Forms.Control.WndProc(Message& m)
in System.Windows.Forms.ButtonBase.WndProc(Message& m)
in System.Windows.Forms.Button.WndProc(Message& m)
in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
in System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

I'm trying to edit the .sdat of an english Pokémon HeartGold ROM. If I click continue, and click again on the button, it opens the info section normally, but after I make my changes and click 'Accept', the 'Save SDAT' button does not save any changes. Sometimes, clicking this button crashes the ROM.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant