English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 19 December 2010, 10:26   #1
opossumita
 
Posts: n/a
Exclamation Can't hear/play cd music in Winuae-Amikit (t-zer0)

Hi everybody guys and girls... My problem is this.

I'm using the last version of WinUAE with Amikit, OS 3.9... Everything works great, WHDLOAD etc.. but THERE'S NO WAY i can actually LISTEN TO cds... If I switch the option "SCSI/DVD access method" on SPTI and i open PlayCD, the program reads all the tracks and play (=the cd spins) but I CAN'T HEAR SOUND... While if i switch on SCSI Emulation* the program DOESN'T FIND ANYTHING... I've tried to mount cds with daemon tools pro (tried apparently all configurations), tried to mount an older cd reader with grey audio cable connected so the soundcard, looked in Windows audio options...no way...

Concerning cd games, i've tried only with t-zer0, I can actually play it but with no music, just sound fxs... I've been searching in the forum over the last few days for a solution but even if many seem to have similar problems, couldn't find a clear, concise reply, just technical stuff and some ppl who say they can make it work properly.

My configuration is WINDOWS 7 Ultimate 64 + Asus Xonar Essence STX+ LG DVDRAM GH22NP20 ATA Device....

Might it depend on Windows 7?

Thank you for attention.
Andrea

Last edited by opossumita; 19 December 2010 at 18:41.
 
Old 19 December 2010, 11:17   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,517
Use latest winuae beta, T-Zero CD audio does not work correctly in older versions.
Toni Wilen is offline  
Old 19 December 2010, 11:57   #3
opossumita
 
Posts: n/a
Quote:
Originally Posted by Toni Wilen View Post
Use latest winuae beta, T-Zero CD audio does not work correctly in older versions.
Already done...No way....
 
Old 19 December 2010, 12:10   #4
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,517
"Yes way"

Include logs then (run winuae with -log -scsilog -scsiemulog command line parameters)

Note that you can never get any audio using uaescsi.device via SPTI without audio cables from drive to sound card. Same problem with virtual drives, most of them don't have "analog" CD audio support.

You need to use SCSI emulation.
Toni Wilen is offline  
Old 19 December 2010, 14:55   #5
andreas
Zone Friend
 
Join Date: Jun 2001
Location: Germany
Age: 50
Posts: 5,857
Send a message via ICQ to andreas Send a message via AIM to andreas
Post

Quote:
Originally Posted by Toni Wilen View Post
Note that you can never get any audio using uaescsi.device via SPTI without audio cables from drive to sound card.
Good point, Toni! I didn't know that either (though logical, actually...)
The thing is whether I have that cable connected on my box at all, would have to open it first

Back to topic...
opossumita, I strongly suggest you try CDDA playback in Windows first w/the said cable connected. If you don't get any sound there, you can save the effort of trying in WinUAE.
andreas is offline  
Old 19 December 2010, 15:59   #6
hexaae
Bug hunter
 
hexaae's Avatar
 
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,161
Quote:
Originally Posted by opossumita View Post
Already done...No way....:nervous
Be sure to set SCSI emulation in WUAE, and on the Amiga side uaescsi.device 0 and use a mountlist like this for CD0: (mount it from within WB, SYS:DEVS/DOSDrivers)

