View Single Post
  #382  
Old 15-12-2018, 15:19
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,688
Thanks: 1,106
Thanked 7,334 Times in 2,837 Posts
KaktoR is on a distinguished road
Not without rewriting bunch of code.

I think the fastest "workaround" would be to include records.ini to setup.exe and let it unpack to temp folder (or let setup.exe create a new one instead). Before archive unpacking starts, use SaveStringToFile function and change "Source=" to source dir (from where you install) and "Output=" to target dir (destination of the game or whatever).

I have not looked up the code, but all needed info should be in "procedure UltraArc".

This way records.ini will be stored and read from %temp% folder instead of source folder (so it's not directly visible to the users).

The complicated way is to use ISArcExtract
Code:
if not ArcExtract(100,'Archive.arc') then break;
But for this much more code changing is needed.
__________________
Haters gonna hate

Last edited by KaktoR; 15-12-2018 at 15:23.
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
kocchi96x (15-12-2018)