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

Reply
 
Thread Tools Display Modes
  #106  
Old 17-03-2024, 20:40
ozerune ozerune is offline
Registered User
 
Join Date: Feb 2024
Location: America
Posts: 33
Thanks: 16
Thanked 0 Times in 0 Posts
ozerune is on a distinguished road
After giving up on configuring FreeArc itself, I switched to DiskSpan GUI for a little bit. Now that I have a better understanding of repacking, I want to go back to FreeArc, but am running into some issues.

1) It won't let me put the compressors into different folders
e.g. unpackcmd = "compressors\lolz_64.exe" {options} InFile OutFile
gives me an error, where not using subfolders works just fine

"The system cannot find the path specified."

2) cls-lolz refuses to unpack anything. I have all 4 necessary cls-* files, and am running an unpack.bat file as administrator, and nothing is working



3) When I have the cls files in the FreeArc bin folder, it tries to compress the files using the cls instead of the actual compressor. How can I stop this from happening?

arc.ini at defining external compressors:

[External compressor:lolz]
packcmd = "compressors\lolz_x64.exe" {options} InFile OutFile
datafile = InFile
packedfile = OutFile
Reply With Quote
Sponsored Links
  #107  
Old 17-03-2024, 23:32
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,161
Thanks: 284
Thanked 1,354 Times in 614 Posts
Masquerade is on a distinguished road
Quote:
unpackcmd = "compressors\lolz_64.exe" {options} InFile OutFile
lolz_x64.exe cannot be used to unpack data, only compress.

As for file not found, don't try and use a FreeArc installation for your repacking. Make a separate folder with arc.exe, arc.ini and your tools. Make sure arc.exe from your FreeArc installation isn't in the PATH variable because things get messy this way.

Quote:
cls-lolz refuses to unpack anything. I have all 4 necessary cls-* files, and am running an unpack.bat file as administrator, and nothing is working
Please may you explain what error you face? You only really need:
cls-lolz.dll
cls-lolz_x64.exe
And the appropriate configuration in cls.ini.

Quote:
When I have the cls files in the FreeArc bin folder, it tries to compress the files using the cls instead of the actual compressor. How can I stop this from happening?
You can't. FreeArc will always load and prefer cls plugins over external compressors configured in arc.ini. you will need to remove cls-lolz components and other cls based decompressors from your Arc compressor.

You don't need to use datafile = / packedfile = in arc.ini either, you can simply use $$arcdatafile$$.tmp $$arcpackedfile$$.tmp in the command (this could be why your archives won't unpack with lolz cls).

datafile/packedfile is reserved for awkward tools that require a specific in/out file extension to work and has no filename override.

Code:
[External compressor:lolz]
packcmd = "compressors\lolz_x64.exe" {options} $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
Reply With Quote
  #108  
Old 18-03-2024, 06:56
ozerune ozerune is offline
Registered User
 
Join Date: Feb 2024
Location: America
Posts: 33
Thanks: 16
Thanked 0 Times in 0 Posts
ozerune is on a distinguished road
I did everything you said and this is the error I am getting when extracting:

Quote:
available options:
transfer data options: -Bufsize, -transfer_ReadBufSize, -transfer_WriteBufSize
for mtt1: -MaxThreadsUsage, -MaxMemoryUsage
for ldmf1: -ldmfTempPath, -ldmfMaxMemoryUsage, -ldmfDeleteTmp

ldmf mode
temp path = .\
ldmf memory per thread = 8'192kb

ERROR: general (de)compression error in lolz
I am using the CLS.ini that is provided in the lolz 7z folder you linked to in your tools thread. Should I be making modifications to that to get it to work? Also, quick correction to your post earlier, I am not using unpackcmd, only packcmd.

After trying a few more things, it would seem that its the archives I make in FreeArc that are being corrupted, as unpacking one I created with DiskSpan GUI worked just fine.

Last edited by ozerune; 18-03-2024 at 13:20.
Reply With Quote
  #109  
Old 20-03-2024, 22:00
ozerune ozerune is offline
Registered User
 
Join Date: Feb 2024
Location: America
Posts: 33
Thanks: 16
Thanked 0 Times in 0 Posts
ozerune is on a distinguished road
I feel so stupid now. For anyone else running into these issues, first, keep header = 0 at the top of the external compressors definition, and also run in cmd and not the windows 11 terminal. That was all it took and I feel like an idiot for spending 3 days on this lol
Reply With Quote
  #110  
Old 04-04-2024, 20:17
weednbeer weednbeer is offline
Registered User
 
