[Req] bin/cue cdimage support

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

[Req] bin/cue cdimage support

Postby Vaporeon » Sat 20 Aug, 2016 11:16 am

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: 542
Joined: Thu 17 Dec, 2015 6:20 pm

Re: [Req] bin/cue cdimage support

Postby omarsis81 » Sat 20 Aug, 2016 3:59 pm

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 http://pcem-emulator.co.uk/phpBB3/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: 2
Joined: Tue 24 Jun, 2014 11:37 am
Contact:

Re: [Req] bin/cue cdimage support

Postby Vaporeon » Sat 20 Aug, 2016 4:38 pm

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: 542
Joined: Thu 17 Dec, 2015 6:20 pm

Re: [Req] bin/cue cdimage support

Postby omarsis81 » Sat 20 Aug, 2016 5:01 pm

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
SarahWalker
Site Admin
Posts: 1325
Joined: Thu 24 Apr, 2014 4:18 pm

Re: [Req] bin/cue cdimage support

Postby SarahWalker » Sun 21 Aug, 2016 7:13 am

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: 5
Joined: Tue 14 Mar, 2017 12:13 pm

Re: [Req] bin/cue cdimage support

Postby seth » Thu 16 Mar, 2017 11:41 am

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

Re: [Req] bin/cue cdimage support

Postby omarsis81 » Thu 16 Mar, 2017 12:27 pm

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

Postby bit » Sat 06 May, 2017 7:35 am

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: 542
Joined: Thu 17 Dec, 2015 6:20 pm

Re: [Req] bin/cue cdimage support

Postby omarsis81 » Sat 06 May, 2017 2:35 pm

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

Re: [Req] bin/cue cdimage support

Postby startmenu » Sun 07 May, 2017 11:31 am

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

Postby bit » Sun 07 May, 2017 11:39 am

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

Re: [Req] bin/cue cdimage support

Postby leilei » Sun 07 May, 2017 10:47 pm

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

Postby bit » Mon 08 May, 2017 7:11 pm

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 :)

Return to “General”

Who is online

Users browsing this forum: No registered users and 4 guests