ROM Hack {HELP} Layeredfs .wem SoR4 music replacement.

Thorhax

Well-Known Member
OP
Member
Joined
Apr 15, 2020
Messages
481
Trophies
0
Age
43
XP
2,151
Country
Canada
First off, I'm new to making LayeredFS mods, but not new to using them.

I took an mp3 from Streets of rage remake, I used "sound editor 2018" to convert it to .wem, I put it into the correct folder in atmosphere. It was supposed to replace the intro music, but when I start up the game there is no music for the intro. I converted the .wem file back to .wav so I could test that I actually converted it correctly, the .wav plays fine in windows.

Unsure why this didn't work. Could it possibly have to do with the .wem encoding or bitrate not matching what was used in the SoR4 default music?
 

masagrator

The patches guy
Developer
Joined
Oct 14, 2018
Messages
6,305
Trophies
3
XP
12,098
Country
Poland
More like .wem header issue
Wwise has many different iterations and they are tweaking some things to header and end of file. On your place I would try to extract from SR4 wav sound, convert it to .wem with your tool and compare differences between files to make adjustments with Hex Editor
 
  • Like
Reactions: Thorhax

Thorhax

Well-Known Member
OP
Member
Joined
Apr 15, 2020
Messages
481
Trophies
0
Age
43
XP
2,151
Country
Canada
More like .wem header issue
Wwise has many different iterations and they are tweaking some things to header and end of file. On your place I would try to extract from SR4 wav sound, convert it to .wem with your tool and compare differences between files to make adjustments with Hex Editor

Thanks for the advice. I'll give it a try.
but, what do you mean by make adjustments with a hex editor? I only used a hex editor a couple times in my life, but in this case I'm unsure what would need to be changed.
 

masagrator

The patches guy
Developer
Joined
Oct 14, 2018
Messages
6,305
Trophies
3
XP
12,098
Country
Poland
Thanks for the advice. I'll give it a try.
but, what do you mean by make adjustments with a hex editor? I only used a hex editor a couple times in my life, but in this case I'm unsure what would need to be changed.
Well, this is what you need to check. By making file using the same sound file with your tool you will have 2 The same audio files with different headers and ends. Then you compare them, research what they may be and apply the same changes to your new sound you want to replace (ofc with tweaks, because each sound file is different)
 

Thorhax

Well-Known Member
OP
Member
Joined
Apr 15, 2020
Messages
481
Trophies
0
Age
43
XP
2,151
Country
Canada
Well, the hex on the header and footer are very different. Honestly not sure if there even is a footer, mostly 00 00 00 00 00

I started noticing that when I boot up SoR4 in game, that the first note of the inserted .wem file will play, but. I can go back and forth to the same part of the game, and its always the same.
 

Thorhax

Well-Known Member
OP
Member
Joined
Apr 15, 2020
Messages
481
Trophies
0
Age
43
XP
2,151
Country
Canada
I concede to defeat on this one.
I got the idea today to try and swap a file from a different stage into stage1, so I took out the .wem file from the nsp dump, renamed it, put it into the romfs/generatedsoundbanks/switch folder, and low and behold it's the same thing, the music just doesn't play, all other soundfx are fine.

Just no clue on this one.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Xdqwerty @ Xdqwerty:
    @Psionic Roshambo, Oh yea i heard about that game
  • Xdqwerty @ Xdqwerty:
    one of the people that appeared there was a minor when filming the cutscenes where she appears
  • K3Nv2 @ K3Nv2:
    Fucking PPPoE hacks being a headache cause my webos is arch64
  • Xdqwerty @ Xdqwerty:
    @K3Nv2, your balls are arch64?
  • NO111ONE @ NO111ONE:
    LMAO, didn't make it in time for crashd, kid, did ya?
  • ZeroT21 @ ZeroT21:
    PP is crooked la, set it straight
  • K3Nv2 @ K3Nv2:
    Stop looking at my hooked pp
  • ZeroT21 @ ZeroT21:
    my bad, blame it on lack of lube
  • K3Nv2 @ K3Nv2:
    Barrels of lube
  • ZeroT21 @ ZeroT21:
    still busy hackin' ps4?
  • K3Nv2 @ K3Nv2:
    If the damn script would work it'd be nice
  • ZeroT21 @ ZeroT21:
    maybe it's the incompatible model
  • K3Nv2 @ K3Nv2:
    No it's because I have a arch64 model tv it's just normal ps4 bs
  • ZeroT21 @ ZeroT21:
    yeah, the JB does not activate instantly, because it relies on a flaw showing up in a process
  • ZeroT21 @ ZeroT21:
    I'm on a older 6.72, still kinda tempted to upgrade, maybe a 9.00
  • ZeroT21 @ ZeroT21:
    i probably cant go higher than 9.00 becus i have the CUH-22XX model
  • K3Nv2 @ K3Nv2:
    I keep getting stuck on waiting for padi
  • ZeroT21 @ ZeroT21:
    hmmm, i got no clue, i need to re-check their step by step guide
  • K3Nv2 @ K3Nv2:
    11.0 hack is great if you got a webos tv
  • ZeroT21 @ ZeroT21:
    i dont have LG tvs around
  • ZeroT21 @ ZeroT21:
    all TCL
  • ZeroT21 @ ZeroT21:
    and a sony
  • K3Nv2 @ K3Nv2:
    You can map a button on your remote to launch the script call it a day
    K3Nv2 @ K3Nv2: You can map a button on your remote to launch the script call it a day