Skip to content

Is there a way to work .wsr files in MAME?

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

Moderator: Staff

  • brownfox Offline
  • Posts: 5
  • Joined: 2019-04-11, 7:45:50

Is there a way to work .wsr files in MAME?

Post by brownfox »

I've heard that .wsr files are almost identical to WonderSwan ROMs.
If it's possible to run them in MAMEVGM, it would greatly improve the efficiency of VGM creation workflows.

However, when I try to launch a .wsr file in MAME, it just shows a white screen after the BIOS and doesn't proceed any further.
I also tried fixing the checksum, but that alone didn’t make it work.

If anyone knows how to get .wsr files working in MAME, or if there’s a converter or tool available, I’d really appreciate your help.
  • User avatar
  • ValleyBell Offline
  • Posts: 1589
  • Joined: 2011-12-01, 20:20:07
  • Location: Germany

Re: Is there a way to work .wsr files in MAME?

Post by ValleyBell »

As far as I know, WSR files are like NSF files: They contain parts of the original ROM, as well as additional instructions on how to load/execute the sound driver.
But they are not plain ROMs.

Just like with NSF and GBS, you would need a separate conversion tool to turn WSR files back into a ROM.

---

If you have a game you want to rip, I could try looking into finding a way to hack the original ROM so that you can play the song at the title screen or so.
GTheGuardian already added a few of such hacks to the wiki: https://vgmrips.net/wiki/Sound_Hacking/WonderSwan
  • brownfox Offline
  • Posts: 5
  • Joined: 2019-04-11, 7:45:50

Re: Is there a way to work .wsr files in MAME?

Post by brownfox »

Thanks for the info!
As you mentioned, fixing the song ID in the original ROM—like in the wiki you shared—sounds way more practical than trying to run .wsr files directly.

I’ll try to get the hang of using the emulator’s debugger and see how far I can get with that.
Post Reply