Join Date: Jul 2023
Location: canada
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
weednbeer is on a distinguished road
Hello beautiful community I have a question about DiskSpan and I am on the latest version. I would like to know why when I go to arc compression and then I select FA-ULTRA custom compression, 50% of the time the compression remains at the beginning and the time only increases and without results after several hours and on other games it works ...I find that really strange. If anyone could enlighten me on this it would be really appreciated.
Reply With Quote
  #111  
Old 05-04-2024, 04:32
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,403
Thanks: 1,078
Thanked 7,005 Times in 2,653 Posts
KaktoR is on a distinguished road
Most probably because of the use of rep dedup. However I don't recommend to use any of the predefined freearc templates except for fa-store and fa-min inside of diskspangui because settings will not be the same as if you use them by freearc directly.

Example



Both archives were made with freearc ultra template (left: freearc, right: diskspangui)

Freearc templates inside diskspangui will not be using predefined arc.ini settings from freearc installation folder and will not apply on different file types, hence the ratio difference.
__________________
Haters gonna hate
Reply With Quote
  #112  
Old 06-04-2024, 17:14
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,023
Thanks: 1,728
Thanked 2,185 Times in 746 Posts
Cesar82 is on a distinguished road
Although not identical, the predefined modes FA-BEST_SP, FA-MAX_SP and FA-ULTRA_SP work with FreeArc's internal masks.


But to use these methods you can NOT choose DiskSpan mode (You can use it together with SPLIT mode or WITHOUT any split mode).
I don't know why these 3 methods don't give us the same results, taking into account that the final method formed on the command line is something like:
Code:
FA-BEST_SP  >> -m9x -ld192m
FA-MAX_SP   >> -mx -ld800m
FA-ULTRA_SP >> -mx -ld1600m 
The other settings of the FA-??? presets use fixed methods.
See below the presets used (They can be changed in "DSG_Arc.ini" whenever you want).
Code:
FA-STORE=0
FA-MIN=1
FA-LOW=rep:1kb:256+exe+4x4:tor:1kb:h4kb
FA-FAST=rep:1kb+exe+delta+4x4:lzma:32kb:fast:32:mc4
FA-NORMAL=rep:1kb+exe+delta+4x4:lzma:32kb:normal:16:mc8
FA-HIGH=rep:1kb+exe+delta+4x4:lzma:32kb:normal:32:mc32
FA-BEST=exe+delta+lzma:32kb:normal:bt4:128
FA-MAX=rep:1kb+exe+delta+lzma:64m:ultra:bt4:128
FA-ULTRA=rep:1kb+exe+delta+lzma:128m:ultra:bt4:128
Reply With Quote
  #113  
Old 09-04-2024, 13:18
wareck wareck is offline
Registered User
 
Join Date: Dec 2017
Location: Mars
Posts: 46
Thanks: 9
Thanked 22 Times in 15 Posts
wareck is on a distinguished road
best method to compress RIFF files

Hello
I would like to know how to process these king of fille
(RIFF/FSB5)
They take lot of space in the conversion.
I think they could be converted before and after compression
but I'm a beginner and I don't understand certain things...

best regards
Attached Files
File Type: zip sotf_recordplayer.zip (612.4 KB, 3 views)
Reply With Quote
  #114  
Old 10-04-2024, 01:18
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,161
Thanks: 284
Thanked 1,354 Times in 614 Posts
Masquerade is on a distinguished road
^^
Extract all FSB5 banks from the bank/data with this quickbms script:
https://www.fileforums.com/showthrea...141#post502141

Then, extract those new FSB files with this script:
https://github.com/HearthSim/python-fsb5

For the audio extracted, concatenate the files by file type with bincat by Aluigi.

Bin files? Reextract the original FSB with fsbext and compress the extracted wav with msc
WAV files? Compress with msc.
Ogg? Compress with oggre.

So you can have up to 3 different files at this point.

Use oggvorbis2fsb5 to convert your decompressed ogg data into FMOD ogg audio. Concatenate your (up to) 3 files and make a patch to the original bank with hdiffz.

During unpacking/installation use oggvorbis2fsb5 again, concatenate and then apply the hdiffz patch you made earlier to restore the original bank.
Reply With Quote
The Following User Says Thank You to Masquerade For This Useful Post:
wareck (10-04-2024)
  #115  
Old 10-04-2024, 02:25
wareck wareck is offline
Registered User
 
Join Date: Dec 2017
Location: Mars
Posts: 46
Thanks: 9
Thanked 22 Times in 15 Posts
wareck is on a distinguished road
Thanks !
it was exactly what I needed
Reply With Quote
  #116  
