Giter VIP home page Giter VIP logo

z64utils's People

Contributors

angheloalf avatar dragorn421 avatar random06457 avatar skawo avatar thar0 avatar tom-overton avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

z64utils's Issues

Can't open a lone zobj properly without opening a rom first

Someone who isn't me had an issue viewing a single .zobj until they opened a rom

error trace:

Consultez la fin de ce message pour plus de détails sur l'appel du débogage
juste-à-temps (JIT) à la place de cette boîte de dialogue.

************** Texte de l'exception **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at Z64.Forms.SkeletonViewerForm..ctor(Z64Game game, Int32 curSegment) in D:\Z64Utils\Z64Utils\Forms\SkeletonViewerForm.cs:line 75
   at Z64.Forms.ObjectAnalyzerForm.openSkeletonViewer() in D:\Z64Utils\Z64Utils\Forms\ObjectAnalyzerForm.cs:line 679
   at Z64.Forms.ObjectAnalyzerForm.listView_map_DoubleClick(Object sender, EventArgs e) in D:\Z64Utils\Z64Utils\Forms\ObjectAnalyzerForm.cs:line 176
   at System.Windows.Forms.Control.OnDoubleClick(EventArgs e)
   at System.Windows.Forms.ListView.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)

this puts the error at
https://github.com/zeldaret/Z64Utils/blob/v2.2.1/Z64Utils/Forms/SkeletonViewerForm.cs#L75

or in master at:

_renderer.Memory.Segments[4] = F3DZEX.Memory.Segment.FromBytes("gameplay_keep", game.GetFileByName("gameplay_keep").Data);

It gave me the hint to suggest loading a rom before opening the zobj
And that worked

So there should be a check to not try to load gkeep if it's not available (no rom loaded)

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.