Sound doesn't work in Starcraft 2 with Wine1.7

Questions about Wine on Linux
Locked
Koldar
Level 1
Level 1
Posts: 6
Joined: Wed Mar 05, 2014 11:04 am

Sound doesn't work in Starcraft 2 with Wine1.7

Post by Koldar »

Good day,

I recently migrated to Ubuntu 12.04 (LTS version) with 64 bit architecture.
To try out Wine I decided to install Starcraft 2: to do this I followed this guide: http://www.retrohive.com/2013/09/play-s ... ux-ubuntu/.
I have installed wine1.6 following the guide in http://www.winehq.org/download/ubuntu: I decided not to download the 1.7 one because the warning of the beta packages scared me off (yeah, i'm quite a newbie ;) ).
After that I tried to install Starcraft 2: all is functioning aside the audio: there is none.
I tried to uninstall wine1.6 and install wine1.7 but the audio is still missing.
To help whoever wants to aid me, here some information:
1) wine --version
wine-1.7.13
2) Audio tab image in winecfg:
Wine1.7.png
3) which alsa
/sbin/alsa
4) regedit image:
Driver.png
winalsa.drv.png
5) wintricks, the guide linked recommended the executions of the following instructions:
a) winetricks droid fontfix fontsmooth-rgb gdiplus gecko
with gecko the computer said:
------------------------------------------------------
Please install gecko in /usr/share/wine per http://wiki.winehq.org/Gecko. http://winezeug.googlecode.com/svn/trun ... l-gecko.sh is an easy script to do that. Then you should never need to do 'winetricks gecko' again.
------------------------------------------------------
You opted in, so reporting 'fontfix fontsmooth=rgb gecko ' to the winetricks maintainer so he knows which winetricks verbs get used and which don't. Use --optout to disable future reports.

b) winetricks vcrun2008 vcrun2005 allfonts d3dx9 win7
c) winecfg add mmdevapi in Libraries and disable it;
d) set sound to Alsa (but I haven't one :( )
6) winalsa.drv was my fault: on a site which now i don't remember the solution of my problem was to change winpulse.drv in winalsa.drv; when the installation finished in driver there was only a folder called "winpulse.drv".
7) i tried the solution at http://askubuntu.com/questions/77210/ho ... -alsa-only with no success;
8) here the output of the command wine C:\\windows\\command\\start.exe /Unix /home/koldar/.wine/dosdevices/c:/users/Public/Desktop/StarCraft\ II.lnk >> Starcraft2

Code: Select all

AgentMain start
Argument[0]: 'C:/users/Public/Application Data/Battle.net/Agent/Agent.2717/Agent.exe'
Argument[1]: '--locale=enGB'
Agent is running as Administrator.
Database Insert: /option
Database Insert: /agent
Database Insert: /
Database Insert: /version
Database Insert: /repair
Database Insert: /update
Database Insert: /game/s2_engb
Database Insert: /uninstall
Database Insert: /install
Database Insert: /gamesession
Database Insert: /agent/download
Database Insert: /backfill
Database Insert: /game
Database Insert: /createshortcut
Database Insert: /game/client
Database Insert: /spawned
Database Insert: /agent/download
Database Insert: /register
Session Hash created: '930626872374136130'
Queue Request for http://iir.blizzard.com:3724/submit/BNET_APP : handle - 0x01097540, index - 0, running - 0
Initialize HttpProtocol Server Called.
Post Request to http://enGB.patch.battle.net:1119/patch:
<version program="Agnt"><record program="Agnt" component="cdn" version="1" /><record program="Agnt" component="cfg" version="1" /><record program="Agnt" component="Win" version="2717" /><record program="Agnt" component="blob" version="1" /></version>
Queue Request for http://enGB.patch.battle.net:1119/patch : handle - 0x010a4508, index - 1, running - 0
Agent started on port #6881
Executing operation: disable_firewall applicationPath="C:\users\Public\Application Data\Battle.net\Agent\Agent.2717\Agent.exe" applicationName="Battle.net Update Agent"
AgentAsAdmin failed to add a firewall exception for 'C:\users\Public\Application Data\Battle.net\Agent\Agent.2717\Agent.exe'.
Registered Periodic Event: "auth validation event" with a resolution of 10000 and a start delay of 10000
Registered Event: "ResumeFromSuspendEvent"
Registered Event: "InitiateSuspendEvent"
Registered Event: "shutdown event"
Registered Event: "database flush event"
Registered Periodic Event: "network connection event" with a resolution of 60000 and a start delay of 0
Handle Event: "network connection event"
Firing Event: "database flush event"
Request Issued: GET /agent

