ROM Hack [Zelda: TFH] Patched-out sounds still playing??

HelpTheWretched

Well-Known Member
OP
Member
Joined
Feb 4, 2010
Messages
315
Trophies
1
XP
1,560
Country
Canada
I've been editing Zelda: Tri Force Heroes by patching out certain audio to achieve different effects, and for the next step I wanted to edit out all audio except the "8-bit" sounds. For this, I've located every non-8-bit BCWAV in the game's BCSAR archive and every non-8-bit BCSTM in the Stream folder, and silenced them by zeroing the entire files below the DATA header. I've done this for both the game CIA and the DLC/update CIA.

No problems with the previous edits, but this time, a handful of the sounds that should have been silenced in the BCSARs are still playing in the game! They're mainly some voices and background noises like wind, fire, water, etc.. Also, they tend to start at a lower volume and quickly fade-in to full volume.

This leads me to think certain sounds are stored somewhere else in the RomFS and the game's playing them from this other location, but I can't find them anywhere. Any ideas what's going on?

I don't know much about environment/NPC models (the game uses BCH), but is it possible they're embedded in there?
 

HelpTheWretched

Well-Known Member
OP
Member
Joined
Feb 4, 2010
Messages
315
Trophies
1
XP
1,560
Country
Canada
Friendly li'l *bump* since it's been a few weeks.

I have another topic with 0 replies, I'll hold off on bumping it, but check it from my profile if you want.
 

DarkSynopsis

Well-Known Member
Member
Joined
Oct 15, 2014
Messages
483
Trophies
0
Age
33
Location
New Zealand
Website
ninjasfate.com
XP
2,608
Country
New Zealand
I don't believe sound files can be held in .bch, I have no experience with Tri-Force/BCSAR all I can put forward is what method are using when replacing the files? are you using a NTR LayeredFS? I've had a few cases in the past where LayeredFS would not load my modified files, can't recall the exact situation, feel like just restarting NTR did the trick another time.

I can't imagine they are storing the sounds multiple times.

As for your other topic, have you tried various versions of Ohana3DS? it was a nightmare messing with textures when it came to Dragon Quest 8 .bch files, maybe try an older version (pre rebirth) if you can't find one that does the trick I've no suggestions, I've not seen any updates to Ohana3DS in months, there is a python script bch2png but it doesn't seem to work on the files I still have from DQ8, don't have any other .bch files sitting on my HDD to test
 
Last edited by DarkSynopsis,

HelpTheWretched

Well-Known Member
OP
Member
Joined
Feb 4, 2010
Messages
315
Trophies
1
XP
1,560
Country
Canada
Thanks for the reply!

I'm not entirely sure what NTR or LayeredFS are, but basically I'm extracting/rebuilding the .cia of both the game itself and the V2.1 update. Those .cia's have slightly different audio archives (the update adds a few additional voices) but they're both getting mostly silenced just the same. Then I re-encrypt them both and install them with FBI. It sounds like this NTR thing could be the key, but I'm still a noob when it comes to hardware/firmware stuff. :(

About the other topic: I've tried a few versions of Ohana3DS, to no success. I'll try that Python script; other than that, my new theory is that the textures are actually ETC1 encoded, not ETC1A4. A few of the .bch models have separate alpha textures, which wouldn't be necessary with ETC1A4. If the Python script doesn't do the trick, I may be able to extract them with a hex editor (and a bit of studying the ETC1 structure so that I know WTF to edit).
 

HelpTheWretched

Well-Known Member
OP
Member
Joined
Feb 4, 2010
Messages
315
Trophies
1
XP
1,560
Country
Canada
ARGH, had to install PIL, but it wouldn't detect Python in my registry, so I used Pillow instead, but had to install Pip first since Pillow was a wheel... Finally got all that, and bch2png throws a "list index out of range" error. :rofl:
 

HelpTheWretched

Well-Known Member
OP
Member
Joined
Feb 4, 2010
Messages
315
Trophies
1
XP
1,560
Country
Canada
I figured out the error was referring to arguments of the Python script... silly me. But even with the arguments, it's not producing anything; not even printing any text. I was using Smealum's script at https://gist.github.com/smealum/9394125

Elsewhere, I found an executable bch2png, but it doesn't support various mip-map levels, and the .pngs it produces have the same transparency errors.

Anyway if somebody knows where I could get some ETC1-encoded images, that'd be great. All I can find is discussions of them, and converters for platforms I can't use. :/
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • SylverReZ @ SylverReZ:
    @Materia_tofu, We do learn a lot from plenty of talented individuals.
  • Materia_tofu @ Materia_tofu:
    this is true! i learned how to make soundfont remixes from a friend back in 2021
    +1
  • BakerMan @ BakerMan:
    Update on my brother: He's home now, tired and hungry, obviously, but other than that, seems to be doing fine.
    +2
  • Veho @ Veho:
    That's a relief to hear. Do you know what happened?
  • SylverReZ @ SylverReZ:
    @BakerMan, Any idea what happened? I hope that your brother's doing good.
  • BakerMan @ BakerMan:
    Well, from what I've heard from my parents, he had a seizure last night, perhaps an epileptic episode, fucking died, had a near death experience, my dad called the paramedics, they showed up, took him to the hospital, and he woke up covered in tubes, and started complaining.
  • BakerMan @ BakerMan:
    He couldn't eat until after his MRI, when he had a bomb pop.
  • BakerMan @ BakerMan:
    What matters now is that he's doing alright.
  • Veho @ Veho:
    But you still don't know what it was?
  • Veho @ Veho:
    Has he had seizures before?
  • The Real Jdbye @ The Real Jdbye:
    apparently stress can cause seizures, my brother had one during a test once
  • The Real Jdbye @ The Real Jdbye:
    never had one before that, and never had one since
  • Redleviboy123 @ Redleviboy123:
    Question about game texture chanching Do i need an own game id?
  • The Real Jdbye @ The Real Jdbye:
    @Veho for those that want to
    experience being sonic the hedgehog
  • Veho @ Veho:
    Ah, you mean
    furries.
    +1
  • The Real Jdbye @ The Real Jdbye:
    well, sonic fans are a whole separate thing from furries
  • The Real Jdbye @ The Real Jdbye:
    like bronys
  • The Real Jdbye @ The Real Jdbye:
    sonic porn is too weird even for me
  • Dumpflam @ Dumpflam:
    bruh
  • Dumpflam @ Dumpflam:
    guys how do i delete a post
  • The Real Jdbye @ The Real Jdbye:
    you don't
  • The Real Jdbye @ The Real Jdbye:
    you can report it and request deletion
  • BakerMan @ BakerMan:
    Also, no, that was his first time having a seizure, and hopefully the last
    +1
    BakerMan @ BakerMan: Also, no, that was his first time having a seizure, and hopefully the last +1