Skip to content

Corrupted wave ram on Game Boy VGMs; need help fixing files

Technical discussion about the VGM format, and all the software you need to handle VGM files.

Moderator: Staff

  • The789Guy Offline
  • Posts: 113
  • Joined: 2021-06-20, 17:37:46
  • Location: Mesquite, TX

Corrupted wave ram on Game Boy VGMs; need help fixing files

Post by The789Guy »

Sometimes, when I generate a VGM using the Game Boy DMG, it turns out the wave ram is corrupted. I heard of methods to try and fix the wave ram, but it only corrupts them further. I tried the hex editing method (the method as seen in this video here, but it didn't fix it at all. I also recall using vgm_ptch to change the clock (as discussed when I did DuckTales about last year), but still, the wave ram is corrupted. I have provided an example from The Simpsons: Night of the Living Treehouse of Horror.

I also once encounter wave corruption issues mid-song: two of the songs from Wayne's World on the Game Boy have the wave channel corrupted (i didn't trim these two because of this issue, the untrimmed files are present here).

I also encountered this issue with another Game Boy game I tried to make a VGM pack of (Joe & Mac), but I deleted those files.

In simple terms, is there another way to fix the corrupted wave ram if the two provided methods don't work at all?
Attachments
08 Stage Theme 6.vgm
(163.96 KiB) Downloaded 59 times
02 Intermission, Unused Level.vgm
(248.34 KiB) Downloaded 58 times
CGB-BNOE-USA_02.vgm
(361.66 KiB) Downloaded 64 times
I'm just your average joe who basically contributes random crap to the site. I mainly rip soundtracks by Western composers because they don't get as much love.
  • fever500 Offline
  • Posts: 79
  • Joined: 2022-06-12, 17:08:56
  • Location: FRANCE

Re: Corrupted wave ram on Game Boy VGMs; need help fixing files

Post by fever500 »

Did what was in the video and it sounds fine and all loop fine too.
Attachments
CGB-BNOE-USA_02_trimmed_optimized.vgm
(137.99 KiB) Downloaded 61 times
08 Stage Theme 6_trimmed_optimized.vgm
(20.46 KiB) Downloaded 61 times
02 Intermission, Unused Level_trimmed_optimized.vgm
(4.3 KiB) Downloaded 71 times
  • The789Guy Offline
  • Posts: 113
  • Joined: 2021-06-20, 17:37:46
  • Location: Mesquite, TX

Re: Corrupted wave ram on Game Boy VGMs; need help fixing files

Post by The789Guy »

the wave channel is still corrupted in those files. I'm playing them back using winamp/in_vgm.
I'm just your average joe who basically contributes random crap to the site. I mainly rip soundtracks by Western composers because they don't get as much love.
  • The789Guy Offline
  • Posts: 113
  • Joined: 2021-06-20, 17:37:46
  • Location: Mesquite, TX

Re: Corrupted wave ram on Game Boy VGMs; need help fixing files

Post by The789Guy »

this brings up a better question: HOW are the files not corrupted on your end yet they ARE on my end???? what programs are you using to play these???
I'm just your average joe who basically contributes random crap to the site. I mainly rip soundtracks by Western composers because they don't get as much love.
  • fever500 Offline
  • Posts: 79
  • Joined: 2022-06-12, 17:08:56
  • Location: FRANCE

Re: Corrupted wave ram on Game Boy VGMs; need help fixing files

Post by fever500 »

Foobar2000 x64 but you can also try VGMPlay to check.
  • User avatar
  • ValleyBell Offline
  • Posts: 1602
  • Joined: 2011-12-01, 20:20:07
  • Location: Germany

Re: Corrupted wave ram on Game Boy VGMs; need help fixing files

Post by ValleyBell »

The solution to this is, that everyone lists:
  • the player program/plugin including version
  • the used sound core
    [/url]
  • The789Guy Offline
  • Posts: 113
  • Joined: 2021-06-20, 17:37:46
  • Location: Mesquite, TX

Re: Corrupted wave ram on Game Boy VGMs; need help fixing files

Post by The789Guy »

I'm using the most recent version of in_vgm (regular, not Unicode), and the emulation core is default.

(I don't know how to switch cores, and it seems that I can't by default)
I'm just your average joe who basically contributes random crap to the site. I mainly rip soundtracks by Western composers because they don't get as much love.
  • The789Guy Offline
  • Posts: 113
  • Joined: 2021-06-20, 17:37:46
  • Location: Mesquite, TX

Re: Corrupted wave ram on Game Boy VGMs; need help fixing files

Post by The789Guy »

so here's something i discovered: in the in_vgm.ini file, there's an option for "NoWaveCorrupt" for songs that use the Game Boy DMG. I changed it a bit, but it is STILL corrupted.

I guess there's really no way for me to fix whatever corrupt ram is affecting a lot of games.
I'm just your average joe who basically contributes random crap to the site. I mainly rip soundtracks by Western composers because they don't get as much love.
  • User avatar
  • ValleyBell Offline
  • Posts: 1602
  • Joined: 2011-12-01, 20:20:07
  • Location: Germany

Re: Corrupted wave ram on Game Boy VGMs; need help fixing files

Post by ValleyBell »

The "NoWaveCorrupt" just puts the GameBoy sound core into "GB Color" mode all the time. (i.e. same as setting the respective VGM header flag)
Post Reply