PDA

View Full Version : [GSERIES] Custom Installer Ultimate V2g


Gupta
01-07-2017, 18:56
18796

Since yener90 (the initial creator) and BAMsE (the former modder) moved away, I was chosen to further continue the project

Presenting you my first public release.


170730:

Can Edit Ini on the installation
Music list is back!
can play any number of music files!
many changes in Compiler.
new DebugMode, if Enabled:


Setup.ini is directly read from {src}, so that you don't have to recompile with every change in Setup.ini
if started with cmdline "/InstallOnly" - then no Uninstall will run even if already installed directly autorun will run


for information go here (http://fileforums.com/showthread.php?p=461191#post461191)

170729:

controls for splash can be set from setup.ini (requested by omdj)for more details check - link (http://fileforums.com/showthread.php?p=461166#post461166)

170728:

redone all the tweaks from the previous release.
Added ultraarc
added multiple splash(Autorun\ASplash#.png, Setup\Splash#.png,Setup\Splash#_*.png(# - (1 to ?), * - Short name for language))
multiple backgrounds for setup(already done by bamse, just make some final adjustments)
Fixed external compression, was broken in the previous release

CIU V2.5g(170702 )

Fixed: Title Section Alignment Fixed.
Music volume slider
Can add as many mp3 you want(Setup\Music\*.mp3) not (Setup\Music\Music*.mp3)
Mp3 List for Autorun and Installer
Different Websites for different languages.
[WebsiteButton]
SiteEN=
SiteFR=
SiteDE=
...
Fixed: Override Setup.ini gets deleted after installation is finished. Now, Setup.ini remains in {app} folder after successful installation.
Support for 6GB/8GB GPUs
Music Position Seeker
Every Button's Opacity can be controlled from Setup.ini itself
ProgressBackground.png is always upper layer. It must be ProgressImg.png (it must "behind" ProgressImg.png, not front).

KaktoR
02-07-2017, 01:47
Thanks.

To protect your setup:
1. Select "External" + "Superprotect".
2. Type in a password.
3. Create Setup.exe
4. Create Setup.bin

---

Is the leaking button fixed too?

---

Will update Wiki in the next days.

mausschieber
02-07-2017, 02:20
Please add another style this is to dark
and the text is unreadable for me

thanks for your work

KaktoR
02-07-2017, 03:12
Bug with inno internal compression

Edit: Seems to be a problem on non-genuine windows installations. On my laptop Win10 is genuine and there all is fine.

Something what BAMsE said before to me:
Many weeks ago, when I was on Win7 (plus Windows Loader :P), I got the error after recreating Setup.exe too. Also my PC was rebooted occasionally (probably due to stability issues after OC). But now on Win10 (genuine) the error gone as well as random reboots. Simultaneously with OS changing I changed MB BIOS due to lack of Xenon microcodes. So I think this error is caused by CPU/RAM stability issues (maybe caused by genuineness emulation).

omdj
02-07-2017, 07:31
Internal compression works for me in CIU 2040 Beta 5 (on Windows 10 non genuine).

Gupta
02-07-2017, 07:37
Internal compression works for me in CIU 2040 Beta 5 (on Windows 10 non genuine).

It happens when you recompile after first successful compile, may be the culprit is inappropriate decryption of buffer, I am just studying it

GTX590
02-07-2017, 10:30
Internal compression works for me in CIU 2040 Beta 5 (on Windows 10 non genuine).

But if you pack a bigger game (at least 2, 3, or 4 DVD's) then you separate bin or cab files into separate folder and try to launch Setup.exe this latter will show an error message asking you for the last bin file.
That means that the last bin or cab created must be present in the first folder.
I'm using CIU 2040 Beta 5 for packing my games and that issue is still present in this version.
Note: If you pack a small game (1 DVD) using internal compressor it'll work fine since all files are in the same folder.
I really thought Bamse would fix it, but unfortunately he's away.:(

KaktoR
02-07-2017, 11:52
I have reported this bug a year ago ^^

- PACK GAME feature: 1. Select External and create Setup.bin. 2. Select External and Pack Game, choose Game dir, compression and capacity, then click "Create Setup.exe". After game is packed, a message pops up "Please insert Disc x" (depends on how many Setup-x.bin's are created). Setup will always choose the last bin file. No matter if i delete whole [ExtractSettings], error will remain. Second error after closing the Setup "Internal Error: ExtractTemporaryFile: The file "pckr.dll" was not found."

omdj
02-07-2017, 12:27
Another error more... :( let's hope the guys solve it.

Simorq
02-07-2017, 12:31
A Good Project
It's good if it supports all the methods.

like:
[External Compressor]
#define pZLibInside
#define Precomp
#define PrecompMT
#define Antiz
#define MSCInside
#define SrepInside
#define ZSTDInside
#define NanoZip

KaktoR
02-07-2017, 12:33
@Simorq:
Most likely not that way, but with iscu.dll (read what razor said in ultraarc thread about it).

So the only thing is add iscu.dll in script when its ready. Nothing more. All features, like compressors and split will be handled by this file.

Titeuf
02-07-2017, 13:49
Bug with inno internal compression

Edit: Seems to be a problem on non-genuine windows installations. On my laptop Win10 is genuine and there all is fine.

Something what BAMsE said before to me:

Hello,
I am under windows 8.1 pro genuine is I have this error:
http://i.imgur.com/DFIVwyh.jpg

Titeuf
Edit: And when I close CIU V2 I have this:
http://i.imgur.com/lOArnmE.jpg

gatosky1620
02-07-2017, 15:54
THANKS everybody to continue this project, i have some things to do

-Add EqualizerSI
-Add Autorun.png Installer1-4.png, Splash.png, Logo,png and SmallInstaller.png to each language
-Add the automaticly creation and load of Installer bmp files, because only load the Autorun and smallInstaller
-The Logo Aligment Left or right option doesn work
-The SmallInstaller load the nextbutton when this It is on one side of the TextStage (Left side)
-In the Uninstall process the MusicButton, if is use, dont work

mikey26
02-07-2017, 17:41
A Good Project
It's good if it supports all the methods.

like:
[External Compressor]
#define pZLibInside
#define Precomp
#define PrecompMT
#define Antiz
#define MSCInside
#define SrepInside
#define ZSTDInside
#define NanoZip

I am sure Prince will add that is but things like antiz the project is no longer,nanozip problem with %.Give the guy sometime.He just started with the project 1 week ago.

houcine80
06-07-2017, 09:46
hi
So you do not have to add anything unnecessary really have to re-establish the bug as the external compression or create designer I think it's better I hope that I'm not deceived and thank you for all your effort :)

mikey26
07-07-2017, 05:43
Okay lets look at including the best compressors that currently have support and where the authors are actually constantly working on it.Its pointless adding stuff that going to give constant errors and problems.Guys will be end up fixing more compression issues than having to work on the actual script and its enhancements.

Eg: precomp(all versions from 0.38 to 0.46) , pzlib(latest) , reflate , zstd , oodle lzma and lzma2.

KaktoR
07-07-2017, 05:58
You should wait for Converter Ultra.

No script editing needed if it's included once. All will be handled by it's dll.

So you can add more compressors without editing script again.

mikey26
07-07-2017, 06:49
Sure thing we can do that once that works with script if users want to mess around with other compressors then its up to them.Which makes life much easier then Prince can work on the script itself.:D

KaktoR
07-07-2017, 08:28
Yes, that was the intention behind that :D

KaktoR
20-07-2017, 10:37
Since CU is dead because our mighty Razor12911 quits, you should not longer wait for a updated release.

Here are a list

Should not mention srep / lzma / delta anyway...
lzma2 = faster than lzma, but slightly different compression ratio (in my tests over 90% are bigger than lzma, but faster).
pzlib = working on most games (>95% success, ~5% it fails, but depends on game)
reflate = Problems on big files, but rest works.
precompMT = Works very good, but i have not tested it much
msc = problems on decompressing dds files (see UA topic, other not tested) with an archive around 3-4GB. Much too slow with high profile. But it's integrated in CIUv2 anyway, so...
lz4 = working build not public
zstd = Don't know much about that, should work good with lz4

Titeuf
20-07-2017, 10:40
Hi,
It's a shame for Razor !!

KaktoR
20-07-2017, 10:41
No it's not a shame. But it's his personall decision anyway. We should respect that.

Titeuf
20-07-2017, 11:05
No it's not a shame. But it's his personall decision anyway. We should respect that.

Yes if it is not anger because if it is anger it is damage!

Gupta
27-07-2017, 07:05
can anyone voluntarily donate me a design that will be come default with CIU, Credits is always his/her, Only two requirement - use most of the component from the bamse's releases(not mine, removed music related tweaks from the last release)

and one more thing added ultraarc support, just don't want to release with the current design that i messed up during testings, also anyone with requests got free weekend

Edit: Thinking about ways to add custom methods, I can add an option to extract a 7zip file before the extraction of bin that contains arc.ini and other important things(exe and etc.) in temp, Any suggestions?

KaktoR
27-07-2017, 14:01
can anyone voluntarily donate me a design that will be come default with CIU, Credits is always his/her, Only two requirement - beautiful and use most of the component from the bamse's releases(not mine, removed music related tweaks from the last release)
What do you mean with "beautiful"? :D What design is beautiful to you?

and one more thing added ultraarc support, just don't want to release with the current design that i messed up during testings, also anyone with requests got free weekend

Great.

I had some ideas past days, but forgot them somehow lol. Will let you know when i got them back in my head.

Edit: Thinking about ways to add custom methods, I can add an option to extract a 7zip file before the extraction of bin that contains arc.ini and other important things(exe and etc.) in temp, Any suggestions?

Don't understand. 7zip file contains additional files related to CIU or related to custom methods only? In that case, script must be somehow variable.

Gupta
27-07-2017, 17:29
What do you mean with "beautiful"? :D What design is beautiful to you?

"Big results require big ambitions."



Don't understand. 7zip file contains additional files related to CIU or related to custom methods only? In that case, the script must be somehow variable.
after conversion, you make a zip file containing arc.ini, CLS's and executables that u used but not come with ultraarc, then you put where setup.exe is. then at the starting of installation process setup will extract it first in the temp directory, so the it can get all the arc.ini and other stuff needed for the extraction of bin
f.e, let u use ztool(of RAZOR12911) with your setup.exe that don't come with ultraarc, so you make a zip file, put it where the setup is, at the installaion process extract it, then uses the archived exe to extract the bin

Gupta
28-07-2017, 05:31
170728:

redone all the tweaks from the previous release.
Added ultraarc
added multiple splash(Autorun\ASplash#.png, Setup\Splash#.png,Setup\Splash#_*.png(# - (1 to ?), * - Short name for language))
multiple backgrounds for setup(already done by bamse, its a bit confusing for me thus write my own code)
Fixed external compression, was broken in previous release


NOTE: Volume seeker and other music related tweaks from the previous release doesn't work in here, as i messed up external compression while adding them, will be reimplemented as soon as possible

Titeuf
28-07-2017, 05:37
170728:

redone all the tweaks from the previous release.
Added ultraarc
added multiple splash(Autorun\ASplash#.png, Setup\Splash#.png,Setup\Splash#_*.png(# - (1 to ?), * - Short name for language))
multiple backgrounds for setup(already done by bamse, its a bit confusing for me thus write my own code)
Fixed external compression, was broken in previous release


Nice job,thank
I test tonight!

KaktoR
28-07-2017, 08:59
multiple backgrounds for setup(already done by bamse, its a bit confusing for me thus write my own code)

Was that the jpg and png thing? I don't know if that was a bug or a feature, and haven't tested yet, but in previous releases you could only use JPG images for Backgrounds, not PNG ones.

PS: Have you added ztool too?

KaktoR
28-07-2017, 09:03
Fixed external compression, was broken in previous release

You mean internal INNO compression?

Haven't tested yet, but should be this way if you decide to let users use internal inno compression:
1. Create Setup.bin normaly (with or without PASSWORD)
2. Share whole CIU folder (except for Setup folder)
3. People must be creating Setup.exe with EXTERNAL switch and INTERNAL compression

ANd why this thread is not sticky yet? Pakrat? Please do it, since it is very usefull.

Gupta
28-07-2017, 09:45
>>Was that the jpg and png thing? I don't know if that was a bug or a feature, and haven't tested yet, but in previous releases you could only use JPG images for Backgrounds, not PNG ones.

i thought only PNG can be added(previous releases), in this release, you can add multiple PNGs for installer, Installer.bmp, Installer#_*.png(#- counter, *- short name for language)(all Installer*.png should have same dimensions since .bmp is same)

>>You mean internal INNO compression?
vulture protective compression for images(Setup folder) etc.

>> Have you added ztool too?
what we discussed earlier will be implemented, thinking about making something like ultraarc (started writing too, will release a cli tomorrow or on Sunday)

KaktoR
28-07-2017, 10:54
Ahh sorry, i missunderstood you previously. I thought you mean background pictures (in Background folder).

I have wrote that a while back in bug list on other place.

pakrat2k2
28-07-2017, 12:21
and why this thread is not sticky yet? Pakrat? Please do it, since it is very usefull.

Done :)

omdj
28-07-2017, 14:47
Prince
Which UltraArc version should I use for the latest CIU version?
UltraARC 2800 R2 Edition?

Gupta
28-07-2017, 16:56
Prince
Which UltraArc version should I use for the latest CIU version?
UltraARC 2800 R2 Edition?
for now use official version only

omdj
28-07-2017, 22:11
Is there any possibility of modifying by means of setup.ini the time in which splash is shown?

Gupta
28-07-2017, 23:53
Update available:

170729:

controls for splash can be set from setup.ini (requested by omdj)



[ASplash]
;Defaults
Fadein=1000
Showfor=10000
Fadeout=1
Transparency=255

;Fadein#, Showfor#, Fadeout# for individual splash screens ( time in ms )
;Transparency# ( 0 -255 ) transparency of splash screens
;Fadein1=10
;Showfor1=10000
;Fadeout1=1000
;Transparency1=255

[Splash]
;Defaults
Fadein=10
Showfor=10000
Fadeout=1000
Transparency=255

;Fadein#, Showfor#, Fadeout# for individual splash screens ( time in ms )
;Transparency# ( 0 -255 ) transparency of splash screens
;Fadein1=10
;Showfor1=10000
;Fadeout1=1000
;Transparency1=255

gatosky1620
29-07-2017, 15:41
my friend can you fix the #define ProgramFiles option problems please, and add the Recently ini files setting, like CPY.ini, steam_emu.ini, etc, and the same time fix the Language SetIniString. i mean this

NOW
Language = Spanish

IT MUST BE
Language = spanish

Gupta
30-07-2017, 08:36
update Available:


Can Edit Ini on the installation
Music list is back!
can play any number of music files!
many changes in Compiler.
new DebugMode, if Enabled:


Setup.ini is directly read from {src}, so that you don't have to recompile with every change in Setup.ini
if started with cmdline "/InstallOnly" - then no Uninstall will run even if already installed directly autorun will run




Editing Ini:
[Tasks]
EditIni1={src}\Codex.ini;Section:Settings;Key:Lang uage;Value:czech;Lang:czech
EditIni2={src}\Codex.ini;Section:Settings;Key:Lang uage;Value:english;Lang:englishUS
EditIni3={src}\Codex.ini;Section:Settings;Key:Lang uage;Value:Default

multiple languages can be separated by ','
EditIni2={src}\Codex.ini;Section:Settings;Key:Lang uage;Value:english;Lang:englishUS,englishUK

above tasks will be performed at ssPostInstall

Music List
Can Change Property From sections - "MusicList" and "AMusicList" of Setup.ini
18988
18990

Titeuf
30-07-2017, 10:42
Hello,
Thank you for your update!
Is it possible to change the name of the player in ex: the Codex.ini file?
If possible can you say what to add
thank you in advance

KaktoR
30-07-2017, 12:01
For MusicBox, should be better to display just the names ABC - XYZ without mp3 extension.

And, i don't know if it's possible because it seems that MusicBox is a TextBox actually, it would be better to have the same background than the skin or Autorun.png / Installer#1.png used. Or just make it somehow transparent.

gatosky1620
30-07-2017, 17:46
i think is better that the "Language;Value" in the INI file automaticly change with the language selected in the autorun, and is not necessary show message windows at the end of the installation.

KaktoR
31-07-2017, 04:59
Will extend it further with new modifications and most functions for a new CIU template.

If you look at MusixBox, that way should it be if possible.

Gupta
31-07-2017, 06:43
Will extend it further with new modifications and most functions for a new CIU template.

If you look at MusixBox, that way should it be if possible.

if you give me the template earlier when I asked then I will implement it in that manner, now you have to wait till the weekend, I only get free time on weekends nowadays

EDIT1: I can implement it as language box if you wish I mean arrow button for scrolling, else writing code for scroll box is shit lots of code

EDIT2: also, I am thinking since I am making designer so at the same time I can implement a CIU like script in C++ builder with hell lot of creative and technical independence also the lot of work too, because then I have to implement 7zip, free arc, free arc will be easy but 7zip is scary in C++, something like ASC but with a set CIU like template(no project from zero)
What do you guys think

EDIT3: @moderators, in my above post, in "EditIni" examples, there is no gap between "Lan guage" -> "Language"
18995

KaktoR
31-07-2017, 07:11
if you give me the template when I asked you then I will implement it in that manner, now you have to wait till the weekend, I only get free time on weekends nowadays

Not finished yet. Give me some days (i have not much time too nowadays :D)

EDIT1: I can implement it as language box if you wish I mean arrow button for scrolling, else writing code for scroll box is shit lots of code

Yes, that would be awesome too :) Horizontal or Vertical? Maybe both? Don't know what's easier to write.

EDIT2: also, I am thinking since I am making designer so at the same time I can implement a CIU like script in C++ builder with hell lot of creative and technical independence also the lot of work too, because then I have to implement 7zip, free arc, free arc will be easy but 7zip is scary in C++, something like ASC but with a set CIU like template(no project from zero)
What do you guys think

I think there is no need for 7zip, because, really, i have not seen any conversion around here or elsewhere that uses 7zip or even RAR.

But i like the idea with Designer. Like old days yener90 started some designer too. No more Setup.ini raping. Even if we are familliar with this now and most conversion designers around here do that easily at sleep.

But, take the time it needs and take yourself a free weekend if you want. No one here will hurry you up ;)

Titeuf
31-07-2017, 08:26
Hello everyone,
Some questions about the new version:
How to have the Drak theme as before?
I have this message when creating the Setup.exe:
Error at line: 87
Value of [Setup] section directive 'SlicePerDisk' is invalid.
How can I fix this error?
thanks in advance

omdj
31-07-2017, 09:07
also, I am thinking since I am making designer so at the same time I can implement a CIU like script in C++ builder with hell lot of creative and technical independence also the lot of work too, because then I have to implement 7zip, free arc, free arc will be easy but 7zip is scary in C++, something like ASC but with a set CIU like template(no project from zero)
What do you guys think

Would be great :)

Grumpy
31-07-2017, 18:17
EDIT3: @moderators, in my above post, in "EditIni" examples, there is no gap between "Lan guage" -> "Language"

I checked your above post, I do not know why it shows a 'gap'? There is no gap included in the text you posted but it still shows the gap, very strange, I have not seen this before.

78372
31-07-2017, 19:15
The same thing happened for me when I wrote/edited a thread here with UC Browser, there was unnecessary gaps. But when I used Opera to edit that post, the gap was not there.

Titeuf
31-07-2017, 23:20
Hello everyone,
Some questions about the new version:
How to have the Drak theme as before?
I have this message when creating the Setup.exe:
Error at line: 87
Value of [Setup] section directive 'SlicePerDisk' is invalid.
How can I fix this error?
thanks in advance

Hello everyone,
Can you tell me how to fix this error, please?

Gupta
01-08-2017, 01:59
Quick Update:
remove some Debug code
Fixed Tituf's Problem
new constants - {lang} for current active Language, {slang} for current active language's short name

NewEditini:
[Tasks]
EditIni1={src}\Codex.ini;Section:Settings;Key:Lang uage;Value:{lang};Lang:{lang}

Titeuf
01-08-2017, 02:44
Hello,
Thank you for your work and your patch!
Is it possible to change the name of the player in ex: the Codex.ini file?
How to have the Drak theme as before?

Edit:
To change the name of the user, is this correct:
EditIni2={src}\Codex.ini;Section:Settings;Key:User name;Value:{username}

KaktoR
01-08-2017, 06:52
---

1.

Setup.exe - MusicList / AMusicList playing titles from the end of list

01.A.mp3
02.B.mp3
03.C.mp3

Setup always starts from C.mp3

The same with numbers

01 - abc.mp3
02 - def.mp3
03 - ghi.mp3

Setup starts with 03 - ghi.mp3

And, Setup only playing this file, not the others. Users have to manually switch between them.

Make something like this:
Shuffle=0/1
Allow Setup.exe to randomly playing mp3 files. means not in any order.

If set to 0, Setup will always start from first alphabetical or numeric file till last one, then repeat from beginning.

2.
Equalizer / EqualizerAR image will get stuck if clicking it for pause playback

KaktoR
01-08-2017, 12:26
---
3.
Logo image doesn't show

[Logo]
------------------------------------------------------- Setup\Logo.png
Top=114
Left=19
Width=220
Height=98
//Alignment= // left / center / right
Visible=1

{src}\Setup\Setup\Logo.png

gatosky1620
01-08-2017, 17:16
using spanishES or spanishMX the constant {lang}, current active Language, it must be just spanish, the same is for portuguese

pakrat2k2
01-08-2017, 20:53
using spanishES or spanishMX the constant {lang}, current active Language, it must be just spanish, the same is for portuguese

WHY keep wanting to change it? It's always been SpanishES / SpanishMX or
Portuguese / PortugueseBR, in every script here as long as I remember...
:confused:

KaktoR
02-08-2017, 04:39
@Pakrat: Has to do with "Medicine INI". If you start Setup.exe with SpanishES or SpanishMX, Setup write SpanishES or SpanishMX in "Medicine INI" instead of just "spanish" how it should be.

That's the way i understand it.

omdj
02-08-2017, 06:36
Prince
UltraARC official version first merg in the c drive and then extract to selected folder.
Please modify the script so that UltraARC does everything from installation folder.
The script that is in attachment does everything from installation folder.
This will guide you.

Gupta
02-08-2017, 07:24
[Logo]
------------------------------------------------------- Setup\Logo.png
Top=114
Left=19
Width=220
Height=98
//Alignment= // left / center / right
Visible=1

{src}\Setup\Setup\Logo.png

Logo is actually implemented for showing during installer only,during showing slideshow, on the big screen during installation

Prince
UltraARC official version first merg in the c drive and then extract to selected folder.
Please modify the script so that UltraARC does everything from installation folder.
The script that is in attachment does everything from installation folder.
This will guide you.

done, soon update with more additional features

KaktoR
02-08-2017, 08:03
Flash1.swf

[Flash1]

Doesn't work.

Edit: Works, information on Wiki was faulty. Have corrected that.

Should be Setup\Setup\Flash.swf

KaktoR
02-08-2017, 09:05
If disable opacity

//Opacity=
//OpacityOnMouse=
//OpacityMouseDown=

Setup should disable it and use standard settings.

If i disable it, opacity is still active (i don't know what settings exactly).

KaktoR
02-08-2017, 09:11
[Website1Button]
Site=store.steampowered.com/app/489830

Points to start page of your browser and opens up a new browser window.

In older versions it was not the case. There it opens a new tab instead of a whole new browser process.

KaktoR
02-08-2017, 09:26
[ReadMe1Button]
Folder={src}\Readme

Opens up C:\ drive instead of {src}\Readme folder (or where Windows is located).

KaktoR
02-08-2017, 12:42
Is there actually any PDF plugin for Inno out there?

Don't like the idea that ManualButton opens Manual folder instead of Manual.pdf.

Don't know if it is even possible.


PS: Template is almost finished. Just waiting for fixes to proof things out working.

gatosky1620
02-08-2017, 20:00
[QUOTE=PrinceGupta2000;461292]Logo is actually implemented for showing during installer only,during showing slideshow, on the big screen during installation

The logo aligment center or right, in the big screen, dont work

gatosky1620
02-08-2017, 20:05
if this script use ultraarc and the ExtractSettings is disable, how i do to add comp, lang and pass for one FreeArcFile in the records.ini

KaktoR
03-08-2017, 01:27
if this script use ultraarc and the ExtractSettings is disable, how i do to add comp, lang and pass for one FreeArcFile in the records.ini

[Record1]
Type=Freearc_Original
Source={src}\Data1.bin
Output={app}
Disk=1
Component=1
Task=
Language=fr

[Record2]
Type=Freearc_Original
Source={src}\Data2.bin
Output={app}
Disk=2
Component=2
Task=
Language=pl


Don't know what "Task=" is actually.
And there is no pass option.

KaktoR
03-08-2017, 03:26
Suggestion: mp3 format for AButton/Button/AButtonOnMouse/ButtonOnMouse instead of wav (or both).

Gupta
03-08-2017, 05:46
Suggestion: mp3 format for AButton/Button/AButtonOnMouse/ButtonOnMouse instead of wav (or both).

can't be done, BASS.dll is not used for that, or can be done?

Is there actually any PDF plugin for Inno out there?
Nope can't be done, no plugin available

KaktoR
03-08-2017, 06:37
If disable DirectX= (//DirectX=), DirectX remain to show on installer.

KaktoR
03-08-2017, 09:19
---

Gupta
03-08-2017, 09:22
Next Bug. I am the only one searching for bugs and find them? :D

what should it look like?

KaktoR
03-08-2017, 09:33
Edit: Scrap that, all Ok

[ProgressBar]
/Top=220

There was just one /, therefore it was not disabled somehow. Have overseen that.

gatosky1620
03-08-2017, 16:20
can you add disable or enable ultraarc, because without ultraarc (having the extractsetting) during the setup desing, when i want test the graphs i could see the big screen (smallinstaller process) Without the installation closing of blow.

http://i.imgur.com/MRt2ev9.jpg

in this moment i can see what is ok or wrong (i have time)

KaktoR
03-08-2017, 17:02
Just create records.ini manually and place it near setup.exe

[Record1]
Type=Freearc_Original
Source={src}\Data1.bin
Output={app}
Disk=1

BUG:
If Setup.exe cannot find Data1.bin, or i want to abort, there is a endless loop of question "Would you like to search for Data1.bin".

If i click no, question appears "Would you like to exit setup" or something simillar.

If i click Yes, Setup again asking for Data1.bin.

In this case i must close Setup.exe via Taskmanager.

KaktoR
04-08-2017, 08:27
VCL skins (Setup.vsf) seems to not working properly.

gatosky1620
04-08-2017, 16:31
Is necessary add the next custom messages for each language

UltraArcMessage1
UltraArcMessage2
UltraArcMessage3
UltraArcMessage4
UltraArcMessage5
UltraArcMessage6

so there is the complete messages

About the language string in the ini file the constant must be like this

albanian
arabic
bosnian
tchinese
schinese
croatian
czech
danish
dutch
english
farsi
finnish
french
german
greek
hebrew
hungarian
indonesian
italian
japanese
korean
norwegian
polish
brazilian
portuguese
romanian
russian
serbian
spanish
swedish
thai
turkish
ukrainian
vietnamese

-If exist another nomeclature just i add manually
-Is neccesary add a new language "simplified chinese"
-I think is not neccesary windows at the end of the installation showing the ini file changes, it must be automaticly.

houcine80
05-08-2017, 03:12
Hello
You can add double click on installer for minimize as version (CIUv1.0.0.6) thanks

Gupta
05-08-2017, 09:51
again a quick update
Music list is now composed of Buttons
rewrite UltraARCprocess for CIU

change Setup\MusicListBtn.png for MusicListBtns
You can add double click on installer for minimize as version (CIUv1.0.0.6) thanks
happens on middle mouse button click

...
sorry, but can't understand your question

VCL skins (Setup.vsf) seems to not working properly.
works for me

If Setup.exe cannot find Data1.bin, or i want to abort, there is a endless loop of question "Would you like to search for Data1.bin"......
rewrote it check if dame happen with this update too

can you add disable or enable ultraarc, because without ultraarc (having the extractsetting) during the setup desing, when i want test the graphs i could see the big screen (smallinstaller process) Without the installation closing of blow.
if setup found records.ini, then ExtractSetting will not be executed

If disable DirectX= (//DirectX=), DirectX remain to show on installer.
where?

If disable opacity

//Opacity=
//OpacityOnMouse=
//OpacityMouseDown=

Setup should disable it and use standard settings.

If i disable it, opacity is still active (i don't know what settings exactly).

This will control the opacity(transparency) of Buttons 0 to 100,
OpacityOnMouse= //Opacity on Mouse
OpacityMouseDown= // opacity on Mouse Down

Default value is 100 percent

omdj
05-08-2017, 11:12
Prince
An error occurred while starting the installation:
Internal error: ExtractTemporaryFile "7z.dll" was not found.
Please check the script.

http://nsa37.casimages.com/img/2017/08/05/170805082846577543.png (http://www.casimages.com/i/170805082846577543.png.html)

KaktoR
05-08-2017, 13:19
where?

HW Page.

In previous version you were able to disable DirectX showing on HW Page.

Now, DirectX is still showing when DirectX is disabled in Setup.ini (//DirectX=)

Default value is 100 percent

If i disable opacity (set // before), default is not 100.

Its still
Opacity=80
OpacityOnMouse=20
OpacityMouseDown=50

(or anything near to that, but buttons are still semi-half-somewhat transparent)

If i disable it

//Opacity=80
//OpacityOnMouse=20
//OpacityMouseDown=50

it should be 100 for all three, but it's not.

works for me

Sorry this is what i meant
http://i.imgur.com/F8cyElK.png

houcine80
05-08-2017, 16:09
Ah yes thanks bro

gatosky1620
05-08-2017, 18:11
@princegupta2000 can you create a setup.ini with all functions and variables and @kaktor can you update the wiki page explain all the new functions?

gatosky1620
05-08-2017, 18:18
if i only have one music.mp3 file and i want listen it after autorun without the music list, what i do?

because the music only works having the autorun music option enable

Gupta
11-08-2017, 06:46
quick update:
Fix Extract.... errors
Fix Setup.vsf

Can anybody suggest me what should i do with converter, lister, splitter buttons, i mean what they should do rateher than poping up some random forms
19100

@Kakotr i didn't hear about music list from u,
and also every button have Opacity... property ex
[SmallBrowseButton]
------------------------------------------------------- Setup\SmallBrowse.png \ SmallBrowseSelected.png \ SmallBrowseClicked.png
Opacity=80
OpacityOnMouse=40
OpacityMouseDown=50
every button in ini, was set with these values, in ini(explicitly specified), not by default, you should disable them too

KaktoR
11-08-2017, 07:35
These functions have not used by anyone in the past (except for patcher, BAMsE used this 2 times).

Splitter not needed while UltraARC do this.
I don't know what converter is already.
Lister is not useful for conversion design. In fact it's a simple batch that list all files in custom directory.

About MusicList:
I was not able to downsize the list in height. MusicList is always as height how much titles are in Music folder.

What about the idea to rework the music list like language bar (with arrows)?

Also there is a problem with CPU usage and system lags under Win10x64 for some of CIU components (i guess something with bitmap draw). In fact it's WDM.exe (Windows Desktop Manager) that got a crazy CPU usage and cause system lags if you use bitmaps like this

http://imgur.com/tUyFfZq

Maybe you can investigate it further. Maybe it's caused by some Windows features too. I don't know.

I have tested on my desktop PC and a test PC with a new windows installation, also my Notebook.

Gupta
11-08-2017, 08:20
>>I was not able to downsize the list in height. MusicList is always as height how much titles are in Music folder.
adjusting heights of individual titles with the given height will be easy to implement

>>What about the idea to rework the music list like language bar (with arrows)?
This will require some time to implement, it is not that easy as it sounds or it is?

>>Also there is a problem with CPU usage and system lags under Win10x64 for some of CIU components (i guess something with bitmap draw). In fact it's WDM.exe (Windows Desktop Manager) that got a crazy CPU usage and cause system lags if you use bitmaps like this
it doesn't happen on win 7, I recently read an article, they are rewriting all the windows visuals driver for HDR or something like that, some new functions are added to win API for windows 10 only, botva2 should be updated,
I will do some test with isab.dll's imgload APIs, hope you will help

EDIT
Splitter not needed while UltraARC do this.
I don't know what converter is already.
Lister is not useful for conversion design. In fact it's a simple batch that list all files in custom directory.
Shall i remove them?

EDIT2
above continued...
or shall i make another compiler, which will work with setup.bin(protected), so that user can compiler on the fly with inno disk spanning support, so called converter...

KaktoR
11-08-2017, 10:48
This will require some time to implement, it is not that easy as it sounds or it is?
All sounds easy, but writing code and implement it successfully isn't easy at all :p

it doesn't happen on win 7, I recently read an article, they are rewriting all the windows visuals driver for HDR or something like that, some new functions are added to win API for windows 10 only, botva2 should be updated,
I will do some test with isab.dll's imgload APIs, hope you will help
Interesting. And of course i will help you with it.

or shall i make another compiler, which will work with setup.bin(protected), so that user can compiler on the fly with inno disk spanning support, so called converter...
Isn't it included with actual compiler? I only share pre-created Setup.bin alongside with CIU files (Include, IS_Files, Languages, Langsymbols and compiler.exe), so users just need to check "PACK GAME" in compiler to create Setup.exe and disk spanning. I think that's the way it should be.

Gupta
12-08-2017, 02:53
@houcine
which opacity problem you are talking about. sorry i can't reply at that time

gatosky1620
12-08-2017, 14:46
Lister = create files list for dvd5, dvd9, bd25, etc
Converter = open the UCC or UCS, Compress.bat and the same time edit it all the game parameteres

gatosky1620
12-08-2017, 14:50
BUGS
if i only have one music.mp3 file and i want listen it after autorun without the music list, what i do?
because the music only works having the autorun music option enable

If Setup.exe cannot find Data1.bin, or i want to abort, there is a endless loop of question "Would you like to search for Data1.bin".
If i click no, question appears "Would you like to exit setup" or something simillar.
If i click Yes, Setup again asking for Data1.bin.
and error cm 6

houcine80
13-08-2017, 01:47
@houcine
which opacity problem you are talking about. sorry i can't reply at that time

Hello
I cannot disable opacity in installer

Gupta
13-08-2017, 01:52
Hello
I cannot disable opacity in installer


Button's opacity?

houcine80
13-08-2017, 02:51
Button yes

Gupta
13-08-2017, 05:01
check out that particular button's section in ini and you will find something like these
Opacity=
OpacityOnMouse=
OpacityMouseDown=
set these values,100 means no transparency, ranges from 0 to 100,
you can also comment these out
//Opacity=
//OpacityOnMouse=
//OpacityMouseDown=
it will then take default values from the standard button ini section, and if you comment them out too, then it will take 100 opacity percentage

houcine80
13-08-2017, 05:15
check out that particular button's section in ini and you will find something like these
Opacity=
OpacityOnMouse=
OpacityMouseDown=
set these values,100 means no transparency, ranges from 0 to 100,
you can also comment these out
//Opacity=
//OpacityOnMouse=
//OpacityMouseDown=
it will then take default values from the standard button ini section, and if you comment them out too, then it will take 100 opacity percentage

Hi
I have already disabled and it does not work
But from 100 meter it works

KaktoR
13-08-2017, 05:31
Standard settings if you disable opacity are
Opacity=80
OpacityOnMouse=20
OpacityMouseDown=50

But it should be

Opacity=100
OpacityOnMouse=100
OpacityMouseDown=100

So

//Opacity=
//OpacityOnMouse=
//OpacityMouseDown=

Should be

Opacity=100
OpacityOnMouse=100
OpacityMouseDown=100

houcine80
13-08-2017, 06:23
hi
Possible to create installer with this animated image like this

houcine80
13-08-2017, 06:29
//Opacity=
//OpacityOnMouse=
//OpacityMouseDown=

Does not work you have already tested ?? Kaktor


On autorun works perfectly
On installer does not work

Gupta
13-08-2017, 06:32
you can use it as partial background, you can't place anything on the video, may be a separate space for video and buttons and other stuff

KaktoR
13-08-2017, 07:11
It's not possible to put this video in the background and show all other things foreground?

Gupta
13-08-2017, 07:17
nope, even razor can't do it in asc

KaktoR
13-08-2017, 10:31
It only affect avi, mp4, mkv? Or all other too? Like flash (swf).

Gupta
13-08-2017, 10:44
can't say about swf, but it should be same for every other format, every dll does nothing but provides alternate ways of using same native windows API

Gupta
14-08-2017, 09:19
Update Available

1.reworked Music list(can't have a background now)
2.Can disable music for installer and Autorun separately
3.Fix bugs reported by gatosky here (http://fileforums.com/showpost.php?p=461665&postcount=91)
4.Fixed Opacity problem
5.Button sounds can be mp3 now
6.new constant - > {langfull} now expands real languages f.e EnglishUS, EnglishUK->English and so on
7.want to add new compressor to the installer no problem just put exe/dll/cls/whatever in Include\Addons\ and tweak Include\Arc.ini, setup will automatically extract those in temp directory and you are done
Rules:
1. Subdirectories not includes
2.Anything that is part of ultraarc(original) can't be added in Addons folder, setup will throw an error(simply replace them if you want to change them)
@kakotr now you can remove "but only the old version (without pzlib and such)." from wiki
8.little tweaks into compiler
9.can shuffle music list
10.Fixed pause, manual and website function

Extract this (http://fileforums.com/attachment.php?attachmentid=19132&d=1502735078) over the "CIU 170714"

KaktoR
14-08-2017, 09:25
Thank you.

Will test it. If all is ok, will send you template in the next days.

PS:

FontColorOnMouse=$800080
FontColorSelected=$ffffff

Should be the same regarding it's functions.

PPS:
Readme / Website still not fixed.

Gupta
14-08-2017, 09:36
FixedIni

KaktoR
14-08-2017, 09:45
Personally i like the idea with

FontColorOnMouse= -> FontColorSelected=
FontColorMouseDown= -> FontColorClicked=

It's even more obvious then.

Maybe you can change all of them for all functions.

PS: Here is a small fix for the german translation. It was just one single word that was not fitting well.

Gupta
14-08-2017, 10:31
quick update:
fixed readme and manual button, both have the problem

@kakotr, website button works correctly, no new windows in win 7

KaktoR
14-08-2017, 11:07
Can you explain how website site should be in setup.ini?

Site=store.steampowered.com/app/489830
Site=www.store.steampowered.com/app/489830

doesn't work.

Gupta
14-08-2017, 11:24
Can you explain how website site should be in setup.ini?

Site=store.steampowered.com/app/489830
Site=www.store.steampowered.com/app/489830

doesn't work.

sorry I should have checked it properly, it is a result of a typo

KaktoR
14-08-2017, 12:15
Splash doesn't work.

Setup\Splash.png
Setup\Splash1.png
Setup\Setup\Splash.png
Setup\Setup\Splash1.png

gatosky1620
14-08-2017, 13:19
@prince can you
-add the ChineseSimplified Language, there is the flag and the updpate messages files for all languages incl. ChineseS.txt.
-add checked=1/0 and the Select All or none to the Redist

Gupta
14-08-2017, 20:09
quick update:
fixed splash

houcine80
15-08-2017, 01:55
Hello bro
(Splash1) they blink

KaktoR
15-08-2017, 02:57
Fade in / fade out is broken.

Th3Raven
15-08-2017, 17:12
Suspend/Resume doesn't seem to work. And can i get Language file for translation? seems needs some modification (some minor and some major in romanian )
And i have a suggestion for music. Can be made a drop down menu for it ? and in right side of the drop down menu to add play/pause and stop buttons and under them the volume slider ?

Gupta
16-08-2017, 05:50
>Suspend/Resume doesn't seem to work
if you suspending the process, then you do not stops the time eventually, it is only the "remaining" and "elapsed" time which increases, processes have been suspended

>> (Splash1) they blink

check the attached patch, if it looks not working in the first and so attempts, try playing around with setup.ini, and then report

gatosky1620
16-08-2017, 11:46
prince i need a vers with ChineseS language add

THANKS

Th3Raven
18-08-2017, 11:03
>Suspend/Resume doesn't seem to work
if you suspending the process, then you do not stops the time eventually, it is only the "remaining" and "elapsed" time which increases, processes have been suspended

>> (Splash1) they blink

check the attached patch, if it looks not working in the first and so attempts, try playing around with setup.ini, and then report

hmm ok and can i have language file to start improve romanian translation?

KaktoR
18-08-2017, 11:40
^See Languages\Romanian.txt

Th3Raven
18-08-2017, 16:50
^See Languages\Romanian.txt

ah yes forgot where i find these files :))) feels like ages since last time i made a conversion.

mausschieber
25-08-2017, 02:14
I have an error
Unknown identifier 'BASS_StreamCreateFile'

https://abload.de/img/errorkuzz5.png

Gupta
25-08-2017, 04:02
you are eventually using one of the older version, this problem has been fixed
Post #1 is updated with the latest version

Titeuf
25-08-2017, 04:34
you are eventually using one of the older version, this problem has been fixed
Post #1 is updated with the latest version

Hello,
thank you for your work !
How to use "patcher", please?
Thank you

Gupta
25-08-2017, 04:54
I don't know, Kakotr can tell

KaktoR
25-08-2017, 05:43
Patcher generates a alternative Setup.exe for Patch purposes.

Let's say, you have compressed a whole game, then after a while a DLC come out. To prevent compressing the whole game + dlc again, Patcher just compress DLC files which you can burn.

See Wiki page
[UpdateOptions]
-------------------------------------------------------------------------------------------------------------------------------------------
//UpdateName= // string
//UpdateNamePL= // string
//UpdateVersion= // string
//NeedGameVersion= // string
//NeedUpdateVersion= // string

If i'm not mistaken. Never used it.

BAMsE did it in the past with "Fallout 4" conversion.

Titeuf
25-08-2017, 08:46
Patcher generates a alternative Setup.exe for Patch purposes.

Let's say, you have compressed a whole game, then after a while a DLC come out. To prevent compressing the whole game + dlc again, Patcher just compress DLC files which you can burn.

See Wiki page
[UpdateOptions]
-------------------------------------------------------------------------------------------------------------------------------------------
//UpdateName= // string
//UpdateNamePL= // string
//UpdateVersion= // string
//NeedGameVersion= // string
//NeedUpdateVersion= // string

If i'm not mistaken. Never used it.

BAMsE did it in the past with "Fallout 4" conversion.

Hello KaktoR,
Thank you for your explanations.
But which one to choose?
XDelta or vPatch?
Maybe the 2 are similar? Otherwise what is the difference

gatosky1620
25-08-2017, 19:45
@PrinceGupta2000 pls add chinese Simplified language

Gupta
25-08-2017, 20:25
language file

gatosky1620
25-08-2017, 20:28
language file
there is the flag and the languages,txt files updates

gatosky1620
06-09-2017, 18:01
If i use pack game option, the uninstall.exe is not created in the app folder, and during the installation the installing messages (extracting...XXX, etc) dont appear

gatosky1620
15-09-2017, 13:49
update Available:


Can Edit Ini on the installation
Music list is back!
can play any number of music files!
many changes in Compiler.
new DebugMode, if Enabled:


Setup.ini is directly read from {src}, so that you don't have to recompile with every change in Setup.ini
if started with cmdline "/InstallOnly" - then no Uninstall will run even if already installed directly autorun will run




Editing Ini:
[Tasks]
EditIni1={src}\Codex.ini;Section:Settings;Key:Lang uage;Value:czech;Lang:czech
EditIni2={src}\Codex.ini;Section:Settings;Key:Lang uage;Value:english;Lang:englishUS
EditIni3={src}\Codex.ini;Section:Settings;Key:Lang uage;Value:Default

multiple languages can be separated by ','
EditIni2={src}\Codex.ini;Section:Settings;Key:Lang uage;Value:english;Lang:englishUS,englishUK

above tasks will be performed at ssPostInstall

Music List
Can Change Property From sections - "MusicList" and "AMusicList" of Setup.ini
18988
18990

I SET THIS:

EditIni1={app}\Bin32\steam_api.ini;Section:Setting s;Key:Language;Value:english;Lang:englishUS
EditIni2={app}\Bin32\steam_api.ini;Section:Setting s;Key:Language;Value:spanish;Lang:spanishES
EditIni3={app}\Bin32\steam_api.ini;Section:Setting s;Key:Language;Value:german;Lang:german
EditIni4={app}\Bin32\steam_api.ini;Section:Setting s;Key:Language;Value:french;Lang:french
EditIni5={app}\Bin32\steam_api.ini;Section:Setting s;Key:Language;Value:italian;Lang:italian
EditIni6={app}\Bin32\steam_api.ini;Section:Setting s;Key:Language;Value:polish;Lang:polish
EditIni7={app}\Bin32\steam_api.ini;Section:Setting s;Key:Language;Value:czech;Lang:czech
EditIni8={app}\Bin32\steam_api.ini;Section:Setting s;Key:Language;Value:Default

why the editini alway use the last EdtiIniX, for example is i select Spanish in the autorun the language in the INI file alway czech

another thing if i add
EditIni9={app}\Bin32\steam_api.ini;Section:Setting s;Key:UserName;Value:{username}

dont change the username in the INI file

Gupta
15-09-2017, 20:30
will fix soon, my examinations are going and have some other commitments

Gupta
16-09-2017, 23:40
now looking to the script looks like yener already has a designer, in script he almost answered many of my problems arising while making the designer, anyone knows the insight

KaktoR
17-09-2017, 02:36
Yep, he HAD one, but it was in alpha and very unstable. This is a few years back now.

STB13
22-09-2017, 02:38
So nice. . .

Btx
01-11-2017, 13:28
Hello one question. Is there a graphic guide or video tutorial to learn how to use this program and make installers? I have many ideas to create, but I do not understand how to use this program. Greetings.

pakrat2k2
02-11-2017, 06:15
^^ READ the first post, there is a link in code box for information on how-to

Gupta
09-11-2017, 09:07
anybody noticed equalizers are broken for very big inputs such as

[EqualizerButtonAR]
------------------------------------------------------- Autorun\EqualizerAR.png
Left=10
Top=10
NumberOfStripes=10
NumberOfBlocks=10
BlockWidth=6
BlockHeight=6
LineHeight=40
Visible=1

20012

KaktoR
09-11-2017, 09:15
Not yet. I guess most conversion creators using same settings for this since months/years.

Furthermore, there are thousands of possible settings.

pakrat2k2
09-11-2017, 09:21
Not yet. I guess most conversion creators using same settings for this since months/years.

Furthermore, there are thousands of possible settings.

noticed it, seems to happen with anything over 5

Gupta
09-11-2017, 09:29
fixed for now
20013

Gupta
09-11-2017, 09:32
what you guys actually want for the music box or I shall remove it?

KaktoR
09-11-2017, 10:01
Noticed there is no conversion using this script, i wonder why.

You can remove it if it is not used anyway.

Just make clear changelogs, so i have it easier to update the wiki page, if possible :)

Gupta
09-11-2017, 10:04
Actually i was planning to get the designer done in this month, but they took our surprise pre-boards plus Iafter coming more then half way I decided to rewrote this.. maybe next month I will relasea beta version
..

Also I will be replacing botva with my own library , free arc with my own archiver and thanks to altef for sharing code I fixed and optimize compiler further, next will be to join setup.cab and setup.exe.....
A lots if plan but no time to implement......

I will not be releasing any new version in between, this just make thing more ...

KaktoR
09-11-2017, 10:58
Waiting for it.

CIU really needs a GUI designer. No more INI tinkering :D

Kitsune1982
04-12-2017, 20:07
Hey guys, it may be too early to ask this, but has princegupta released a gui for his CIU? i know he said he wasnt going to release any new updates until he made the gui, just wondering if there was any updates on the progress of it.

thanks.

-Kitsune

'The only dumb question is the one never asked.'

sajmon83
05-12-2017, 15:49
PrinceGupta2000 this is great news! We are looking forward to ;)

KaktoR
07-12-2017, 10:34
Hey guys, it may be too early to ask this, but has princegupta released a gui for his CIU? i know he said he wasnt going to release any new updates until he made the gui, just wondering if there was any updates on the progress of it.

thanks.

-Kitsune

'The only dumb question is the one never asked.'

No. I am sure he will reply before GUI will be released, even if it's only for beta testing :)

sense4901
09-12-2017, 05:05
Custom Installer Ultimate v2.HOW TO CHANGE THE DESTINATION DIRECTORY BEFORE COMPILING EXAMPLE: C:\GAMES.PLS HELP!

pakrat2k2
09-12-2017, 11:43
^^ Stop with the CAPS !!

You cant change before compiling, have to change it when installing.. no big deal
most people don't install stuff on OS partition anyways.


PrinceGupta2000

Picking up virus from cat.exe & couple other alerts with AVG, when running compiler.

KaktoR
09-12-2017, 12:05
Had this issue some months ago too.

I don't even know what cat.exe is :D

KaktoR
14-12-2017, 13:06
Came up with a QoL idea while i was building up my launcher

How about to implement a function to let users choose between Steam/GOG in Autorun screen?

Many games are up on Steam and GOG, while GOG needs specific registry settings stored in Registry.iss.

In the end users could choose what version they want to install. That makes conversion makers to upload a single Setup.exe and not 2 different ones (one for Steam, another for GOG). Should save upload bandwitdh and also less wasting space on the FF servers.

pakrat2k2
14-12-2017, 14:08
Came up with a QoL idea while i was building up my launcher

How about to implement a function to let users choose between Steam/GOG in Autorun screen?

Many games are up on Steam and GOG, while GOG needs specific registry settings stored in Registry.iss.

In the end users could choose what version they want to install. That makes conversion makers to upload a single Setup.exe and not 2 different ones (one for Steam, another for GOG). Should save upload bandwitdh and also less wasting space on the FF servers.

You still need 2 seperate EXE's, the gog version for updates sake needs the registry entries., how can that be accomplished in one Setup.exe ?

KaktoR
14-12-2017, 14:12
With switches, same as f.e. language switch. But it's just a guess :D

pakrat2k2
14-12-2017, 18:55
sounds like good idea, hope you get it to work ;)

KaktoR
25-12-2017, 17:35
Bug: If you disable music on Autorun by Equalizer and press 'Install', music is enables then on Setup screen. If you disable music on Setup by Equalizer and press 'Next' twice, music plays. In addition, Equalizer has an animation although you have disabled music.

+

Could you please for next version set compression for Setup.exe+Setup.bin to lzma?

+

If you cancel unpacking files, already extracted files remain in install folder, means no rolling back.

DarkSyrius
27-12-2017, 09:49
Great work!
This one is the definitive CIUv2!
I have some questions and/or suggestions:

I want only do put website button on my conversion, but I need to put extras button too?
Is there any way to put only the website button alone?

When I select LangBox position=vertical and I limit the numbers of languages to show up, there is no arrow like previous versions to change the little flag. Is it OK or a little bug?

One thing that I want for a long time is individual sound effects for each button, e.g. a sound for next button and another to cancel button when clicked.

Thanks in advance!
Keep this awesome work!

Gupta
29-12-2017, 08:30
Bug: If you disable music on Autorun by Equalizer and press 'Install', music is enabled then on Setup screen. If you disable music on Setup by Equalizer and press 'Next' twice, music plays. In addition, Equalizer has an animation although you have disabled music.

will see


Could you please for next version set compression for Setup.exe+Setup.bin to lzma?

will try to merge them, the easiest way is to set no compression for 'setup.bin' and include it in Setup.exe, but will raise startup time, ok with it(ain't gonna give choice between them)


If you cancel unpacking files, already extracted files remain in install folder, means no rolling back.

is it in pre-"g-series" releases, ain't executing 'Uninstall', don't know why, will look into more details when get time


I want only do put website button on my conversion, but I need to put extras button too?
Is there any way to put only the website button alone?

I think you just need to disable Extra Buttons, KakoTR any help?


Picking up virus from cat.exe & couple other alerts with AVG, when running compiler.

though I don't use any antivirus,i am pretty sure those are false positives

KaktoR
29-12-2017, 08:33
For Website: BAMsE has changed that in 2.0.3.8 i guess. You don't need to enable ExtrasButton to view WebsiteButton. At least it is in 2.0.4 + 2.0.3.9 the case.

Gupta
29-12-2017, 08:35
and i don't think i touched those

pakrat2k2
29-12-2017, 11:03
DarkSyris
for website button to show up you only need to put it like this:
Site= w w w(dot) a n y s i t e (dot) c o m
( of course not exactly like that, i just typed it like that so it doesnt link to a website, you dont need the h t t p part )

DarkSyrius
30-12-2017, 11:41
...

I think you just need to disable Extra Buttons, KakoTR any help?

...


For Website: BAMsE has changed that in 2.0.3.8 i guess. You don't need to enable ExtrasButton to view WebsiteButton. At least it is in 2.0.4 + 2.0.3.9 the case.

DarkSyris
for website button to show up you only need to put it like this:
Site= w w w(dot) a n y s i t e (dot) c o m
( of course not exactly like that, i just typed it like that so it doesnt link to a website, you dont need the h t t p part )

Thank you so much guys for the quick reply!

I have tried this - like older versions, if I only put visible=1 in Website, this one shows without Extras button to be enabled.
I have tried this way and didn't work in this version.

The URL is fine. I know that HTTP is not needed. I tried with this and older versions of CIU. Thanks for the tip.

If I put visible to both Website and Extras button, the website only shows up after I click on Extras. It's fine!

But If I change the Width and Height values in Website Button, It does not show again! XD Same problem with last version (2.0.3.9).
So I can't personalize this button... Only If it has the same dimensions of others.

If I set Visible=0 to Extras Button and only put to show up the Website button, the Website button does not show up...

Edit:
If i set Extras Button Visible=0 and Website Button Visible=1 and DO NOT CHANGE the sizes of this one, It shows up in Autorun! XD
The problem, then, It is in sizes - like old version!
If I personalize this button and change its sizes, It didin't appears!

Edit2:
Other little problem is that LabelX/LabelY show to be not working too...

And nobody has a idea about independent sounds for each button? At least for Install/Next and Cancel/Back?


I have got the same problem with the cat.exe! Windows antivirus show a trojan Tigger!rfn in this file! The weird thing that I'm using this release a while and only got this today! XD

Thank you so much guys! You're awesome!
A Happy Holidays to all and and Great new Year! With a lot of conversions to do!

DarkSyrius
11-01-2018, 18:21
And the bug that consumes a lot of CPU with translucid images when uninstall continues??
I had it with my conversion... it's slow down all system.

A little question:
How I set a Custom Icon from my shortcut on desktop? Wiki does not say how.

Despite the little problems and bugs this version of CIU is awesome!
Keep the good work guy!

vollachr
23-01-2018, 01:58
Hi,

A few things...


I can confirm that the website button bug reported by DarkSyrius really exist, I have it as well sometimes

That said, I found a workaround, when it happens, while the Extras button is not visible and website set to be visible, comment out the Width and Height options for the website button, compile the exe, the button will show but won't be right.

Now, un-comment the width, save and compile, the button still there, width is good, height isn't.

Repeat with the height, un-comment it, compile, the button should show up correctly.



From some reason the [ExtractSettings] section is completely missing from the Setup.ini, at least for version 2.0.5.1g, didn't check previous versions.


There seems to be two [EqualizerButton] sections, I think one should be [EqualizerSIButton].



I think the Setup.ini file should really be re-built, it's a mess, there's no sense to the order of things in it, the redist in the middle, both splash together, autorun options after the normal installer options instead of before, it looks like a total mess. (I've actually been working on that myself, check the attached file, I think it's much better)


Also, can someone tell me how exactly the [ExtractSettings] section work with split files that need the Records.ini file?

For example, if I compress the entire game to one data file and split it to the required disc size, do I need to list only the first part of the split file in [ExtractSettings] or a line for each part?

Thanks.

KaktoR
23-01-2018, 05:26
[ExtractSettings]
SplittedFile{integer}={string};DestDir:{string};
Lang:{al/ar/bih/cnt/cz/de/dk/en/enuk/es/esmx/fa/fi/fr/gr/he/hr/hu/id/it/jp/ko/nl/no/pl/pr/prbr/ro/ru/sr/sw/th/tr/uk/vi};
Comp:{integer};
Archive:{arc/7z/rar};

vollachr
23-01-2018, 05:37
[ExtractSettings]
SplittedFile{integer}={string};DestDir:{string};
Lang:{al/ar/bih/cnt/cz/de/dk/en/enuk/es/esmx/fa/fi/fr/gr/he/hr/hu/id/it/jp/ko/nl/no/pl/pr/prbr/ro/ru/sr/sw/th/tr/uk/vi};
Comp:{integer};
Archive:{arc/7z/rar};

So, if I split the file Data.bin, it will be something like that?


[ExtractSettings]
SplittedFile1=Data.bin;DestDir:{app};Archive:arc;


or maybe this?


[ExtractSettings]
SplittedFile1=Data.bin.001;DestDir:{app};Archive:a rc;

KaktoR
23-01-2018, 05:41
I can't tell you for sure, just used it once for a single time (it's about 3 years ago when split feature was new in CIU).

I guess just try it out.

If i remember right you must use both, FreeArcFile# + SplittedFile# for one archive.

Maybe like this:
FreeArcFile1=Data.bin;DestDir:{app};
SplittedFile1=Data.bin.001;DestDir:{app};

It was very similar to records.ini with the split indicator

vollachr
23-01-2018, 05:44
I can't tell you for sure, just used it once for a single time (it's about 3 years ago when split feature was new in CIU).

I guess just try it out.

If i remember right you must use both, FreeArcFile# + SplittedFile# for one archive.

Maybe like this:
FreeArcFile1=Data.bin;DestDir:{app};
SplittedFile1=Data.bin.001;DestDir:{app};

It was very similar to records.ini with the split indicator

OK, guess it's trial and error time, at least you were able to give me a general idea how to do it.

Thanks

UPDATE 1: So far, what you suggested in the quote above seems to work, still in middle of test though, will report again when done.

UPDATE 2: OK, weird, it merged and extracted completely fine, but then asked for "Disk 1" again and the OK button was grayed out, clicking Cancel crashed the setup.

Back to the drawing board

UPDATE 3: I'm starting to think that there's no need for any lines in the [ExtractSettings] section when there's a Records.ini file, it seems it takes over, hopefully I'm right, can anyone confirm?

UPDATE 4: Yep, CONFIRMED!!! Only Records.ini needed, nothing in [ExtractSettings] section, worked just as expected.

Gupta
23-01-2018, 08:03
I left this thinking there is not much interest, then i move into other stuff and forget this XD
Will check this on weekend,
Plus it is not easy to work on 500 kB of source code(500* 1024*1024 ~ 524288000 ) character of code without any comments, written by someone i don't know, but i will get gang of it

vollachr
24-01-2018, 00:45
I noticed a few more small bugs, just FYI...

1. The equalizer on the installer, it start moving again when you change to the next page, even though the music is off

2. The equalizer should probably get flat when music is stopped rather than freeze in place

3. When you go back all the way to the first page of the installer the music start again, even if it was stopped.

Just thought I'll let you know, it's not major but should be fixed when you have the time.

KaktoR
24-01-2018, 02:36
I noticed a few more small bugs, just FYI...

1. The equalizer on the installer, it start moving again when you change to the next page, even though the music is off

2. The equalizer should probably get flat when music is stopped rather than freeze in place

3. When you go back all the way to the first page of the installer the music start again, even if it was stopped.

Just thought I'll let you know, it's not major but should be fixed when you have the time.

Already reported a few pages back

vollachr
24-01-2018, 04:47
Already reported a few pages back

Must have missed it then, there are so many pages and posts here.

Anyway, a question, why does the percentage on the progress bar changes size when I change the small installer font size, shouldn't it be fixed size so it fits in the progress bar no matter what?

It's just seems weird to me, if the need to change the progress bar percentage size arises it should be a separate option in my opinion.

vollachr
07-02-2018, 06:42
Any way of installing archives created with FreeArc CLS-Diskspan plugin with CIUv2.0.5g?

Simply adding CLS-Diskspan.dll to the Include\Addons folder isn't enough, It gives out an unsupported compression method error at the beginning of the installation.

Any ideas about that?

Gupta
07-02-2018, 08:49
try this witch cls-diskspan.dll in addon folder

vollachr
08-02-2018, 05:32
try this witch cls-diskspan.dll in addon folder

I just tried but I get an error in the compiler:

Error at line: 357
Source file "H:\Conversions\Archive\Wasteland 2\CIU v2.0.5.1 GOG DC\Languages\ChineseS.txt" does not exist.


There's a ChineseT.txt however in that folder

Also, I tried making a copy of the ChineseT.txt as ChineseS.txt and I got a similar error for ChineseS.png.

For the time being for testing purpose I just copied the ChineseT files as ChineseS, so I managed to finally compile the setup using the file you supplied.

I'll let you know if it works in a few hours.

vollachr
08-02-2018, 08:14
try this witch cls-diskspan.dll in addon folder

I just tried but I get an error in the compiler:

Error at line: 357
Source file "H:\Conversions\Archive\Wasteland 2\CIU v2.0.5.1 GOG DC\Languages\ChineseS.txt" does not exist.


There's a ChineseT.txt however in that folder

Also, I tried making a copy of the ChineseT.txt as ChineseS.txt and I got a similar error for ChineseS.png.

For the time being for testing purpose I just copied the ChineseT files as ChineseS, so I managed to finally compile the setup using the file you supplied.

I'll let you know if it works in a few hours.

OK, Everything seems to be working correctly when I don't have the mentioned compiler error for the "ChineseS" files, that's it until the end of the setup, upon clicking "Finish" I received the following error message (Uninstalling works fine though, I'm gonna check if it happens when I compile the Setup in "external" mode with Setup.bin)

UPDATE

Yep, happen with Setup.bin+Setup.exe as well, it's just annoying though, it doesn't seem to effect installation or un-installation in any way.

Oh, there's also the 2nd annoying popup during uninstall (see 2nd attachment)

Gupta
08-02-2018, 08:33
cls-diskspanning works?

vollachr
08-02-2018, 08:46
cls-diskspanning works?


Yes, it does, just the problems I described in previous 2 posts, the missing files (which I worked around) and the couple attached images in last post.

Gupta
08-02-2018, 17:20
i really can't reproduce the access violation, can you try without cls-diskspan.dll

vollachr
09-02-2018, 02:34
i really can't reproduce the access violation, can you try without cls-diskspan.dll

I'll try, might take a while though, I'll let you know.

I also have another theory that I intend to test.... The cls-diskspan.dll file I use is one I compressed using UPX to take less space, I want to see if the problem will happen with the original dll file.

UPDATE 1
Testing the different dll files was quite quick, it didn't help though, the access violation error is there no matter which cls-diskspan.dll I use.

Currently trying to test it with files not created with diskspan to see if it happen as well or not, it will take a while.

UPDATE 2
OK, when installing files not created with diskspan but leaving the diskspan dll file in the addon folder I get the same access violation error.

When doing the same thing but without the diskspan dll file in the addon folder at all however the access violation error doesn't happen.

So, basically, it has to do with the diskspan implementation obviously, which weird since other than the access violation error diskspan seems to work fine.

vollachr
09-02-2018, 09:49
i really can't reproduce the access violation, can you try without cls-diskspan.dll

I'll try, might take a while though, I'll let you know.

I also have another theory that I intend to test.... The cls-diskspan.dll file I use is one I compressed using UPX to take less space, I want to see if the problem will happen with the original dll file.

UPDATE 1
Testing the different dll files was quite quick, it didn't help though, the access violation error is there no matter which cls-diskspan.dll I use.

Currently trying to test it with files not created with diskspan to see if it happen as well or not, it will take a while.

UPDATE 2
OK, when installing files not created with diskspan but leaving the diskspan dll file in the addon folder I get the same access violation error.

When doing the same thing but without the diskspan dll file in the addon folder at all however the access violation error doesn't happen.

So, basically, it has to do with the diskspan implementation obviously, which weird since other than the access violation error diskspan seems to work fine.

Hmm... I just noticed something, I seem to have somehow, accidentally, copied the cls-diskspan.dll not only to "include/addon" folder but also just to "include" folder, meaning I had it in both "Include" and it's "addon" sub-folder, I removed the one in the "include" and tested again, now the access violation error is gone.

Still, why does it pop-up a message saying "Uninstalling" before it starts to uninstall?

Gupta
09-02-2018, 16:48
Still, why does it pop-up a message saying "Uninstalling" before it starts to uninstall?

i was trying to fix uninstall bug, can u confirm it is still there or not

EDIT: fixed music bugs. Hopefully!

When I select LangBox position=vertical and I limit the numbers of languages to show up, there is no arrow like previous versions to change the little flag. Is it OK or a little bug?

20964

vollachr
10-02-2018, 03:37
i was trying to fix uninstall bug, can u confirm it is still there or not

EDIT: fixed music bugs. Hopefully!


20964

Music bug fixed, but when using equalizer on the small installer and starting the small installer part of setup with music OFF, the equalizer is initially invisible until you click where it should be to start the music again.

As for the "Uninstalling" popup, this is fixed as well.

vollachr
11-02-2018, 05:15
I have a problem, when I use the latest compiler attachment you posted (http://fileforums.com/showpost.php?p=466545&postcount=184)

When clicking "Cancel" during small installer portion of setup I get a series of errors, I initially thought it's related to new files I added to the addon folder or new entry in arc.ini but that didn't help, only reverting back to original compiler helped.

Furthermore, the setup doesn't quit correctly after these errors, the small installer remain partially on the screen and the setup remains open in task manager.

Images of errors attached below:

vollachr
12-02-2018, 07:19
I have a problem, when I use the latest compiler attachment you posted (http://fileforums.com/showpost.php?p=466545&postcount=184)

When clicking "Cancel" during small installer portion of setup I get a series of errors, I initially thought it's related to new files I added to the addon folder or new entry in arc.ini but that didn't help, only reverting back to original compiler helped.

Furthermore, the setup doesn't quit correctly after these errors, the small installer remain partially on the screen and the setup remains open in task manager.

Images of errors attached below:

Weird, I tested again with a different conversion and those series of errors didn't occur, maybe I had a typo or a missing/extra semicolon somewhere in the extract settings that caused it.

UPDATE:

Yes, yes I did, I had an extra semicolon, sorry.

vollachr
18-03-2018, 08:47
I'm having a problem installing archive that was created with the UELR external compressor

I've added all needed files to the CIUv2.0.5g Include\Addon folder (cls-uelr.dll, timer.exe) so it will be able to unpack archive created with UELR, problem is I get an error during installation that say something like "archive corrupted decompression fail" (image attached below)

What's the way to get CIUv2 to install UELR archives?

Is it even compatible? or does it require the compiler to be updated for it?

KaktoR
18-03-2018, 09:08
It is compatible (installing ME right now compressed with uelr).

What parameters u have used in uelr?

vollachr
18-03-2018, 09:14
It is compatible (installing ME right now compressed with uelr).

What parameters u have used in uelr?

Default from my Arc.ini file:

[External compressor:uelr]
header = 0
packcmd = UELR\uelr uv $$arcdatafile$$.tmp $$arcpackedfile$$.tmp

the method was something like this:

uelr+srep+delta+lzma:a1:mfbt4:d512m:fb247:mc10000: lc8+Diskspan:4370mb:4474mb

KaktoR
18-03-2018, 09:33
Have you tried without diskspan and/or delta?

Edit: I don't know if it matters, but i've included Unarc.exe too.

vollachr
18-03-2018, 10:31
Have you tried without diskspan and/or delta?

Edit: I don't know if it matters, but i've included Unarc.exe too.

Unarc.exe already exists in the include folder.

From my experience having the same file in the include and the addon subfolder at the same time causes problems.

Anyway, I'll try different combinations of compressors and see.

KaktoR
18-03-2018, 10:37
Has the data any lzo streams at all? I saw that already on some other precompressor which compressed a streamless file and gave exact error.

vollachr
18-03-2018, 10:50
Has the data any lzo streams at all? I saw that already on some other precompressor which compressed a streamless file and gave exact error.

I believe so, considering the fact that the game is borderlands the pre-sequel and it comes with ue3redist.

KaktoR
18-03-2018, 10:55
The question is: has uelr inflated game size? If not then uelr don't work, but i don't have borderlands so i can't test right now.

vollachr
18-03-2018, 11:01
The question is: has uelr inflated game size? If not then uelr don't work, but i don't have borderlands so i can't test right now.

Yes, it did. From around 13gb to around 17gb.

Also overall compression ratio is better with it than without

KaktoR
18-03-2018, 12:24
Try with unpack.bat to see if it's CIU related (or try with 2.0.3.9 instead)

vollachr
19-03-2018, 04:18
Try with unpack.bat to see if it's CIU related (or try with 2.0.3.9 instead)

OK, placed all uelr unpack files (including the unpack.bat) in the same folder with the compressed files, as well as my srep & diskspan files and my arc.ini and tried the unpack.bat (after editing the file name in it's command).

It hanged for a long time almost at the beginning, after just a few files and eventually crashed unarc.exe

So I guess it's not a CIUv2 problem but rather something with my method combination or the archive was actually created corrupt.

KaktoR
19-03-2018, 04:21
Maybe diskspan is not compatible with uelr? Try to pack/unpack a single file

vollachr
19-03-2018, 07:02
Maybe diskspan is not compatible with uelr? Try to pack/unpack a single file

Nope, no diskspan related, just tested without diskspan and same unarc.exe crash, it seems to always happen after the 5th file extracted, always same file as well.

I'll run a test of UELR alone to see if it's UELR related or one of the other compressors in my method.

vollachr
19-03-2018, 07:36
Maybe diskspan is not compatible with uelr? Try to pack/unpack a single file

Nope, no diskspan related, just tested without diskspan and same unarc.exe crash, it seems to always happen after the 5th file extracted, always same file as well.

I'll run a test of UELR alone to see if it's UELR related or one of the other compressors in my method.

Nope, I just finished an UELR only compression and the unpack.bat produces the following at the exact same place as unarc.exe crashed before:

ERROR: archive data corrupted (decompression fails)
Exit code: 2

Just for knowledge sake I also ran the game files through Razor12911's Game File Scanner, didn't want to wait till it finished, took way too long but in the time I let it run it found 272 zlib counts and over 18000 LZO counts.

So I can't figure out why it happens.

KaktoR
19-03-2018, 07:37
I will report back soon with more info.

Give me some time ^^

KaktoR
19-03-2018, 08:48
Testfile: \DLC\Marigold\Compat\Textures\CharTextures_marigol d.tfc

uelr:uv+srep+delta+lzma
=> stucks on 100% (i am sure there will follow a error if i wait some time)

uelr:uv+srep+lzma
=> Unpacking was fine

So the problem here was delta (and delta archive was ~1.5mb bigger than without btw)

Would be good if you could name the exact file where error appear so i can test this file too

vollachr
19-03-2018, 09:47
Well, I didn't compress any specific files, just the entire game folder in one go. The error always appears to be after or at a file named LICENSE, I think it's in one of the binaries\redist sub folders.

I don't believe it's a uelr file as well, it appears to be one of the files that are not uelr compressed.

Optimally I would like to use uelr+srep+lzma+bpk since there are also a little over 1gb of bik files.

Anyway, as I mentioned, I get an error when using uelr alone as well, no delta or any other compressors involved.

I thought it might be related to using a upx compressed uelr executable but it wasn't, I tested.

KaktoR
19-03-2018, 10:13
\Binaries\Redist\MCPP\LICENSE is a normal file without any file extension (you can open it with n++, some license shit in it for MCPP obviously).

Anyway, *.upk and *.tfc contains lzo streams. Unfortunatelly diskspan only allow a single archive and - what's worst - not allow masked compression.

Sometimes it can be that a precompressor has a problem with unpacking a streamless file. But anyway streamless files should always be excluded when you packing with a precompressor (what DiskSpan can't handle). Another example is that sometimes ztool/pzlib3 has a problem restoring a zip archive (like in Sims 4 to name a example).

vollachr
19-03-2018, 12:34
I know what that LICENSE file is, it appears uelr have some problems either with it or what comes right after, it is the last file shown before the error occurs.

Anyway, diskspan can actually handle file exclusions pretty well, it's just a matter of using the correct command line syntax, which I have figured out.

The problem is that you'll need to create multiple diskspan archives, each with a different first disk size, a function that my compression script currently don't have.

So I either need to avoid diskspan or avoid uelr, I'll have to run some tests before I decide which one to remove from my compression.

Alternatively, maybe moving redist to disk folders and exclude them from compression could also work.

Anyway, if I'll have any more problems related to this I'll let you know, thanks for the help.

vollachr
20-03-2018, 03:19
I know what that LICENSE file is, it appears uelr have some problems either with it or what comes right after, it is the last file shown before the error occurs.

Anyway, diskspan can actually handle file exclusions pretty well, it's just a matter of using the correct command line syntax, which I have figured out.

The problem is that you'll need to create multiple diskspan archives, each with a different first disk size, a function that my compression script currently don't have.

So I either need to avoid diskspan or avoid uelr, I'll have to run some tests before I decide which one to remove from my compression.

Alternatively, maybe moving redist to disk folders and exclude them from compression could also work.

Anyway, if I'll have any more problems related to this I'll let you know, thanks for the help.

OK, it appears uelr in my case, even if I exclude the redists entirely, still produces the same error, it's always after the 5th file and always after a none lzo file (.bik file at last try).

So it's gonna give me a big headache using uelr, and considering that so far, even with uelr I couldn't get the game below 3 discs (just the 3rd disc size is much smaller with uelr) I don't see the point of pressing it any further, I just won't use it in this conversion.

vollachr
21-03-2018, 07:35
OK, Still have issues with getting CIUv2.0.5g to unpack uelr and bpk created archives.

And now I'm talking archives that only include file types relevant to said compressors.

I get an unsupported method error when I try to install bpk created data.bin file, it was created using FreeArc with BPK CLS...

I have the cls-bpk.dll & bink_unpack.exe in the Include/Addon folder, I even have an entry in arc.ini, just in case, tried with the arc.ini entry and without it, always get unsupported method error.

Same thing happen with a Data.bin created with uelr+srep+lzma, I have the cls-uelr.dll in Include\Addon folder, no Arc.ini entry as it isn't needed, I also included the timer.exe, just in case, keep getting unsupported compression method error.

Any ideas?

Because I can unpack them manually without a problem, the archives are OK.

KaktoR
21-03-2018, 08:14
Last try: Try with 2.0.3.9. If unpacking is ok, problem is 100% by 2.0.5g.

vollachr
21-03-2018, 08:25
Last try: Try with 2.0.3.9. If unpacking is ok, problem is 100% by 2.0.5g.

Does 2.0.3.9 have BPK support?

Otherwise it's only good to test the uelr problem.

KaktoR
21-03-2018, 08:26
Yes, it has all of them

PS: You should only enable them in "External Compressor.ini" before compiling.

vollachr
21-03-2018, 08:37
Yes, it has all of them

PS: You should only enable them in "External Compressor.ini" before compiling.

Yeah, noticed that, just, I don't know, maybe I'm missing something, but where's the ExtractSettings in the 2.0.3.9 Setup.ini?

Or how do I tell it which data files to extract?

KaktoR
21-03-2018, 08:41
2.0.3.9 only using ultraarc (no internal archive handling).

Just create a records.ini
[Record1]
Type=Freearc_Original
Source={src}\Data1.bin
Output={app}
Disk=1

vollachr
22-03-2018, 02:48
2.0.3.9 only using ultraarc (no internal archive handling).

Just create a records.ini
[Record1]
Type=Freearc_Original
Source={src}\Data1.bin
Output={app}
Disk=1

Worked perfectly with 2.0.3.9 and records.ini, so I guess it's CIUv2.0.5g problems.

Unfortunately, I hate using UltraArc and I rather avoid Records.ini file when I possibly can so I'll look into alternative solutions.

At least I now know it's not my compression's fault.

vollachr
25-03-2018, 01:40
Editing Ini:
[Tasks]
EditIni1={src}\Codex.ini;Section:Settings;Key:Lang uage;Value:czech;Lang:czech
EditIni2={src}\Codex.ini;Section:Settings;Key:Lang uage;Value:english;Lang:englishUS
EditIni3={src}\Codex.ini;Section:Settings;Key:Lang uage;Value:Default

multiple languages can be separated by ','
EditIni2={src}\Codex.ini;Section:Settings;Key:Lang uage;Value:english;Lang:englishUS,englishUK

above tasks will be performed at ssPostInstall


Can't get the EditIni feature to work...

The ini I need edited is in a sub-folder in the game's installation (Binaries\Win32\), the ini file name is steam_api.ini

The section is [Settings], the key is Language, the available languages are:
English (EnglishUS)
German
French
Italian
Spanish (SpanishES)
Japanese
Korean
Russian

What I tried:

EditIni1={src}\Binaries\Win32\steam_api.ini;Sectio n:Settings;Key:Language;Value:english;Lang:English US
EditIni2={src}\Binaries\Win32\steam_api.ini;Sectio n:Settings;Key:Language;Value:german;Lang:German
EditIni3={src}\Binaries\Win32\steam_api.ini;Sectio n:Settings;Key:Language;Value:french;Lang:French
EditIni4={src}\Binaries\Win32\steam_api.ini;Sectio n:Settings;Key:Language;Value:italian;Lang:Italian
EditIni5={src}\Binaries\Win32\steam_api.ini;Sectio n:Settings;Key:Language;Value:spanish;Lang:Spanish ES
EditIni6={src}\Binaries\Win32\steam_api.ini;Sectio n:Settings;Key:Language;Value:japanese;Lang:Japane se
EditIni7={src}\Binaries\Win32\steam_api.ini;Sectio n:Settings;Key:Language;Value:korean;Lang:Korean
EditIni8={src}\Binaries\Win32\steam_api.ini;Sectio n:Settings;Key:Language;Value:russian;Lang:Russian

Also tried the same with {app} instead of {src}

But nothing happens, the value in the ini file remains Language=english, no matter what.

Here's how the ini looks in the relevant section:

[Settings]

###
###
### Enter your name here
###
### Names with diacritic or cyrillic characters are supported but no garantee to work
###

UserName=MYNAME

###
### Select your language here if available
###

Language=english

Any help?

Thanks.

Gupta
25-03-2018, 04:40
Can't get the EditIni feature to work...

The ini I need edited is in a sub-folder in the game's installation (Binaries\Win32\), the ini file name is steam_api.ini

The section is [Settings], the key is Language, the available languages are:
English (EnglishUS)
German
French
Italian
Spanish (SpanishES)
Japanese
Korean
Russian

What I tried:

EditIni1={src}\Binaries\Win32\steam_api.ini;Sectio n:Settings;Key:Language;Value:english;Lang:English US
EditIni2={src}\Binaries\Win32\steam_api.ini;Sectio n:Settings;Key:Language;Value:german;Lang:German
EditIni3={src}\Binaries\Win32\steam_api.ini;Sectio n:Settings;Key:Language;Value:french;Lang:French
EditIni4={src}\Binaries\Win32\steam_api.ini;Sectio n:Settings;Key:Language;Value:italian;Lang:Italian
EditIni5={src}\Binaries\Win32\steam_api.ini;Sectio n:Settings;Key:Language;Value:spanish;Lang:Spanish ES
EditIni6={src}\Binaries\Win32\steam_api.ini;Sectio n:Settings;Key:Language;Value:japanese;Lang:Japane se
EditIni7={src}\Binaries\Win32\steam_api.ini;Sectio n:Settings;Key:Language;Value:korean;Lang:Korean
EditIni8={src}\Binaries\Win32\steam_api.ini;Sectio n:Settings;Key:Language;Value:russian;Lang:Russian

Also tried the same with {app} instead of {src}

But nothing happens, the value in the ini file remains Language=english, no matter what.

Here's how the ini looks in the relevant section:

[Settings]

###
###
### Enter your name here
###
### Names with diacritic or cyrillic characters are supported but no garantee to work
###

UserName=MYNAME

###
### Select your language here if available
###

Language=english

Any help?

Thanks.

Are you changing the language from autorun?

vollachr
25-03-2018, 04:47
Are you changing the language from autorun?

Of course, I tested on German & Italian languages with same result, the ini isn't being changed, it stays with the default English value, even though I selected the correct language on autorun and performed the entire setup in selected language.

vollachr
25-03-2018, 06:28
OK, finally figured the EditIni problem out...

It seems there should be an ending semicolon at the end of each line and it should be with {app}, like this:

EditIni1={app}\Binaries\Win32\steam_api.ini;Sectio n:Settings;Key:Language;Value:english;Lang:English US;
EditIni2={app}\Binaries\Win32\steam_api.ini;Sectio n:Settings;Key:Language;Value:german;Lang:German;
EditIni3={app}\Binaries\Win32\steam_api.ini;Sectio n:Settings;Key:Language;Value:french;Lang:French;
EditIni4={app}\Binaries\Win32\steam_api.ini;Sectio n:Settings;Key:Language;Value:italian;Lang:Italian ;
EditIni5={app}\Binaries\Win32\steam_api.ini;Sectio n:Settings;Key:Language;Value:spanish;Lang:Spanish ES;
EditIni6={app}\Binaries\Win32\steam_api.ini;Sectio n:Settings;Key:Language;Value:japanese;Lang:Japane se;
EditIni7={app}\Binaries\Win32\steam_api.ini;Sectio n:Settings;Key:Language;Value:korean;Lang:Korean;
EditIni8={app}\Binaries\Win32\steam_api.ini;Sectio n:Settings;Key:Language;Value:russian;Lang:Russian ;

That finally worked, at least for the German language, will now test other languages. (Update: Worked for all languages)

It just doesn't work without that last semicolon, my guess is it needs it to "close" the Lang parameter in the line, but I'm no programmer.

vollachr
09-04-2018, 08:09
I'm having a weird problem, I'm creating another of many conversions using the latest Compiler.exe (the one that supports Diskspan - 2.0.5g 180210).

So far, it worked perfectly for every conversion, but this time around I get an error when canceling the installation, see attached image.

I haven't changed any files in the include or include/addon folders compared to any of my other conversions, I'm even using same compression method that worked for most of my conversions so far.

And I can't find anything in Setup.ini that seems to be the reason.

I'd love some help with that, thanks.

Gupta
09-04-2018, 08:21
you sure you're using correct cls-diskspan.dll

if you sure then send me the files, i'll try debug it...

vollachr
09-04-2018, 08:24
you sure you're using correct cls-diskspan.dll

Yes, I do, the full uncompressed 1MB cls-diskspan.dll.

I remember having a similar issue before and you told me back then that it was that so I checked to make sure, beside, I have been using the original diskspan dll file ever since.

And I copy the same folder with the same files from conversion to conversion, changing only the design files and setup.ini.

That's why I can't understand it, same files with same simple compression method (m4b+diskspan) worked without a problem before.

Gupta
09-04-2018, 08:31
if you sure then send me the files, i'll try debug it...

vollachr
09-04-2018, 08:33
if you sure then send me the files, i'll try debug it...

I'm uploading the files to my cloud account, I'll PM you when ready.

Thanks.

pakrat2k2
09-04-2018, 09:47
vollachr, had the same type issue, but not with CIUv2.0.5g, 2039 version. I have a base folder that I used & like you only changed design files & setup.ini, and use over & over again. Couple times for no apparent reason I was getting some kind of corruption, all I had to do was rename the bad setup.ini & copy of a new fresh one. But then DONT copy / paste from old to new, type each line in, & it seemed to fix whatever was causing the issue.

vollachr
09-04-2018, 10:25
vollachr, had the same type issue, but not with CIUv2.0.5g, 2039 version. I have a base folder that I used & like you only changed design files & setup.ini, and use over & over again. Couple times for no apparent reason I was getting some kind of corruption, all I had to do was rename the bad setup.ini & copy of a new fresh one. But then DONT copy / paste from old to new, type each line in, & it seemed to fix whatever was causing the issue.

I'll try that, got nothing to lose.

UPDATE: Nope, didn't help, just did that, I renamed my setup.ini, copied the default CIUv2 Setup.ini file in it's place and manually typed everything into it, same problem.

Weird thing is, I sent Gupta the files and he couldn't re-create my problem, even with my files which had the original Setup.ini.

I can't figure it out, I'm pretty sure it's diskspan related though, I initially though maybe something else in the Addons folder causes it so I left only the diskspan dll file in there and the problem kept occurring. Maybe I'll try to replace the dll file again, might got corrupt or something.

Kitsune1982
01-06-2018, 08:52
hey guys, since this is the thread for the CIU that gupta has been working on, i will post my query i made on kaktor's ciu thread here, since he has told me he isnt working on the script anymore.

riginally Posted by Kitsune1982 View Post
hey guys, i was digging through the ciu wiki but i am stumped on something. how do i make a full screen installer instead of having the little 498x431 little window? i tried to adjust the size in the setup.ini and resizing my wallpaper those being autorun.png and installer.png but i come across two problems. the first is it displays the wallpaper at the resolution i specified in the setup.ini but the actual installer window with the install/customize/cancel/etc buttons is in a small 498x431 window at the top left of the installer window. the second is that when i do specify the correct settings, and get a fullscreen installer image, the buttons fly off to the left of the installer, and whenever i adjust the actual installer template image in my image editor, i can never get the installer buttons to line up correctly. could someone help me with this? this is the only part i am having problems with. thanks. Catch you on the flip side.

ps, i should also mention i was wondering how to make those cool full screen set up pages like the 'Pillars of Eternity Royal Edition' autorun installers on this site. would love to know how to do that, too.

-Kitsune

Kaktor>>> Actually you can't. The CIU was not meant to be a fullscreen installer. The only fullscreen part of the installer is the background during file extraction.


Kaktor>>What installer do you mean? Please link it.

Kitsune1982>>Kaktor, this is the post i was looking at. http://fileforums.com/showthread.php?t=96922

also thank you for clarifying ciu isnt meant to be fullscreen except for the installation/extraction part - where you are actually installing the game and you have the slideshow of wallpaper images added to the project - that saves a lot of frustration knowing that ciu is not intended to be fullscreen. i still love it though and think its a lot better than some of the old custom installer tools i used in the past.


Kaktor>>The linked setup is not fullscreen (except for the installation process). It only has render png images (Autorun.png, Installer#.png, SmallInstaller.png) with bitmap mask (Autorun.bmp, Installer.bmp, SmallInstaller.bmp) which are required in any case. Except for SmallInstaller.png/bmp, when you remove them, installation process will not have fullscreen backgrounds,

However, adding fullscreen background pictures during Autorun/Setup procedure is possible, but needs script editing.

You mean something like this?
https://stackoverflow.com/questions/...-in-inno-setup

Kitsune1982>>something like that.

you said you can get fullscreen images during autorun/setup? could you please show me the inno script code i need to use to get the fullscreen images during autorun/setup? i dont mind playing around with the script and doing the work myself as thats how you learn. that being said, could you show me the inno script i need to insert into my .iss file to achieve the fullscreen pics im wanting? sorry if im not making a lot of sense been up all night so my grasp on the english language structure is a bit off.

sorry for the massive crosspost, i felt i should include everything that was said, so that maybe someone who reads this who knows inno script better than me can clarify for me what i need to do to get the background image to be full screen during the autorun/setup process. i know how to get the background to go into fullscreen when the actual install starts, just need to know what to do to have a fullscreen wallpaper background during autorun/setup - where i am choosing which folder to install to, etc etc.

hopefully one of you kind people on the forum will be able to help me.

Catch you on the flip side.

-Kitsune

Kitsune1982
01-06-2018, 13:12
well guys, i did it!!!!!

i managed to make a full screen installer by experimenting on my own and spending about 3 hours playing with the ciu setup.ini and razor12911's graphicstudio program. razor bless you for such a wonderful tool, i was able to correctly align and accurately place the makeshift 'buttons' i made using the graphics studio then properly port over the correct top/left settings to correctly match and line up the buttons in the order i wanted! i would have been lost without that tool! :D heres my end result. hope you all like it. its simple, but im happy with it. =3