Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vgm2wav won't find yrw801.rom unless it is in cwd #42

Open
sdsnatcher73 opened this issue Jun 11, 2018 · 1 comment
Open

vgm2wav won't find yrw801.rom unless it is in cwd #42

sdsnatcher73 opened this issue Jun 11, 2018 · 1 comment

Comments

@sdsnatcher73
Copy link

If you have a vgm file with OPL4 chip, vgmplay will load yrw801.rom if it is located in /usr/local/share/vgmplay or ~/.config/vgmplay but vgm2wav (and possibly vgm2pcm) will report:
Warning! OPL4 Sample ROM (yrw801.rom) not found!
if you put the yrw801.rom in the same dir as the vgm file and run vgm2wav in that dir it will load the samples.

@ValleyBell
Copy link
Contributor

Good catch!

The reason it doesn't work is, that vgm2pcm/vgm2wav don't initialize the search paths. (VGMPlay does it in this rather large code block.) In that case, it will only search in the current directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants