Unity3d WebPlayer reimporting

Doubts, help and support about QuickBMS and other game research tools
Sane
Posts: 4
Joined: Mon Nov 18, 2019 10:53 am

Unity3d WebPlayer reimporting

Post by Sane »

Hello!
I've been using the unity3d_webplayer.bms script available on the quickbms site (https://aluigi.altervista.org/bms/unity3d_webplayer.bms) on some unity3d files, and it works like a charm to a certain extent. However, once I tried to reimport files back in, quickbms threw an error that the script is invalid for reimporting.
As far as I can tell, reimporting these files is the only way of using them for this game, but my little knowledge barely lets understand the script itself, much less allow me to figure out how to make it possible to reimport.
I would provide a test file, but it says that unity3d files aren't allowed.
Can anyone please help me? <3
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Unity3d WebPlayer reimporting

Post by LolHacksRule »

Can't reimport into Unity3D files that way... You can try UABE on the bundle you want to reimport files to (AssetStudio doesn't support reimporting) or if you have a lot of money, get DevXUnity for the best experience.
Sane
Posts: 4
Joined: Mon Nov 18, 2019 10:53 am

Re: Unity3d WebPlayer reimporting

Post by Sane »

LolHacksRule wrote:Can't reimport into Unity3D files that way... You can try UABE on the bundle you want to reimport files to (AssetStudio doesn't support reimporting) or if you have a lot of money, get DevXUnity for the best experience.

I see, that's a shame. I'm pretty sure that UABE doesn't work with these files. The unity3d files I have use a weird custom version which has made everything besides DevX be unable to open them. The quickbms script was pretty much the closest thing to it I've otherwise found. Are there no other alternatives to DevX? Or what is it that lets DevX be in another league? :|
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Unity3d WebPlayer reimporting

Post by LolHacksRule »

Code: Select all

bundle pack   Pack files into a bundle. Requires a bundle property file.

https://github.com/ata4/disunity Maybe? I also saw this for UABE?

Code: Select all

open characters2.unity3d in UABE via File -> open
Sane
Posts: 4
Joined: Mon Nov 18, 2019 10:53 am

Re: Unity3d WebPlayer reimporting

Post by Sane »

LolHacksRule wrote:

Code: Select all

bundle pack   Pack files into a bundle. Requires a bundle property file.

https://github.com/ata4/disunity Maybe? I also saw this for UABE?

Code: Select all

open characters2.unity3d in UABE via File -> open

https://i.imgur.com/XQRBT6H.png UABE when trying to open the file
https://i.imgur.com/n5wRKzW.png disunity when trying to pack, although I wasn't able to figure out how to get a bundle property file. If that's something common knowledge, I'd appreciate some pointers.

disunity is weird because with the latest version I can't even extract any files, but with v0.3.1. it gives me all the shaders and pictures, but not assemblies. That version has some different commands and I tried out bundle-inject. It seemed to inject back something, and the file size got bigger, but none of the files I modified in the extraction directory were added in. Then I tried to specify which file it should inject, but that just threw the constant error of it not supporting asset files, which I'm just confused about. And v0.4.0. extracted the assemblies but left pictures and shaders unpacked as sharedassets0.

I'm not sure whether this is allowed, but I'm also not sure why it wouldn't be, so if you really are willing and don't wanna play the guessing game with me, here's an example file: https://drive.google.com/open?id=1R7tym ... pUDIxIReui
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Unity3d WebPlayer reimporting

Post by LolHacksRule »

That's a known issue off disunity... https://github.com/ata4/disunity/issues/95

Code: Select all

To repack you will also need a .json bundle properties file that you can get from unpacking the original bundle with -p
Is something I found on a property file.
Sane
Posts: 4
Joined: Mon Nov 18, 2019 10:53 am

Re: Unity3d WebPlayer reimporting

Post by Sane »

LolHacksRule wrote:That's a known issue off disunity... https://github.com/ata4/disunity/issues/95

Code: Select all

To repack you will also need a .json bundle properties file that you can get from unpacking the original bundle with -p
Is something I found on a property file.

I was able to get the json file from what you said and was nearly successful by using the fully extracted files from quickbms, but I got this far: https://i.imgur.com/3s9USj3.png
Instead of actually repacking the unity3d file, it left it at 0 byte size. I was able to see a nearly 50mb temporary uncompressed file, but that also disappeared with the error. I looked on github and apparently you're supposed to put the full path of your files to fix the error, however that does not seem to be resolving it for me at all as I've put both the json and unity3d paths as completely as possible.
Interestingly enough, I'm working with files of the same game in that issue link, but it's a shame it was unresolved.
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Unity3d WebPlayer reimporting

Post by LolHacksRule »

Nuts.