Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

Making patches for sound mods (lightweighting)

- A Tutorial for Genshin Impact.

primary preview sec preview img

If you want to distribute sound mods, this should help you

Sound and music pck files are quite big and sound mods distribution is complicated by file sizes.

One of the ways is to create patches.

Warning: this will work only if input file for patch applying is original. This cannot be used on top of already patched files.

There are some tools for patch creation, I personally use xdelta3.

For example, the modded file is External0.pck (voice pack #0)

  1. Download xdelta3 from GitHub
  2. Use the following command to create a patch: (change paths to yours)
    xdelta3-3.1.0-x86_64.exe -e -s External0-game-original.pck External0-modded.pck External0.patch
    
  3. Patch creation is completed. Depending on how much had been changed in the modded file, size of resulting patch will change accordingly.


To apply patch to original file (aka "to apply mod")
You must have unmodded original file

  1. Use the following command: (beware of paths and file names)
    xdelta3-3.1.0-x86_64.exe -d -s External0-game-original.pck External0.patch External0-modded.pck
    
  2. Rename original External0.pck
  3. Rename External0-modded.pck to External0.pck


In some cases patches are really lightweight (< 5 MB)

Login or Sign up to access this!
Login or Sign up to access this!

Files

  • Making_patches_for_sound_mods_(lightweighting).zip

Alternate File Sources

Credits

Key Authors

Ananasique

Author

Submitter

Login or Sign up to access this!
Login or Sign up to access this!
Login or Sign up to access this!

Game

Login or Sign up to access this!

Category

Sub-category
category img Other/Misc

Details

Difficulty Level

Beginner

License

Share

  • 1
  • 10
  • 319
Login or Sign up to access this!

More from Submitter

preview img
248 24.1k 13
arrow_back