English Amiga Board

English Amiga Board (http://eab.abime.net/index.php)
-   support.WinUAE (http://eab.abime.net/forumdisplay.php?f=5)
-   -   how to prevent windows audio cd playpack during emulation? (http://eab.abime.net/showthread.php?t=95237)

honx 24 November 2018 20:44

how to prevent windows audio cd playpack during emulation?
 
everytime cd with audio tracks starts to play within amiga emulation (for example bubble heroes),
then on windows side this audio cd wants to be played as well. how do i prevent that behavior?
so i have to tab out of emulation to quit audio cd playback started by windows. that's annoying.

Toni Wilen 24 November 2018 20:56

Never heard of that happening. You sure you don't have some weird helper Windows application or something?

Also make sure misc panel SCSI CD/DVD mode is SCSI emulation.

jotd 24 November 2018 21:05

can you image your disc and use the .cue file?

honx 24 November 2018 21:56

there are no "helpers" or similar. just vlc player instead of bloatware windows media player.

jotd 24 November 2018 21:58

Maybe CD has "auto start". When inserted, it starts to play.

honx 24 November 2018 22:11

cd is already inserted when winuae starts.
but once playback starts within emulation, it also starts on windows system.
in case of bubble heroes there is no autostart, because the first track is data.

tried several times to make a image out of bubble heroes cd. without success.
everytime i tried it, iso file only contained data track, missing all audio tracks.

Toni Wilen 24 November 2018 22:30

As long as mode is SCSI emulation, CD audio playback uses digital extraction (=audio tracks are read as 2352 byte data tracks, buffered and then sent to audio driver in real time), Windows or any other program can't know if it is used for audio playback.

Plain iso image can only contain single data track. You need something that can create cue + iso + wave files or cue + bin (or some other custom binary CD image format that supports both audio and data).

jotd 24 November 2018 23:21

I confess I don't know how to rip a CD fully. Nero has this .nrg format that must be it.

To create a .cue + .iso/tracks, I would 1) rip the ISO, 2) convert the other tracks as .MP3 with CdEx, then create a .cue file with some python script or adapt an existing one. Easy.

that python script will check mp3 to see if they're stereo and create the .cue file

Code:

import glob,subprocess,os

with open("data.cue","w") as f:
    f.write("""CATALOG 0000000000000
FILE "data.iso" BINARY
  TRACK 01 MODE1/2048
    INDEX 01 00:00:00
""")
    for i,mp3 in enumerate(sorted(glob.glob("*.mp3")),2):
        # check that it's stereo
        p = subprocess.Popen(["ffmpeg.exe","-i",mp3],stdout=subprocess.PIPE,stderr=subprocess.STDOUT)
        out,err = p.communicate()
        if b"mono" in out:
            raise Exception("{} mp3 is mono!!".format(mp3))
        f.write("""FILE "{}" MP3
  TRACK {:02} AUDIO
""".format(mp3,i))
        f.write("    INDEX 01 00:00:00\n")

a simpler version which just builds the .cue with a data.iso file and the existing .mp3 tracks is below

Code:

import glob,os

with open("data.cue","w") as f:
    f.write("""CATALOG 0000000000000
FILE "data.iso" BINARY
  TRACK 01 MODE1/2048
    INDEX 01 00:00:00
""")
    for i,mp3 in enumerate(sorted(glob.glob("*.mp3")),2):
        f.write("""FILE "{}" MP3
  TRACK {:02} AUDIO
""".format(mp3,i))
        f.write("    INDEX 01 00:00:00\n")

I also have a version which converts .wav to .mp3 if .mp3 doesn't exist.

It beats inserting a damn CD to play a game.

AMIGASYSTEM 24 November 2018 23:46

Quote:

Originally Posted by honx (Post 1287036)
cd is already inserted when winuae starts.
but once playback starts within emulation, it also starts on windows system.
in case of bubble heroes there is no autostart, because the first track is data.

Tried to deactivate from Control Panel -> AutoPlay

Quote:

Originally Posted by jotd (Post 1287058)
I confess I don't know how to rip a CD fully. Nero has this .nrg format that must be it.

Yes .nrg it can include data tracks + audio tracks, also CloneCD (.ccd), if I remember well too "Blindwrite" (.b5t, .b6) e "Alcohol 120%" (.mdf)

jotd 25 November 2018 10:18

And WinUAE supports .nrg and .ccd :) I remember using .nrg format but now I don't have Nero anymore so I dropped it for .cue which is the best open format (and the least supported by burners :( )

