PDA

View Full Version : CODEX Installer Script


Masquerade
19-07-2022, 02:29
CODEX Installer Script

Not 100% sure if this is a rebuild or if its the real deal.

https://i.ibb.co/Hnz128h/cdx.png

Thanks to Mickey1s for the share. I've included the compiler you need to build the script.

Snake288
10-09-2022, 07:58
Hello Masquerade

Can I get support help from you about preparing a CODEX Installer Script that can work compatible with DiskSpan_GUI?

DiskSpan GUI topic prepared by Cesar82
DiskSpan GUI (https://fileforums.com/showthread.php?t=104507)

fabrieunko
10-09-2022, 09:50
it would be good. i am your idea

Ryudious
01-02-2024, 06:07
CODEX Installer Script

Not 100% sure if this is a rebuild or if its the real deal.

https://i.ibb.co/Hnz128h/cdx.png

Thanks to Mickey1s for the share. I've included the compiler you need to build the script.

Ya this is the one I have! But only LZMA works with it! I cant get any other compression to work when installing "unsupported". Seprep etc does not work with this installer

Masquerade
01-02-2024, 22:31
^^
You need to add the decompressors you want to the installer.

Ryudious
02-02-2024, 09:40
^^
You need to add the decompressors you want to the installer.

Ah ok awesome. Do i need to also add in the code to the script? Never done that before xD

xjohnxedgex
14-04-2024, 16:38
Hello, when I create the .bin and run the program I get an ISDone.dll error, is there a solution?

Masquerade
15-04-2024, 10:26
^^
Thanks for that overwhelming amount of information :mad:

The CODEX installer uses a custom unarc.dll so you need to add the unarc.dll from.your copy of FreeArc to unpack your archives.

xjohnxedgex
18-04-2024, 14:04
but the file is in the setup files folder

KaktoR
21-04-2024, 12:26
CODEX installer compatible with DSG

Thanks to César

Cesar82
16-08-2024, 08:53
CODEX installer compatible with DSG 2.0.2.3+

Snake288
26-09-2024, 13:09
support staff

https://i.hizliresim.com/g0d6etm.jpg (https://hizliresim.com/g0d6etm)

Dario06
26-09-2024, 20:41
support staff

https://i.hizliresim.com/g0d6etm.jpg (https://hizliresim.com/g0d6etm)
the answer is in the message :rolleyes:

SolsticeSpectrum
03-10-2024, 00:18
CODEX installer compatible with DSG 2.0.2.1+

Thanks for your amazing work, I was surprised to find out that both RUNE and PLAZA installers use the same code base.

I chose to make a convenient repository which contains all the tools requires and instructions to compile it. I myself struggled a little. Took me few hours to figure out that you need a modified version of InnoSetup and when I got the original Enhanced Edition, it was still missing several functions and types so I dig deeper in fileforums until I finally found a version with these functions and types in place

The Repository (https://github.com/SolsticeSpectrum/CODEX-Installer)

Please let me know if I forgot something important in the repository or if I'm missing some credits in the README

Dario06
09-10-2024, 09:49
it seems that the DSG versions are not aligned with the Progressgauge :rolleyes:

Dario06
09-10-2024, 15:19
Try with the attached file.

perfect!
it works now :)


the code says if there is an error in isdone you have to go back to 100%, I'm right cesar?
or if it doesn't find isdone

if not ISDoneError then
begin
WizardForm.ProgressGauge.Position := 1000;
end;

Cesar82
09-10-2024, 16:45
perfect!
it works now :)


the code says if there is an error in isdone you have to go back to 100%, I'm right cesar?
or if it doesn't find isdone

if not ISDoneError then
begin
WizardForm.ProgressGauge.Position := 1000;
end;
For some reason the native progress bar has a delay and when the wizardform is resized the bar does not update.
This causes the bar to return to 100% if no error occurs.

Dario06
10-10-2024, 07:51
I made some changes and everything seems to work well cesar, I will use it for GTA5 evolved, Thanks for everything!