Handle Event: "database flush event"
Response: 200
{
	"update" : {},
	"install" : {},
	"backfill" : {},
	"pid" : 49.000000,
	"user_id" : "S-1-5-21-0-0-0-1000",
	"state" : 1007.000000,
	"version" : "1.11.4.2717",
	"type" : "retail",
	"opt_in_feedback" : false,
	"session" : "930626872374136130",
	"authorization" : "015799B6A43BC8DB63B668011E3CF24D"
}
Request Issued: GET /game

Response: 200
{
	"client" : {
		"link" : "/game/client"
	},
	"s2_engb" : {
		"link" : "/game/s2_engb"
	}
}
Request Issued: GET /agent

Response: 200
{
	"update" : {},
	"install" : {},
	"backfill" : {},
	"pid" : 49.000000,
	"user_id" : "S-1-5-21-0-0-0-1000",
	"state" : 1007.000000,
	"version" : "1.11.4.2717",
	"type" : "retail",
	"opt_in_feedback" : false,
	"session" : "930626872374136130",
	"authorization" : "015799B6A43BC8DB63B668011E3CF24D"
}
Request Issued: GET /game/client

Response: 200
{
	"binary_launch_path" : "Blizzard Launcher.exe",
	"current_version" : 2005.000000,
	"download_region" : "eu",
	"install_dir" : "C:/users/Public/Application Data/Battle.net/Client",
	"opaque_product_specific" : {
		"ui" : "hots"
	},
	"patch_url" : "http://eu.patch.battle.net:1119/patch",
	"patch_url_beta" : "http://public-test.patch.battle.net:1119/patch",
	"playable" : true,
	"product" : "Clnt",
	"region" : "eu",
	"supports_multibox" : true,
	"supports_offline" : true,
	"switcher" : true,
	"uid_override" : "battle.net",
	"update_method" : "client update",
	"patch_application_complete" : true,
	"download_complete" : true,
	"loose_file_patching_complete" : true,
	"local_version" : "0.5.4.2005",
	"needs_rebase" : false,
	"config_url" : "",
	"mfil_hash" : "00000000000000000000000000000000",
	"torrent_hash" : "00000000000000000000000000000000"
}
Request Issued: GET /game/s2_engb

