View Single Post
  #9  
Old 15-03-2024, 09:49
KaktoR's Avatar
KaktoR KaktoR is offline
Lame User
 
Join Date: Jan 2012
Location: From outer space
Posts: 4,689
Thanks: 1,106
Thanked 7,336 Times in 2,838 Posts
KaktoR is on a distinguished road
Quote:
Originally Posted by Tmills View Post
Quick Questions.
1.How do i get my setup.dll merged into my game.exe when using DiskSpan Gui?

2. Is there a list of file extension/types and the method to use on them?

for example:
.wav,.rpf,.mp3 are audio files. Would MSC be best to compress them? What other methods are good on audio files etc?
.img,.png are image files. what method is good for these? mzlib?

3. What are the differences between the xtool options and what files would they be used for:
xtool 0.12 xzlib
xtool 2020 mzlib
xtool 2020 mreflate
xtool 2020 mpreflate
xCrilayla
xlz4
xlzo
xzstd

I'm assuming that xlz4,xlzo,xzstd are the best method exclusively for those file types.

I have everything working to repack my games and now I'm trying to learn about all the different file types and how best to compress them.
Is there anywhere I can read up on this kind of information to learn?
Any advice would be appreciated.
1. Game.exe? You mean installer Setup.exe? You have to use compatible installers which allow to merge setup.dll into installer file.

2. If you use diskspangui, yes. I have written something about it somewhere.
For mp3 I would use 7z with mp3 plugin (7z-dll in diskspangui somewhere). msc for wav/raw.
For png you can use xtool with png plugin + d1 option + reflate/preflate. I guess you can use precomp aswell.

3. Precompressors. In some cases you cannot predefine what method to use on a specific file type.
However in most cases you can just presume by used game engine. For example Unreal Engine 4+5 mostly uses zlib and oodle.
__________________
Haters gonna hate
Reply With Quote