Skip to content

Commit

Permalink
added my fun version
Browse files Browse the repository at this point in the history
  • Loading branch information
SolsticeSpectrum committed Jun 25, 2024
1 parent eb91ecc commit 0112dd6
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 33 deletions.
82 changes: 51 additions & 31 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,54 +18,74 @@ jobs:
steps:
- uses: actions/checkout@v3

- name: Modify codex.iss for CODEX
- name: Modify setup.iss for CODEX
run: |
(Get-Content .\installer\src\codex.iss) -replace '#define OutputName\s+\"setup\"', '#define OutputName "codex"' | Set-Content .\installer\src\codex.iss
(Get-Content .\installer\src\setup.iss) -replace '#define OutputName\s+\"setup\"', '#define OutputName "codex"' | Set-Content .\installer\src\setup.iss
shell: pwsh

- name: Compile CODEX with ISCC
run: |
.\tooling\InnoSetupEE\ISCC.exe .\installer\src\codex.iss
.\tooling\InnoSetupEE\ISCC.exe .\installer\src\setup.iss
- name: Modify codex.iss for PLAZA
- name: Modify setup.iss for PLAZA
run: |
(Get-Content .\installer\src\codex.iss) -replace '#define Style\s+\"CODEX\"', '#define Style "PLAZA"' |
Set-Content .\installer\src\codex.iss
(Get-Content .\installer\src\codex.iss) -replace '#define GroupName\s+\"CODEX\"', '#define GroupName "PLAZA"' |
Set-Content .\installer\src\codex.iss
(Get-Content .\installer\src\codex.iss) -replace '#define LogoGroup\s+\"5\"', '#define LogoGroup "7"' |
Set-Content .\installer\src\codex.iss
(Get-Content .\installer\src\codex.iss) -replace '#define IconGroup\s+\"1\"', '#define IconGroup "2"' |
Set-Content .\installer\src\codex.iss
(Get-Content .\installer\src\codex.iss) -replace '#define MusicGroup\s+\"1\"', '#define MusicGroup "2"' |
Set-Content .\installer\src\codex.iss
(Get-Content .\installer\src\codex.iss) -replace '#define OutputName\s+\"codex\"', '#define OutputName "plaza"' |
Set-Content .\installer\src\codex.iss
(Get-Content .\installer\src\setup.iss) -replace '#define Style\s+\"CODEX\"', '#define Style "PLAZA"' |
Set-Content .\installer\src\setup.iss
(Get-Content .\installer\src\setup.iss) -replace '#define GroupName\s+\"CODEX\"', '#define GroupName "PLAZA"' |
Set-Content .\installer\src\setup.iss
(Get-Content .\installer\src\setup.iss) -replace '#define LogoGroup\s+\"5\"', '#define LogoGroup "7"' |
Set-Content .\installer\src\setup.iss
(Get-Content .\installer\src\setup.iss) -replace '#define IconGroup\s+\"1\"', '#define IconGroup "2"' |
Set-Content .\installer\src\setup.iss
(Get-Content .\installer\src\setup.iss) -replace '#define MusicGroup\s+\"1\"', '#define MusicGroup "2"' |
Set-Content .\installer\src\setup.iss
(Get-Content .\installer\src\setup.iss) -replace '#define OutputName\s+\"codex\"', '#define OutputName "plaza"' |
Set-Content .\installer\src\setup.iss
shell: pwsh