Response: 200
{
	"binary_launch_path" : "Support/SC2Switcher.exe",
	"current_version" : 29261.000000,
	"display_locales" : [
		"enUS",
		"esMX",
		"ptBR",
		"deDE",
		"enGB",
		"esES",
		"frFR",
		"itIT",
		"plPL",
		"ruRU",
		"koKR",
		"zhTW"
	],
	"download_region" : "eu"GIF89a\00\00\80\FF\00\FF\FF\FF\00\00\00,\00\00\00\00\00\00\00D\00;GIF89a\00\00\80\FF\00\FF\FF\FF\00\00\00,\00\00\00\00\00\00\00D\00;,
	"expansion_level" : 2.000000,
	"install_dir" : "C:/users/koldar/Desktop/StarCraft II",
	"installed_locales" : [
		"enGB"
	],
	"launch_arguments" : [
		"-launch"
	],
	"patch_url" : "http://eu.patch.battle.net:1119/patch",
	"patch_url_beta" : "http://public-test.patch.battle.net:1119/patch",
	"playable" : true,
	"product" : "S2",
	"region" : "eu",
	"selected_asset_locale" : "enGB",
	"selected_locale" : "enGB",
	"supports_multibox" : false,
	"supports_offline" : true,
	"switcher" : true,
	"update_method" : "patch on demand",
	"update_progress" : 1.000000,
	"update_regex" : "(?P<prefix>s2-update-(?P<dataset>\\w+))-(?P<build>\\d+)\\.mpq$",
	"use_sparse" : 0.000000,
	"patch_application_complete" : true,
	"download_complete" : true,
	"background_download_available" : false,
	"background_download_complete" : false,
	"perform_ogg_to_wav" : false,
	"loose_file_patching_complete" : true,
	"baseline" : "sc2-pod-retail/rebase/24621-swarm/s2-24621-eu-win-C8791078DDE8E2258274B16EC7F83F4E.torrent",
	"local_version" : "2.1.1.29261",
	"needs_rebase" : false,
	"config_url" : "http://dist.blizzard.com.edgesuite.net/sc2-pod-retail/AF11CD00/EU/s2-24621-164D664E6A79442FD8488D79C79C752B.xml",
	"mfil_hash" : "5AD720E8A3AD3B9223A91FCD57506660",
	"torrent_hash" : "BCB4913474D602E3B23B0207735905C1"
}
Request Issued: POST /gamesession
{
	"uid" : "client",
	"launch_arguments" : [
		"--gamepath=C:\\users\\koldar\\Desktop\\StarCraft II",
		"--game=s2_engb"
	]
}
Agent::Product::StartSession() - Begin Waiting
Agent::Product::StartSession() - End Waiting
Launched C:/users/Public/Application Data/Battle.net/Client/Blizzard Launcher.exe as PID: 57 w/ --gamepath=C:\users\koldar\Desktop\StarCraft II
--game=s2_engb
**********************************************
GameSession BringToFrontFunc: hasChild: true, pid 57, childPid 0.
Queue Request for http://iir.blizzard.com:3724/submit/BNET_APP : handle - 0x010b66a0, index - 2, running - 0
Database Insert: /gamesession/client
Database Insert: /gamesession/client/1
Firing Event: "database flush event"
Response: 200
{
	"response_uri" : "/gamesession/client"
}
Handle Event: "database flush event"
Response: 200
(null)
CheckChildPid: found child pid: 51 using path C:/users/Public/Application Data/Battle.net/Client/Blizzard Launcher.2005/Blizzard Launcher.exe.
OnComplete: handle - 0x010a4508, result - 0, running - 3, request - found
Post Response:
<patch>
<record program="Agnt" component="cdn">
dist.blizzard.com.edgesuite.net|llnw.blizzard.com
</record>
<record program="Agnt" component="Win">
;;2717;0;2717
</record>
</patch>
Firing Event: "database flush event"
Request Issued: GET /agent

Handle Event: "database flush event"
Response: 200
{
	"update" : {},
	"install" : {},
	"backfill" : {},
	"pid" : 49.000000,
	"user_id" : "S-1-5-21-0-0-0-1000",
	"state" : 1004.000000,
	"playable" : true,
	"patch_application_complete" : true,
	"download_complete" : true,
	"version" : "1.11.4.2717",
	"type" : "retail",
	"opt_in_feedback" : false,
	"session" : "930626872374136130",
	"authorization" : "8641BBB7374C7F03D533CA60439AC429"
}
Firing Event: "database flush event"
Request Issued: GET /agent

Handle Event: "database flush event"
Response: 200
{
	"update" : {},
	"install" : {},
	"backfill" : {},
	"pid" : 49.000000,
	"user_id" : "S-1-5-21-0-0-0-1000",
	"state" : 1004.000000,
	"playable" : true,
	"patch_application_complete" : true,
	"download_complete" : true,
	"version" : "1.11.4.2717",
	"type" : "retail",
	"opt_in_feedback" : false,
	"session" : "930626872374136130",
	"authorization" : "3EA1F52CDEF696AD742571243D8C3EF8"
}
Request Issued: GET /game/client

Response: 200
{
	"binary_launch_path" : "Blizzard Launcher.exe",
	"current_version" : 2005.000000,
	"download_region" : "eu",
	"install_dir" : "C:/users/Public/Application Data/Battle.net/Client",
	"opaque_product_specific" : {
		"ui" : "hots"
	},
	"patch_url" : "http://eu.patch.battle.net:1119/patch",
	"patch_url_beta" : "http://public-test.patch.battle.net:1119/patch",
	"playable" : true,
	"product" : "Clnt",
	"region" : "eu",
	"supports_multibox" : true,
	"supports_offline" : true,
	"switcher" : true,
	"uid_override" : "battle.net",
	"update_method" : "client update",
	"patch_application_complete" : true,
	"download_complete" : true,
	"loose_file_patching_complete" : true,
	"operations" : [
		{
			"gamesession" : "/gamesession/client"
		}
	],
	"local_version" : "0.5.4.2005",
	"needs_rebase" : false,
	"config_url" : "",
	"mfil_hash" : "00000000000000000000000000000000",
	"torrent_hash" : "00000000000000000000000000000000"
}
OnComplete: handle - 0x01097540, result - 0, running - 2, request - found
Request Issued to non-existent Uri: GET - /game/s2_ptr_engb
Request Issued: GET /game/s2_engb

