Giter Site home page Giter Site logo

gsmagic's People

Contributors

adituv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

gsmagic's Issues

Crashing when opening "Editors"

I'm really excited about this tool but can't get it to work! When opening "Editors" using a Golden Sun rom (not TLA) it will crash with this error:
System.IndexOutOfRangeException
HResult=0x80131508
Message=Index was outside the bounds of the array.
Source=gsmagic
StackTrace:
at gsmagic.Bits.getInt32(Byte[] buffer, Int32 pos) in C:\Users\trevyn\git\gsmagic!Static\Bits.cs:line 56
at gsmagic.Comp.decompText(Byte[] src) in C:\Users\trevyn\git\gsmagic!Static\Comp.cs:line 374
at gsmagic.Editors.Editors_Load(Object sender, EventArgs e) in C:\Users\trevyn\git\gsmagic\Editors.cs:line 25
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.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.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

I pulled down the code and I'm trying to run it locally, and it crashes at the same line for the same reason.
It's trying to get a position on the buffer that's out of bounds because the buffer isn't long enough.

for reference:
buffer = byte[8388608], pos = 1532470256

Would love any help! :)

how is it used?

I was looking for an editor for golden sun and I came across this, but since I don't know anything about programming I don't know how to use it xd
Do I have to download any program? I want to learn how to use it but I'm new :(

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.