Code:
/***************************************************************/
/*  CacheCDFS mountlist entry © 1993 Elaborate Bytes, O. Kastl */
/***************************************************************/
 FileSystem     = L:CacheCDFS /* The name of the game */
 Device         = "uaescsi.device" /* Name of exec device driver */
 Unit           = 0 /* exec device unit */
 Flags          = 0 /* OpenDevice flags */
 BlocksPerTrack = 1 /* Unused */
 BlockSize      = 2048 /* True, but unused */
 Mask           = 0xffffffff /* Memory mask for direct read */
    MaxTransfer    = 0xffffffff /* Maximum amount of bytes for direct read */
 Reserved       = 0 /* Unused */
 Interleave     = 0 /* Unused */
 LowCyl         = 0 /* Unused */
 HighCyl        = 0 /* Unused */
 Surfaces       = 1 /* Unused */
 Buffers        = 8 /* Number of cache lines */
 BufMemType     = 0 /* MEMF_PUBLIC|MEMF_24BITDMA */
 BootPri        = 2 /* Boot priority for MountCD */
 GlobVec        = -1 /* Do not change! */
 Mount          = 1 /* Mount it immediately */
 Priority       = 10 /* Priority of FileSystem task */
 DosType        = 0x43443031 /* Currently unused */
 StackSize      = 4096 /* Minimum stack required is 3000! */
 Control        = "MD=0 LC=1 DC=8 S L LV AL LFC=1 HR=.rsrc Q AUDIO=S:BatchFiles/StartCDAudioProgRX"
   /* The Control field is for special adjustments */
   /* L/S convert all file/volume names to lowercase */
   /* LV/S convert volume names to lowercase */
   /* AL/S Auto-Lower converts only non-Amiga CDs */
   /* LFC/N start converting at this character */
   /* LC/N/A number of blocks per cache line */
   /* DC/N/A number of cache lines for the data cache */
   /* MD/N/A number of blocks, when starting direct read, not using */
   /*        the cache. 0 will be a reasonable default (LC*DC+1) */
   /* S/S Do SCSI direct commands, no Trackdisk like commands! */
   /* NC/S Do NOT use TD_ADDCHANGEINT, poll for DiskChange! */
   /* M/S Issue a TD_MOTOR (OFF) command after read */
T-Zero and Genetic Species CDs with audio tracks do work really fine!

Last edited by hexaae; 19 December 2010 at 16:07.
hexaae is offline  
Old 19 December 2010, 18:31   #7
opossumita
 
Posts: n/a
Thumbs up It works!

Ladies and Gentlemen... And I eventually managed not only to play cds but even to RUN t-zer0 PROPERLY, i mean with all the eyecandy at the right place and above all BACKGROUND MUSIC! ...My CD0 was D: not E: - Create lof file X ;P - AND I didn't even know a 2.31Beta8 Version of WINUae had been realeased... Then I went on EmuCR, a more updated emulator resource than those i'm used to, downloaded the last beta version, enabled SCSI Emulation* and started Winuae ...t-zer0 was initially buggy (the spaceship disappeared!) but playing a little with emulator settings i managed to run it flawless (till now at least) on an emulated A4000 with 68040 chipset... Check out this rather obscure italian post-mortem Amiga shooter folks, it is really awesome...Maybe not at Project X level, but still amazing!

PS. I don't really know why the game music didn't work with SPTI access cd method...First I mounted an older DVD/CD reader than the new ones i'm daily using (which dont have cd analog out at all), a LG DVDRAM GH22NP20...but then through the manual i discovered on this model cd analog out is unsupported even though physically present...Then i tried with a 2002 Asus cd reader with the same results and I even tried with a 1997 Goldstar reader, which Win7 unsurprisingly didn't even recognize...Concerning virtual cd programs, i tried at least 3, but no one seemed to support cd analog out and the last Daemon Tools version which had this feature is 3.47 which doesn't run on Windows 7...

Grazie mille to Toni, Andreas and hexaae for kindness and quick replies!

Last edited by opossumita; 19 December 2010 at 18:40.
 
Old 20 December 2010, 14:11   #8
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,517
Quote:
Originally Posted by opossumita View Post
I didn't even know a 2.31Beta8 Version of WINUae had been realeased..
Nex time check sticky topic(s) in this forum
Toni Wilen is offline  
Old 21 December 2010, 19:39   #9
Mclane
Old retro god.
 
Mclane's Avatar
 
Join Date: Apr 2002
Location: Northolt, West London
Age: 62
Posts: 857
Just a quick question, I'm having a play of T-Zer0 and I really like it but the audio being streamed off the CD is choppy ie starts and stops, its like its not being buffered?

You can see the cd: sending data and the light going off in unison with the drop outs.

