ENIGMA Forums

General fluff => General ENIGMA => Topic started by: Goombert on August 08, 2013, 09:44:07 am

Title: Patching and rebuilding the portable ZIP
Post by: Goombert on August 08, 2013, 09:44:07 am
These are instructions are on rebuilding the portable ZIP when new LateralGM versions need included or other bug fixes/changes.

Patching and rebuilding.

Step 1
Download and install 7zip, if you already have it, continue to the next step.
http://www.7-zip.org/download.html
Step 2
Open 7zip and navigate to the directory where the you ENGIMA's portable ZIP located, right click and hit 7zip->Open Archive. If you don't have a copy of the latest portable ZIP just get it from the link below.
http://enigma-dev.org/downloads/2013-05-21/ENIGMA-Installer.exe
Step 3
Apply your changes to the archive, make sure you do not run LateralGM or ENIGMA or it will download the repository and you'll bloat the ZIP and defeat the purpose. You can also extract the entire ZIP and then rebuild it with 7zip by leaving the default compression and simply enabling "Create SFX" under "Options" to create the self extracting zip as an executable (*.exe)
Step 4
Ok we are all done with that then!

Hacking the ZIP icon, description, and copyright information.

Step 1
Download and install Resource Hacker from the link below, if you do not already have it, which is the program we are going to use to do this. Scroll down the page at the link below if you can't see the setup, its there, just scroll down a bit.
http://www.angusj.com/resourcehacker/
Step 2
Open Resource Hacker from Start->All Programs and hit File->Open then navigate to and open the self extracting ZIP you created. You can also just right click it in Windows Explorer and select "Open In Resource Hacker" it installs an option there by default, for me it does anyway.
Step 3
Make your changes to the exe, set the icon, and the copyright info, modify dialogues, etc.
Step 4
Save your changes to the exe, and reupload the ZIP somewhere and you're done.