Author Topic: FLAC files problem (error 41)  (Read 2188 times)

tongub

  • Posts: 91
FLAC files problem (error 41)
« on: 17 Jun '11 - 12:12 »
Guys I need your help!

Please read this topic http://forums.steampowered.com/forums/showthread.php?t=1924611


Ian @ un4seen

  • Administrator
  • Posts: 20436
Re: FLAC files problem (error 41)
« Reply #1 on: 17 Jun '11 - 14:55 »
That's strange. I think it will need a debug version to find out what is being read from the troublesome files in that user's case. I'll send them one.

tongub

  • Posts: 91
Re: FLAC files problem (error 41)
« Reply #2 on: 17 Jun '11 - 15:14 »
Thank you

btw. it's possible to enable any debug in bass?

Ian @ un4seen

  • Administrator
  • Posts: 20436
Re: FLAC files problem (error 41)
« Reply #3 on: 17 Jun '11 - 17:05 »
No, there isn't any debug stuff in the release versions. Different problems will have different things that need to be checked/logged, so a debug version will be targeted at a particular problem.

A debug BASSFLAC version has now been sent to the user. Let's see what it finds.

Zuko

  • Posts: 4
Re: FLAC files problem (error 41)
« Reply #4 on: 17 Jun '11 - 18:09 »
Debug msg from: http://syf.z.hlds.pl/bh/Tides%20From%20Nebula%20-%20Earthshine%20-%2002%20-%20The%20Fall%20Of%20Leviathan.flac

