Hey Guys,
I wanted to know if it's possible to unpack and repack UnityWebData1.0 Files?
I was able to unpack the file using AssetStudio, resulting in having these files lying around:
I want to edit some of the contents (unity3d, sharedAssets) and I know how to do that, but I haven't found a way to actually repack the UnityWebData1.0 File after editing the files.
Any Idea how to do that?
I've uploaded the file I want to unpack and Repack: https://cellenser.es/Demo/PokemonPCTrai ... se.data.br (which actually isn't compressed with brotli)
Important information: this site is currently scheduled to go offline indefinitely by end of the year.
Unpack/Repack UnityWebData1.0 Files?
-
- veteran
- Posts: 154
- Joined: Sun Feb 23, 2014 4:10 pm
- Has thanked: 4 times
- Been thanked: 3 times
Re: Unpack/Repack UnityWebData1.0 Files?
ahhhh yea, sorry. edited the file in the link multiple times.ikskoks wrote: ↑Mon Sep 12, 2022 10:18 pm Your link doesn't work.
By the way, check this http://wiki.xentax.com/index.php/List_of_Unity_Tools
unfortunately there are currently no tools that lets you decompress, edit and recompress UnityWebData (yet).
Just figured out that the UnityWebData-Files are just multiple files packed in one (without any compression whatsoever).
So I wrote a simple tool in c# that "rebuilds" the UnityWebData, using the modified files (extracted with AssetStudio or the tool I made).
For comparison of both files, here are the links:
Original, unmodified file: https://cellenser.es/Demo/PokemonPCTrai ... se.data.br
Modified file (containing modified & uncompressed data.unity3d-file): https://cellenser.es/Demo/PokemonPCTrai ... ed.data.br
The UnityWebData File was easy to rebuild.
Here's the documentation I made to make a tool rebuilding the UnityWebData.
The modified files in the game actually work fine!
As PoC, I replaced the Game Logo with a translated one.
Original Game: https://pc.pokemon-foundation.or.jp/
PoC on my Server (currently trying to translate the game): https://cellenser.es/Demo/PokemonPCTraining/