hoangduit / bizhawk

Automatically exported from code.google.com/p/bizhawk
0 stars 0 forks source link

Running an Bin/Cue/ISO and MP3 files #187

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Make sure the game has MP3 files and NOT Wav files for the audio tracks.
2. Open a CD based game (Sega CD, Saturn, PC Engine) with the MP3 files
3. Enjoy the error

What is the expected output? What do you see instead?
Bizhawk says:
A core accepted the rom, but threw an exception while loading it:

BizHawk.Emulation.DiscSystem.DiscReferenceException: A disc attempted to 
reference a file which could not be accessed or loaded: ROMs\Saturn\Afterburner 
II (J)(Saturn)\02.mp3 ---> BizHawk.Emulation.DiscSystem.DiscReferenceException: 
A disc attempted to reference a file which could not be accessed or loaded:

ROMs\Saturn\Afterburner II (J)(Saturn)\02.mp3

No decoding service was available (make sure ffmpeg.exe is available. even 
though this may be a wav, ffmpeg is used to load oddly formatted wave files. If 
you object to this, please send us a note and we'll see what we can do. It 
shouldn't be too hard.)
   at BizHawk.Emulation.DiscSystem.Disc.FromCueInternal(Cue cue, String cueDir, CueBinPrefs prefs)
   --- End of inner exception stack trace ---

Discohawk can handle the MP3 Bin/Cue/ISO and convert it into a Bin/Cue with 
Wave files.  I would like to be able to use MP3 files in Bizhawk just so I can 
save some hard drive space.  Wav files are fat.

What version of the product are you using? On what operating system?
r6826 on Windows 7 Sp1 x64

Please provide any additional information below.
This bug should not be present on the Mac version.

Original issue reported on code.google.com by hegyak on 9 Jun 2014 at 2:58

GoogleCodeExporter commented 9 years ago
ISO Files are not read by Bizhawk correctly.  My bad.  You need a CUE file.

Original comment by hegyak on 9 Jun 2014 at 6:39

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
1. We may never allow the use of mp3 files with bizhawk
2. If we did, and you want to use them, then you need to be prepared to wait a 
minute for it to decode entirely when loading a disc. In fact, it is impossible 
to safely stream mp3 files from your hard disk with some cue files. The size of 
the music tracks arent known until they're decoded.
3. An iso with mp3 files is especially complete nonsense. The cue file isn't 
even there to tell the size of the audio tracks, so the disc positively can't 
work until the mp3s are decoded.  This might work on a console which can only 
reference audio tracks by track# (instead of sector#) but it can't be generally 
handled by several emulators which need a disc laid out completely into sectors.

Original comment by zero...@zeromus.org on 10 Jun 2014 at 9:47

GoogleCodeExporter commented 9 years ago
1. We may never allow the use of mp3 files with bizhawk

2. If we did, and you want to use them, then you need to be prepared to wait a 
minute for it to decode entirely when loading a disc. In fact, it is impossible 
to safely stream mp3 files from your hard disk with some cue files. The size of 
the music tracks arent known until they're decoded.

3. An iso with mp3 files is especially complete nonsense. The cue file isn't 
even there to tell the size of the audio tracks, so the disc positively can't 
work until the mp3s are decoded.  This might work on a console which can only 
reference audio tracks by track# (instead of sector#) but it can't be generally 
handled by several emulators which need a disc laid out completely into 
sectors.  

Therefore, this isn't just a problem with 'iso files are not read by bizhawk 
correctly'. Even if we loaded iso files, we would not load this garbage. I 
would just need to find out why those weird error messages show up.

Original comment by zero...@zeromus.org on 10 Jun 2014 at 9:47

GoogleCodeExporter commented 9 years ago

Original comment by zero...@zeromus.org on 10 Jun 2014 at 10:54