This tut was written entirely by me, entirely for you, entirely because I had wayyyy too much spare time
Simply put, this tutorial is to teach you how to create batch files (.BAT) for use with the .MRS extractor for GunZ.
So, step one: Download the and extract the .MRS file extractor (using WinRAR) from
RELEASE: Keffy's MRS Unpacker, to any place you find suitable, probably in a directory called "Hacks" inside your GunZ folder. Remember to run the file called "clickme.bat" (which, ironically, is a .BAT file =P).
Step two: open Command Prompt by pressing Windows+R, then typing cmd in the box that appears. You can also access this box from the Start Menu. (Called "Run"). This should open a program that looks like a basically black box with white writing.
Step three: The commands:
Cd. the cd command is for navigating through folders using command prompt, syntax (which means grammer of your code in this case) is like: cd [folderName]. It is considered good etiquette to enclose your folder name in double quotes, especially if it contains a space, but it is not nessecary in this case. You can also type a full folder name (C:\Program Files\Ijji), or a relative folder name (Ijji), you can also add a backslash (\) at the end of the folder name if you want, but it's not required. Make sure you know what folder you're in at all times.. it's on every line, before a > sign. For now, go into the folder where your .MRS file is located. Please note the with commands that deal with folders and files (like cd), ..\ is a relative command which means the containing folder of what I'm currently in. Logically then ..\..\ would mean the folder containing the folder containing the folder I'm currently in, etc.
Dir. you don't need this command at all, but it's very helpful. It displays the contents of the folder you're in, which you can narrow down. Syntax: dir [optional filter]. The filters look like (including the dir part): dir *.[file extension] to view any file of that file extension (asterisk is a wild card), dir [file name].* to view any file with that name. (dir *.* is the same as dir)
Cls. Another optional command, basically it clears the screen, tidy. Syntax: cls.
Copy. this command copies a file from one location to another. Syntax: copy [file location] [new location], e.g. copy system.mrs "hack\mrs files". In this case I believe you have to use quotes because the syntax requires a space in itself, so directory spaces will probably mess it up. Also, if you were copying a file from somewhere else to the current directory, just don't type a new location.
Move. Same as copy, except it moves instead of copies.
Del. Delete file. Syntax: del [file location].
Ren. Rename file Syntax: ren [file name] [new file name]. Again, you should probably enclose directories in spaces. Also, if you rename a file from another directory
(like ren "mrs files\system.mrs"), you don't have to retype the location for the new file name. Just ren "mrs files\system.mrs" system2.mrs. or something like that.
I think that's all you need to know. Also the commands for the mrs.exe file are mrs d [file name].mrs and mrs c [extracted folder]. To extract and compress .MRS files
a .BAT file is simple, it's just a list of command prompt commands. Just make a text document (like a .TXT one), type in your commands (seperated by new lines), then rename it from .TXT to .BAT. It's meant for commands you'd type multiple times.
How to apply this to GunZ? I apply it for use with .MRS unpacking and repacking. For instance: you could create a .BAT file to copy every .MRS from the GunZ directory to your custom hack directory, with a series of commands like copy ..\*.mrs, for instance if your current directory was Gunz\Hacks.. See? I created one .BAT file to copy every .MRS file from GunZ to my hack directory, then unpack them. The only problem was, there was a folder called Model and a file called Model.mrs.. how did I fix this when unpacking? I told it:
.......
copy ..\..\*.mrs
ren model.mrs model2.mrs
mrs d model2.mrs
.......
So it would copy over model.mrs, then rename it to model2.mrs, then unpack it. I also had a .BAT file to repack all my .MRS files and transfer them back to the GunZ directory, but when repacking model2.mrs, I'd have to rename it.. same kinda thing:
.......
mrs c model2
ren model2.mrs model.mrs
copy *.mrs ..\..\
.......
See? Not hard when you know what you're doing. It takes a bit of getting used to, but it's extremely useful. Also, this can be used otherwise, for instance, I had a Batch file to go to the GunZ directory in command prompt.. called GunZ.bat, very simple:
cd C:\Documents and Settings\**********\My Documents\Program Files\Games\MMORPGs\GunZ\Hack\MRS Unpacker
cls
That was the entire program.. I then placed it in my C:\WINDOWS\system32 directory, so that you could just type GunZ into command prompt and it would recognize that you mean C:\WINDOWS\system32\GunZ.bat (this only works with the system32 folder, and only with .EXEs and .BATs).
Also, just a note: When editing .MRS files you will encounter a LOT of problems. Don't get discouraged. There's also a lot of useful information inside the GunZ .MRS files, like how much HP Goblins have.. to name the tiniest bit... there's also a detailed list of the bossees in quest mode and stuff, just the tip of the iceberg.. Also, remember to edit one part of the file at a time, so you can find out exactly where the problems happen. Open .XML files with WordPad, and download something to view .DDS files, like the plugin for PhotoShop. Other than that, I'm done here.
If you have any questions, PM me.
There's also a downloadable version of this tut with pics attached.