1. Introduction
Assuming you know how to hex edit and use external applications and/or command prompt in Microsoft Windows operating systems:
Wondering why you can't open certain hacks here at SMW Central? Or just want to know how to do it in the first place to protect your precious data? You clicked on the right thread.
2. Locking
Warning: This step requires or recommends backing up your ROM
First, we will cover locking your hack. In Lunar Magic, open the Overworld Editor. It's icon looks like this: When the editor is opened, type:
(Case sensitive!) The message " ChibiMoon is cute! " should appear and your Overworld Editor icon should be changed:
Close the Overworld Editor and navigate back to the main Lunar Magic instance. Type:
(Standard English Microsoft Windows keyboard used!) The Restrict Level Access by Lunar Magic (Version 1.1) dialogue box should appear:
Delete " Super Peachy World " and replace it with your hack name or whatever you want. The maximum number of characters is 21.
Disclaimer:
Alternate #1: Opening a hex editor like Translhextion and jumping to address " x001FF " and changing 00 to 01. This will trigger the locked flag in Lunar Magic without changing the internal ROM name or using RLA.
Alternate #2: Opening a hex editor like Translhextion and jumping to address " x081C0 " and changing " SUPER MARIOWORLD " to something else. (Internal ROM name) You can also search for it as well. You can tell if the internal ROM name is changed in hacks if ZSNES or SNES9x tell you anything other than SUPER MARIOWORLD at ROM boot.
3. Unlocking
A method of unlocking is reversing the effects of the above alternate methods of locking. (#1 and #2)
Using RLM (Recover Lunar Magic) is relatively easy, you can use CMD.EXE, create your own .BAT or just use drag and drop methods.
3a. CMD.EXE
In standard Microsoft Windows operating systems, there is a Command Prompt. If you don't have one yet in your RLM folder yet, navigate to:
Where %SystemRoot% is your drive and Microsoft Windows installation folder. Once you have copied the executable to your RLM folder, open it up and type:
%in% means your locked ROM. %out% means your desired name for your unlocked ROM.
(No spaces allowed!) This will create an unlocked ROM for you in RLM's folder. You can now open it in Lunar Magic.
3b. .BAT
In standard Microsoft Windows operating systems, there is Notepad. If you can't find Notepad, navigate to:
Where %SystemRoot% is your drive and Microsoft Windows installation folder. Once you have opened Notepad, type:
%in% means your locked ROM. %out% means your desired name for your unlocked ROM.
(No spaces allowed!) Now, you need to save it as a .BAT, and not a .TXT:
Once you save, open your new .BAT and it will automatically create an unlocked ROM for you in RLM's folder. You can now open it in Lunar Magic.
3c. Drag and Drop
(Spaces allowed!)
This is as self-explanatory as it sounds. Just right click on your ROM and hold it to drag it across the screen. Drag it onto RLM.EXE and it will automatically create an unlocked ROM for you in RLM's folder. You can now open it in Lunar Magic. This is the ROM name it outputs using this method:
%in% means your locked ROM.
4. Congratulations!
You have just locked a hack using 3 methods or have just unlocked a hack using 3 methods. Your hack is now protected or viewable again.
5. Credits
Lunar Magic Icons - Ulti's Dungeon
Hack Used - Moving Day and Super Mario World
Screenshots - Snowshoe
Assuming you know how to hex edit and use external applications and/or command prompt in Microsoft Windows operating systems:
Wondering why you can't open certain hacks here at SMW Central? Or just want to know how to do it in the first place to protect your precious data? You clicked on the right thread.
2. Locking
Warning: This step requires or recommends backing up your ROM
First, we will cover locking your hack. In Lunar Magic, open the Overworld Editor. It's icon looks like this: When the editor is opened, type:
Originally posted by required keystroking
Chibi Moon
(Case sensitive!) The message " ChibiMoon is cute! " should appear and your Overworld Editor icon should be changed:
Close the Overworld Editor and navigate back to the main Lunar Magic instance. Type:
Originally posted by required keystroking
CTRL + E
(Standard English Microsoft Windows keyboard used!) The Restrict Level Access by Lunar Magic (Version 1.1) dialogue box should appear:
Delete " Super Peachy World " and replace it with your hack name or whatever you want. The maximum number of characters is 21.
Disclaimer:
Originally posted by Lunar Magic
This is a relatively weak form of protection, and will only prevent casual hackers from examining your levels. Also remember this is permanent... there is no function in Lunar Magic to reverse it. This means you will be locked out of your own levels, so be sure to make a backup before doing this.
Alternate #1: Opening a hex editor like Translhextion and jumping to address " x001FF " and changing 00 to 01. This will trigger the locked flag in Lunar Magic without changing the internal ROM name or using RLA.
Alternate #2: Opening a hex editor like Translhextion and jumping to address " x081C0 " and changing " SUPER MARIOWORLD " to something else. (Internal ROM name) You can also search for it as well. You can tell if the internal ROM name is changed in hacks if ZSNES or SNES9x tell you anything other than SUPER MARIOWORLD at ROM boot.
3. Unlocking
A method of unlocking is reversing the effects of the above alternate methods of locking. (#1 and #2)
Using RLM (Recover Lunar Magic) is relatively easy, you can use CMD.EXE, create your own .BAT or just use drag and drop methods.
3a. CMD.EXE
In standard Microsoft Windows operating systems, there is a Command Prompt. If you don't have one yet in your RLM folder yet, navigate to:
Originally posted by file path
%SystemRoot%\System32\cmd.exe
Where %SystemRoot% is your drive and Microsoft Windows installation folder. Once you have copied the executable to your RLM folder, open it up and type:
Originally posted by required keystroking
rlm.exe %in%.smc %out%.smc
%in% means your locked ROM. %out% means your desired name for your unlocked ROM.
(No spaces allowed!) This will create an unlocked ROM for you in RLM's folder. You can now open it in Lunar Magic.
3b. .BAT
In standard Microsoft Windows operating systems, there is Notepad. If you can't find Notepad, navigate to:
Originally posted by file path
%SystemRoot%\notepad.exe
Where %SystemRoot% is your drive and Microsoft Windows installation folder. Once you have opened Notepad, type:
Originally posted by required keystroking
rlm.exe %in%.smc %out%.smc
%in% means your locked ROM. %out% means your desired name for your unlocked ROM.
(No spaces allowed!) Now, you need to save it as a .BAT, and not a .TXT:
Once you save, open your new .BAT and it will automatically create an unlocked ROM for you in RLM's folder. You can now open it in Lunar Magic.
3c. Drag and Drop
(Spaces allowed!)
This is as self-explanatory as it sounds. Just right click on your ROM and hold it to drag it across the screen. Drag it onto RLM.EXE and it will automatically create an unlocked ROM for you in RLM's folder. You can now open it in Lunar Magic. This is the ROM name it outputs using this method:
Originally posted by RLM
%in%.unlocked.smc
%in% means your locked ROM.
4. Congratulations!
You have just locked a hack using 3 methods or have just unlocked a hack using 3 methods. Your hack is now protected or viewable again.
5. Credits
Lunar Magic Icons - Ulti's Dungeon
Hack Used - Moving Day and Super Mario World
Screenshots - Snowshoe