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

Reply
 
Thread Tools Display Modes
  #1  
Old 19-02-2024, 19:02
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
MagesPack DiskSpan integration?

I am very new to this whole repacking scene and am trying to understand as much as I can about all of this. The problem I am running into right now is with the game Chaos;Child, and will likely run into this issue again when I do Steins;Gate. About half the game is stored in .mpk files, and the only way that I can find to unpack and repack them is with MagesPack, which from what I can tell doesn't work with FreeArc. Is there anyone who could explain to me what I would need to do to get these files properly repacked? From what I can tell, existing FreeArc compatible compressors and preprocessors cannot see too well inside of the mpk files, with a ratio of 90% when I try. As of right now, I primarily use DiskSpan GUI. I would prefer not to write my own code at this point in time, but if I absolutely have to and there is no other way, knowing the steps to take next would still be helpful.
Reply With Quote
Sponsored Links
  #2  
Old 20-02-2024, 08:04
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,016 Times in 2,658 Posts
KaktoR is on a distinguished road
As long as the tools have a command line, you can integrade them into diskspan gui relatively easy using callbefore/runbefore/callafter/runafter. It looks like MagesPack tool has gui only, so no integration into diskspan gui is possible.

However there is a bms script (http://aluigi.altervista.org/bms/chaos_child.bms) which you could use with quickbms, and quickbms you can integrate with diskspan gui

Edit: literally 90% of the game files contain just PNG images. Use xtool:d1:mpng:mreflate

Code:
chara.mpk

Streams: 1706 / 1706
Time: 00:02:36 (CPU 00:14:37)

Size: 833 MB >> 3.02 GB
se.mpk and voice.mpk contain OGG files. Use oggre on them.

__________________
Haters gonna hate

Last edited by KaktoR; 20-02-2024 at 08:28.
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
ozerune (20-02-2024)
  #3  
Old 20-02-2024, 10:15
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
Awesome thank you! I'll have to play around with this and see if I can get a better ratio if I use the bms first or not. I have not heard of bms before, is it something that repackers use often that I should look more into?
Reply With Quote
  #4  
Old 20-02-2024, 10:25
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,016 Times in 2,658 Posts
KaktoR is on a distinguished road
Yes, repackers use quicmbms sometimes

http://aluigi.altervista.org/quickbms.htm

However, for this particular game, you really don't need it.
__________________
Haters gonna hate
Reply With Quote
The Following User Says Thank You to KaktoR For This Useful Post:
ozerune (20-02-2024)
  #5  
Old 20-02-2024, 10:26
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
Just to add a comment - the mpk files in Chaos Child and Steins Gate are all non-compressed so you don't need to unpack them.
Reply With Quote
The Following User Says Thank You to Masquerade For This Useful Post:
ozerune (20-02-2024)
  #6  
Old 03-03-2024, 18:49
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
Quote:
Originally Posted by KaktoR View Post
Yes, repackers use quicmbms sometimes

http://aluigi.altervista.org/quickbms.htm

However, for this particular game, you really don't need it.
Trying to figure out how to use QuickBMS now, how do I recreate a file extracted using it? It seems to want the exact file which was extracted from in order to reimport in the first place, but that would be incredibly counterproductive considering I would have to put both in the archive.
Reply With Quote
  #7  
Old 05-03-2024, 09:19
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
^^
QuickBMS cannot repack a file traditionally, it's not that kind of tool. Reimport mode can work but it gets messy very quickly as you need to import empty files into the original archive and then reimport your files during installation. Many archive repackaging tools for games are game engine specfic or even game specific.

As for Steins;Gate, since the archives aren't compressed, you don't need to extract them. If you unpack the raw data, you can simply concatenate that data using bincat and then use xdelta or hdiffz to restore the missing archive information.
Reply With Quote
The Following User Says Thank You to Masquerade For This Useful Post:
ozerune (05-03-2024)
  #8  
Old 22-02-2024, 18:04
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've spent the last couple days going through these and have managed to get the ratio down to 80%, but the install takes 15 minutes for an 8GB game, which I feel is a bit much. The majority of this time comes from the png mpk files which take (in my opinion) absurd amounts of time to both compress and decompress. For these files I am using

xtool:d1:mpng:mreflate:dd3+LOLZ_NORMAL

Even with just using lolz normal, it takes a solid 1.5 hours to compress 3GB of PNGs. Is there some other compressor I should be using for PNGs? And is there any way to add more compression after using bink 2 and oggre without costing too much install time?

I am a massive visual novel player and those are the main things that I want to back up so I imagine all of these will be used often.

Last edited by ozerune; 22-02-2024 at 19:03.
Reply With Quote
  #9  
Old 23-02-2024, 05:01
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
^^
Welcome to repacking
Say goodbye to all of your hours

Use a separate archive for both bink videos and oggre. There's no way to speed oggre up since it runs at single digit mb/s. You can increase bink speed by using XTool bink video plugin.
Reply With Quote
  #10  
Old 23-02-2024, 06:58
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've already been doing that lol. Guess I'll have to just either choose 15 minute install time for 80% ratio or 1 minute install time for 90% ratio. Might be a better idea to just do the latter.
Reply With Quote
  #11  
Old 23-02-2024, 08:21
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
ozerune: Compress them 7.88GB's game version? (newer im has ~9.6GB's size.)

Compression results only "chara.mpk" file and separately/completely any other files? 90% compress = total game packed to 7.1GB's size? Betterly avg. 6.3GB?

UPD: Quick testing the whole "chara.mpk" file. Better idea trying to use precomp?

Test1: xZLib+srep:m3f:a0+xlzma --> ~604MB (~434sec.)
Test2: precomp+srep:m3f:a0+xlzma --> ~450MB (~686sec.)

Note: xZLib = xtool 0.12 use zlib and 32MB chunk size. Precomp use v0.4.7 "-intense -cn" switches. SREP used v3.92beta x64 version. Last v0.4.8 precomp better? Combined with xtool? delta filtering increase the ratio? Probably Blizzard 0.2.4 betterly compress than any LZMA algos. (kick ass LOLZ?) Harder testings results coming soon.

Last edited by kj911; 23-02-2024 at 09:05. Reason: added quick test results
Reply With Quote
  #12  
Old 23-02-2024, 09:14
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:
xZLib = xtool 0.12 use zlib and 32MB chunk size
...but why?
This ancient XTool has no png preprocessor.
Reply With Quote
  #13  
Old 23-02-2024, 13:40
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
...but unpacking.

832MB --> 3.01GB

Precomp 0.4.8 -intense0 -cn --> 3.43GB! (Pack it RZ with d1023M -> 328MB.)

xzlibbed or precompressed data compress via srep+bliz/xlzma. Compressed results?? No difference! Smaller than 100kB's. Without srep compress = loose ~15% final ratio.

Tested blizzard = better than faster xlzma compression. Precomp precompressed results equal the any tiny png-set results, see it: https://encode.su/threads/3964-Best-...cartoon-images

precomp+srep:m3f:a0+bliz --> 358MB (simple "-intense -cn" mode, not brute'd.) LOLZ/DLZ not tested, wait results...
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
DiskSpan GUI Cesar82 Conversion Tutorials 431 23-11-2024 08:00
Windows Phone Installer (bug free) bunti_o4u Conversion Tutorials 250 09-07-2024 07:43
How to use Diskspan GUI v2+ mausschieber Conversion Tutorials 23 25-01-2024 13:28
How to use DiskSpan BAT mausschieber Conversion Tutorials 5 09-07-2021 02:59
How to use diskspan bat mausschieber Conversion Tutorials 4 05-09-2020 13:25



All times are GMT -7. The time now is 19:02.


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