Old 10-04-2024, 09:10
nordi's Avatar
nordi nordi is offline
Registered User
 
Join Date: Nov 2012
Location: Germany
Posts: 23
Thanks: 21
Thanked 30 Times in 11 Posts
nordi is on a distinguished road
VCL Style Test 1 - different title on each page

Hi there,

UPDATE : Solution found and attached !!!

I created an installer with different titles for each page.

I managed that it work without VCLstyles (or when I use ISSkin instead).

But with VCLstyles it only changes the titles when i press e.g. the cancel button.



>> My test script is attached

Thank you in advance...
Nordi


UPDATE : Solution found and attached !!! ( >> Procedure to hide + show WizardForm )
Solution 1 = managed with WinAPI function >> SendWindowsText
Solution 2 = managed with WizardForm.Caption
>> works without the styles too

SOLUTION3 => no flickering Wizard : https://fileforums.com/showpost.php?...&postcount=121
Attached Files
File Type: zip VCL-Title-Test.zip (1.21 MB, 8 views)
File Type: zip VCL Title Solution.zip (1.21 MB, 1 views)
File Type: zip VCL-Title-Solution 2.zip (1.21 MB, 2 views)
File Type: 7z VCL Title Solution 3.7z (884.7 KB, 0 views)

Last edited by nordi; 13-04-2024 at 08:35.
Reply With Quote
  #117  
Old 10-04-2024, 11:48
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,403
Thanks: 1,078
Thanked 7,005 Times in 2,653 Posts
KaktoR is on a distinguished road
Library bug. Maybe you can try to refresh the WizardForm.Caption on each page change, but not sure.
__________________
Haters gonna hate
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
nordi (10-04-2024)
  #118  
Old 10-04-2024, 13:42
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 1,023
Thanks: 1,728
Thanked 2,185 Times in 746 Posts
Cesar82 is on a distinguished road
Try
Attached Files
File Type: rar Setup.rar (2.1 KB, 10 views)
Reply With Quote
The Following User Says Thank You to Cesar82 For This Useful Post:
nordi (10-04-2024)
  #119  
Old 10-04-2024, 22:49
nordi's Avatar
nordi nordi is offline
Registered User
 
Join Date: Nov 2012
Location: Germany
Posts: 23
Thanks: 21
Thanked 30 Times in 11 Posts
nordi is on a distinguished road
Thumbs up thx

@ KaktoR - thx for replay and tip

@ Cesar82 - thx for quick solution, titles are correct now


> but now the buttons and text are not shown correctly... very strange behavior (using the WinAPI function)

Solution



Last edited by nordi; 12-04-2024 at 22:39.
Reply With Quote
  #120  
Old 12-04-2024, 10:27
nordi's Avatar
nordi nordi is offline
Registered User
 
Join Date: Nov 2012
Location: Germany
Posts: 23
Thanks: 21
Thanked 30 Times in 11 Posts
nordi is on a distinguished road
Thumbs up VCL Style Test - different title on each page - Solution

Hello,

first of all thank you for the help and tips.
I have found a solution to my problem.

I have attached my solution here and in the first post:
https://fileforums.com/showpost.php?...&postcount=116

Maybe it's just a simple workaround, but it's ok for me...
( >> Procedure to hide + show WizardForm )

Now all buttons + text are shown correctly too.

Best regards
Nordi

UPDATE : Solution found and attached !!!
Solution 1 = managed with WinAPI function > SendWindowsText
Solution 2 = managed with WizardForm.Caption
>> works without the styles too

SOLUTION3 => no flickering Wizard : https://fileforums.com/showpost.php?...&postcount=121
Attached Files
File Type: zip VCL Title Solution.zip (1.21 MB, 3 views)
File Type: zip VCL-Title-Solution 2.zip (1.21 MB, 1 views)

Last edited by nordi; 13-04-2024 at 23:04.
Reply With Quote
Reply

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
newbie question bigorangekitty PS2 Games 5 15-05-2002 17:51
Total newbie...dumb question...patience please! xxxMikexxx PC Games 1 03-04-2002 00:19
newbie question troi22 PS2 Games 1 28-02-2002 04:18
newbie PAL patch question for Pro Evolution Purple Cowboy PS2 Games 2 19-02-2002 13:39
Newbie question...how do I know if the game I've downloaded is Autoboot or not? konichiwa DC Games 1 23-11-2000 21:35



All times are GMT -7. The time now is 18:26.


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