- name: Compile PLAZA with ISCC
run: |
.\tooling\InnoSetupEE\ISCC.exe .\installer\src\codex.iss
.\tooling\InnoSetupEE\ISCC.exe .\installer\src\setup.iss
- name: Modify codex.iss for RUNE
- name: Modify setup.iss for RUNE
run: |
(Get-Content .\installer\src\codex.iss) -replace '#define Style\s+\"PLAZA\"', '#define Style "RUNE"' |
Set-Content .\installer\src\codex.iss
(Get-Content .\installer\src\codex.iss) -replace '#define GroupName\s+\"PLAZA\"', '#define GroupName "RUNE"' |
Set-Content .\installer\src\codex.iss
(Get-Content .\installer\src\codex.iss) -replace '#define LogoGroup\s+\"7\"', '#define LogoGroup "8"' |
Set-Content .\installer\src\codex.iss
(Get-Content .\installer\src\codex.iss) -replace '#define IconGroup\s+\"2\"', '#define IconGroup "3"' |
Set-Content .\installer\src\codex.iss
(Get-Content .\installer\src\codex.iss) -replace '#define MusicGroup\s+\"2\"', '#define MusicGroup "3"' |
Set-Content .\installer\src\codex.iss
(Get-Content .\installer\src\codex.iss) -replace '#define OutputName\s+\"plaza\"', '#define OutputName "rune"' |
Set-Content .\installer\src\codex.iss
(Get-Content .\installer\src\setup.iss) -replace '#define Style\s+\"PLAZA\"', '#define Style "RUNE"' |
Set-Content .\installer\src\setup.iss
(Get-Content .\installer\src\setup.iss) -replace '#define GroupName\s+\"PLAZA\"', '#define GroupName "RUNE"' |
Set-Content .\installer\src\setup.iss
(Get-Content .\installer\src\setup.iss) -replace '#define LogoGroup\s+\"7\"', '#define LogoGroup "8"' |
Set-Content .\installer\src\setup.iss
(Get-Content .\installer\src\setup.iss) -replace '#define IconGroup\s+\"2\"', '#define IconGroup "3"' |
Set-Content .\installer\src\setup.iss
(Get-Content .\installer\src\setup.iss) -replace '#define MusicGroup\s+\"2\"', '#define MusicGroup "3"' |
Set-Content .\installer\src\setup.iss
(Get-Content .\installer\src\setup.iss) -replace '#define OutputName\s+\"plaza\"', '#define OutputName "rune"' |
Set-Content .\installer\src\setup.iss
shell: pwsh

- name: Compile RUNE with ISCC
run: |
.\tooling\InnoSetupEE\ISCC.exe .\installer\src\codex.iss
.\tooling\InnoSetupEE\ISCC.exe .\installer\src\setup.iss
- name: Modify setup.iss for ENDEREX
run: |
(Get-Content .\installer\src\setup.iss) -replace '#define Style\s+\"RUNE\"', '#define Style "ENDEREX"' |
Set-Content .\installer\src\setup.iss
(Get-Content .\installer\src\setup.iss) -replace '#define GroupName\s+\"RUNE\"', '#define GroupName "ENDEREX"' |
Set-Content .\installer\src\setup.iss
(Get-Content .\installer\src\setup.iss) -replace '#define LogoGroup\s+\"8\"', '#define LogoGroup "9"' |
Set-Content .\installer\src\setup.iss
(Get-Content .\installer\src\setup.iss) -replace '#define IconGroup\s+\"3\"', '#define IconGroup "4"' |
Set-Content .\installer\src\setup.iss
(Get-Content .\installer\src\setup.iss) -replace '#define MusicGroup\s+\"3\"', '#define MusicGroup "4"' |
Set-Content .\installer\src\setup.iss
(Get-Content .\installer\src\setup.iss) -replace '#define OutputName\s+\"rune\"', '#define OutputName "enderex"' |
Set-Content .\installer\src\setup.iss
shell: pwsh

- name: Compile ENDEREX with ISCC
run: |
.\tooling\InnoSetupEE\ISCC.exe .\installer\src\setup.iss
- name: Create GitHub Release
uses: marvinpinto/action-automatic-releases@latest
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ This repository contains the code for the CODEX installer and the tools required
- 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.
- Open `setup.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.
Expand All @@ -41,7 +41,7 @@ This repository contains the code for the CODEX installer and the tools required

4. **Additional Information**:
- You can easily switch between different group graphics.
- In `codex.iss` change `Style` to `PLAZA/RUNE`.
- In `setup.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.
Expand Down
Binary file added enderex.ico
Binary file not shown.
File renamed without changes.

0 comments on commit 0112dd6

Please sign in to comment.