Quote
24390208[1050]: DllMain(1,18fd24)
24503416[1050]: StreamCreateProc(2648330,40000)
24503416[1050]: [D:\02 - The Fall Of Leviathan.flac] 0 0/50906111
24503416[1050]: sig 43614c66
24503416[1050]: ok1
24503416[1050]: read 8192 = 8192
24503416[1050]: read 8192 = 8192
24503416[1050]: read 8192 = 8192
24503416[1050]: read 8192 = 8192
24503416[1050]: read 8192 = 8192
24503416[1050]: read 8192 = 8192
24503416[1050]: read 8192 = 8192
24503416[1050]: read 8192 = 8192
24503417[1050]: read 8192 = 8192
24503417[1050]: read 8192 = 8192
24503417[1050]: read 8192 = 8192
24503417[1050]: read 8192 = 8192
24503417[1050]: read 8192 = 8192
24503417[1050]: read 8192 = 8192
24503417[1050]: read 8192 = 8192
24503417[1050]: read 8192 = 8192
24503417[1050]: read 8192 = 8192
24503447[1050]: read 8192 = 8192
24503448[1050]: read 8192 = 8192
24503448[1050]: read 8192 = 8192
24503448[1050]: read 8192 = 8192
24503448[1050]: read 8192 = 8192
24503448[1050]: read 8192 = 8192
24503448[1050]: read 8192 = 8192
24503448[1050]: read 8192 = 8192
24503448[1050]: read 8192 = 8192
24503448[1050]: read 8192 = 8192
24503448[1050]: read 8192 = 8192
24503448[1050]: read 8192 = 8192
24503448[1050]: read 8192 = 8192
24503448[1050]: read 8192 = 8192
24503448[1050]: read 8192 = 8192
24503448[1050]: read 8192 = 8192
24503448[1050]: read 8192 = 8192
24503448[1050]: read 8192 = 8192
24503448[1050]: read 8192 = 8192
24503448[1050]: read 8192 = 8192
24503448[1050]: read 8192 = 8192
24503448[1050]: read 8192 = 8192
24503448[1050]: read 8192 = 8192
24503448[1050]: read 8192 = 8192
24503448[1050]: read 8192 = 8192
24503448[1050]: read 8192 = 8192
24503448[1050]: read 8192 = 8192
24503448[1050]: read 8192 = 8192
24503448[1050]: tell=368640
24503448[1050]: ok2
24514014[1050]: StreamCreateProc(105f43d0,40000)
24514014[1050]: [D:\Tides From Nebula - Earthshine - 02 - The Fall Of Leviathan.flac] 0 0/51150345
24514014[1050]: sig 43614c66
24514014[1050]: ok1
24514014[1050]: read 8192 = 8192
24514014[1050]: read 8192 = 8192
24514015[1050]: read 8192 = 8192
24514015[1050]: read 8192 = 8192
24514015[1050]: read 8192 = 8192
24514015[1050]: read 8192 = 8192
24514015[1050]: read 8192 = 8192
24514015[1050]: read 8192 = 8192
24514015[1050]: read 8192 = 8192
24514015[1050]: read 8192 = 8192
24514015[1050]: read 8192 = 8192
24514015[1050]: read 8192 = 8192
24514015[1050]: read 8192 = 8192
24514015[1050]: read 8192 = 8192
24514015[1050]: read 8192 = 8192
24514015[1050]: read 8192 = 8192
24514017[1050]: read 8192 = 8192
24514017[1050]: read 8192 = 8192
24514017[1050]: read 8192 = 8192
24514017[1050]: read 8192 = 8192
24514017[1050]: read 8192 = 8192
24514017[1050]: read 8192 = 8192
24514017[1050]: read 8192 = 8192
24514017[1050]: read 8192 = 8192
24514018[1050]: read 8192 = 8192
24514018[1050]: read 8192 = 8192
24514018[1050]: read 8192 = 8192
24514018[1050]: read 8192 = 8192
24514018[1050]: read 8192 = 8192
24514018[1050]: read 8192 = 8192
24514018[1050]: read 8192 = 8192
24514018[1050]: read 8192 = 8192
24514018[1050]: read 8192 = 8192
24514018[1050]: read 8192 = 8192
24514018[1050]: read 8192 = 8192
24514018[1050]: read 8192 = 8192
24514018[1050]: read 8192 = 8192
24514018[1050]: read 8192 = 8192
24514018[1050]: read 8192 = 8192
24514018[1050]: read 8192 = 8192
24514018[1050]: read 8192 = 8192
24514018[1050]: read 8192 = 8192
24514018[1050]: read 8192 = 8192
24514018[1050]: read 8192 = 8192
24514018[1050]: tell=360448
24514018[1050]: ok2
24515000[1050]: StreamCreateProc(105f43d0,40000)
24515000[1050]: [D:\Tides From Nebula - Earthshine - 02 - The Fall Of Leviathan.flac] 0 0/51150345
24515000[1050]: sig 43614c66
24515000[1050]: ok1
24515000[1050]: read 8192 = 8192
24515000[1050]: read 8192 = 8192
24515000[1050]: read 8192 = 8192
24515000[1050]: read 8192 = 8192
24515000[1050]: read 8192 = 8192
24515000[1050]: read 8192 = 8192
24515000[1050]: read 8192 = 8192
24515000[1050]: read 8192 = 8192
24515000[1050]: read 8192 = 8192
24515000[1050]: read 8192 = 8192
24515000[1050]: read 8192 = 8192
24515000[1050]: read 8192 = 8192
24515000[1050]: read 8192 = 8192
24515000[1050]: read 8192 = 8192
24515000[1050]: read 8192 = 8192
24515000[1050]: read 8192 = 8192
24515000[1050]: read 8192 = 8192
24515000[1050]: read 8192 = 8192
24515000[1050]: read 8192 = 8192
24515000[1050]: read 8192 = 8192
24515000[1050]: read 8192 = 8192
24515000[1050]: read 8192 = 8192
24515000[1050]: read 8192 = 8192
24515000[1050]: read 8192 = 8192
24515001[1050]: read 8192 = 8192
24515001[1050]: read 8192 = 8192
24515001[1050]: read 8192 = 8192
24515001[1050]: read 8192 = 8192
24515001[1050]: read 8192 = 8192
24515001[1050]: read 8192 = 8192
24515001[1050]: read 8192 = 8192
24515001[1050]: read 8192 = 8192
24515001[1050]: read 8192 = 8192
24515001[1050]: read 8192 = 8192
24515001[1050]: read 8192 = 8192
24515001[1050]: read 8192 = 8192
24515001[1050]: read 8192 = 8192
24515001[1050]: read 8192 = 8192
24515001[1050]: read 8192 = 8192
24515001[1050]: read 8192 = 8192
24515001[1050]: read 8192 = 8192
24515001[1050]: read 8192 = 8192
24515001[1050]: read 8192 = 8192
24515001[1050]: read 8192 = 8192
24515001[1050]: tell=360448
24515001[1050]: ok2
24534320[1050]: DllMain(0,1)

Game dbg msg:
Quote
PlayingFile: D:\TIDESF~1.FL~
Error Playing File: D:\TIDESF~1.FL~  -  Bass error code = 41

Zuko

  • Posts: 4
Re: FLAC files problem (error 41)
« Reply #5 on: 17 Jun '11 - 18:22 »
Quote
5313335[13fc]: StreamCreateProc(25e2ae0,40000)
25313335[13fc]: [\\ATOM\Muzyka\FLAC\TIDESF~1\2011-E~1\Tides From Nebula - Earthshine - 02 - The Fall Of Leviathan.flac] 0 0/51150345
25313335[13fc]: sig 43614c66
25313335[13fc]: ok1
25313335[13fc]: read 8192 = 8192
25313335[13fc]: read 8192 = 8192
25313335[13fc]: read 8192 = 8192
25313335[13fc]: read 8192 = 8192
25313335[13fc]: read 8192 = 8192
25313335[13fc]: read 8192 = 8192
25313335[13fc]: read 8192 = 8192
25313335[13fc]: read 8192 = 8192
25313335[13fc]: read 8192 = 8192
25313335[13fc]: read 8192 = 8192
25313335[13fc]: read 8192 = 8192
25313335[13fc]: read 8192 = 8192
25313336[13fc]: read 8192 = 8192
25313336[13fc]: read 8192 = 8192
25313336[13fc]: read 8192 = 8192
25313336[13fc]: read 8192 = 8192
25313336[13fc]: read 8192 = 8192
25313336[13fc]: read 8192 = 8192
25313336[13fc]: read 8192 = 8192
25313336[13fc]: read 8192 = 8192
25313336[13fc]: read 8192 = 8192
25313336[13fc]: read 8192 = 8192
25313336[13fc]: read 8192 = 8192
25313336[13fc]: read 8192 = 8192
25313336[13fc]: read 8192 = 8192
25313336[13fc]: read 8192 = 8192
25313336[13fc]: read 8192 = 8192
25313336[13fc]: read 8192 = 8192
25313336[13fc]: read 8192 = 8192
25313336[13fc]: read 8192 = 8192
25313336[13fc]: read 8192 = 8192
25313336[13fc]: read 8192 = 8192
25313336[13fc]: read 8192 = 8192
25313336[13fc]: read 8192 = 8192
25313336[13fc]: read 8192 = 8192
25313336[13fc]: read 8192 = 8192
25313336[13fc]: read 8192 = 8192
25313337[13fc]: read 8192 = 8192
25313337[13fc]: read 8192 = 8192
25313337[13fc]: read 8192 = 8192
25313337[13fc]: read 8192 = 8192
25313337[13fc]: read 8192 = 8192
25313337[13fc]: read 8192 = 8192
25313337[13fc]: read 8192 = 8192
25313337[13fc]: tell=360448
25313337[13fc]: ok2
25647143[13fc]: DllMain(0,1)

Zuko

  • Posts: 4
Re: FLAC files problem (error 41)
« Reply #6 on: 19 Jun '11 - 09:11 »
Ian @ un4seen, what you see in this dbgmsg?

Ian @ un4seen

  • Administrator
  • Posts: 20436
Re: FLAC files problem (error 41)
« Reply #7 on: 20 Jun '11 - 15:22 »
Those logs look fine, ie. the files are being opened and detected as FLAC by BASSFLAC.

tongub, can you please confirm how you are creating streams of different file formats? It looks like you are using the add-on specific functions (eg. BASS_FLAC_StreamCreateFile), rather than loading the add-ons via BASS_PluginLoad and just using BASS_StreamCreateFile? If so, do you try all of the add-on specific functions, or do you choose one based on the file extension? If the later, perhaps the problem is the "FL~" extension mentioned above, ie. it isn't being treated as a FLAC file?

I would recommend simply switching to the BASS_PluginLoad method :)

Zuko

  • Posts: 4
Re: FLAC files problem (error 41)
« Reply #8 on: 20 Jun '11 - 16:16 »
Ian @ un4seen, tongub its "me" in this topic - this account is from bugmenot.com - sorry ;]

I will forward your post to game developer.

Edit. message sent to game dev.
« Last Edit: 20 Jun '11 - 16:29 by Zuko »