Original Script (https://fileforums.com/showpost.php?p=505889&postcount=16)

Jahan1373
11-10-2024, 08:17
Hello dear friend, I used your installation, but how can I get more information?
Data.bin
I need 8 data, can you solve this problem?

Cesar82
24-10-2024, 16:24
CODEX Installer Script (DSG) attached.
- updated DSG module.

fabrieunko
25-10-2024, 00:28
I wanted to test this installer with a game that I have already compacted with DSG 2.0.2.1.
so I took my setup.dll which I decompressed with dsg and put all the files in Setup_DLL (from codex) and launched a build. but when I run the setup I get the following message: incompatible version of the CLS-DiskSpan.dll library



so I retested by putting back the original CLS-DISKSPAN.dll file (from codex) and I got the same error?
what to do to resolve the problem?
thanks in advance

Cesar82
25-10-2024, 06:19
I wanted to test this installer with a game that I have already compacted with DSG 2.0.2.1.
so I took my setup.dll which I decompressed with dsg and put all the files in Setup_DLL (from codex) and launched a build. but when I run the setup I get the following message: incompatible version of the CLS-DiskSpan.dll library


so I retested by putting back the original CLS-DISKSPAN.dll file (from codex) and I got the same error?
what to do to resolve the problem?
thanks in advance
Are you sure you compressed the game with v2.0.2.1 of DSG?
From what I remember it was in v2.0.2.0 that cls-diskspan.dll was changed, so maybe you used an older DSG to compress the game.
CODEX installer does not have a cls-diskspan.dll.
The Setup_DLL folder in the installer's psdts contains CLS-DiskSpan.dll which is the content generated by DSG in Setup.dll during compression of the sample that accompanies the installer.

fabrieunko
25-10-2024, 07:07
actually I must have made a mistake... on the other hand I'm trying to translate the installer into French
but I can't find where to find the text of this page


https://i.ibb.co/D9PpRnr/Capture-d-cran-2024-10-25-160345.png (https://ibb.co/D9PpRnr) https://i.ibb.co/nwp9ymk/Capture-d-cran-2024-10-25-160431.png (https://ibb.co/nwp9ymk)

Dario06
25-10-2024, 08:00
actually I must have made a mistake... on the other hand I'm trying to translate the installer into French
but I can't find where to find the text of this page


https://i.ibb.co/D9PpRnr/Capture-d-cran-2024-10-25-160345.png (https://ibb.co/D9PpRnr) https://i.ibb.co/nwp9ymk/Capture-d-cran-2024-10-25-160431.png (https://ibb.co/nwp9ymk)


[Languages]
Name: "Francaise"; MessagesFile: "compiler:languages\French.isl"

frmDirBrowse.Caption := SetupMessage(msgBrowseDialogTitle);
lblBrowse.Caption := SetupMessage(msgBrowseDialogLabel);

Convert in your languages
example:
=Install path contains bad characters! is english
=Le chemin d'installation contient des caractères incorrects! is francaise

refer
Francaise.ErrDir=Install path contains bad characters!

[CustomMessages]
Francaise.ErrDir=Install path contains bad characters!
Francaise.ErrBro=They are bad characters at Start Menu directory!
Francaise.DirInstall=Install directory
Francaise.IconDest=&Create desktop shortcut
Francaise.IconGroup=Directory at Start Menu
Francaise.CreateIconGroup=&Create a Start Menu folder
Francaise.NoUninstall=Do not create uninstaller and do not write any specific system info
Francaise.ExitBtn=&Exit
Francaise.CopyCrack=Copy contents of CODEX directory to installdir
Francaise.ExDir=Directory to copy is wrong or empty!
Francaise.ErrCopy=Auto copying of CODEX folder is blocked by a system or AV! You need to copy CODEX folder yourself.
Francaise.FreeSpace1=At least
Francaise.FreeSpace2=of free space required
Francaise.ErrSize=There is not enough of free space on selected disk!
Francaise.MemoReady=Waiting for Input...
Francaise.InteProc=Cancel extraction?
Francaise.Success=Successfully Installed
Francaise.Fail=Installation Failed

fabrieunko
26-10-2024, 09:48
I have another problem.. the files from the CODEX folder are not copied, and I don't have a shortcut on the desktop?

thank you Dario06 for your help I was able to translate everything into French

Dario06
27-10-2024, 06:30
I have another problem.. the files from the CODEX folder are not copied, and I don't have a shortcut on the desktop?

thank you Dario06 for your help I was able to translate everything into French


this version works for me

the codex folder does not have to have a shortcut on the desktop it seems to me, because it is a game Crack and only needs to be copied into the game directory, but if you like having it you can have everything you want, just create a shortcut in [Icons]

Other:
Copy Codex files
if (CurStep = ssPostInstall) and (chbCopyCrack.Checked) and not ISDoneError then begin
CopyCrack(ExpandConstant('{src}\CODEX'), ExpandConstant('{app}'));
end;

Copy Folder and Files

if (CurStep = ssPostInstall) and (chbCopyCrack.Checked) and not ISDoneError then begin
CopyCrack(ExpandConstant('{src}\CODEX'), ExpandConstant('{app}\CODEX'));
end;

Rename CODEX in your folder Crack:

CODEX
{src}\CODEX

SKiDROW
{src}\SKiDROW

fabrieunko
27-10-2024, 07:21
It's my fault I forgot something it works..