FAQ Search
Memberlist Usergroups
Profile
  Forum Statistics Register
 Log in to check your private messages
Log in to check your private messages
Moonpod Homepage Starscape Information Mr. Robot Information Free Game Downloads Starscape Highscore Table
Mr. Robot in Linux
Goto page 1, 2  Next
Post new topic   Reply to topic    Discussion Pod Forum Index -> Mr. Robot Support View previous topic :: View next topic  
 Author
Message
rincebrain



Joined: 17 May 2007
Posts: 12



PostPosted: Sat Jan 10, 2009 2:26 am    Post subject: Mr. Robot in Linux Reply with quote

Hey world,
I remember the popular thread over in the Starscape forums about this for that game, so I thought I'd pre-emptively answer the question here. [I'm the app maintainer for Mr. Robot over on the Wine AppDB.]

As of Wine 1.1.12, Mr Robot won't even start up in Wine, much less run. I hesitate to say that it's because of copy protection or anything else in particular, as it doesn't even get so far as drawing a window or anything else before dying.

Sad

Edit: If anyone over here is interested in helping Wine get this working, it looks like the problem is that the program [not the installer, that works fine] catches an exception very early on in running, and then falls over and closes without ever putting out an error.
Back to top
View user's profile
Poo Bear
Pod Team
Pod Team


Joined: 14 Oct 2002
Posts: 4121
Location: Sheffield, UK



PostPosted: Mon Jan 12, 2009 6:58 pm    Post subject: Reply with quote

I don't use Linux I'm afraid so I can't help without knowing where it's stopping.
Back to top
View user's profile Visit poster's website
Slyh



Joined: 25 Nov 2004
Posts: 480
Location: Karlsruhe, Germany



PostPosted: Mon Jan 12, 2009 9:16 pm    Post subject: Reply with quote

Have you tried to use some Linux distribution that can be run directly from DVD and does not have to be installed, for example Knoppix? If you wanted to find the cause you could use this without much of a hassle, I guess.
Back to top
View user's profile
rincebrain



Joined: 17 May 2007
Posts: 12



PostPosted: Fri Jan 23, 2009 11:57 am    Post subject: Reply with quote

I'd love to help you, but it looks like it's stopping in the copy protection code.

Understandably, since the people developing Wine don't have your source tree, we can't easily point to where it's stopping.

What could I provide you with? I can't give you line numbers, since I lack the appropriate debug symbols.


