Running an application for csgo

Questions about Wine on Linux
Stark
Level 2
Level 2
Posts: 19
Joined: Fri May 03, 2019 12:24 pm

Running an application for csgo

Post by Stark »

Hello everyone! My first post here!

Now to the point, there is this 3rd party software for csgo, similar to esea or faceit, but it is only for authentication, meaning you only need to launch cs go through that application to verify that you do have any hacks active. The link to it is here: https://beta.esportal.se/client
Now, I want this program to work on linux, any ideas?
Cybermax
Level 4
Level 4
Posts: 218
Joined: Fri Dec 01, 2017 5:26 pm

Re: Running an application for csgo

Post by Cybermax »

Stark wrote:Hello everyone! My first post here!

Now to the point, there is this 3rd party software for csgo, similar to esea or faceit, but it is only for authentication, meaning you only need to launch cs go through that application to verify that you do have any hacks active. The link to it is here: https://beta.esportal.se/client
Now, I want this program to work on linux, any ideas?
I guess it kind of depends on what kind of anti-cheat we are talking about. Things work a tad different in Wine that a anti-cheat software MIGHT mistake for cheating.

Usually no huge problems with file integrity checks and such, as the game files are untouched, but when it comes to memory hooks and whatnot that might be scanned for, "nothing" is what it is supposed to be :)
Stark
Level 2
Level 2
Posts: 19
Joined: Fri May 03, 2019 12:24 pm

Re: Running an application for csgo

Post by Stark »

I see, but how do i run it correctly? When I try to, this happens: https://imgur.com/a/JcUVuFW
jkfloris
Level 12
Level 12
Posts: 3136
Joined: Thu Aug 14, 2014 10:10 am

Re: Running an application for csgo

Post by jkfloris »

Run the program from the command line. Often there are clues what went wrong.
Or post the complete terminal output here. (Use the forum code tags!)
qwertymnb
Level 4
Level 4
Posts: 236
Joined: Sun Jan 17, 2016 4:36 pm

Re: Running an application for csgo

Post by qwertymnb »

Hi, I opened a bugreport for this application here: https://www.winehq.org/pipermail/wine-b ... 14346.html