AMIGASYSTEM 25 November 2018 10:39

Quote:

Originally Posted by jotd (Post 1287115)
And WinUAE supports .nrg and .ccd

http://eab.abime.net/showthread.php?...highlight=.nrg

Quote:

I remember using .nrg format but now I don't have Nero anymore so I dropped it for .cue which is the best open format (and the least supported by burners )
Nero Burning support .cue :)


jotd 25 November 2018 15:29

Nero is cool. But expensive. I used to buy one version, cracked another, now I gave up and sticking to free tools.

Retro-Nerd 25 November 2018 16:50

Nah, Nero is bloatware since the very old v7. Use the freeware tool Imgburn to create a proper Bin/Cue Image.



http://www.imgburn.com/

jotd 25 November 2018 19:26

ImgBurn is fine. Careful: some download mirrors contain very aggressive malwares.

AC/DC HACKER! 27 November 2018 20:33

Has this been solved?

That's what I'm thinking also is that Windows Auto-Play is being accessed when WinUAE mounts the ISO or whatever image Honx is using. I always keep AutoPlay set to "Ask me every time." PowerDVD 12 (or any version) when being installed changes AutoPlay, so I have to manually change the settings. Otherwise when some form of disc is inserted...whatever program is set will load and access it.

@ Honx

VLC or VideoLAN has an option to change AutoPlay also...I think, in its prefs. It has been a couple years since I've used that program. I don't like anything to auto-start when I insert any kind of disc so I always make sure AutoPlay is set to ask me. So check VLC's settings and make sure it's not set.

However, having "Ask me every time." set should mean that if I have an ISO or .CUE or .BIN selected then I should be prompted also. Also, be sure that in AutoPlay settings that "Use AutoPlay for all media and devices" is enabled otherwise you won't be prompted at all for anything and whatever is default will run/execute what program is set to do so.

ImageBurn, only download from the main Site. I also keep archives I download so I don't have to revisit sites and...removes all possibilities of malware. :) ImgBurn is fantastic donation-ware.

Foebane 27 November 2018 20:41

I recommend ImgBurn as well. Even if I'm not creating ISOs for burning onto disc, the ISO format is still a highly reliable and resilient archival format where nothing can be deleted, which suits me fine.

honx 27 November 2018 20:56

on windows i have set autoplay for audio cds with vlc player on purpose, to save many clicks.
playing audio cds is somehow hidden in vlc, requires many clicks to play an audio cd otherwise.
i don't have powerdvd or similar, thats the reason i can't watch bluray disks on that computer.

about imgburn: is there a portable version avaliable? on windows i don't trust setup/installer.

Retro-Nerd 27 November 2018 21:27

So, you don't install anything at all on your PC? :D
Anyway, google for Imgburn portable and you will probably find what you are looking for.

DamienD 27 November 2018 22:29

Quote:

Originally Posted by Retro-Nerd (Post 1287562)
So, you don't install anything at all on your PC? :D

You should know by now from various threads on EAB that honx is ultra paranoid :rolleyes

...it's like he doesn't have adequate virus / malware / spyware / firewall software or something installed on his computer? :p

I mean, he won't download stuff from "mega.nz" because he doesn't "trust" it???

Anyway, enough OT from me...

thomas 27 November 2018 23:45

Strange enough it's always the paranoid people who get their PC infected with malware. As if paranoia implies a lack of carefulness. Maybe it's all about the sites they do trust. They trust them blindly.


All times are GMT +2. The time now is 14:33.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.

Page generated in 0.04535 seconds with 11 queries