-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Audio goes silent when importing or replacing new tracks #42
Comments
Help would be greatly appreciated as we have source code of this game and are trying to develop new content for, the only thing holding us back at the moment is audio :/. |
I've had no experience with encrypted hca files so far so I wasn't entirely sure how to handle them. It now looks like it would be fairly simple to implement though. Decrypt upon ACB load, save key somewhere, and then just re-encrypt when saving. Add in a menu somewhere for changing/viewing the ACBs encryption key. This approach would fix the loop issue too. I run my own setup for setting HCA loops (couldn't figure out how VGAudio loops worked...) which doesn't account for any encryption, so that is why that wont work currently. |
i have this same issue execpt it isnt encrypted, its with another game. however the .acb is baked in a UEXP (just remove the file header in hxd and add it back after editing) |
Can you please test this build out and tell me if the audio now works in game? It should automatically select the encryption key when adding new tracks, but there is also a encryption key editor in the tool menu where you can manually type them in and give them names. |
Thanks, I'll test this as soon as I get home today! |
ace_log.txt |
The save issue should now be fixed, and if I'm right about what the silencing issue is caused by, then the original cues should all now work, but any added ones will be silent. |
Tested the latest build, it's still muted, if you want to be in more direct contact with me for testing you can add me on Discord _F121_#0220 |
Update: Attempting to replace audio using the encryption key still mutes the whole file |
If no edits are made to the file at all (just load & save), does it still go silent? |
I'm sorry for the late response, will try ASAP |
Hi, I tried opening and saving and now the file crashes my app somehow xD. |
Just tested, it dosent go silent |
yes |
You're probably using a different file than the one I linked in the post |
i AM using a different file than the one you linked, but im having the same issue as you. Its for a completely different game. |
actually funny thing is that this happenes with a non encrypted acb/awb too, but the thing is that it has streaming awbs |
Issue is still present on latest update |
The silencing issue is really similar to issue #58. I think they may be the same. I've implemented a possible fix for the issue but it needs testing. Here is the build: |
Hi, tried 1.0.0 and the issue is fixed but only when I add it as a .wav file, the moment I add an .hca the file breaks and the game crashes. Even with the .wav there's a small possibility of the game crashing too. But it's better than nothing, thank you for your hard work, I'll keep exploring the update. Additional notes: |
Still having this issue with 1.0.0. Playing P4G and attempting to edit the acb and awb to add new cue files to import custom tracks, but the entirety of BGM is muted. Using the button to add new cues mutes the entire track. I've attempted both options in various ways and it's always either of those two results. Is anyone having a similar issue? Here are the files I'm using: |
I tried to import tracks for a mobile game called Sonic Runners (which is no longer playable, but we have a custom server going on) but whenever I test it in-game it just goes silent.
The game uses ecrypted hca's, we know the key.
Maybe adding re-encryption could fix this?
game download at sonicrunners.com
ACB and AWB files I tested are "BGM_menu.acb" and "BGM_menu_streamfiles.awb"
can be found here: https://cdn.discordapp.com/attachments/587967279845867520/936577801270751242/Audio.zip
The text was updated successfully, but these errors were encountered: