Banner
The Old-School Level Design Contest ends in
9 DAYS, 10 HOURS, 52 MINUTES AND 17 SECONDS
Views: 892,382,519
Time:
14 users online: AppleBoy54321, BlueToad, brian 693, Devazure, FenrirWolf, h.carrell, Infinity, jesus angel, Koopster,  MarioFanGamer, ScatmanJones49,  Slash Man, yoshi3706, yv64n - Guests: 40 - Bots: 134 Users: 50,065 (2,330 active)
Latest: MateoHincapie
Tip: When you're about to release your hack, make a patch first, patch it to a clean ROM, and then test that. This way, you are testing both the hack AND the patch.
Not logged in.
[Tool] LM "Addons": Layer 3 Background Editor, Visual Graphics Selector, UberASM Editor
Forum Index - Sunken Ghost Ship - C3 Museum - Summer 2014 - [Tool] LM "Addons": Layer 3 Background Editor, Visual Graphics Selector, UberASM Editor
Pages: « 1 2 3 4 5 6 7 » Link
Originally posted by Kipernal
Sorry about the crashes--I'm investigating now. Hold on a moment.


One more thing, I just tried out the Layer 3 editor, and after I made all the changes I needed, my hack crashed at the title screen (black screen, but I could still hear the title music). I'm thinking it's either a problem with Addmusic K or one of the layer 3 patches, but I'm not quite sure.
So for the people who are having problems, just to be sure: these addons require a later version of the .NET framework on Windows (I think at least version 4.5). You can download it here. Can anyone who was getting crashes try upgrading and see if that helps? It doesn't make sense that these would outright crash instead of displaying the standard .NET exception window, and that's the only thing I can think of that would cause a problem like that off the top of my head.

If this isn't the problem, I'll keep trying, though I really hope it's something simple like that, since my computer isn't showing anything weird. Sorry for the inconvenience, everyone!

Originally posted by HackerOfTheLegend
I'm thinking it's either a problem with Addmusic K or one of the layer 3 patches, but I'm not quite sure.


It might be. The Layer 3 patches and AMK might share hijacks. I'll look into it right now.
I should get a new layout.

Probably won't, though.
Oh, I am glad I wasn't the only one having issue with the add-ons crashing. Hopefully it will get fixed.

Edit: PC says I have latest .NET. I use AddMusicK and Super Status Bar. I have no clue if one of those might be causing it.

Second Edit: ASM does not crash. Layer 3 editor and GFX editor does.

--------------------
Hack Progress:
Mario and Luigi Go!!! - World 1 progress
Updating my .Net hasn't fixed anything for me. They still crash. As others were saying, only the Uberasm window works.
Originally posted by TheSlySoul
Oh, I am glad I wasn't the only one having issue with the add-ons crashing. Hopefully it will get fixed.

Edit: PC says I have latest .NET. I use AddMusicK. I have no clue if it might be causing it.

Second Edit: ASM does not crash. Layer 3 editor and GFX editor does.


Same here. Oh well, I'm sure you can fix it. I'm so looking forward to this, especially the Super GFX Bypass thing.
what the fuck is this satan magic

seriously though, this is fucking amazing, if only for the layer 3 editor. i can dig the super gfx bypass+ feature too, it would make organization a shitton easier.
i dont even know what the fuck uberasm is soooooo


seriously man, congrats, this shit is the dopest thing to come out of c3 so far
Alright.

For the people using AMK and getting ROM crashes, the patch has been updated to auto-detect AMK. Note that after using AMK you'll likely have to re-insert a background for the to work properly again for the time being.

For the people getting crashes and other bizarre things, please try using this. Do the following:

