Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-02-2017, 01:58
shazzla shazzla is offline
Registered User
 
Join Date: Nov 2010
Location: Hunnia
Posts: 292
Thanks: 524
Thanked 102 Times in 78 Posts
shazzla is on a distinguished road
hi all !

im in trouble.... i cant unpack my archives using the default isdone script,although it works fine with precomp/srep/lzma,etc.

if i use any extrenal compressors,it says :

error-2.png

My .ISS looks like this :



#define zstd
[Setup]

[Files]
#ifdef zstd
Source: Include\zstd.exe; DestDir: {tmp}; Flags: dontcopy
Source: Include\arc.ini; DestDir: {tmp}; Flags: dontcopy
#endif

[Code]
#ifdef zstd
ExtractTemporaryFile('zstd.exe');
ExtractTemporaryFile('arc.ini');
#endif

if not ISArcExtract ( 0, 0, ExpandConstant('{src}\data1.arc'), ExpandConstant('{app}\'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;




end;


Upon execution ,setup unpacks the arc.ini ,zstd.exe ,everything ,but the result is the above picture.
I tried to change the unpack command to :

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

Doesnt help.
The only working method for me is :

if not ISExec(0, 0, 0, ExpandConstant('{tmp}\arc.exe'), ExpandConstant('x -o+ -cfg"{tmp}\arc.ini" -w"{app}" -hp"mypw" -dp"{app}" "{src}\data1.arc"'), ExpandConstant('{tmp}'), '...', False) then break;

But its pretty ugly.
Is there any other way to extract my archives using ISArcExtract function ?

Arc.ini content :

[External compressor:zstd]
header = 0
unpackcmd = zstd -d -f <stdin> <stdout>

Thanks in advance !
Reply With Quote
Sponsored Links
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
The ONLY Half-Life 2 Thread. Do Not Create New Threads JoyBoy PC Games 286 25-03-2005 05:49
Official Sims 2 Thread JoyBoy PC Games 229 25-10-2004 16:01
'Official' CM4 Thread - Do Not Create New Threads Fila PC Games 119 23-07-2003 06:33



All times are GMT -7. The time now is 22:46.


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