11 March 2016 - Forum Rules
Started by ShadowOne333, October 01, 2014, 03:47:33 PM
Quote from: FAST6191 on October 01, 2014, 04:49:19 PMShort version. Looking at the script then not really, it would be a full hack in which you need to find a hacker versed in the NES, and probably lua as well.I am sure I could make a lua script that could be converted into a normal ROM hack with relative ease, however that one seems to have a fair bit of logic layered on top of simple reads and writes, indeed several full on if, while and other loops are in there. Now a lot of that does look like bounds/sanity checking but not all of it. I would certainly be thrilled to have something like that when setting about a hack, not least of all because I could probably port functions into the game and then have the script take care of the rest/help check, but you are not going to get an easy in.
-- -- Lots of hours? Just peg it at 99:59:59 -- if hours > 99 then hours = 99 minutes = 59 seconds = 59 end
Quote from: ShadowOne333 on October 01, 2014, 03:47:33 PMI ask this because my main emulator for NES roms is not compatible with LUA scripts
Quote from: FAST6191 on October 01, 2014, 06:16:41 PMSimple IFs are not so bad but having to crowbar in a bunch of loops of various forms, and they get reasonably extensive at that, would be less than fun to asm hack into a NES game. This script is certainly not a "someone made a custom palette but could not be bothered to locate and alter the palette in the game proper" type lua script, or even a basic cheat that you might be able to put a little loop/hook in for and use it to hold the memory location changed by the cheat.In that script a lot of the loops looked like they did more in the way of sanity and bounds checking, absolutely fantastic to have in code and I would encourage every coder to have them in basically all code until they can demonstrate they do not need it in a given instance. Embedded devices, much less adding to existing code running closer than not to the limits of the embedded device, would be one of those exceptions though. That means you could skip some of these checks out if you could be reasonably sure your code would not cause errors, for instanceCode Select Expand-- -- Lots of hours? Just peg it at 99:59:59 -- if hours > 99 then hours = 99 minutes = 59 seconds = 59 endThat is not really all that necessary to hack that in, it was presumably simple enough (you have the entire code, and some comments on it, right there after all) but when rendered as ASM you might have some fun trying to get it in there. Such a thing is not an isolated incident within that script either.
Quote from: Jorpho on October 01, 2014, 07:47:52 PMSo... Why not use another NES emulator?
QuoteMy Wii U is my complete gaming machine for all my library and consoles I have so far, that's why I have everything in there.
Quote from: Grimlock on October 10, 2014, 12:45:50 AMYou can get a lot of metroidy information at the "metroid construction" forum.http://forum.metroidconstruction.com/index.php
Quote from: Gideon Zhi on November 05, 2014, 07:51:59 PMThe issue is that the lua basically just draws on top of the emulator view; the game itself remains unchanged. It adds functionality directly through the emulator, but it doesn't add it to the game.
Quote from: SpiderWaffle on November 10, 2014, 05:05:34 PMYa I'm pretty sure that's essentially how his LUA script works, snarfblam has been pretty good with communication in past if you wanted to find out more. Let me how this is going, I'm really interested in metroid hacking, snarfblam has really made some great tools.
Quote from: gravity on November 12, 2014, 01:44:31 AMHe's the author of Editroid and the Metroid Plus hack.I'd be very interested in seeing a LUA capable NES port on the Wii myself. I have an old CRT tv with a much bigger screen than my LCD monitor, and I simply find myself enjoying NES/SNES era console games on there via the Wii more than when I play them on pc.
Page created in 0.073 seconds with 19 queries.