OnComplete: handle - 0x010b66a0, result - 0, running - 1, request - found
Response: 200
{
	"binary_launch_path" : "Support/SC2Switcher.exe",
	"current_version" : 29261.000000,
	"display_locales" : [
		"enUS",
		"esMX",
		"ptBR",
		"deDE",
		"enGB",
		"esES",
		"frFR",
		"itIT",
		"plPL",
		"ruRU",
		"koKR",
		"zhTW"
	],
	"download_region" : "eu",
	"expansion_level" : 2.000000,
	"install_dir" : "C:/users/koldar/Desktop/StarCraft II",
	"installed_locales" : [
		"enGB"
	],
	"launch_arguments" : [
		"-launch"
	],
	"patch_url" : "http://eu.patch.battle.net:1119/patch",
	"patch_url_beta" : "http://public-test.patch.battle.net:1119/patch",
	"playable" : true,
	"product" : "S2",
	"region" : "eu",
	"selected_asset_locale" : "enGB",
	"selected_locale" : "enGB",
	"supports_multibox" : false,
	"supports_offline" : true,
	"switcher" : true,
	"update_method" : "patch on demand",
	"update_progress" : 1.000000,
	"update_regex" : "(?P<prefix>s2-update-(?P<dataset>\\w+))-(?P<build>\\d+)\\.mpq$",
	"use_sparse" : 0.000000,
	"patch_application_complete" : true,
	"download_complete" : true,
	"background_download_available" : false,
	"background_download_complete" : false,
	"perform_ogg_to_wav" : false,
	"loose_file_patching_complete" : true,
	"baseline" : "sc2-pod-retail/rebase/24621-swarm/s2-24621-eu-win-C8791078DDE8E2258274B16EC7F83F4E.torrent",
	"local_version" : "2.1.1.29261",
	"needs_rebase" : false,
	"config_url" : "http://dist.blizzard.com.edgesuite.net/sc2-pod-retail/AF11CD00/EU/s2-24621-164D664E6A79442FD8488D79C79C752B.xml",
	"mfil_hash" : "5AD720E8A3AD3B9223A91FCD57506660",
	"torrent_hash" : "BCB4913474D602E3B23B0207735905C1"
}
Request Issued to non-existent Uri: GET - /install/s2_engb
Request Issued to non-existent Uri: GET - /update/s2_engb
Request Issued to non-existent Uri: GET - /gamesession/s2_engb
Request Issued to non-existent Uri: DELETE - /backfill/s2_engb
Request Issued: GET /agent

Response: 200
{
	"update" : {},
	"install" : {},
	"backfill" : {},
	"pid" : 49.000000,
	"user_id" : "S-1-5-21-0-0-0-1000",
	"state" : 1004.000000,
	"playable" : true,
	"patch_application_complete" : true,
	"download_complete" : true,
	"version" : "1.11.4.2717",
	"type" : "retail",
	"opt_in_feedback" : false,
	"session" : "930626872374136130",
	"authorization" : "3EA1F52CDEF696AD742571243D8C3EF8"
}
Request Issued: POST /update
{"uid":"client"}
Database Insert: /update/client
Queuing /update/client
Insert to Queue at HEAD
Firing Event: "database flush event"
Handle Event: "database flush event"
Start Queued Task 'Update Clnt'
Checking permissions - client.
Response: 200
{
	"response_uri" : "/update/client",
	"result_uri" : "/game/client"
}
Request Issued: GET /update/client

Response: 200
{
	"state" : 1007.000000
}
Updating uninstall information to newer format - client.
New versioner created - client.
Force refreshing version information - client.
Post Request to http://eu.patch.battle.net:1119/patch:
<version program="Clnt"><record program="Agnt" component="cdn" version="1" /><record program="Agnt" component="cfg" version="1" /><record program="Clnt" component="Win" version="2005" /><record program="Clnt" component="blob" version="1" /></version>
Queue Request for http://eu.patch.battle.net:1119/patch : handle - 0x010a4508, index - 3, running - 0
Request Issued: GET /update/client

Response: 200
{
	"state" : 1007.000000
}
Request Issued: GET /update/client

Response: 200
{
	"state" : 1007.000000
}
Request Issued: GET /update/client

Response: 200
{
	"state" : 1007.000000
}
Request Issued: GET /update/client