[The following is me reading through an instance of Wine running Mr. Robot with all the verbosity it can do. It's...long.]

It's after the EXE pulls in all of the DLLs it wants.

Loads up the fonts we want...

Load Wine's graphical support, since this is a GUI app...

Run first actual bit of code from Mr. Robot...

...and immediately lots of SEH are dumped all over the screen. (System exception

Code:
002f:Starting process L"C:\\Program Files\\MrRobot\\MrRobot.exe" (entryproc=0xaf910d)
002f:Call KERNEL32.VirtualAlloc(00000000,00004b71,00001000,00000004) ret=00af907b
002f:trace:virtual:NtAllocateVirtualMemory 0xffffffff (nil) 00004b71 1000 00000004
002f:trace:virtual:map_view got mem in reserved area 0x330000-0x335000
002f:trace:heap:RtlAllocateHeap (0xffbf0000,00000001,00000020): returning 0xffbf1788
002f:trace:virtual:VIRTUAL_DumpView View: 0x330000 - 0x334fff (valloc)
002f:trace:virtual:VIRTUAL_DumpView       0x330000 - 0x334fff c-rw-
002f:trace:virtual:create_view forcing exec permission on 0x330000-0x334fff
002f:Ret  KERNEL32.VirtualAlloc() retval=00330000 ret=00af907b
002f:Call KERNEL32.VirtualFree(00330000,00000000,00008000) ret=00af90ac
002f:trace:virtual:NtFreeVirtualMemory 0xffffffff 0x330000 00000000 8000
002f:trace:virtual:NtFreeVirtualMemory 0xffffffff 0xffc10000 003e0000 4000
002f:warn:heap:HEAP_Decommit Could not decommit 003e0000 bytes at 0xffc10000 for heap 0xffbf0000
002f:trace:heap:RtlFreeHeap (0xffbf0000,00000001,0xffbf1788): returning TRUE
002f:Ret  KERNEL32.VirtualFree() retval=00000001 ret=00af90ac
002f:trace:seh:raise_exception code=80000004 flags=0 addr=0xaf472e ip=0xaf472e tid=002f
002f:trace:seh:raise_exception  eax=00af8da5 ebx=7b8b7ff4 ecx=00000000 edx=00000000 esi=00af910d edi=7ffdf000
002f:trace:seh:raise_exception  ebp=0032ffe8 esp=0032ff04 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00000216
002f:trace:seh:call_stack_handlers calling handler at 0xaf827f code=80000004 flags=0   
002f:trace:seh:raise_exception code=80000004 flags=0 addr=0xaf3a27 ip=0xaf3a27 tid=002f
002f:trace:seh:raise_exception  eax=0032fbe0 ebx=7bc91ff4 ecx=0032fa50 edx=7bc3be50 esi=0032ff04 edi=0032feac
002f:trace:seh:raise_exception  ebp=0032fa80 esp=0032fa48 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00000216
002f:trace:seh:call_stack_handlers calling handler at 0xaf729f code=80000004 flags=0
002f:trace:seh:call_stack_handlers handler at 0xaf729f returned 0 
002f:trace:seh:call_stack_handlers handler at 0xaf827f returned 0


[Repeat for many pages]

Then we call ExitProcess, because apparently the process decided it was done with raising exceptions.
Code:
002f:trace:seh:raise_exception  ebp=0032fa6c esp=0032fa34 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00000206
002f:trace:seh:call_stack_handlers calling handler at 0xaf6aa4 code=80000003 flags=0
002f:trace:seh:call_stack_handlers handler at 0xaf6aa4 returned 0
002f:trace:seh:call_stack_handlers handler at 0xaf6a9e returned 0
002f:trace:seh:raise_exception code=80000004 flags=0 addr=0xaf891d ip=0xaf891d tid=002f
002f:trace:seh:raise_exception  eax=00000000 ebx=7b8b7ff4 ecx=00000000 edx=00114ed0 esi=00af910d edi=7ffdf000
002f:trace:seh:raise_exception  ebp=0032ffe8 esp=0032fef0 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00000203
002f:trace:seh:call_stack_handlers calling handler at 0xaf3e42 code=80000004 flags=0
002f:trace:seh:call_stack_handlers handler at 0xaf3e42 returned 0
002f:trace:seh:raise_exception code=80000003 flags=0 addr=0xaf6a95 ip=0xaf6a96 tid=002f
002f:trace:seh:raise_exception  eax=00000000 ebx=7b8b7ff4 ecx=00000000 edx=00114ed0 esi=00af910d edi=7ffdf000
002f:trace:seh:raise_exception  ebp=0032ffe8 esp=0032fef0 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00000246
002f:trace:seh:call_stack_handlers calling handler at 0xaf3afb code=80000003 flags=0
002f:trace:seh:call_stack_handlers handler at 0xaf3afb returned 0   
002f:Call KERNEL32.ExitProcess(00000130) ret=00af6114


This is mostly unintelligible to me, since I don't know how whatever protection you've got on Mr. Robot works. It's been suggested to me that you use Execrypter, which apparently gets along with Wine like a house on fire.
Back to top
View user's profile
rincebrain



Joined: 17 May 2007
Posts: 12



PostPosted: Fri Jan 23, 2009 12:42 pm    Post subject: Reply with quote

I'm terribly sorry to report this.

I asked a friend of mine who is also a huge fan of Moonpod games about this, and he said that the game runs fine in Wine using a cracked copy.

=/

Seems to sorely point toward the copy protection.
Back to top
View user's profile
Poo Bear
Pod Team
Pod Team


Joined: 14 Oct 2002
Posts: 4121
Location: Sheffield, UK



PostPosted: Fri Jan 23, 2009 12:57 pm    Post subject: Reply with quote

Ah, right. I'll look into the copy protection, but it may well be a fundamental issue. Sorry, I should have realised earlier.
Back to top
View user's profile Visit poster's website
Fost
Pod Team
Pod Team


Joined: 14 Oct 2002
Posts: 3734



PostPosted: Fri Jan 23, 2009 12:59 pm    Post subject: Reply with quote

rincebrain wrote:
Seems to sorely point toward the copy protection.


Sounds likely as our version uses execryptor and vendor versions (that got cracked) use their own (non working - ho ho) solutions.

Think there may be a Wine compatibility option for Execryptor though.???
Back to top
View user's profile Visit poster's website
rincebrain



Joined: 17 May 2007
Posts: 12



PostPosted: Fri Jan 23, 2009 1:02 pm    Post subject: Reply with quote

Fost wrote:
rincebrain wrote:
Seems to sorely point toward the copy protection.


Sounds likely as our version uses execryptor and vendor versions (that got cracked) use their own (non working - ho ho) solutions.

Think there may be a Wine compatibility option for Execryptor though.???


The reason I suspected it being Execryptor was someone on the Wine bug suggested it, and said that getting Wine to work with it was rather difficult, to put it mildly.

As far as I can see, Execrypter doesn't work with Wine, for now.
Back to top
View user's profile
Fost
Pod Team
Pod Team


Joined: 14 Oct 2002
Posts: 3734



PostPosted: Fri Jan 23, 2009 1:07 pm    Post subject: Reply with quote

rincebrain wrote:
As far as I can see, Execrypter doesn't work with Wine, for now.

That's a shame. Don't think we have checked their private forum for a new version for a bit. we could also post a question there and see what happens. there's many option in execryptor and I noted that a recent version apparently did 'some work to improve wmvare/virtualpc/wine compatible mode'. So we could have a look into that.


Would not hold out much hope though.
Back to top
View user's profile Visit poster's website
rincebrain



Joined: 17 May 2007
Posts: 12



PostPosted: Fri Jan 23, 2009 1:18 pm    Post subject: Reply with quote

Fost wrote:
rincebrain wrote:
As far as I can see, Execrypter doesn't work with Wine, for now.

That's a shame. Don't think we have checked their private forum for a new version for a bit. we could also post a question there and see what happens. there's many option in execryptor and I noted that a recent version apparently did 'some work to improve wmvare/virtualpc/wine compatible mode'. So we could have a look into that.


Would not hold out much hope though.


Just knowing that you guys are putting any effort at all into this puts you miles ahead of most companies, in my books. Cool

[Now, of course, another option would be to recompile it with Winelib to make a native Linux binary out of it, but could involve a lot more effort on your part, depending on how your build system works. People would come from miles around to stare and compliment you for it, though.]
Back to top
View user's profile
Fost
Pod Team
Pod Team


Joined: 14 Oct 2002
Posts: 3734



PostPosted: Fri Jan 23, 2009 1:56 pm    Post subject: Reply with quote

Hadn't heard of winelib. How long has it been going?
Has any actual reasonable app used it?

This doesn't bode too well for it, has to be said.
Back to top
View user's profile Visit poster's website
rincebrain



Joined: 17 May 2007
Posts: 12



PostPosted: Fri Jan 23, 2009 8:57 pm    Post subject: Reply with quote

Fost wrote:
Hadn't heard of winelib. How long has it been going?
Has any actual reasonable app used it?

This doesn't bode too well for it, has to be said.


Winelib's been around almost since the start of Wine, IIRC.

A number of things have used it - as I recall, Google used it to port one of their two recent Linux-released apps (Earth or Picasa, I forget which) - whichever the other one was, they just shipped it with a packaged copy of wine and some nice wrappers and settings so that nobody had to care ever.

Apologies about the winelib-guide page being a 404 - the web site layout got updated a little over a month ago, and it looks like a few pages are still being repointed.

http://www.winehq.org/docs/winelib-guide/index looks like the correct link, and I'll get it fixed wherever the other one is.
Back to top
View user's profile
Fost
Pod Team
Pod Team


Joined: 14 Oct 2002
Posts: 3734



PostPosted: Fri Jan 23, 2009 9:50 pm    Post subject: Reply with quote

rincebrain wrote:
A number of things have used it - as I recall, Google used it to port one of their two recent Linux-released apps (Earth or Picasa, I forget which)


Hmm. What I usually look for is someone else who's used a lib to do something similar though - usually means there's at least a chance it will work / not be an immense ball ache. Basically, if Poo Bear touches this, is he going to waste a month and get nowhere? Judgement call of anyone with a business mind would be - yeah, that's not gonna work. Unless they see something similar that has used it before.

Interesting though - Thanks for the link. Will read up a bit.
Back to top
View user's profile Visit poster's website
keturn



Joined: 27 Dec 2006
Posts: 4



PostPosted: Thu Dec 31, 2009 9:02 am    Post subject: Steam version works in Wine! Reply with quote

I think it was Christmas eve three years ago when I first played the Mr. Robot demo. I was disappointed that I couldn't get it to run under Linux. This week I was pleased to see Mr. Robot on special sale on Steam, and figured it was well worth a couple bucks to try again. I'm very pleased to report that it's running great!

I have here Ubuntu 9.10 (x86_64), Wine 1.1.35, and Mr. Robot version 1.26ST. Everything works great, except there are some stupid robots who won't stand still long enough for me to jump on their stupid heads and shove soldering irons through their stupid capacitors. But I don't think that's Linux's fault.
Back to top
View user's profile Visit poster's website
Poo Bear
Pod Team
Pod Team


Joined: 14 Oct 2002
Posts: 4121
Location: Sheffield, UK



PostPosted: Mon Jan 04, 2010 9:42 am    Post subject: Reply with quote

Hey, that's great news. Smile
Back to top
View user's profile Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Discussion Pod Forum Index -> Mr. Robot Support All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group