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??


All times are GMT -7. The time now is 20:16.

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