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

Reply
 
Thread Tools Display Modes
  #1  
Old 26-06-2024, 05:34
wrathma wrathma is offline
Registered User
 
Join Date: Apr 2024
Location: Dhaka
Posts: 6
Thanks: 5
Thanked 0 Times in 0 Posts
wrathma is on a distinguished road
Unhappy HELP regarding creating repacks

I have tried making repacks of small games which dont need to be cracked. But everytime i had some issue or i couldnt understand something so i just dropped it.

Right now im trying to make a self extractable repack of a 700 MB game. I used DiskSpan Gui and compressed it to 340 MB using the predefined compression.
Code:
XTool 2020 (zlib) + SREP + LOLZ
Then I extracted the dll and copied everything to Include folder of Simple Installer Script and compiled it with required arguements such as name,size etc. And moved the compiled exe to diskspan folder where there is the compressed game.
But after executing the installer, it throws an error saying Unarc returned error code -2, unsopported compression. Need guidance now. Thanks in advanced.

Edit:
After some tweaking the installer now says data corrupted -


My Include folder looks like this -
Code:
ARC.INI
CLS-DISKSPAN.dll
CLS-LOLZ.dll
cls-lolz_x64.exe
CLS-SREP_NEW.dll
CLS-SREP_NEW_x64.exe
CLS-SREP_NEW_x86.exe
CLS.INI
FACOMPRESS.DLL
FACOMPRESS_MT.DLL
UNARC.DLL
XTool\
And XTool folder -
Code:
hif2raw_dll.dll
liblz4.dll
libzstd.dll
lzo2.dll
preflate_dll.dll
raw2hif_dll.dll
XTool.exe
zlibwapi.dll

Last edited by wrathma; 26-06-2024 at 06:22. Reason: Found some tweaks
Reply With Quote
Sponsored Links
  #2  
Old 26-06-2024, 10:09
Fak Eid Fak Eid is offline
Registered User
 
Join Date: Jun 2023
Location: Mars
Posts: 144
Thanks: 89
Thanked 136 Times in 53 Posts
Fak Eid is on a distinguished road
Need to include the files in the script too like:
[Files]
Source: "Include\arc.ini"; DestDir: "{tmp}"; Flags: dontcopy
Source: "Include\CLS.ini"; DestDir: "{tmp}"; Flags: dontcopy
Source: "Include\English.ini"; DestDir: "{tmp}"; Flags: dontcopy
Source: "Include\Facompress.dll"; DestDir: "{tmp}"; Flags: dontcopy
Source: "Include\unarc.dll"; DestDir: "{tmp}"; Flags: dontcopy

and under CurStepChanged procedure too:
ExtractTemporaryFile('arc.ini');
ExtractTemporaryFile('CLS.ini');
ExtractTemporaryFile('English.ini');
ExtractTemporaryFile('Facompress.dll');
ExtractTemporaryFile('unarc.dll');

If these don't help, check if your arc.ini has zlib definition like:
[External compressor:xtool]
header = 0
unpackcmd = xtool.exe decode -t100p - - <stdin> <stdout>

If you want, you can also try out this and directly use the Setup.dll file from DSG.
Simple Installer FMXInno

Compile it with Inno 5.6.0
Reply With Quote
The Following User Says Thank You to Fak Eid For This Useful Post:
wrathma (26-06-2024)
  #3  
Old 26-06-2024, 10:41
wrathma wrathma is offline
Registered User
 
Join Date: Apr 2024
Location: Dhaka
Posts: 6
Thanks: 5
Thanked 0 Times in 0 Posts
wrathma is on a distinguished road
Quote:
Originally Posted by Fak Eid View Post
Need to include the files in the script too like:
[Files]
Source: "Include\arc.ini"; DestDir: "{tmp}"; Flags: dontcopy
Source: "Include\CLS.ini"; DestDir: "{tmp}"; Flags: dontcopy
Source: "Include\English.ini"; DestDir: "{tmp}"; Flags: dontcopy
Source: "Include\Facompress.dll"; DestDir: "{tmp}"; Flags: dontcopy
Source: "Include\unarc.dll"; DestDir: "{tmp}"; Flags: dontcopy
i believe i dont have to do these because script contains
Code:
#define Resources "Include\*"
Reply With Quote
  #4  
Old 26-06-2024, 10:45
wrathma wrathma is offline
Registered User
 
Join Date: Apr 2024
Location: Dhaka
Posts: 6
Thanks: 5
Thanked 0 Times in 0 Posts
wrathma is on a distinguished road
Quote:
Originally Posted by Fak Eid View Post
If these don't help, check if your arc.ini has zlib definition like:
[External compressor:xtool]
header = 0
unpackcmd = xtool.exe decode -t100p - - <stdin> <stdout>
still no luck. and i want to stick with this installer if possible.
Reply With Quote
  #5  
Old 26-06-2024, 10:56
wrathma wrathma is offline
Registered User
 
Join Date: Apr 2024
Location: Dhaka
Posts: 6
Thanks: 5
Thanked 0 Times in 0 Posts
wrathma is on a distinguished road
now i tried to use the same compiled exe with srep+lolz compressed archive and it worked, ig something with xtool is a problem here
Reply With Quote
  #6  
Old 27-06-2024, 00:20
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,155
Thanks: 284
Thanked 1,346 Times in 610 Posts
Masquerade is on a distinguished road
Quote:
Originally Posted by Fak Eid View Post
Need to include the files in the script too like:
No, please read the page for my simple installer, the contents of the include folder is compiled so its is SIMPLE.

wrathma
You need the xtool unpackcmd inside arc.ini, the configuration for lolz and srep in cls.ini and then you need to put xtool.exe and required libraries (in this case looks like you only need xtool.exe and zlibwapi.dll). Don't put them in a folder.
Please use this thread to ask further questions: https://www.fileforums.com/showthread.php?t=105883

Last edited by Masquerade; 27-06-2024 at 00:26.
Reply With Quote
The Following User Says Thank You to Masquerade For This Useful Post:
wrathma (27-06-2024)
  #7  
Old 27-06-2024, 06:29
wrathma wrathma is offline
Registered User
 
Join Date: Apr 2024
Location: Dhaka
Posts: 6
Thanks: 5
Thanked 0 Times in 0 Posts
wrathma is on a distinguished road
Quote:
Originally Posted by Masquerade View Post
No, please read the page for my simple installer, the contents of the include folder is compiled so its is SIMPLE.

wrathma
You need the xtool unpackcmd inside arc.ini, the configuration for lolz and srep in cls.ini and then you need to put xtool.exe and required libraries (in this case looks like you only need xtool.exe and zlibwapi.dll). Don't put them in a folder.
Please use this thread to ask further questions: https://www.fileforums.com/showthread.php?t=105883
i have xtools unpackcmd inside arc.ini, i just copied everything inside ARC_STANDARD.ini from setup.dll of diskspan archive and copied it to arc.ini inside include folder of the script
Reply With Quote
Reply

Tags
compression, newbie, repack, script

Thread Tools
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
Installer Carl Repacks v2 Carldric Clement Conversion Tutorials 16 02-03-2024 05:43
Nba 2k22 mausschieber PC Games - CD/DVD Conversions 7 11-07-2022 02:57
Creating a Memory Card Exploit Ne0 PS2 Games 0 08-07-2009 22:24
Problem creating KOTOR 2 ISO congee_33 XBox Games 10 03-10-2005 02:04
Creating ISO wildennis XBox Games 12 09-02-2004 06:27



All times are GMT -7. The time now is 01:07.


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