Introduction
WARNING: for Linux users only. Do not, I repeat DO NOT attempt this on a Windows machine, or you will regret it so badly you will commit suicide afterwards.
Maybe you've experienced what I've experienced: You absolutely despise Windows and want to switch to the faster, more secure, more productive, more powerful, more versatile *insert various attributes here* Linux operating system.
So you've downloaded the distro that suits you best, gotten some l33t software, and now... you realize that... OMFG!! SCAR DOESN'T WORK!!!
Alright... relax. There's no need to get a heart attack. Botmaster saves the day with his arrogant style and uber-hax0r skillz.
Some stuff you'll need...
First things first. You need WINE and all optional WINE components to successfully run SCAR on your machine. Notice that the install may differ depending on your machine, distribution/package manager. This means I won't go into detail. If you're l337 enough to own a Linux/GNU powered machine, you're l337 enough to install a program on it.
Bah... enough of that. Of course, you'll also need the SCAR install executable from freddy1990's site.
Just for clarification: WINE is NOT an emulator. It just provides the libraries and the API required by the SCAR executable. In essence, it is a runtime environment for windows applications. However, it can function as a quasi-emulator. Which is exactly what we want
Configuring WINE
So Wine is up and runnning? Run wine-config, or the command winecfg. Tweak the settings until you get what you want depending on your preferences.
However, in the graphics tab, make SURE all boxes are unticked except for the one emulating a virtual desktop. Also, change the desktop size to be 1024*700px.
Installing Firefox and SCAR in WINE
The first thing you want to do now that you've successfully built your emulation environment is to install SCAR, right? Oh goodiee... Just run the windows executable you've downloaded, and WINE should automatically install it like it would on window$.
Once done... Download Firefox from mozilla.org, except: DOWNLOAD THE WINDOW$ version, NOT the linux one. You probably already have that one. So don't make a stupid mistake and simply click download just like that. No, you have to search for the windows version.
Also install it the way you would with normal windows applications. Now you already have two apps... Only a few more things left to auto like crazy on RS in Linux...
Shell scripts for easy access to our WINE emulated executables (optional)
Now make a shell script containing the following code:
Save it as firefox_emulated.sh. You're not done yet... one more shell script:Code:wine "/home/[your username]/.wine/drive_c/Program Files/Mozilla Firefox/firefox.exe"
Save this as SCAR_emulated.sh, and chmod both of the scripts to be executable for your usergroup.Code:wine "/home/[your username]/.wine/drive_c/Program Files/[SCAR version]/scar.exe"
Getting JAVA working inside WINE
Run firefox_emulated.sh, or simply directly run the executable from a terminal. In the emulated browser that pops up, go to www.java.com. There, download the JRE for windows. No searching needed no more... Java's website detects you as WindowZ user now, so you can be sure the first download they offer is the right one. Remember: GET THE JRE, NOT, I REPEAT NOT the JDK bundle. The JDK will crash WINE and is almost impossible to remove from the virtualization/emulation environment.
Install the downloaded java using WINE.
Running SCAR, RS simultanously...
... will result in you being able to drag the crosshair now. Of course, that's only if you configured it right.
SCAR doesn't run perfect in WINE. Some functions are disabled, such as viewing certain menus (will cause a memory fault), and window finding functions working with HWND or window titles will not work. Neither will ActivateClient.
However, text and mouse functions work flawlessly.
At any rate... Have fun autoing. I'm still dormant on the forums, so don't expect many edits. This is my second post in 6 months. But... I still appreciate any comments, however nice or evil![]()



.
Reply With Quote























