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)

RigelOrionis 26-12-2017 18:40

Looking at the scripts of this forum (CIUv2 v2.0.3.9 U6H2 UltraArcR3) and copying and pasting in my script what I thought was convenient, in the end I made it work. Yes, I was missing what you said KaktoR (ExtractTemporaryFile('') for each pre-compressor).
I've got it by chance, but anyway thank you very much friend KaktoR for your help and availability. Have a happy new Year!!

What I do not know is how to unzip to an extension ".bin", it only works with ".arc". Does anyone know how to do it? What must be added to the script?

I would like to thank the teacher "Razor12911" the creation of this wonderful program, It's an incredible job! A million thanks for your work and dedication.
I also wish you happy new year. Thank you very much and kind regards.

pakrat2k2 26-12-2017 20:19

Quote:

Originally Posted by RigelOrionis (Post 465242)
Looking at the scripts of this forum (CIUv2 v2.0.3.9 U6H2 UltraArcR3) and copying and pasting in my script what I thought was convenient, in the end I made it work. Yes, I was missing what you said KaktoR (ExtractTemporaryFile('') for each pre-compressor).
I've got it by chance, but anyway thank you very much friend KaktoR for your help and availability. Have a happy new Year!!

What I do not know is how to unzip to an extension ".bin", it only works with ".arc". Does anyone know how to do it? What must be added to the script?

I would like to thank the teacher "Razor12911" the creation of this wonderful program, It's an incredible job! A million thanks for your work and dedication.
I also wish you happy new year. Thank you very much and kind regards.

First welcome to the forum.

There shouldnt be any changes to script itself, unless your not using ultraarc for compression methods.

If you are then its only a matter of changing the extension in the ultraarc.ini
[Distribution]
ArchivePrefixName=Data
ArchiveExtension=bin

RigelOrionis 26-12-2017 20:40

Thank you very much for the reply pakrat2k2.
Yes, if I change "ArchiveExtension = bin", the UltraArc compresses the game files with bin extension, I already did that. What I was referring to is that once I have the files with bin extension, my installer "Script Model Mui Installshield v1" just unzip files with extension arc, no with bin extension.
Kind regards and happy new year!

RigelOrionis 28-12-2017 19:07

pakrat2k2
KaktoR

Sorry for the inconvenience, it works now. It was what he told me pakrat2k2.
The bin files with whom he had tried they were not good, with new ones it worked.
To decompress files bin leave it like that:
Code:

