FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   UltraARC for Inno Setup (Conversion Tool) (https://fileforums.com/showthread.php?t=96619)

IzeroI 17-05-2017 17:40

i got this error while decompressing what should i do?
compress method: pZLib+Srep+Lzma2
http://s9.picofile.com/file/8295237792/Untitled.png

KaktoR 17-05-2017 17:58

1 Attachment(s)
Quote:

Originally Posted by IzeroI (Post 458895)
i got this error while decompressing what should i do?
compress method: pZLib+Srep+Lzma2
http://s9.picofile.com/file/8295237792/Untitled.png

Yeah, guess what, i have shared the non-edited script back to you...

https://imgflip.com/s/meme/Captain-Picard-Facepalm.jpg

I will edit again. Give me some minutes.

Edit: Here is the right one, finally. Recompile setup.exe from this archive, replace your old setup.exe and try again.

KaktoR 17-05-2017 18:27

Btw, some small but important information:

If you got an error with "Failed to create Data#.bin" in UltraArc with compression pzlib+srep+lzma, make sure to exclude all small files (including all .dll, .exe, etc files), because some error in UltraArc.exe if you mix big files and small files together.

After compression is done, manually pack all remaining files into an freearc archive and add it to records.ini.

I faced that error in eg Sims 4 and Just Cause 3 until now.

---

And, testing new compressions in the next days i got from "shazzla" (big thanks to you).

bugmenot_ 17-05-2017 19:55

1 Attachment(s)
Quote:

Originally Posted by Droppo (Post 458754)
Can any of you guys help me making this small installer compatible with these new versions of Ultraarc???

script only
Scan for Virus ;)

KaktoR 20-05-2017 02:51

1 Attachment(s)
Here is new zlib compression.

Have tried it over 6 games yet and no crc errors.

Big thanks to "shazzla" for sharing this to me!

I have included backup files aswell.

KaktoR 21-05-2017 05:09

@Simorq:

Even with your unmodded script (http://fileforums.com/showpost.php?p...&postcount=725) i got errors in decompression with CLS-Reflate and ReflateAPI

CLS-Raflate "Arc.exe has stopped working"
http://i.imgur.com/twHzH7E.png

ReflateAPI
http://i.imgur.com/81qqAVG.png
http://fileforums.com/showpost.php?p...4&postcount=15
http://fileforums.com/showpost.php?p=458977&postcount=3

Simorq 22-05-2017 01:40

Quote:

Originally Posted by KaktoR (Post 459003)
@Simorq:

Even with your unmodded script (http://fileforums.com/showpost.php?p...&postcount=725) i got errors in decompression with CLS-Reflate and ReflateAPI

CLS-Raflate "Arc.exe has stopped working"
http://i.imgur.com/twHzH7E.png

ReflateAPI
http://i.imgur.com/81qqAVG.png
http://fileforums.com/showpost.php?p...4&postcount=15
http://fileforums.com/showpost.php?p=458977&postcount=3

ReflateAPI is not perfect, it does have bugs.
http://krinkels.org/threads/reflate-api.3419/page-2

It is better to use pZLib

MartinezPL 22-05-2017 15:35

Hello folks got little question is there option ot turn off/delete EULA from both script and installer? Personally don't need that :-P

KaktoR 22-05-2017 15:37

Simply don't put any eula.rtf file in Setup\Eula folder.

MartinezPL 22-05-2017 16:41

Quote:

Originally Posted by KaktoR (Post 459054)
Simply don't put any eula.rtf file in Setup\Eula folder.

Thank you :D

Cesar82 23-05-2017 07:57

Fixes to CIU v2.0.3.8.b.
 
For the friend who posts the CIU codes...
Fixes to CIU v2.0.3.8.b...

The line below is not required. The installer is compressing 2 times the image Installer1.png
Source: Setup\Setup\Installer1.png; DestDir: {tmp}; Flags: dontcopy

Replace all parts of the lines containing (Error UltraArc Languages to all CIU v2)

Replace From:
if ((Data[i - 1].Arc[6] = '') or (LanguageTranslator(Data[i - 1].Arc[6]) = ActiveLanguage))

Replace To:
if (Data[i - 1].Arc[6] = '') or (Data[i - 1].Arc[6] = ActLangShort)

Need fixe all others parts replacing "ActiveLanguage" to "ActLangShort" in all CIU v2 (Without quotes).


Sugestion: Translate as FreeArc Custom Messages ins script and adding custom messages to language files.

Thanks!

KaktoR 24-05-2017 08:25

Quote:

Originally Posted by LuisCésar82 (Post 459076)
The line below is not required. The installer is compressing 2 times the image Installer1.png
Source: Setup\Setup\Installer1.png; DestDir: {tmp}; Flags: dontcopy

Compiler only contains 1 Installer1.png.
Parsing -> Compressing

Are you sure about that? Can't find a second file in Setup.exe after compiling.

Quote:

Originally Posted by LuisCésar82 (Post 459076)
Replace all parts of the lines containing (Error UltraArc Languages to all CIU v2)

Replace From:
if ((Data[i - 1].Arc[6] = '') or (LanguageTranslator(Data[i - 1].Arc[6]) = ActiveLanguage))

Replace To:
if (Data[i - 1].Arc[6] = '') or (Data[i - 1].Arc[6] = ActLangShort)

Need fixe all others parts replacing "ActiveLanguage" to "ActLangShort" in all CIU v2 (Without quotes).


Sugestion: Translate as FreeArc Custom Messages ins script and adding custom messages to language files.

Thanks!

For what? Is it neccessary? I don't understand properly i guess.

MartinezPL 24-05-2017 10:52

Someone can point what I am doing wrong?
In Setup.ini
Quote:

Name=The Surge
Exe=TheSurge.exe
ExePath=The Surge\bin\TheSurge.exe
I try also different combinations and results... ;<

KaktoR 24-05-2017 11:03

Quote:

ExePath=The Surge\bin\TheSurge.exe
This one is correct
Quote:

ExePath=bin
ExePath is {app} (game directory, so ExePath = {app}), from there you just need folder where exe is, without the exe file itself and without \ at the end.

If your exe file is in root game directory (without any subdirs), than leave ExePath blank. If exe file is eg in "C:\AnyGame\bin\win32\Game.exe", then ExePath=bin\win32

MartinezPL 24-05-2017 11:16

@KaktoR
Thank you very much!


All times are GMT -7. The time now is 09:17.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com