And yes, using the latest beta as Toni said you needed for this game.

Just wondered if there a known fix before I start sticking logs etc, also is the invisible ship when you lose a life deliberate, takes a few seconds before you see it and not just its bullets.
Mclane is offline  
Old 22 December 2010, 08:15   #10
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,517
What kind of CD drive? It is double buffered but buffers are very small due to latency reasons.

"Too old" drives probably won't handle it and drive must support accurate digital audio streaming (less than 6 years old or so?) or results will be very bad.
Toni Wilen is offline  
Old 22 December 2010, 13:27   #11
Mclane
Old retro god.
 
Mclane's Avatar
 
Join Date: Apr 2002
Location: Northolt, West London
Age: 62
Posts: 857
Quote:
Originally Posted by Toni Wilen View Post
What kind of CD drive? It is double buffered but buffers are very small due to latency reasons.

"Too old" drives probably won't handle it and drive must support accurate digital audio streaming (less than 6 years old or so?) or results will be very bad.
Hi Toni, its a SATA Pioneer 116D, playback is fine under Windows 7 X64, its running as a Udma drive, I can playback the same T-Zer0 audio under Windows with no issues.

Here's the logs, I noticed that the same issues happen under the OS3.9 CD0: CDDA player so its not T-Zer0 specific. The logs show me just using that OS player.

Last edited by Mclane; 14 March 2016 at 10:54.
Mclane is offline  
Old 22 December 2010, 13:40   #12
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,517
I don't care if it works in Windows. Windows uses HUGE buffers.
This is considered "buy a better drive" problem unless I can duplicate it with drive manufactured in last 3 years or so.

Use cd images if you want quick fix.
Toni Wilen is offline  
Old 22 December 2010, 14:56   #13
Mclane
Old retro god.
 
Mclane's Avatar
 
Join Date: Apr 2002
Location: Northolt, West London
Age: 62
Posts: 857
No problem Toni....

Just trying to pass on as much related info before you wanted to beat me to death with that crystal ball!
Mclane is offline  
Old 22 December 2010, 16:52   #14
Mclane
Old retro god.
 
Mclane's Avatar
 
Join Date: Apr 2002
Location: Northolt, West London
Age: 62
Posts: 857
Playing from a cd image and its lovely......I'd not worry too much Toni as its most likely this drive, I'm sure you have more important things you want to do?

@opossumita, what setting did you use to play so that the ship didn't disappear, sometimes it does, sometimes not..Bit awkward when it does.
Mclane is offline  
Old 22 December 2010, 20:44   #15
hexaae
Bug hunter
 
hexaae's Avatar
 
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,161
Quote:
Originally Posted by Mclane View Post
Just a quick question, I'm having a play of T-Zer0 and I really like it but the audio being streamed off the CD is choppy ie starts and stops, its like its not being buffered?
Try lowering cache settings (see my mountlist above LC and DC parameters)...
hexaae is offline  
Old 22 December 2010, 20:52   #16
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,517
Mountlist buffers/cache have no effect at all for CD audio playing.
Toni Wilen is offline  
Old 23 December 2010, 19:39   #17
hexaae
Bug hunter
 
hexaae's Avatar
 
Join Date: Jul 2006
Location: Italy
Age: 48
Posts: 2,161
Quote:
Originally Posted by Toni Wilen View Post
Mountlist buffers/cache have no effect at all for CD audio playing.
Right.
hexaae is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Play Music From Fast Ram In Amos Amiten Coders. General 6 06 January 2013 13:46
Tearaway Thomas music on unExotica - how to play? MethodGit support.Other 5 09 February 2010 16:41
Can't play music (DeliPlayer) Vicman project.GameBase Amiga 1 13 September 2008 17:00
Can't change paths in WinUAE (Amikit) Heula support.Other 5 08 January 2008 16:08
HELP: £50/hr, how to play amiga music kevingpo support.Apps 7 11 August 2003 10:23

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 07:42.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.08818 seconds with 15 queries