//////////////////////////////////////////// ACTIVATE TO EXTRACT FILES WITH EXTENSION ".arc" //////////////////////////////////////////////

    //if not ISArcExtract    ( 0, 0, ExpandConstant('{src}\*.arc'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
    //  if not ISArcExtract    ( 0, 0, ExpandConstant('{src}\Data2.arc'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
    // if not ISArcExtract    ( 0, 0, ExpandConstant('{src}\Data3.arc'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;


    ///////////////////////////////////////// ACTIVATE TO EXTRACT FILES WITH EXTENSION ".bin" //////////////////////////////////////////////

    if not ISArcExtract    ( 0, 0, ExpandConstant('{src}\*.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
    //  if not ISArcExtract    ( 0, 0, ExpandConstant('{src}\data2.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
    // if not ISArcExtract    ( 0, 0, ExpandConstant('{src}\data3.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;

pakrat2k2 and KaktoR thank you very much for your help. Kind regards.

To WOliveira:
This setup works with compressed files with the UltraArc 2.8.0.1, that you can download in this forum.
I use for compression: precomp 0.42 + srep + lzma.
If you want you can send me a private message to talk with me

WOliveira 29-12-2017 07:15

I used Ultra Arc 2.8.0.1 for compression, but it is not recognizing your setup, and at the time of compiling another it is giving the error "Unknown type 'PChar'".

pakrat2k2 29-12-2017 07:30

Quote:

Originally Posted by WOliveira (Post 465334)
I used Ultra Arc 2.8.0.1 for compression, but it is not recognizing your setup, and at the time of compiling another it is giving the error "Unknown type 'PChar'".

Yes because you have to edit isdone.iss in resource folder & change all PChar
to PAnsiChar to compile the script.

The only other issue is the version of Windows ( Operating System ) is only set to Windows 7, vista & XP. Tried adding windows 8 & 10 but it still shows up as red. Also VideoRam wasn't showing anything over 1024, but editing requerimientos.iss ( don't know if correct ) now shows ~4096.

Code:

VideoRam:=GetVidMemLocal/1048576;
  if VideoRam < 0 then  // added line
    VideoRam := VideoRam + 2* 2147 + 2;  //added line
//  if (VideoRam<63) or (VideoRam>1100) then vr:=VideoRam  //
  if (VideoRam<63) or (VideoRam>8200) then vr:=VideoRam
  else if VideoRam<100 then vr:=64
  else if VideoRam<200 then vr:=128
  else if VideoRam<300 then vr:=256
  else if VideoRam<400 then vr:=384
  else if VideoRam<600 then vr:=512
  else if VideoRam<800 then vr:=792
//  else if VideoRam>800 then vr:=1024; //
  else if VideoRam<1200 then vr:=1024
  else if VideoRam<2200 then vr:=2048
  else if VideoRam<4200 then vr:=4096
  else if VideoRam<6200 then vr:=6144
  else if VideoRam<8200 then vr:=7168
  else if VideoRam>8200 then vr:=8192;

maybe those who know better can fix it better.

KaktoR 29-12-2017 08:09

simply use issysinfo from peterf

hwcaps dll dont show anything over 4gb

WOliveira 29-12-2017 09:30

Will someone be able to solve this problem to appear system windows 8 and 10

pakrat2k2 29-12-2017 12:29

Quote:

Originally Posted by WOliveira (Post 465351)
Will someone be able to solve this problem to appear system windows 8 and 10

hoping some of the smarter guys here can take a look & make necessary fixes so it works with any OS, & hardware.

KaktoR 29-12-2017 12:42

Wow what a fucked up script. I don't like it to exclude all codes into seperate script files. It makes it even more confusing for me.

Will take a look to build in issysinfo from peterf for vram over 4gb+ and correct OS names.

KaktoR 31-12-2017 04:13

Not today, next year :D

1:15PM here right now

Happy new year

WOliveira 31-12-2017 05:51

Sorry to mention the OS problem, plus the other two?

Happy New Year, still a few hours away: D

pakrat2k2 31-12-2017 08:39

^^ post #982...

Happy New Year to all.

unarc 125 31-12-2017 09:04

Happy New Year to everyone :)

Sonansyach_10 04-01-2018 13:36

installer
 
2 Attachment(s)
i want to change progress bar like elamigos how to do that ??
does anyone know??

Jiva newstone 05-01-2018 07:56

1 Attachment(s)
Quote:

Originally Posted by Sonansyach_10 (Post 465532)
i want to change progress bar like elamigos how to do that ??
does anyone know??

This will help you ,

pakrat2k2 13-01-2018 15:20

I've deleted all these posts about another version & files have been uploaded to Ranbo topic where it should be.

http://www.fileforums.com/showthread.php?t=99982

Pleae no more posts here about Ranbo's Version, use his topic !!!

KaktoR 16-02-2018 02:56

For some reason MASK with pzlib3/ztool doesn't work for me anymore :(

Ratio is always 100% no matter which settings for pzlib3/ztool

Simorq 16-02-2018 07:25

Quote:

Originally Posted by KaktoR (Post 466727)
For some reason MASK with pzlib3/ztool doesn't work for me anymore :(

Ratio is always 100% no matter which settings for pzlib3/ztool

This is a strange problem.
Which games give 100% Ratio.?

KaktoR 16-02-2018 07:43