1. Copy and paste everything exactly like the other one (i.e. put the Lunar Magic stuff in the Lunar Magic folder and the ROM stuff in your ROM's folder).

2. Run the Layer 3 Background Editor.

3. If any message boxes pop up, tell me what the last one that shows says.

4. If no message boxes pop up, tell me.

5. Check inside Addons/Layer3BackgroundEditor and see if there are files called "Stack Trace.log" or "Exception.log" and if there are, please post them here. If they're really long, consider using PasteBay so your post doesn't stretch to the moon.

6. While you're in that folder, make sure it contains an EXE file (Layer3BackgroundEditor.exe) and 6 DLL files, just to make sure some rogue anti virus isn't deleting stuff.


Really hoping this'll help trace the source of these problems!
I should get a new layout.

Probably won't, though.
Huh. Two messages pop up. The first says: "Program has started" and the second says "Program verified Lunar Magic arguments." Nothing happens after that.
Followed the steps, and at the 3rd step the last message says it verified the LM arguements, followed by the standard windows program crash message. Same for the GFX Bypass. There also wasn't a Stack Trace.log or Exception.log in either of the folders. And lastly I did verify that all 6 dlls and the .exe were there.
Alright! That's simultaneously super helpful, because I know that showing the main form is causing the crash. But it's also not very, because I have no clue why this would happen, and Google isn't helping at all.

So I have two tests here. The first is the background editor, but all of its functionality is completely removed. Just copy-paste everything as before. If it "works" you should just see a completely blank form when you press the Layer 3 Background Editor button.

The second is almost literally everything removed. If even this doesn't show up, then I might be stuck.

Just let me know if at least one shows up. Both should just be completely empty forms (though the second one "blanker" than the first). If they show up, let me know, and we can work from there to try to figure out what on earth is going on.
I should get a new layout.

Probably won't, though.
The links don't work, haha.

Edit: Working now.
Aah, sorry about that! Try them now.
I should get a new layout.

Probably won't, though.
Just tried the first test and it "worked!" although I got a bunch of messages before it popped up.

Holy crap this is impresive. I had no idea you were working on these.. now I feel bad about bugging you about smwcp2 stuff. ;_;
Layout by LDA during C3.
For some reason, the first zip is telling me its corrupt when I try to extract the files. I was able to use the 2nd one though. It still doesn't show up for me but I did get log files from this one. Here's what they say respectively.

Originally posted by Stack trace.log
at Layer3BackgroundEditor.Form1..ctor(String _romPath, String romDirectoryPath, Int32 currentLevel)
at Layer3BackgroundEditor.Program.Main(String[] args)


Originally posted by Exception.log
Could not load file or assembly 'world-lib-net.dll' or one of its dependencies. The specified module could not be found.
Originally posted by Eevee
Just tried the first test and it "worked!" although I got a bunch of messages before it popped up.


Alright, great. That rules out a bunch of possibilities. If I could have you to try this one now that'd be great. It's more or less the same as before, but incrementally adding more stuff from the final version.


Originally posted by mario90
Originally posted by Exception.log
Could not load file or assembly 'world-lib-net.dll' or one of its dependencies. The specified module could not be found.


That is really really helpful! Except for the fact that its appearance no sense. But at least I know what's happening now, possibly.

So first, I guess, go to Addons/Layer3BackgroundEditor and check the properties on "world-lib-net.dll". Make sure it's 580,096 bytes.

Then, make sure the file isn't being "blocked" by anything. At the bottom of the properties window it might say something about how this file came from another computer and might be blocked to protect your safety or some other stuff like that. Turn that off if it's on.

Finally, try to run it again from Lunar Magic. If Stack trace.log or Exception.log have changed, let me know.
I should get a new layout.

Probably won't, though.
The file definitely isn't blocked, but the size is different however strangely enough. Its 708,096 bytes for me.
And it's the same two error messages as the first time, "Program has started" and the second says "Program verified Lunar Magic arguments." with nothing coming up after.
Originally posted by mario90
The file definitely isn't blocked, but the size is different however strangely enough. Its 708,096 bytes for me.


Aaah that was my fault, sorry. I measured the size of the normal DLL instead of the one I gave you. I have too many folders open right now!

But now I'm kind of running out of ideas. That error means that the program can't load world-lib-net, but that's not even in my hands. Like, that's not something that I have the program control. It does that automatically. And the file is clearly right there, so it shouldn't be having any issues.

Uh...



...



Okay, kind of grasping at straws at this point...do you have Lunar Magic installed anywhere kind of weird, like on a flash drive or somewhere where you might not have full access permissions, like in the Program Files folder?


Originally posted by Eevee
And it's the same two error messages as the first time, "Program has started" and the second says "Program verified Lunar Magic arguments." with nothing coming up after.


Interesting. I have two major suspects, then.

First, try this, which gets rid of some WinProc code.

If that works okay, then try this, which gets rid of the actual tilemap editor component.

Also, just to be sure, there are still no Stack trace.log or Exception.log files in the Addons/Layer3BackgroundEditor folder?
I should get a new layout.

Probably won't, though.
I once had similar issues when I tried to load a dll that used a earlier or older .NET version or that used another architecture set (AnyCPU, x86, x64, ...), but it's unlikely that it is this since you're using .NET 4.5

--------------------
GitHub - Twitter - YouTube - SnesLab Discord
Pages: « 1 2 3 4 5 6 7 » Link
Forum Index - Sunken Ghost Ship - C3 Museum - Summer 2014 - [Tool] LM "Addons": Layer 3 Background Editor, Visual Graphics Selector, UberASM Editor

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2021 - SMW Central
Legal Information - Privacy Policy - Link To Us


Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

  • Super Mario Bros. X Community
  • ROMhacking.net
  • Mario Fan Games Galaxy
  • sm64romhacks