Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 09-04-2023, 17:15
elit elit is offline
Registered User
 
Join Date: Jun 2017
Location: sun
Posts: 265
Thanks: 190
Thanked 325 Times in 119 Posts
elit is on a distinguished road
Something to be aware of in FreeArc

If you ever compressed with what came as a default setting in arc.ini for srep(and may be also relevant to other tools as well):

[External compressor:srep64]
packcmd = srep.exe {options} $$arcdatafile$$.tmp - <stdout>
unpackcmd = srep.exe -d {options} - - <stdin> <stdout>


Keyword is that {options} string inside unpackcmd(not packcmd).
Then be aware that if you remove that {options} from the unpackcmd, you will NOT be able to decompress IF you used some fancy options like :l or :c during compression(and curiously with others like :mem or :a or :m it will still work)!
You would be thinking that it doesn't make sense to have an options substitute in unpackcmd(and you are right, not sure why that was in default arc.ini) and since you wouldn't be able to use it anyway you remove it later on.
You would be also thinking that since you did NOT put any option during unpacking(because you can't anyway) then it cannot be different and should be irrelevant whether that string is there or not.... well NO. Because if it was there during packing, you have to have it during unpacking.
If you packed without the string then there is no problem, it will work without it(and interestingly, it will unpack archives fine that were compressed without the string during compression even if the option IS there during decompression).

In other words:
- during compression: unpackcmd containing {options} == have to have it there during decompression.
- during compression: unpackcmd NOT containing {options} == does not matter it will unpack OK regardless.

Above means that packcmd and unpackcmd are not completely independent. It also spell(to me) the string substitute issues, even with empty string and a shoddy coding practices. So be aware of it, if you can't decompress something in the future.
Reply With Quote
The Following 2 Users Say Thank You to elit For This Useful Post:
Gehrman (10-04-2023), ScOOt3r (07-05-2023)
Sponsored Links
Reply


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
XTool 2020 (Plugins) Razor12911 Conversion Tutorials 405 24-12-2024 05:30
Freearc do not see files Schabik Conversion Tutorials 6 25-07-2018 05:41
ZCM with Freearc ~MAK~ Conversion Tutorials 46 01-10-2016 09:35
Need help with opus and freearc averanted Conversion Tutorials 6 29-07-2016 11:00
Sniper Elite V2 (2xDVD5 - Inno + Freearc) Fabioddq PC Games - CD/DVD Conversions 14 27-09-2012 18:06



All times are GMT -7. The time now is 03:13.


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