All games.

I included game files which have zlib streams in arc.groups ($Deflate for pzlib3, $zStream for ztool), configure MASK in config0.txt, then choose MASK in UltraARC.

pzlib ztool doesn't work anymore for me (on the point when ztool starts, it copies files without any precompressing, pzlib3 the ratio is always at 100%, so input/output is always the same, doesn't matter which settings i use).

Maybe some win update or other software. I don't know :D

Simorq 16-02-2018 07:48

Quote:

Originally Posted by KaktoR (Post 466738)
All games.

I included game files which have zlib streams in arc.groups ($Deflate for pzlib3, $zStream for ztool), configure MASK in config0.txt, then choose MASK in UltraARC.

pzlib ztool doesn't work anymore for me (on the point when ztool starts, it copies files without any precompressing, pzlib3 the ratio is always at 100%, so input/output is always the same, doesn't matter which settings i use).

Maybe some win update or other software. I don't know :D

Is the raw2hif_dll.dll file available in the _Compressors folder.

KaktoR 16-02-2018 08:03

1 Attachment(s)
Yes.

Here is a example of exact same file UltraARC vs compress.bat

saeid 18-02-2018 03:30

Quote:

Originally Posted by KaktoR (Post 462012)
Something is wrong with split.exe + example script

I need original split.exe from old UltraARC files if possible.

I have this problem but i can not solve it!
please help me!

pakrat2k2 18-02-2018 07:56

Quote:

Originally Posted by saeid (Post 467060)
I have this problem but i can not solve it!
please help me!

this post has answer, http://www.fileforums.com/showpost.p...&postcount=864

but was long since corrected, in later script updates.

saeid 18-02-2018 12:46

Quote:

Originally Posted by pakrat2k2 (Post 467085)
this post has answer, http://www.fileforums.com/showpost.p...&postcount=864

but was long since corrected, in later script updates.

What to write in the script to solve it?

pakrat2k2 18-02-2018 15:02

the 2801 r3 hotfix in first post is already corrected & last up-to-date there is.

If your talking about using in another script that has that error, then ask in
topic for that script.

saeid 19-02-2018 03:54

stange problem
 
Quote:

Originally Posted by pakrat2k2 (Post 467109)
the 2801 r3 hotfix in first post is already corrected & last up-to-date there is.

If your talking about using in another script that has that error, then ask in
topic for that script.

I use UltraARC 2801 R3 Hotfix.7z (PreCopm+MSC+SREP+LZMA) to compress GTA V in 9Disk.
records.ini file:

Code:

[Records]
Precomp=0.38
[Record1]
Type=Split
Source={src}\Setup1a.bin
Output={app}\Setup1.bin
Disk=1
[Record2]
Type=Split
Source={src}\Setup1b.bin
Output={app}\Setup1.bin
Disk=2
[Record3]
Type=Split
Source={src}\Setup1c.bin
Output={app}\Setup1.bin
Disk=3
[Record4]
Type=Split
Source={src}\Setup1d.bin
Output={app}\Setup1.bin
Disk=4
[Record5]
Type=Split
Source={src}\Setup1e.bin
Output={app}\Setup1.bin
Disk=5
[Record6]
Type=Split
Source={src}\Setup1f.bin
Output={app}\Setup1.bin
Disk=6
[Record7]
Type=Split
Source={src}\Setup1g.bin
Output={app}\Setup1.bin
Disk=7
[Record8]
Type=Split
Source={src}\Setup1h.bin
Output={app}\Setup1.bin
Disk=8
[Record9]
Type=Split
Source={src}\Setup1i.bin
Output={app}\Setup1.bin
Disk=9
[Record10]
Type=Freearc_Split
Source={app}\Setup1.bin
Output={app}

and use UltraARC R3 Simple Installer v3.7z to make installer.
but when install this game Out of the C:\Program Files (x86) path, i get this error:
"exception einouterror in module split.exe at 000D6835 i/o error 105"
i change this code in script:
Code:

