Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Thu Jul 16, 2020 3:56 am

All times are UTC

Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: Tue Feb 18, 2020 2:27 pm 

Joined: Tue Feb 18, 2020 3:01 am
Posts: 3
Game: Phoenix Wright Ace Attorney Trilogy (PC)
File type: .unity3d (Rijndael encrypted)
Path: Steam\steamapps\common\Phoenix Wright Ace Attorney Trilogy\PWAAT_Data\StreamingAssets\Sound\se

The text scrolling sound effect(s) of this game are a bit grating. My goal is to replace them with a silent sound file.
I can decompile everything resulting in a .wav. I have a different .wav I want to switch it out with, but I need some guidance on the process to re-compile it all back together again.

Progress thus far:
To test my process, I've zeroed in on se0a0.unity3d in the se\strm directory, for example.

1. Decrypt with quickbms
-Script: DecryptAceAttorney.bms
encryption Rijndael "\x35\x38\x9A\xFF\xF2\x61\xB3\xE8\x87\x22\x24\x0B\x6B\x0B\x25\xC8" "\x01\x85\x40\xA5\x57\xDE\x8C\x4E\x86\xE4\x23\xE3\x3A\xB9\x77\x84"
get SIZE asize
log "decrypted_file.dat" 0 SIZE

-Run quickbms:
quickbms.exe -w DecryptAceAttorney.bms se0a0.unity3d UnPack\

2. Extract with Unity Bundle Asset Extractor
Open > decrypted_file.dat > 'This bundle file is compressed. Do you wish to unpack it?' > Yes

This finds two assets:

I Export both of these as .assets files (CAB-ef2845a2e22b255bdafeb7ac8f6ac6b0.assets and CAB-ef2845a2e22b255bdafeb7ac8f6ac6b0.resource.assets).

I open the resulting CAB-ef2845a2e22b255bdafeb7ac8f6ac6b0.assets in Unity Bundle Asset Extractor again. It contains the soundClip se0a0.wav, which I extract (Plugins > Export sound).

...I can get this far without issue. Could someone give me an overview of what I need to consider when switching this .wav file out for a modified .wav file? And an overview of how to compile what I've extracted back into a functional .unity3d file? Thanks!

Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 1 post ] 

All times are UTC

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited