[Req] bin/cue cdimage support

Support and general discussion.
Post Reply
User avatar
Vaporeon
Posts: 8
Joined: Tue 24 Jun, 2014 11:37 am
Contact:

[Req] bin/cue cdimage support

Post by Vaporeon »

Quite a few PC games use CDDA for music. Since ISO files can only contain the first data track, supporting bin/cue files would be handy.
User avatar
omarsis81
Posts: 867
Joined: Thu 17 Dec, 2015 6:20 pm

Re: [Req] bin/cue cdimage support

Post by omarsis81 »

Hi and welcome to the wonderful world of PCem and its forum!

I used the same argument as yours when I requested the same hehe
Have a look viewtopic.php?f=3&t=372&p=3209

I hope some day more extension could be added: CUE/BIN, MDS/MDF, CloneCD files (CCD) and NRG. Those are the major CD image extensions
User avatar
Vaporeon
Posts: 8
Joined: Tue 24 Jun, 2014 11:37 am
Contact:

Re: [Req] bin/cue cdimage support

Post by Vaporeon »

Ok, thanks.

I have another question, how do you compile this for 64bit? Most emulators see a ~10-15% performance boost from using it. MinGW is a pita if you don't have the same setup as the developers.
User avatar
omarsis81
Posts: 867
Joined: Thu 17 Dec, 2015 6:20 pm

Re: [Req] bin/cue cdimage support

Post by omarsis81 »

I can't help you there since I don't know how to use the compiler... I have to wait till the Admin uploads a new official release
User avatar
SarahWalker
Site Admin
Posts: 1897
Joined: Thu 24 Apr, 2014 4:18 pm

Re: [Req] bin/cue cdimage support

Post by SarahWalker »

PCem 64-bit is about 10-15% _slower_ than the 32-bit version. Hence why there's no 64-bit binary available - there's simply no benefit.
seth
Posts: 33
Joined: Tue 14 Mar, 2017 12:13 pm

Re: [Req] bin/cue cdimage support

Post by seth »

Yeah, bin/cue support would be amazing. =)
User avatar
omarsis81
Posts: 867
Joined: Thu 17 Dec, 2015 6:20 pm

Re: [Req] bin/cue cdimage support

Post by omarsis81 »

it "should" be easy to implement, since I understand is a RAW file similar to ISO files
bit
Posts: 98
Joined: Sun 19 Mar, 2017 7:04 pm

Re: [Req] bin/cue cdimage support

Post by bit »

I've wanted this feature as well and decided I would try to add support for it using the implementation from DosBox.
I didn't have any prior knowledge of how ISO and BIN/CUE-files worked (and to be honest I still don't fully grasp it) but I've made some great progress :)
The few things I've tried appears to work but before I can submit a patch for testing I need to clean up the code and make sure it works properly on Windows, but until then here's a small preview.
User avatar
omarsis81
Posts: 867
Joined: Thu 17 Dec, 2015 6:20 pm

Re: [Req] bin/cue cdimage support

Post by omarsis81 »

Excellent job here bit! I really appreciate it
Very useful indeed
startmenu
Posts: 104
Joined: Sat 29 Nov, 2014 7:39 am

Re: [Req] bin/cue cdimage support

Post by startmenu »

As of commit e0a406, PCem wx-SDL2 fork has supported cue/bin format... Maybe we just need a patch for the mainline PCem.
https://github.com/mborjesson/PCem-wx-S ... 2e03eb4bd1
bit
Posts: 98
Joined: Sun 19 Mar, 2017 7:04 pm

Re: [Req] bin/cue cdimage support

Post by bit »

Yeah there's a patch available in the Development sub-forum now :)
User avatar
leilei
Posts: 806
Joined: Fri 25 Apr, 2014 4:47 pm

Re: [Req] bin/cue cdimage support

Post by leilei »

Trying to compile the fork at least has me failing as it can't find iso_audio_callback (which is in cdrom-iso.c but that isn't specified in the makefile. Did you move this?)

I'll try the patch soon, I'm hoping the same issue doesn't happen there.
bit
Posts: 98
Joined: Sun 19 Mar, 2017 7:04 pm

Re: [Req] bin/cue cdimage support

Post by bit »

leilei wrote:Trying to compile the fork at least has me failing as it can't find iso_audio_callback (which is in cdrom-iso.c but that isn't specified in the makefile. Did you move this?)

I'll try the patch soon, I'm hoping the same issue doesn't happen there.
Oh oops. I didn't try to compile it on Windows before I committed it so I probably missed something. I will take a look at it :)
Post Reply