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

Reply
 
Thread Tools Display Modes
  #16  
Old 13-04-2023, 06:45
kj911 kj911 is offline
Registered User
 
Join Date: Apr 2010
Location: world
Posts: 182
Thanks: 132
Thanked 63 Times in 44 Posts
kj911 is on a distinguished road
Masquerade: The recompressed BSA archives, betterly compressibble or not?? Or better ways recompressing in store mode (supported?) and packing with any better methods? (ex: msc+srep+lolz)
Reply With Quote
Sponsored Links
  #17  
Old 13-04-2023, 06:49
Ra7eN Ra7eN is offline
Registered User
 
Join Date: Apr 2023
Location: Midwest USA
Posts: 16
Thanks: 4
Thanked 0 Times in 0 Posts
Ra7eN is on a distinguished road
Quote:
Originally Posted by Masquerade View Post
For WAV audio, use MSC with Tak plugin. You can rebuild the BSA archives using BSAOpt.
https://www.nexusmods.com/skyrim/mods/247/

Please note if you recode the wavs to mp3 with lame, the game might not recognise them anymore.
Hi, thanks for the fast reply!
I have BSAOPT I'll have to take another look at it. I used to do this with other games that use wav and use lame to crush them down. so far no issues, except one game. I had a wav compressor at one time, however, my main issue was getting the files BACK INTO the bsa file LOL

Currently I did the usual precomp+srep basic and got 27GB skyrim to 11GB, but I am sure if I can at least get the wav files down to size, I should be able to get it under 10GB.
Reply With Quote
  #18  
Old 13-04-2023, 06:53
Ra7eN Ra7eN is offline
Registered User
 
Join Date: Apr 2023
Location: Midwest USA
Posts: 16
Thanks: 4
Thanked 0 Times in 0 Posts
Ra7eN is on a distinguished road
Quote:
Originally Posted by adrianskiloses View Post
Another question:
What if I convert all the mp3 files in a game to ogg beforehand, and then attach a ogg to mp3 converter and a batch script to revert them back to mp3? Will it improve compression ratio, even a little bit depending on how many mp3 files are there?
why are you converting mp3 to ogg?
It appears that you do not have the LAME encoder based on your post. Instead, it seems that you have a decOGG compressor. If this is correct, I recommend replacing it with LAME, which can be easily found online. I'm not sure if I'm allowed to share a link, but you can look for it in various places. LAME will effectively compress your MP3 files, so there's no need to use OGG in this scenario.
Reply With Quote
  #19  
Old 13-04-2023, 08:59
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,167
Thanks: 284
Thanked 1,358 Times in 615 Posts
Masquerade is on a distinguished road
Quote:
Originally Posted by kj911 View Post
Masquerade: The recompressed BSA archives, betterly compressibble or not?? Or better ways recompressing in store mode (supported?) and packing with any better methods? (ex: msc+srep+lolz)
BSAopt is not suitable for repacking since every time you make an archive with it, the CRC is different.

I'm not up to scratch with BSA format, but I don't think the media files are compressed. Beyond that, I believe LZ4 compression is used.
Reply With Quote
  #20  
Old 13-04-2023, 09:11
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,412
Thanks: 1,078
Thanked 7,017 Times in 2,658 Posts
KaktoR is on a distinguished road
SkyrimSE using lz4f with level 10 if I remember correct. And if I am not mistaken you have to use lz4 library 1.8.0 or something like that to get a decent amount of streams.
__________________
Haters gonna hate
Reply With Quote
  #21  
Old 13-04-2023, 11:15
Ra7eN Ra7eN is offline
Registered User
 
Join Date: Apr 2023
Location: Midwest USA
Posts: 16
Thanks: 4
Thanked 0 Times in 0 Posts
Ra7eN is on a distinguished road
Quote:
Originally Posted by Masquerade View Post
BSAopt is not suitable for repacking since every time you make an archive with it, the CRC is different.

I'm not up to scratch with BSA format, but I don't think the media files are compressed. Beyond that, I believe LZ4 compression is used.
confirmed, they are not compressed. I forgot about the CRC. Does - skyrim(and/or bethesda) make use of that.
Reply With Quote
  #22  
Old 15-04-2023, 09:24
allgravy allgravy is offline
Registered User
 
Join Date: Mar 2022
Location: uk
Posts: 2
Thanks: 15
Thanked 1 Time in 1 Post
allgravy is on a distinguished road
Howdy! Apologies for my grammer and thanks in advance for your help.

How would i add ztool to diskspan please...

Last edited by allgravy; 17-04-2023 at 00:20. Reason: overlooked rules of thread
Reply With Quote
  #23  
Old 15-04-2023, 17:24
Ra7eN Ra7eN is offline
Registered User
 
Join Date: Apr 2023
Location: Midwest USA
Posts: 16
Thanks: 4
Thanked 0 Times in 0 Posts
Ra7eN is on a distinguished road
OK, I am from the old BBS days (Myth, Paradigm etc..) and have been fascinated by extreme compression. These days I learn it as a hobby. So wanted to thank you all for this site.

Sorry I have a noob question.

I know this is part of an arc bat file (I love working with batch), however what is this part

-mprecomp+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8

Because when I run it,
arc a -lc8 -ep1 -ed -r -w.\ game-1.bin -mprecomp+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "D:\GAMES\my_game_file\*"

gives me an error
recent one was general (de)compression error in precomp
other times it looks like it skips both precomp and srep and just finishes susccessfully.

How am I using this incorrectly?

Thanks!
Reply With Quote
  #24  
Old 16-04-2023, 01:33
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,167
Thanks: 284
Thanked 1,358 Times in 615 Posts
Masquerade is on a distinguished road
^^

The -m parameter in FreeArc specifies the compression method to be used when making your archives.

Methods can be internal methods built into FreeArc or they can be defined in arc.ini as external compressors.

In your case, it looks like precomp and srep are external compressors whereas you are using FreeArc's internal lzma compressor.

Secondly, when you have methods with colons after their name, this is a way of defining parameters for that compressor at runtime.

For example, the oggre compressor by ProFrager, arc.ini would look like this:

Code:
[External compressor:oggre]
header = 0
packcmd = {compressor} {options} $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
FreeArc has many internal constants, two of which I have shown above.

{compressor} instructs FA to look for oggre.exe. It simply fills the {compressor} with the name defined at the start of the entry.

{options} is where we pass our arguments at runtime. For example, if I used -moggre:s3, FA would translate the s3 to -s3 and use that parameter for oggre.exe.
Reply With Quote
  #25  
Old 16-04-2023, 02:48
Ra7eN Ra7eN is offline
Registered User
 
Join Date: Apr 2023
Location: Midwest USA
Posts: 16
Thanks: 4
Thanked 0 Times in 0 Posts
Ra7eN is on a distinguished road
@Masquerade

thanks.. easy to follow.
I noticed when reading the "specific game" section they put up a series of commands. Using an example where in the command line is that inserted?

Is there a thread here that goes into more detail. I would like to explore this more in depth.

Thanks!

Last edited by Ra7eN; 16-04-2023 at 02:59. Reason: spelling
Reply With Quote
  #26  
Old 16-04-2023, 06:03
Ra7eN Ra7eN is offline
Registered User
 
Join Date: Apr 2023
Location: Midwest USA
Posts: 16
Thanks: 4
Thanked 0 Times in 0 Posts
Ra7eN is on a distinguished road
hI
OK, One final Noob question

regarding the "specific game" section ??

What criteria is needed to determine which method to use.

Lets say for example I have a ton of wav files in a game, or lots of DDS files. What would I need to look for?

Thanks!
Reply With Quote
  #27  
Old 16-04-2023, 07:56
Masquerade's Avatar
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,167
Thanks: 284
Thanked 1,358 Times in 615 Posts
Masquerade is on a distinguished road
Quote:
Originally Posted by Ra7eN View Post
@Masquerade

thanks.. easy to follow.
I noticed when reading the "specific game" section they put up a series of commands. Using an example where in the command line is that inserted?

Is there a thread here that goes into more detail. I would like to explore this more in depth.

Thanks!
Please may you give an example of what you mean?
Quote:
Originally Posted by Ra7eN View Post
hI
OK, One final Noob question

regarding the "specific game" section ??

What criteria is needed to determine which method to use.

Lets say for example I have a ton of wav files in a game, or lots of DDS files. What would I need to look for?

Thanks!
for wavs, use msc with tak plugin. For DDS, use srep then lolz.
Reply With Quote
  #28  
Old 16-04-2023, 09:57
Ra7eN Ra7eN is offline
Registered User
 
Join Date: Apr 2023
Location: Midwest USA
Posts: 16
Thanks: 4
Thanked 0 Times in 0 Posts
Ra7eN is on a distinguished road
^^^
Example: Yes
Here is a good page I think covers the information I am looking for

https://fileforums.com/showpost.php?...1&postcount=11

Which goes hand-in-hand with my question for the following you suggested:
Quote:
for wavs, use msc with tak plugin. For DDS, use srep then lolz
How are these and what you suggested implemented?

Please keep in mind, that I am from the old BBS days where we ripped games in order to get them to make for a decent download on 9,600 - 14.4bps modems. So this method with arc is a little new to me after some 30yrs :-) (ok, Im an old fart)
Reply With Quote
  #29  
Old 16-04-2023, 10:10
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,412
Thanks: 1,078
Thanked 7,017 Times in 2,658 Posts
KaktoR is on a distinguished road
^
You cannot use more then one -m option in command line for a single archive. So either combine them or make two archives.

Code:
arc.exe a -s -ep1 -r -ed -w.\game1.arc -mmsc ["path_to_game_folder\*.wav"]
arc.exe a -s -ep1 -r -ed -w.\game2.arc -msrep+lolz ["path_to_game_folder\*.*"] -x["path_to_game_folder\*.wav"]
As for the TAK plugin for MSC, you just have to place "pack_TAK.exe" in the same folder where "msc.exe" is located for compression and use in arc.ini like this
Code:
[External compressor:msc]
header     = 0
default    = -raw=1 -bmf=9 -bmp=1 -wav=1 -mp3=1
packcmd    = "MSC.exe" c -f -v {options} InFile OutFile
unpackcmd  = "FAZip32.exe" -i0 decompress:msc_d <stdin> <stdout>
datafile   = InFile
packedfile = OutFile
__________________
Haters gonna hate
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
Ra7eN (16-04-2023)
  #30  
Old 16-04-2023, 10:11
Ra7eN Ra7eN is offline
Registered User
 
Join Date: Apr 2023
Location: Midwest USA
Posts: 16
Thanks: 4
Thanked 0 Times in 0 Posts
Ra7eN is on a distinguished road
I caught that right as I sent that. I am working with too many bat files, so cleaned it up. I'll take another look again

Thanks!
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 11:33.


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