Came as far as getting the initial window up, then stopped; one has to register at esportal first it seems; maybe I`ll try testing further later.
Regards
Stark
Level 2
Level 2
Posts: 19
Joined: Fri May 03, 2019 12:24 pm

Re: Running an application for csgo

Post by Stark »

Thanks for testing it. If you can, let me know when you've got it working :)
Stark
Level 2
Level 2
Posts: 19
Joined: Fri May 03, 2019 12:24 pm

Re: Running an application for csgo

Post by Stark »

Okay, now the shutdown error doesnt show in wine 4.8, but rathers this:
https://imgur.com/a/BB9sUhM

Any solutions (again)?
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Running an application for csgo

Post by Bob Wya »

Stark wrote:Okay, now the shutdown error doesn't show in wine 4.8, but rather this:
https://imgur.com/a/BB9sUhM

Any solutions (again)?
Again, as jkfloris has already stated...

Posting screenshots, of error messages like this, is generally a completely useless, waste of time (it can be useful to "document" graphical corruption)...
Generally the only way to effectively troubleshoot Wine problems is with terminal logs.

See: WineHQ FAQ: 10.1.1 How can I get a debugging log (a.k.a. terminal output)?

Please use the forum Code tags, if you post any terminal commands / logs here:

Code: Select all

...
Bob
Stark
Level 2
Level 2
Posts: 19
Joined: Fri May 03, 2019 12:24 pm

Re: Running an application for csgo

Post by Stark »

Here is the code then:

Edit: Im using wine 4.8

Code: Select all

000b:fixme:winediag:start_process Wine Staging 4.8 is a testing version containing experimental patches.
000b:fixme:winediag:start_process Please mention your exact version when filing bug reports on winehq.org.
0027:fixme:heap:RtlSetHeapInformation (nil) 1 (nil) 0 stub
002a:fixme:advapi:RegisterEventSourceW ((null),L"Bonjour Service"): stub
002a:fixme:advapi:ReportEventA (0xcafe4242,0x0004,0x0000,0x00000064,(nil),0x0001,0x00000000,0x54f820,(nil)): stub
002a:fixme:advapi:ReportEventW (0xcafe4242,0x0004,0x0000,0x00000064,(nil),0x0001,0x00000000,0x15e20,(nil)): stub
002a:fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub
002a:fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub
002a:fixme:winsock:WS_setsockopt Unknown IPPROTO_IPV6 optname 0x00000013
002a:err:winsock:WSAIoctl -> SIO_ADDRESS_LIST_CHANGE request failed with status 0x2733
002a:fixme:advapi:ReportEventA (0xcafe4242,0x0004,0x0000,0x00000064,(nil),0x0001,0x00000000,0x54f820,(nil)): stub
002a:fixme:advapi:ReportEventW (0xcafe4242,0x0004,0x0000,0x00000064,(nil),0x0001,0x00000000,0x15e20,(nil)): stub
0016:fixme:service:svcctl_EnumServicesStatusW resume index not supported
0017:fixme:service:svcctl_EnumServicesStatusW resume index not supported
002a:fixme:advapi:ReportEventA (0xcafe4242,0x0004,0x0000,0x00000064,(nil),0x0001,0x00000000,0x54f820,(nil)): stub
002a:fixme:advapi:ReportEventW (0xcafe4242,0x0004,0x0000,0x00000064,(nil),0x0001,0x00000000,0x15e20,(nil)): stub
002a:fixme:netapi32:NetGetJoinInformation Semi-stub (null) 0x54f898 0x54f890
002a:fixme:winsock:WSAIoctl WS_SIO_UDP_CONNRESET stub
000d:err:menubuilder:init_xdg error looking up the desktop directory
002f:fixme:ntdll:NtQuerySystemInformation returning fake driver list
002f:fixme:heap:RtlSetHeapInformation 0x260000 0 0x24f420 4 stub
0030:fixme:kernelbase:AppPolicyGetThreadInitializationType 0xfffffffffffffffa, 0x57fdc0
002a:fixme:advapi:ReportEventA (0xcafe4242,0x0004,0x0000,0x00000064,(nil),0x0001,0x00000000,0x54f820,(nil)): stub
002a:fixme:advapi:ReportEventW (0xcafe4242,0x0004,0x0000,0x00000064,(nil),0x0001,0x00000000,0x16320,(nil)): stub
002a:fixme:advapi:DeregisterEventSource (0xcafe4242) stub
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Running an application for csgo

Post by Bob Wya »

Stark wrote:Here is the code then:

Edit: Im using wine 4.8
Well technically the screenshot does imply that your application is unable to load a dll.
So a Wine terminal log with:

Code: Select all

export WINEDEBUG=+loaddll,+module
wine ???.exe
wouild probably be more useful!

Thanks
Bob
Stark
Level 2
Level 2
Posts: 19
Joined: Fri May 03, 2019 12:24 pm

Re: Running an application for csgo

Post by Stark »

The characters are too many, so i'll paste it on this website: http://pasted.co/eb1abf1a
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Running an application for csgo

Post by Bob Wya »

Stark wrote:The characters are too many, so i'll paste it on this website: http://pasted.co/eb1abf1a
So this part of the Wine log:

Code: Select all

...
000d:trace:module:LdrGetDllHandle L"C:\\windows\\system32\\winebrowser.exe" -> (nil) (load path L"C:\\windows\\system32;C:\\windows\\system32;C:\\windows\\system;C:\\windows;.;C:\\windows\\system32;C:\\windows;C:\\windows\\system32\\wbem")
000d:trace:module:LdrGetDllHandle L"%1" -> (nil) (load path L"C:\\windows\\system32;C:\\windows\\system32;C:\\windows\\system;C:\\windows;.;C:\\windows\\system32;C:\\windows;C:\\windows\\system32\\wbem")
000d:trace:module:load_dll looking for L"%1" in L"C:\\windows\\system32;C:\\windows\\system32;C:\\windows\\system;C:\\windows;.;C:\\windows\\system32;C:\\windows;C:\\windows\\system32\\wbem"
000d:trace:module:get_load_order looking for L"C:\\windows\\system32\\%1.dll"
000d:trace:module:get_load_order got hardcoded default for L"%1.dll"
000d:trace:module:load_builtin_dll Trying built-in L"%1.dll"
000d:warn:module:find_builtin_dll cannot find builtin library for L"%1.dll"
000d:warn:module:load_dll Failed to load module L"%1"; status=c0000135
...
Indicates that your CS:GO, addon thingy, is trying to open a website.
Typically Wine bounces the URL over to your stock Linux web browser, unless you have an actual Windows web browser installed to your WINEPREFIX.
This might be the issue, causing the error pop-up...

In your case it's failing to find a native Linux web browser and crapping out.
You can easily test whether this support is working, with:

Code: Select all

wine winebrowser.exe "www.google.com"
Bob
Stark
Level 2
Level 2
Posts: 19
Joined: Fri May 03, 2019 12:24 pm

Re: Running an application for csgo

Post by Stark »

That's odd, im using google chrome, completely supported by google.
Here's the log when running

Code: Select all

wine winebroser.exe "www.google.com"

Code: Select all

002f:err:winebrowser:wmain Failed to parse URL
gio: file:///home/amin/www.google.com: Error when getting information for file “/home/amin/www.google.com”: No such file or directory
amin@Amin:~$ 002a:fixme:advapi:ReportEventA (0xcafe4242,0x0004,0x0000,0x00000064,(nil),0x0001,0x00000000,0x54f820,(nil)): stub
002a:fixme:advapi:ReportEventW (0xcafe4242,0x0004,0x0000,0x00000064,(nil),0x0001,0x00000000,0x163d0,(nil)): stub
002a:fixme:advapi:DeregisterEventSource (0xcafe4242) stub
Stark
Level 2
Level 2
Posts: 19
Joined: Fri May 03, 2019 12:24 pm

Re: Running an application for csgo

Post by Stark »

Anyone who can help? Still got this problem.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Running an application for csgo

Post by Bob Wya »

@Stark

winebrowser.exe doesn't support freedom hating web browsers... :wink:
Referring to:
programs/winebrowser/main.c:

Code: Select all

static int open_http_url( const WCHAR *url )
{
#ifdef __APPLE__
    static const WCHAR defaultbrowsers[] =
        { '/','u','s','r','/','b','i','n','/','o','p','e','n',0,0 };
#else
    static const WCHAR defaultbrowsers[] =
        {'x','d','g','-','o','p','e','n',0,
         'f','i','r','e','f','o','x',0,
         'k','o','n','q','u','e','r','o','r',0,
         'm','o','z','i','l','l','a',0,
         'n','e','t','s','c','a','p','e',0,
         'g','a','l','e','o','n',0,
         'o','p','e','r','a',0,
         'd','i','l','l','o',0,0};
#endif
    static const WCHAR browsersW[] =
        {'B','r','o','w','s','e','r','s',0};
So just try:

Code: Select all

wine reg add 'HKEY_CURRENT_USER\Software\Wine\WineBrowser' /v 'Browsers' /t REG_MULTI_SZ /d 'chrome' /f
or perhaps:

Code: Select all

wine reg add 'HKEY_CURRENT_USER\Software\Wine\WineBrowser' /v 'Browsers' /t REG_MULTI_SZ /d 'google-chrome' /f
See also: WineHQ Wiki: Useful Registry Keys.

Bob
Stark
Level 2
Level 2
Posts: 19
Joined: Fri May 03, 2019 12:24 pm

Re: Running an application for csgo

Post by Stark »

Hey again!

When i tried to do it again but like this "

Code: Select all

wine winebrowser.exe http://www.google.com
it worked.
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Running an application for csgo

Post by Bob Wya »

nice 8)
Stark
Level 2
Level 2
Posts: 19
Joined: Fri May 03, 2019 12:24 pm

Re: Running an application for csgo

Post by Stark »

But esportal client wont work still...
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Running an application for csgo

Post by Bob Wya »

Stark wrote:But esportal client wont work still...
Sure, I'm not surprised. This mechanism only calls out to a native Linux web browser.

I guess try installing the Windows version of IE8 or chromium, to the WINEPREFIX.

Bob
Stark
Level 2
Level 2
Posts: 19
Joined: Fri May 03, 2019 12:24 pm

Re: Running an application for csgo

Post by Stark »

Aint google CHROME native to linux or is it something im missing?
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Running an application for csgo

Post by Bob Wya »

Stark wrote:Aint google CHROME native to linux or is it something im missing?
What for the love of all things holy are you on about?
Yes, you seem to missing a lot... :roll:

Google Chrome is released cross platfrom. See: Chrome Release Channels.
Whether any of those builds run under Wine is another matter.
Chromium/Chrome usually has a few open Wine bugs... :cry:

Bob
Stark
Level 2
Level 2
Posts: 19
Joined: Fri May 03, 2019 12:24 pm

Re: Running an application for csgo

Post by Stark »

Bob Wya wrote:
Stark wrote:Aint google CHROME native to linux or is it something im missing?
What for the love of all things holy are you on about?
Yes, you seem to missing a lot... :roll:

Google Chrome is released cross platfrom. See: Chrome Release Channels.
Whether any of those builds run under Wine is another matter.
Chromium/Chrome usually has a few open Wine bugs... :cry:

Bob
I dont understand you, first you say it needs a linux native browser, chrome is one! Can you elaborate or not? "This mechanism only calls out to a native Linux web browser." Google chrome can run on linux without any extra additions, therefore it is native. What in the name of everything do you mean?
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Running an application for csgo

Post by Bob Wya »

Stark wrote:...
I dont understand you, first you say it needs a linux native browser, chrome is one! Can you elaborate or not? "This mechanism only calls out to a native Linux web browser." Google chrome can run on linux without any extra additions, therefore it is native. What in the name of everything do you mean?
Sure...
A clean WINEPREFIX only has a base implementation of IE (iexplore.exe) - to mimic the builtin IE that MS Windows ships with.
This is based of a modified version of Firefox - as in wine-gecko.

If you don't install a native Windows browser, on top of iexplore.exe, then Wine will default to opening .html URI's in an external Linux browser.
This is done via the winebrowser.exe wrapper.

All this stuff is handled using the standard Windows classes system.
You can look the current handler, in your wine registry.
E.g.: HKEY_CURRENT_USER\Software\Wine\FileOpenAssociations\.html

Bob
Stark
Level 2
Level 2
Posts: 19
Joined: Fri May 03, 2019 12:24 pm

Re: Running an application for csgo

Post by Stark »

Oh, so you mean to say i need a windows native for esportal client to work or?
User avatar
Bob Wya
Level 12
Level 12
Posts: 3068
Joined: Sat Oct 16, 2010 7:40 pm

Re: Running an application for csgo

Post by Bob Wya »

Stark wrote:Oh, so you mean to say i need a windows native for esportal client to work or?
I think:
I guess try installing the Windows version of IE8 or chromium, to the WINEPREFIX.
is pretty clear. But in a word, I don't know for certain.

I do know that running a native Linux web browser, to authentic a Windows CS:GO client, is very unlikely to work...
Presuming you are effectively trying to do something like this...

Bob
Locked