Recent content by LeviathaninWaves

  1. LeviathaninWaves

    RE'ing ALttP - Unknown sound driver?

    I managed to figure it out. At the top of it all there's a base pointer. The code takes the instrument number, shifts it left by one and adds that to the pointer to create an offset pointer. It'll then grab the pointed to value and add that to the base pointer. There's a bit of a series to it...
  2. LeviathaninWaves

    RE'ing ALttP - Unknown sound driver?

    How are linked lists usually coded in ARM? I found the command that chooses an instrument for a channel and have followed that byte and am baffled by what the code is doing with it. It looks like adding new samples after the end of the ROM will be very challenging simply because this algorithm...
  3. LeviathaninWaves

    RE'ing ALttP - Unknown sound driver?

    Since I've never encountered this before in asm, I'm not sure. But I've been trying to document and graph it out on paper. There's a data block just above the sample bank that has offsets for each sample. But there's other values and pointers above throughout the ROM that functions use to reach...
  4. LeviathaninWaves

    RE'ing ALttP - Unknown sound driver?

    I've made some progress on this. What I've found is that the sound effects and instrument samples have a header with 4 variables. The first is unknown, 2nd is base frequency, 3rd is starting loop point offset, and 4th is the length of the whole sample. That's the good news, the bad news is in...
  5. LeviathaninWaves

    RE'ing ALttP - Unknown sound driver?

    I had found a similar post that you had replied to regarding this game and already got started. If I'm not mistaken, DMA 1 and 2 are usually used for moving audio around right? If so I'm likely currently at the audio buffer in WRAM. Assuming it's mixed and preparing to be output to the FIFO.
  6. LeviathaninWaves

    RE'ing ALttP - Unknown sound driver?

    Heya. So I've been researching the sound driver situation for A Link to the Past + Four Swords. It seems that Four Swords uses Sappy, but A Link to the Past might use something Nintendo proprietary? Loveemu has a very fascinating tool on github, called melosearch. You specify a melody in MML...
  7. LeviathaninWaves

    ROM Hack Sonic Classic Collection Dumps and Opcode Fixes

    Ok I must've misunderstood what I read about the line skipping then. I guess the more pressing issue is how to dump the roms in order to obtain legal backups. Given the SEGA and MJ lawsuits, Sonic 3 and Sonic Knuckles are slowly becoming more scarce (Steam is an exception... for now, but who...
  8. LeviathaninWaves

    ROM Hack Sonic Classic Collection Dumps and Opcode Fixes

    How does one go about dumping these? There doesn't seem to be much information on that, other than them being stored (sometimes dynamically) in RAM and also in a Game.pak file which there seems to be no tool to decompress/decrypt. I can fix the resolution issue if I can get these dumped.
  9. LeviathaninWaves

    Hardware GB pocket cart connector for GBA cart dumper?

    Is it possible? Can a Gameboy Pocket cartridge connector be used as a component for a diy GBA cartridge reader/dumper? I know GB and GBA carts use different voltages but other than that I'm not aware of incompatibilities.
  10. LeviathaninWaves

    Homebrew Question ARM, kernel events, and nxdbg.

    Hey. I want to rewrite some of nxdbg's code to bring it up to date with current fw and libnx builds. I just jumped into Switch homebrew recently so I'm obviously going to be stumped on some things. nxdbg will not build using the most recent libnx. After studying the main.c for nxdbg and some...