procedure UltraARC_Process;
var
Data: array of TData;
i, x, MsgResult: Integer;
SourceDir, OggFile, MergeFile: String;
begin

to:

Code:

procedure UltraARC_Process;
var
Data: array of TData;
i, x, MsgResult: Integer;
SourceDir, OggFile, MergeFile: String;
begin
ForceDirectories(ExpandConstant('{app}\'));

the problem and error is solved! but after extracting 30% of the files (during file extraction of Setup1.bin), the installation will not go ahead!

Simorq 19-02-2018 06:03

@saeid
Enable ReflateLIB

pakrat2k2 19-02-2018 06:45

Quote:

Originally Posted by Simorq (Post 467118)
@saeid
Enable ReflateLIB

UA Resource folder, config0.txt ?

KaktoR 19-02-2018 08:09

Quote:

Originally Posted by pakrat2k2 (Post 467119)
UA Resource folder, config0.txt ?

No, ini file in CIU

saeid 19-02-2018 22:10

Quote:

Originally Posted by KaktoR (Post 467121)
No, ini file in CIU

I want to solve it in UltraARC R3 Simple Installer v3.7z.
Not CIU!

pakrat2k2 20-02-2018 07:43

Simorq said to enable reflatelib, which is still in ultraarc, any script that uses ultraarc for compression this should apply. wether its CIU or Simple Installer

KaktoR 20-02-2018 08:54

Another possibility is that a pzlib has a problem with a specific file

Schabik 25-02-2018 02:03

Ok, guys I've got a problem, using method pzlib3+srepmax+RZ and constantly ultraarc gives me an error "General (de)compression error" when tries to do pzlib3 compression. My pc is core2duo intel gma365 and 4GB RAM. The same method on my other pc with i7-4710hq, intel hd4600+gtx850M and 16GB RAM runs smoothly but this pc is for my everyday work so It can't run every day and every night so I want to compress files on my C2D laptop. Can You please help me?

ZakirAhmad 25-02-2018 02:09

1 Attachment(s)
How can i make ztool lolz etc child processes of installer like this in image.

Schabik 26-02-2018 22:45

Quote:

Originally Posted by schabik (Post 468391)
ok, guys i've got a problem, using method pzlib3+srepmax+rz and constantly ultraarc gives me an error "general (de)compression error" when tries to do pzlib3 compression. My pc is core2duo intel gma365 and 4gb ram. The same method on my other pc with i7-4710hq, intel hd4600+gtx850m and 16gb ram runs smoothly but this pc is for my everyday work so it can't run every day and every night so i want to compress files on my c2d laptop. Can you please help me?

Quote:

freearc 0.67 (march 15 2014) using additional options: --logfile=_compression.log
creating archive: C:\tmp\data1.bsa using pzlib3+srep+lzma2:d300m:fb273:lc4:mc1000000:lp0:pb 2+razor
memory for compression 700mb, decompression 0b, cache 16mb
error: General (de)compression error in pzlib3
can anyone help me?

pakrat2k2 27-02-2018 06:50

the file(s) might not be compatible with pzlib, so dont use it.
even the decompression error message told you that.

KaktoR 27-02-2018 08:49

Too low ram could be possible too

pakrat2k2 27-02-2018 22:10

Quote:

Originally Posted by KaktoR (Post 468493)
Too low ram could be possible too

core 2 duo & 4GB ram... no wonder.

Schabik 27-02-2018 22:23

Quote:

Originally Posted by pakrat2k2 (Post 468505)
core 2 duo & 4GB ram... no wonder.

Ok, so more powerful PC to compress, I Get It. But how would You explain that previously (about 4 years ago) precomp and precomp42 compressor worked on this laptop? I think it is strange that precomp was working then, now it isn't and pzlib that as I know has precomp doesn't work.


All times are GMT -7. The time now is 15:10.

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