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 13-04-2023, 04:25
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,218
Thanks: 294
Thanked 1,407 Times in 637 Posts
Masquerade is on a distinguished road
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.
Reply With Quote
Sponsored Links
  #2  
Old 13-04-2023, 05:49
Ra7eN Ra7eN is offline
Registered User
 
Join Date: Apr 2023
Location: Midwest USA
Posts: 21
Thanks: 4
Thanked 1 Time in 1 Post
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
  #3  
Old 09-09-2023, 16:37
murphy78 murphy78 is offline
Registered User
 
Join Date: Sep 2023
Location: America
Posts: 3
Thanks: 17
Thanked 1 Time in 1 Post
murphy78 is on a distinguished road
Lightbulb Hello, I'm trying to learn.

Hi, I've been very curious about repacking games. I'm not interested in spreading my own repacks or anything like that. I am just obsessive about archiving the latest versions of my games when I download them and I want to take up very little space.

I've played with a couple tools like xtool and diskspan_GUI and they work a bit but I don't really grasp everything very well. I would like to know if it is generally a good idea to reflate, srep, and then compress the files. Could someone help me with some advice and maybe a small basic packer and unpacker script? I saw another person's example but it only had the arc/lolz combination. I admit I don't really know much about lolz. I've read a comment from someone saying that the tool was old and that people mostly stopped using it.

Thanks for any help people could give in advance.
Reply With Quote
  #4  
Old 09-09-2023, 23:00
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,218
Thanks: 294
Thanked 1,407 Times in 637 Posts
Masquerade is on a distinguished road
Lolz is still in use, it's still the best compressor for game data. But, it's still old. Most tools that we use are ancient.

About inflate + srep + compress - this correct. Inflation, or precompression is the step where the compression already on the game is reversed (decompressed) so that you can apply a stronger algorithm (srep+lolz/lzma). You need to use the correct codec for the game since not every game uses the same compression algorithm. When you decompress your archive, those resources are recompressed identically.
Reply With Quote
The Following User Says Thank You to Masquerade For This Useful Post:
murphy78 (10-09-2023)
  #5  
Old 10-09-2023, 08:03
murphy78 murphy78 is offline
Registered User
 
Join Date: Sep 2023
Location: America
Posts: 3
Thanks: 17
Thanked 1 Time in 1 Post
murphy78 is on a distinguished road
Does anyone have a compilation of commandline and ini file structure for xtool.exe, freearc 0.67's arc.exe ?

I looked around to the best of my ability but I'm having a hard time locating information. I can't find any command line information on xtool and what little information I can find on freearc doesn't seem to apply to the way people are using it with the ini files and the -m single argument passing method.

I have checked the chm file that comes with xtool and it seems to only discuss precomp. There are a lot more features that the exe uses and I imagine that there's gotta be more information somewhere.

I'm sorry if this all seems trivial to everyone. It's hard to write myself a script when I don't really have any example or documentation to go on.

Thanks again in advance.

Last edited by murphy78; 10-09-2023 at 10:17.
Reply With Quote
  #6  
Old 13-04-2023, 05:45
kj911 kj911 is offline
Registered User
 
Join Date: Apr 2010
Location: world
Posts: 233
Thanks: 158
Thanked 89 Times in 63 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
  #7  
Old 13-04-2023, 07:59
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,218
Thanks: 294
Thanked 1,407 Times in 637 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
  #8  
Old 13-04-2023, 10:15
Ra7eN Ra7eN is offline
Registered User
 
Join Date: Apr 2023
Location: Midwest USA
Posts: 21
Thanks: 4
Thanked 1 Time in 1 Post
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
  #9  
Old 13-04-2023, 08:11
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,703
Thanks: 1,106
Thanked 7,352 Times in 2,847 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
  #10  
Old 15-04-2023, 08: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; 16-04-2023 at 23:20. Reason: overlooked rules of thread
Reply With Quote
  #11  
Old 15-04-2023, 16:24
Ra7eN Ra7eN is offline
Registered User
 
Join Date: Apr 2023
Location: Midwest USA
Posts: 21
Thanks: 4
Thanked 1 Time in 1 Post
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
  #12  
Old 16-04-2023, 00:33
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,218
Thanks: 294
Thanked 1,407 Times in 637 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
  #13  
Old 16-04-2023, 01:48
Ra7eN Ra7eN is offline
Registered User
 
Join Date: Apr 2023
Location: Midwest USA
Posts: 21
Thanks: 4
Thanked 1 Time in 1 Post
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 01:59. Reason: spelling
Reply With Quote
  #14  
Old 16-04-2023, 05:03
Ra7eN Ra7eN is offline
Registered User
 
Join Date: Apr 2023
Location: Midwest USA
Posts: 21
Thanks: 4
Thanked 1 Time in 1 Post
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
  #15  
Old 16-04-2023, 06:56
Masquerade Masquerade is offline
Registered User
 
Join Date: Jan 2020
Location: Monte d'Or
Posts: 1,218
Thanks: 294
Thanked 1,407 Times in 637 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
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
newbie question bigorangekitty PS2 Games 5 15-05-2002 16:51
Total newbie...dumb question...patience please! xxxMikexxx PC Games 1 02-04-2002 23:19
newbie question troi22 PS2 Games 1 28-02-2002 03:18
newbie PAL patch question for Pro Evolution Purple Cowboy PS2 Games 2 19-02-2002 12:39
Newbie question...how do I know if the game I've downloaded is Autoboot or not? konichiwa DC Games 1 23-11-2000 20:35



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


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