Response: 200
{
	"state" : 1007.000000
}
OnComplete: handle - 0x010a4508, result - 0, running - 1, request - found
Post Response:
<patch>
<record program="Agnt" component="cdn">
dist.blizzard.com.edgesuite.net|llnw.blizzard.com
</record>
<record program="Clnt" component="Win">
;;2005;0;2005
</record>
<record program="Clnt" component="blob">
http://dist.blizzard.com.edgesuite.net/tools-pod/Blob.1949.Client05HotS;00000000000000000000000000000000;21194985089F993F9C0F641B198FEADC;0
</record>
</patch>
Pause Task Update Clnt
Removed HEAD item from Queue
Firing Event: "database flush event"
Firing Event: "database flush event"
Firing Event: "database flush event"
Handle Event: "database flush event"
Handle Event: "database flush event"
Handle Event: "database flush event"
Request Issued: GET /update/client

Response: 200
{
	"state" : 1004.000000,
	"playable" : true,
	"patch_application_complete" : true,
	"download_complete" : true
}
Request Issued: GET /game/client

Response: 200
{
	"binary_launch_path" : "Blizzard Launcher.exe",
	"current_version" : 2005.000000,
	"download_region" : "eu",
	"install_dir" : "C:/users/Public/Application Data/Battle.net/Client",
	"opaque_product_specific" : {
		"ui" : "hots"
	},
	"patch_url" : "http://eu.patch.battle.net:1119/patch",
	"patch_url_beta" : "http://public-test.patch.battle.net:1119/patch",
	"playable" : true,
	"product" : "Clnt",
	"region" : "eu",
	"supports_multibox" : true,
	"supports_offline" : true,
	"switcher" : true,
	"uid_override" : "battle.net",
	"update_method" : "client update",
	"patch_application_complete" : true,
	"download_complete" : true,
	"loose_file_patching_complete" : true,
	"operations" : [
		{
			"gamesession" : "/gamesession/client"
		}
	],
	"local_version" : "0.5.4.2005",
	"needs_rebase" : false,
	"config_url" : "",
	"mfil_hash" : "00000000000000000000000000000000",
	"torrent_hash" : "00000000000000000000000000000000"
}
Request Issued: POST /version
{ 
	"uid":"s2_engb"
}

Database Insert: /version/s2_engb
Response: 200
{
	"response_uri" : "/version/s2_engb"
}
Request Issued: GET /version/s2_engb

Response: 200
{
	"state" : 1007.000000,
	"local_version" : "2.1.1.29261",
	"playable" : true,
	"needs_rebase" : false,
	"current_version" : 29261.000000,
	"build" : 29261.000000,
	"patch_application_complete" : true,
	"download_complete" : true,
	"background_download_available" : false,
	"background_download_complete" : false,
	"perform_ogg_to_wav" : false,
	"loose_file_patching_complete" : true,
	"baseline" : "sc2-pod-retail/rebase/24621-swarm/s2-24621-eu-win-C8791078DDE8E2258274B16EC7F83F4E.torrent"
}
Request Issued: GET /version/s2_engb

Response: 200
{
	"state" : 1007.000000,
	"local_version" : "2.1.1.29261",
	"playable" : true,
	"needs_rebase" : false,
	"current_version" : 29261.000000,
	"build" : 29261.000000,
	"patch_application_complete" : true,
	"download_complete" : true,
	"background_download_available" : false,
	"background_download_complete" : false,
	"perform_ogg_to_wav" : false,
	"loose_file_patching_complete" : true,
	"baseline" : "sc2-pod-retail/rebase/24621-swarm/s2-24621-eu-win-C8791078DDE8E2258274B16EC7F83F4E.torrent"
}
New versioner created - s2_engb.
Post Request to http://eu.patch.battle.net:1119/patch:
<version program="S2"><record program="Agnt" component="cdn" version="1" /><record program="S2" component="enGB" version="1" /><record program="S2" component="blob" version="1" /></version>
Queue Request for http://eu.patch.battle.net:1119/patch : handle - 0x010a4508, index - 4, running - 0
Request Issued: GET /version/s2_engb

Response: 200
{
	"state" : 1007.000000,
	"local_version" : "2.1.1.29261",
	"playable" : true,
	"needs_rebase" : false,
	"current_version" : 29261.000000,
	"build" : 29261.000000,
	"patch_application_complete" : true,
	"download_complete" : true,
	"background_download_available" : false,
	"background_download_complete" : false,
	"perform_ogg_to_wav" : false,
	"loose_file_patching_complete" : true,
	"baseline" : "sc2-pod-retail/rebase/24621-swarm/s2-24621-eu-win-C8791078DDE8E2258274B16EC7F83F4E.torrent"
}
Request Issued: GET /version/s2_engb

Response: 200
{
	"state" : 1007.000000,
	"local_version" : "2.1.1.29261",
	"playable" : true,
	"needs_rebase" : false,
	"current_version" : 29261.000000,
	"build" : 29261.000000,
	"patch_application_complete" : true,
	"download_complete" : true,
	"background_download_available" : false,
	"background_download_complete" : false,
	"perform_ogg_to_wav" : false,
	"loose_file_patching_complete" : true,
	"baseline" : "sc2-pod-retail/rebase/24621-swarm/s2-24621-eu-win-C8791078DDE8E2258274B16EC7F83F4E.torrent"
}
OnComplete: handle - 0x010a4508, result - 0, running - 1, request - found
Post Response:
<patch>
<record program="Agnt" component="cdn">
dist.blizzard.com.edgesuite.net|llnw.blizzard.com
</record>
<record program="S2" component="enGB">
http://dist.blizzard.com.edgesuite.net/sc2-pod-retail/AF11CD00/EU/s2-24621-164D664E6A79442FD8488D79C79C752B.xml;BCB4913474D602E3B23B0207735905C1;5AD720E8A3AD3B9223A91FCD57506660;29261
</record>
<record program="S2" component="blob">
http://dist.blizzard.com.edgesuite.net/sc2-pod/Blob.24621.Swarm20Rebase;9E8A15E71D0F7DC8C3496AF2948F867A;0D3D48D093DB346BEEE0A2C22968D2F3;0
</record>
</patch>
Verifying archive/loose file locality - s2_engb.
Queue Request for http://dist.blizzard.com.edgesuite.net/sc2-pod-retail/AF11CD00/EU/24621.direct/s2-29261-5AD720E8A3AD3B9223A91FCD57506660.mfil : handle - 0x010a4508, index - 5, running - 0
Request Issued: GET /version/s2_engb

Response: 200
{
	"state" : 1007.000000,
	"local_version" : "2.1.1.29261",
	"playable" : true,
	"needs_rebase" : false,
	"current_version" : 29261.000000,
	"build" : 29261.000000,
	"patch_application_complete" : true,
	"download_complete" : true,
	"background_download_available" : false,
	"background_download_complete" : false,
	"perform_ogg_to_wav" : false,
	"loose_file_patching_complete" : true,
	"baseline" : "sc2-pod-retail/rebase/24621-swarm/s2-24621-eu-win-C8791078DDE8E2258274B16EC7F83F4E.torrent"
}
Request Issued: GET /version/s2_engb

Response: 200
{
	"state" : 1007.000000,
	"local_version" : "2.1.1.29261",
	"playable" : true,
	"needs_rebase" : false,
	"current_version" : 29261.000000,
	"build" : 29261.000000,
	"patch_application_complete" : true,
	"download_complete" : true,
	"background_download_available" : false,
	"background_download_complete" : false,
	"perform_ogg_to_wav" : false,
	"loose_file_patching_complete" : true,
	"baseline" : "sc2-pod-retail/rebase/24621-swarm/s2-24621-eu-win-C8791078DDE8E2258274B16EC7F83F4E.torrent"
}
OnComplete: handle - 0x010a4508, result - 0, running - 1, request - found
Firing Event: "database flush event"
Handle Event: "database flush event"
Request Issued: GET /version/s2_engb

Response: 200
{
	"state" : 1004.000000,
	"local_version" : "2.1.1.29261",
	"playable" : true,
	"needs_rebase" : false,
	"current_version" : 29261.000000,
	"build" : 29261.000000,
	"patch_application_complete" : true,
	"download_complete" : true,
	"background_download_available" : false,
	"background_download_complete" : false,
	"perform_ogg_to_wav" : false,
	"loose_file_patching_complete" : true,
	"baseline" : "sc2-pod-retail/rebase/24621-swarm/s2-24621-eu-win-C8791078DDE8E2258274B16EC7F83F4E.torrent"
}
Handle Event: "auth validation event"
Request Issued: DELETE /update/client
Remove - invalid operation - from Queue
Database Remove: /update/client
Response: 200
{}
Remove - invalid operation - from Queue
Queue 'async_task' Resource for delete
Deferred delete of 'async_task' Resource
Deferred delete of 'async_task' Resource completed
Request Issued to non-existent Uri: GET - /gamesession/s2_engb
Request Issued to non-existent Uri: GET - /backfill/s2_engb
Response: 200
(null)
Handle Event: "auth validation event"
Registered Periodic Event: "shutdown event" with a resolution of 10000 and a start delay of 10000
Handle Event: "shutdown event"
Handle Event: "auth validation event"
Agent is shutting down
Firing Event: "database flush event"
Database Remove: /option
Database Remove: /gamesession/client
Database Remove: /gamesession/client/1
Deferred delete of 'default' Resource
Deferred delete of 'default' Resource completed
Queue 'default' Resource for delete
Database Remove: /version/s2_engb
Database Remove: /agent
Queue 'download' Resource for delete
Deferred delete of 'download' Resource
Database Remove: /
Deferred delete of 'download' Resource completed
Database Remove: /register
Queue 'registerroot' Resource for delete
Deferred delete of 'registerroot' Resource
Database Remove: /game
Deferred delete of 'registerroot' Resource completed
Database Remove: /game/client
Queue 'game' Resource for delete
Deferred delete of 'game' Resource
Database Remove: /game/s2_engb
Deferred delete of 'game' Resource completed
Queue 'game' Resource for delete
Deferred delete of 'game' Resource
Queue 'gameroot' Resource for delete
Deferred delete of 'game' Resource completed
Database Remove: /repair
Deferred delete of 'gameroot' Resource
Deferred delete of 'gameroot' Resource completed
Queue 'repairroot' Resource for delete
Deferred delete of 'repairroot' Resource
Queue 'agentroot' Resource for delete
Deferred delete of 'repairroot' Resource completed
Database Remove: /gamesession
Deferred delete of 'agentroot' Resource
Queue 'composite' Resource for delete
Queue 'gamesessionroot' Resource for delete
Database Remove: /backfill
Queue 'backfillroot' Resource for delete
Database Remove: /spawned
Queue 'spawnedroot' Resource for delete
Deferred delete of 'agentroot' Resource completed
Queue 'optionroot' Resource for delete
Deferred delete of 'composite' Resource
Database Remove: /version
Queue 'async_task' Resource for delete
Deferred delete of 'composite' Resource completed
Queue 'versionroot' Resource for delete
Deferred delete of 'gamesessionroot' Resource
Database Remove: /update
Deferred delete of 'gamesessionroot' Resource completed
Queue 'updateroot' Resource for delete
Deferred delete of 'backfillroot' Resource
Database Remove: /createshortcut
Deferred delete of 'backfillroot' Resource completed
Queue 'createshortcut' Resource for delete
Deferred delete of 'spawnedroot' Resource
Database Remove: /uninstall
Deferred delete of 'spawnedroot' Resource completed
Queue 'uninstallroot' Resource for delete
Deferred delete of 'optionroot' Resource
Database Remove: /install
Deferred delete of 'optionroot' Resource completed
Queue 'installroot' Resource for delete
Deferred delete of 'async_task' Resource
Queue 'root' Resource for delete
Database Remove: /agent/download
Queue 'download' Resource for delete
Deferred delete of 'async_task' Resource completed
Deferred delete of 'versionroot' Resource
Deferred delete of 'versionroot' Resource completed
Deferred delete of 'updateroot' Resource
Deferred delete of 'updateroot' Resource completed
Deferred delete of 'createshortcut' Resource
Deferred delete of 'createshortcut' Resource completed
Deferred delete of 'uninstallroot' Resource
Deferred delete of 'uninstallroot' Resource completed
Deferred delete of 'installroot' Resource
Deferred delete of 'installroot' Resource completed
Deferred delete of 'root' Resource
Deferred delete of 'root' Resource completed
Deferred delete of 'download' Resource
Deferred delete of 'download' Resource completed
Queue Request for http://iir.blizzard.com:3724/submit/BNET_APP : handle - 0x00d70ec0, index - 6, running - 0
Deleting remaining resources
OnComplete: handle - 0x00d70ec0, result - 0, running - 1, request - found
Cleanup: total requests process - 7
It is completely possible that i mess some library or package or other stuff; so if you want to know something, let me know about it!
Thanks in advance and sorry for my bad english! :D
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Sound doesn't work in Starcraft 2 with Wine1.7

Post by dimesio »

The Ubuntu packages for the development releases are built with the winepulse driver and other changes to dsound which are not supported here. Report any problems with sound when using them to the package maintainer, Maarten Lankhorst. https://launchpad.net/~ubuntu-wine
Koldar
Level 1
Level 1
Posts: 6
Joined: Wed Mar 05, 2014 11:04 am

Re: Sound doesn't work in Starcraft 2 with Wine1.7

Post by Koldar »

This will certainly sound crazy, but happen if I try to build wine from source? That would overcome the problem?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Sound doesn't work in Starcraft 2 with Wine1.7

Post by dimesio »

I did notice one thing in your original post, and that is that you only seem to have alsa installed. If this is a 64 bit system, you would also need 32 bit alsa, and if you are using PulseAudio, 32 bit alsa-plugins. I'm not sure what the exact package names would be in Ubuntu. But I'd check to see that you have them installed before going to the trouble of building Wine, because missing 32 bit alsa might be the reason winecfg shows no driver at all.

If you want to try building Wine, take a look at http://wiki.winehq.org/WineOn64bit and http://wiki.winehq.org/BuildingBiarchWineOnUbuntu.
Koldar
Level 1
Level 1
Posts: 6
Joined: Wed Mar 05, 2014 11:04 am

Re: Sound doesn't work in Starcraft 2 with Wine1.7

Post by Koldar »

It is highly possible that I'm missing some libraries. I'd include them myself but I really have no idea about the package names to be added in the "apt-get install" routine. If someone is so kind to list some libraries I will check whether or not they are installed on my system.
About the build wine for 64bit link I'll try it as soon as I can. Stay tuned :D
Koldar
Level 1
Level 1
Posts: 6
Joined: Wed Mar 05, 2014 11:04 am

Re: Sound doesn't work in Starcraft 2 with Wine1.7

Post by Koldar »

Okay, I found something strange... From the post https://www.kubuntuforums.net/archive/i ... 43177.html it seems that i need ia32-libs and alsa-lib: while I have ia32-libs it seems that i don't have the alsa-lib one; how do i know? I run the command "sudo fin / -name 'alsa-lib' and the output was:

/usr/lib/x86_64-linux-gnu/alsa-lib
/usr/lib/i386-linux-gnu/alsa-lib
/usr/lib32/alsa-lib

inside them and i couldn't find something like alsa-lib.so. So i googled "alsa for 64bit" and i found this link: http://packages.ubuntu.com/source/precise/alsa-lib.
thinking the package name was "alsa-lib" I tried "sudo apt-get install alsa-lib" but apt said it couldn't find the package.

dimesio is right, I lack some alsa library, but i don't know the package name. Any kind soul to help me out in this?
Thanks in advance!
Koldar
Level 1
Level 1
Posts: 6
Joined: Wed Mar 05, 2014 11:04 am

Re: Sound doesn't work in Starcraft 2 with Wine1.7

Post by Koldar »

Sorry for the silent time! I've solved the problem!
Here's how:

I've tried the solution proposed in http://wiki.winehq.org/WineOn64bit, section "Manually Linking Libraries Method": sadly it didn't work for me. So I tried the solution "lxc container" at the same URL: after the building I managed to make the output sound work!
output audio work.png
If you are stuck with my same problem i suggest you to immediately start with the "lxc container" solution.
Maybe you'll have to install some python packages, but aside that, you can follow the instructions with no worries.
If you have a microphone and it seems it doesn't work, try to access to the sound panel (in Unity, MetaKey, then search for "sound") and unmute the microphone itself.

Thanks to all!
Koldar
Level 1
Level 1
Posts: 6
Joined: Wed Mar 05, 2014 11:04 am

Re: Sound doesn't work in Starcraft 2 with Wine1.7

Post by Koldar »

Ok, it seems that i was wrong. While in the audio test included in the game the micrphone works fine (i hear my useless talking :) ) when i'm trying to talk to another person in chat the microphone simply doesn't work. Here some additional info that a kind soul might find useful to help me:
1) In the game there are 2 possible input devices: "Default" and "PulseAudio": neither of them works;
2) I successfully receive the voice of the guy who i'm talking to but he can't hear mine

If you want more info, please let me know... i don't even know where to start to solve this problem!
Locked