Skip to content

lux0166/CODEX-Installer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CODEX Installer + build tools

image This repository contains the code for the CODEX installer and the tools required to build it

Directory Structure

  • tooling/: Contains necessary tools and dependencies.

    • InnoSetupEE/: Enhanced edition of Inno Setup with additional features.
    • UltraARC/: Tool used for compressing files to bin files.
    • InnoUnp/: Tool that lets you unpack other InnoSetup installers.
  • installer/: Inno Setup scripts for creating custom installers.

    • src/: Contains the source code for the installer.

Getting Started

  1. Using Inno Setup Enhanced Edition:

    • Navigate to tooling/InnoSetupEE/.
    • Run Compil32.exe to open the enhanced edition of Inno Setup.
    • Go to File -> Open and navigate installer/src.
    • Open codex.iss and now you can modify the installer.
  2. Testing and Compiling:

    • To test your changes you can press F9 or click the Run button.
    • To compile the installer, you can press CTRL+F9 or press the Compile button.
    • If you want to modify one of the styles in src/installer/Include/Style, you need RAD Studio.
  3. Adding the Game Files:

    • In the code, change the defines like Game, GameExe, NeedSize and so on.
    • Compile the Setup, it will show up in DISTRIBUTABLE.
    • Add additional crack files to DISTRIBUTABLE/CODEX if needed.
    • Otherwise delete it or make it empty.
    • Navigate to tooling/UltraARC/ and run UltraARC.exe.
    • Select the game folder as Source folder.
    • Select DISTRIBUTABLE as First Volume Content.
    • Choose some Output folder where the finilized bundle will go.
    • Switch to the Output tab and change Archive Prefix to setup- and Extension to bin.
    • You can play with some options here and there to achieve better compression.
    • If you select CD Image to bundle into .iso, you can add an icon in Options -> CD Image.
    • The icon can be found in the root of the project.
  4. Additional Information:

    • You can easily switch between different group graphics.
    • In codex.iss change Style to PLAZA/RUNE.
    • There are more styles to choose from in src/installer/Include/Style.
    • Change GroupName to the same.
    • Don't forget to change the crack direcotry name.
    • Set LogoGroup to 7 and IconGroup to 2 for PLAZA.
    • Set logo to 8 and icon to 3 for RUNE.
    • You can also change the music to PLAZA/RUNE by changin MusicGroup.

Contributing

Feel free to contribute by submitting pull requests or reporting issues in the repository.

Credits

All credits goes to the amazing guys from FileForums

About

The original code for CODEX installer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Inno Setup 79.9%
  • HTML 18.9%
  • Batchfile 1.2%