#i need help to fix battle audio BP01.

1 messages · Page 1 of 1 (latest)

dreamy badge
worthy fox
#

Definitely sounds like an encryption issue.

#

Depending on how you're replacing the audio, either it's unencrypted when it should be encrypted... or vice versa.

dreamy badge
#

Should it be like this?

#

ts is the adx files

worthy fox
#

Oh, I see. Vanilla P5 would have a different encryption than P5R, so you'll probably want to decrypt and re-encrypt them.

dreamy badge
#

and how can i do that ?

#

🫠

#

I won't deny that I'm very lost right now.

worthy fox
#

I think [Yona](#1062391126897729646 message) should have encryption keys for both...? It definitely does for P5R, but I'm not so sure about vanilla P5.

dreamy badge
#

alright

#

i just installed Yona

#

Do I have to convert it now?

worthy fox
#

Yes, I believe so.

dreamy badge
#

I'm not quite sure what I need to do, but I've converted the .adx files to .hca files.

#

😀

worthy fox
#

Ah... 😅

#

I haven't used Yona much, so I'm not really the best person to advise here. There are other ways to do encryption/decryption, but I figured this would be easier. In any case, there's more explanation of how ADXs work here.

#

@tidal vault, is Yona the recommended way to do this kind of decrypt/re-encrypt task?

tidal vault
#

oh, there's no decrypt though so naotoshrug

#

idk if p5's adx are encrypted

worthy fox
#

Ah... oh, maybe they're not?

#

Worth trying as if they're not 🤷

tidal vault
#

well, you need to set an output folder if converting to the same format as input

#

and trying to do so crashes yona apparently so

worthy fox
#

🥹

#

Well, the CLI approach on the ADX page should still work, although it's a bit of a pain.

#

I guess if everything was already converted to HCA, it should be possible to convert to P5R ADX, since it's a different format.

dreamy badge
#

😟

#

Now I'm even more confused hhahaaha

#

now that I've converted everything to hca

#

Do I have to convert it back to adx again?

#

Am I misunderstanding something?

#

I played BP01.AWB on footbar2000 and everything sounds perfect

#

I don't know if that helps

tidal vault
#

doesn't, foobar with vgmstream will play awb, adx, etc files properly even if they're encrypted if it has the key (built in or in an external file)

#

your mod's adx files aren't even used right now, you're replacing the full ACB/AWB files only.

  1. You can either encrypt the ADX files for P5R, then repack them into the AWB file itself
  2. You can encrypt the ADX files, then replace the audio with AWB emulator: https://sewer56.dev/FileEmulationFramework/emulators/awb.html
dreamy badge
#

Let me see if I understand correctly, the second option is to encrypt the adx files and then create the folder FEmulator\AWB\SOUND\BATTLE\BP01.AWB
right?

tidal vault
dreamy badge
#

alright

#

ill try

#

I'm not sure if I'm doing it right now, but I extracted the AWB in .wav format with foorbar and converted them to .adx with yona. Now I'm renaming them as 1.adx, 2.adx, and so on. Is that right? Or am I missing something? Sorry for asking so many questions 😅

#

Once I've finished that, the next step would be to create the folder you mentioned, put the renamed files in it, and also delete the SOUND_E.CPK folder.

tidal vault
#

you dont need to rename them @dreamy badge

dreamy badge
#

holy

tidal vault
#

00X_streaming should be parsed fine as the number

dreamy badge
#

oh oh oh

#

but foorbar extracted with this names "BP01 [81]"

#

i dont need to rename that? or that works like 00x_streaming

tidal vault
#

oh, i thought you were using the extracted ADXs which do 000_streaming

#

if you're getting it from foobar like that then you have to rename

dreamy badge
#

When I extracted BP01.ACB, it had 000_streaming.

#

but when i extracted BP01.AWB no lol

#

Then I just change the name of the extracted files to foobar

#

354 files to rename 😭

tidal vault
dreamy badge
#

oh

#

ty for that info

#

i only gonna use AWB files now

#

ong

#

it didnt work

tidal vault
#

@burnt grove can you help them (you also replaced stuff in BP01 i think)

burnt grove
#

iirc you have to name them similarly to this. It's been a while since we've looked into this though.

dreamy badge
#

Alright!

#

I gonna try

#

Time to rename 354 archives again 🫠

burnt grove
#

that should work. I'm looking back at the other stuff we emulated and it seems they all have the _streaming name to them.

tidal vault
#

it's not the name fuukanaotocooki

#

awb emu just pulls the wave id from the file name, and it supports 00X_text.
1.adx, 1_example.adx, and 00001_streaming.adx would all be assigned the ID 1

burnt grove
#

i see

#

isn't there documentation on femulator? Or was that taken down after the new one went live?

dreamy badge
#

so

#

what should i do

#

I've already changed the names and nothing has happened

burnt grove
#

yeah definitely

#

I'm trying to look back at our dev messages to remember it.

#

oh I see, looking back they used yona. We didn't actually use yona. Maybe that could be it?

burnt grove
#

Now that I remember, I also tried to use yona a while back but it wouldn't actually work properly. So maybe it was an improper use of it? I'm not exactly sure.

#

Yeah it's an encryption thing I think.

fast radishBOT
#

from our old thread about audio.

(lower your volume!!)

Jump

[Go to message!](#1266409419823120485 message)

burnt grove
#

It was already established as an encryption iss ue but this is conclusive I think.

burnt grove
#

@dreamy badge do you have the original files before you used yona?

burnt grove
burnt grove
#

just to make sure

dreamy badge
#

the og files came without the .adx files

#

just with bp01 files

#

but i used sonicaudiotools

tidal vault
dreamy badge
#

nothing changed

tidal vault
burnt grove
#

if you don't know how, you just have to click this button on the main page of reloaded

#

then just give us the latest .txt file in there.

dreamy badge
burnt grove
#

thank you

burnt grove
#

np

dreamy badge
#

I was searching like crazy

burnt grove
#

i know the feeling lol

#

whats your modlist right now?

#

like this thing

tidal vault
#

when making a mod, especially when troubleshooting, you should disable any other mods that yours doesn't need in case there's conflicts

#

try testing just your mod and persona essentials

burnt grove
#

it could potentially be cbt honestly

dreamy badge
burnt grove
#

because it uses an unemulated BP01

#

actually yeah could you configure custom bonus tweaks and disable 'exra joker combat voices'?

burnt grove
#

it's been like that for ages

dreamy badge
burnt grove
#

try loading in the game now and see if anything changes

burnt grove
tidal vault
#

i knew i should've just pinged dc, since it sounded like a file they've messed with

#

if i had nickel for every conflict with dc's mod...

dreamy badge
#

lol

burnt grove
#

thats good atleast

burnt grove
dreamy badge
burnt grove
burnt grove
dreamy badge
tidal vault
burnt grove
#

I thought so but I just wanted to clarify

dreamy badge
tidal vault
#

post log

dreamy badge
#

i just did it

dreamy badge
tidal vault
dreamy badge
tidal vault
#

no u

#

@dreamy badge enable then click Ryo Framework, Open Config, enable Developer Mode
get whatever line you're using to test if your mod is working to play in-game and check in the console what its cue name and the ACB it's from, is it actually from BP01?

burnt grove
tidal vault
#

not debug mode

#

just developer mode

burnt grove
#

oh right

dreamy badge
#

like this no ?

burnt grove
#

yeah that's fine

#

then when you start it'll show this console.

#

Just go and trigger a voiceline. And then type out what it says.

#

rq ryo does the dev stuff appear in the logs? I haven't actually checked before.

#

if it does you can just send the log here

dreamy badge
#

yeah ryo appear in logs

burnt grove
#

nice

dreamy badge
tidal vault
dreamy badge
burnt grove
#

looks like it

dreamy badge
tidal vault
#

femc well stuff from there is playing

#

and it is replacing awb audio death

burnt grove
#

I guess then maybe it could be the unpacking/repacking process?

tidal vault
#

unpacking repacking? there's nothing being repacked

burnt grove
#

oh right

tidal vault
# dreamy badge 😭

click this mod, open config, set log level to debug, and do the previous test again

burnt grove
dreamy badge
#

aight

#

oh wait

#

it doesnt appear in log

burnt grove
#

ryo 1 AWB Emulator 0

#

It does look like it's showing up. I think

#

they're all injecting

#

so think it is to do with the unpacking process

#

hmm

#

i'm not sure how that would be the case

dreamy badge
#

in theory it should work no?

burnt grove
#

you could try converting them into WAV through foobar2000 and then back into adx? Which I know would 100% work.

dreamy badge
#

In fact, that's what I did

#

i put BP01.AWB file in foobar2000

#

and i extracted all in .wav

#

then i convert .wav to .adx

burnt grove
#

in that case

#

redo the process to get all WAVs

#

but don't convert into adx

fast radishBOT
#

try and use this to conver them into ADX

Okay, see if this makes Windows happier.... It's still called wav2p5radx.exe, but it's now buried in the folder among a lot of other files.

Jump

[Go to message!](#1266409419823120485 message)

wav2p5radx.zip
tidal vault
#

ok so like as a sanity check, you didn't leave the old ACB/AWB files in your mod right?

dreamy badge
#

gimme one sec

dreamy badge
#

i eliminated the files

#

I have them, but not in the mod folder.

burnt grove
#

thats good

burnt grove
#

it should work. idk why it wouldn't.

tidal vault
#

as a double sanity check, are you triggering the specific lines that are replaced in these files?

#

because most of it is still just joker

burnt grove
#

that is also true

dreamy badge
#

how can i check

#

the og files really replaces the joker voices with akechis one

tidal vault
#

? find a line that's akechi in foobar, that you know where it's played, then trigger it in-game

#

from this log, 227 and 006 should've been akechi (these ids are unrelated to the AWB wave id your files are using)

#

at this point you should just send your entire mod lol

#

it should be working somewhat, i've no clue why it isn't

dreamy badge
#

mhmhmh

#

i cant send

#

ong

#

one min

#

I can't believe I wanted to send the folder.

#

😭

burnt grove
#

it happens

dreamy badge
#

i only can send this

#

full mod is 400 mb

burnt grove
#

I'm trying it out and the only thing that seems to be different is that the persona callouts are jumbled up. But otherwise it's just jokers lines

dreamy badge
#

I'm trying something that I hope will work.

#

I think it would have been easier to do it myself from the start and not have gotten it from someone else.

#

Okay, I have some good news: the voice lines are now working.

#

I just have to replace them with the correct audio.

burnt grove
#

awesome

#

the numbers should correspond with the ones from the logs

dreamy badge
#

i have a problem rn

#

Joker has never said “persona” right? Or has he?

#

He says personas names.

#

so idk wich voice line replace with "PERSONA!" of akechi

burnt grove
#

he does say persona

#

eventually he does

#

you can also grab a mod menu and get a persona like loki since he has no lines for persona that can't be used by the protag

dreamy badge
#

oh

#

1 question

#

if i use loki as a persona

#

ill have the akechi voice lines?

errant valve
burnt grove
errant valve
#

Are you replacing Arsene with Loki?

#

*sergio'

burnt grove
#

I think thats what he's trying to do yeah

dreamy badge
burnt grove
#

in general he's making an akechi protag mod

dreamy badge
#

im trying

dreamy badge
errant valve
#

replace the audio of him saying 'Arsene!' with akechis "LOKIIIII"

or the cutscene version "Come, Lokiii!!"

#

just make sure the audios encrypted or it'll be LOUD.

dreamy badge
#

ty god

errant valve
# dreamy badge aight!

akechis cutscne "LOOKIII" (english wise) is E422_003 in SOUND > EVENT
akechis battle "LOOOOKI" (aggressive wise) is BE_BOSS_0232 in SOUND > BATTLE

Personally I like the aggressive ones more then the normal ally one.

dreamy badge
#

the aggressive is

#

🤤

errant valve
#

and yes I spent like 5 minutes trying to find the cutscene one. didn't really know where it was

burnt grove
#

theres also the prince loki lines, dunno where those would be

dreamy badge
#

If im not wrong

#

BP09_01 is for dark akechi

#

and bp09 the normal akechi

errant valve
#

actually it's darkechi

dreamy badge
#

yeah im using BP09_01

errant valve
#

Hm, I can find the mouse lines for princkechi but can't find the loki lines for princkechi

errant valve
#

I found a video showing prince akechi saying loki but a comment of the uploader said it was leftovers from P5.

so that might be a thing that didn't get transferred

dreamy badge
errant valve
#

Descend sounds cooler.

for jokers 'PERRRRSONA!" you could use akechis "PERRRSONA!" or you could use this one:

#

This one I like a lot

dreamy badge
#

pffff

#

sound so good

#

ok ill use all akechi boss lines

#

i think

burnt grove
errant valve
#

There we go.

So, there should be a line of prince saying "Loki!"

#

and "Arise Loki"

dreamy badge
#

ok i convert to axd the akechi boss voice lines

#

now i gonna change the voices

#

and test if works

dreamy badge
#

So when Joker says Arsene, which do you prefer, “descent Loki” or “Loki”?

burnt grove
#

im pretty sure arsene also has two lines.

#

but idk

dreamy badge
#

lemme check

#

no

#

he only has 1

#

BP01#369 (bp01_p_201)

burnt grove
#

damn

#

I don't mind which one

#

maybe loki

dreamy badge
#

aight

#

i gonna try use in game

#

idk what i do

#

"LOKIII" doesnt replaces Arsene

#

Replaces Satanael

#

😀

errant valve
#

Robin Hood is tier 1
Loki is Tier 2
Hereward is Tier 3

dreamy badge
#

bro u r a genius

errant valve
#

so Raoul needs to be replaced as well in terms of voices

dreamy badge
#

yeah

#

ey

#

@errant valve u know what id has "PERSONA" from Joker?

#

i cant find it

errant valve
#

use Ryo Framework, go into a battle and spam the persona button till joker says PERSONA
look at the reload console and it'll tell you the id

dreamy badge
#

idk why

#

nvm

#

now ryo framework works

#

BP01#182 - BP01#189

#

Aight persona voice line works