PDA

View Full Version : Setting up a VM to run simba



grats
07-21-2012, 10:36 AM
This tut should work with any distro, with minor changes
**new** here (http://villavu.com/forum/showthread.php?t=97524)is a premade VM if you are confused or don't want to go through this tut

This tutorial will go over:
Setting up a VM using Virtualbox (https://www.virtualbox.org)
Basic Setup of Virtualbox, changing some options etc.
Basic optimization for Lubuntu (https://wiki.ubuntu.com/Lubuntu)
installing wine and simba on Lubuntu inside your virtual machine

Note: this tutorial is for people who don't care much for reading a bunch of stuff, so it has lots of pics.. also it will not go into detail about spamming next to install stuff, because you shouldn't be doing this if you can't handle clicking next without a tutorial.
Also keep in mind, this tutorial doesn't magically make you able to run more simbas, it is just the best way to run simbas in a VM!! Don't do this if you have worse than a dual core processor.
A VM should use half or more of your overall hardware in order to run Simbas, I do recommend putting Linux on older computers, as you will get more performance out of it.. (skip the VM part)

If you wish to use skip the VM section, and use the Linux as the main operating system on an older computer:
1. you will need to load the Lubuntu image onto a USB or a CD/DVD
Decent guide for USB setup (switch Ubuntu with Lubuntu if you want to be lighter weight): http://www.howtogeek.com/howto/linux/create-a-bootable-ubuntu-usb-flash-drive-the-easy-way/
To make a bootable CD/DVD just burn the image to a disk with http://imgburn.com/ it should be really easy to figure out, if you need help message me.
2. Doing this instead of running windows will give you a great deal extra memory and a little bit more CPU power.
3. Remember to follow the guide after you get Lubuntu installed, it will be the same process to get wine all setup for running simba.

Getting the correct Lubuntu:
https://help.ubuntu.com/community/Lubuntu/GetLubuntu
You would normally want to start this download and then start on setting virtualbox up, while it downloads.
A few things you need to know when picking out a operating system for Virtual use:
Can your CPU support 64bit virtualization?
Can your CPU handle running heavy programs, virtualized?

Lets say you have a intel pentium T4200 processor, this is an older processor.. How do we know what it can do? :google:
Normally your first link would be a page like this:
http://ark.intel.com/products/37251/Intel-Pentium-Processor-T4200-%281M-Cache-2_00-GHz-800-MHz-FSB%29
Oh look it's 64bit, this means you can use a 64bit virtual machine... wrong!
In newer CPU's there will not be this problem, however in older.. you will run into it sometimes, this means you can only use a 32bit VM:
http://i.imgur.com/soxQq.jpg
This isn't bad news, there in most cases will be no problems.
Just make sure to get the 32Bit version of whatever Linux you are getting (in this case we use Lubuntu because it is light weight, and runs mass simba/smarts better than other Linux's I have tested.
You have an i5 2500k? Anything made after? You're good to go for 64bit.
http://ark.intel.com/search/advanced?VTX=true
here is a list of others.

Getting and setting up virtualbox:

Go to the virtualbox website and install virtualbox on whatever operating system you are on.
https://www.virtualbox.org/wiki/Downloads

Now assuming you installed it, it will look something like this (minus my existing virtual machines)
http://i.imgur.com/YgW8B.jpg

You now Want to click "New in the top left:
http://i.imgur.com/vb5a9.jpg

Typing in a familar linux name will make virtualbox switch its default settings for the OS:
http://i.imgur.com/T34CG.jpg

For simba & smart the minimum I would go is 1GB of memory (1024MB):
http://i.imgur.com/YMj0B.jpg

You want to create a new disk in almost all cases:
http://i.imgur.com/ETXqY.jpg

The disk file type is fine with VDI, unless you want to switch your created virtual machine to a different VM program, that I will not cover here.. but any of VDI, VMDK, VHD are fine to use.

Using a dynamically allocated disk is good for lots of reasons, the main reason is it will only use up the minimum needed space, so if you can go up to 100GB the file will only be using lets say.. 1.5GB until you cram more crap on your virtual machine.
The only bad part about using dynamically allocated is the system has to expand it as you are putting files on it, which in reality has no noticeable side effects.. however some people cry about it.
http://i.imgur.com/JlE2X.jpg

here you pick the size:
http://i.imgur.com/gAjMH.jpg
Default is usually fine, however if you want to add more stuff you maybe want to go higher.. again going higher will not use more space unless you do put files into the VM (assuming you used dynamically allocated drive size)

Now you should have a new VM on the left panel of Virtualbox, click "settings"

http://i.imgur.com/7nXCN.jpg

You can go around the settings and find new stuff, some quick stuff I do would be: adding more cpu cores, changing the amount of memory, adding the install ISO.

First lets go to your system tab, here you will see a few different options, your base memory, and other things.
http://i.imgur.com/gmgbA.jpg
This is where we want to start changing settings, I am OCD about it so I always disable floppy and move it down.
Also if you wish to use multiple cores (you're not getting anywhere botting without doing so) you need to enable IO APIC
http://i.imgur.com/h5e6K.jpg
If you are on a dual core, you don't want to give it more cores in most cases... most of the time a VM should use no more than half of your resources, however if you are on a machine with 8+ threads, getting to 75% resources is usually fine.
Lets click the processor tab under system.
http://i.imgur.com/0lgow.jpg
As you see I have allowed 6 cores and the VM is allowed to eat up 100% of the cores power.

Now lets go to the storage on the left side panel:
http://i.imgur.com/1jLqx.jpg
We want to click the "empty" under the IDE controller, and then click the disk symbol:
http://i.imgur.com/R8DOx.jpg

Navigate to where you downloaded the lubuntu ISO, make sure it is downloaded already!!! if not, go up to the top and start the download, or wait for it to finish up if it is still going.

http://i.imgur.com/4n5ys.jpg
It should look something like that when you are done.

Now click OK with your settings (note, if you want to run multiple simbas and smarts, you damn well better have given it more memory!)

double click the Lubuntu VM.
You should open up and select your language...
you then should see something like this:
http://i.imgur.com/jxTxU.jpg
Make sure to select the "install Lubuntu"

Note: in the bottom right of the VM, "Right ctrl" this allows you to take your mouse out of the VM, otherwise it is stuck in there.

At this point it will be mostly clicking continue, put all the settings, the account info etc you want.. I usually check the "download updates while installing"
At the end of the install, it might freeze with the "shutdown" on the screen, this happens I assume because the VM ejects the ISO and waits till it is ejected to shutdown.. but that doesn't happen or something, anyway just click the X and press "power off the machine" and "ok"

Now you have Lubuntu installed, you're on the desktop.. you are ready to get wine, java and simba installed (inside of wine)
Note: this part will change when simba runs better/good enough on Linux platforms without wine

Lubuntu has some fancy software center thing that we will use:
http://i.imgur.com/o293b.jpg
Type wine in the search under the "get software" tab
Double click this wine:
http://i.imgur.com/LHWKK.jpg
click the "add to apps basket"

Now click your apps basket and click "install packages"
http://i.imgur.com/Voo2E.jpg


Now you have wine installed, and all required packages..

Go to java.com using the chrome browser at the bottom left, you want to get the windows offline version of java:
http://i.imgur.com/4AUrP.jpg
after it downloads, click the "show in folder:
http://i.imgur.com/qIk2B.jpg

Now right click and go to properties:
http://i.imgur.com/yYh0P.jpg
Now make the .exe's open with wine:
http://i.imgur.com/BnWYj.jpg

This will also work for simba.

Double click the downloaded java, it should open up a regular java install:
http://i.imgur.com/SkY5J.jpg

Now get simba:
http://wizzup.org/simba/#download
The windows installer.

Same deal, show the folder.. and double click it.. this will be a regular windows type install now. (don't change directory there is no reason)

Follow this tutorial if you need help... setup will be the same:
http://villavu.com/forum/showthread.php?t=47714
There should be a link on your desktop that starts up simba
Get them extensions up and going!

Use this to test out your smart and simba:
program new;
{$DEFINE SMART}
{$I SRL/SRL.simba}


begin
Smart_Server := 10;
setupsrl;

end.
http://paste.villavu.com/show/3104/

It will take a little bit to startup the SMART but it should look like normal windows running simba/smart, it will load for a while since this is the first startup.



Now one of the biggest tricks to get more performance:
Right click one of the small squares on the bottom, these each are desktops..
http://i.imgur.com/d0Ktf.jpg
adding more desktops , I usually do 1 desktop per simba/smart.. here I will do 8
http://i.imgur.com/WwcqT.jpg
http://i.imgur.com/n1tr1.jpg

Notice here I am on the last desktop:
http://i.imgur.com/kAKBA.jpg

And I will migrate over to the first one, and it will look like an empty desktop:

http://i.imgur.com/Dnbn0.jpg

What this does is, it makes your GPU and CPU not have to do anything as far as "rendering" and sending graphics information to the screen, this takes quite a big load off of your CPU while in a VM, which in return makes you able to run more smart/simbas

You can also just pile simba/ smarts on one screen and then sit at the other to reduce hardware usage, but the multiple desktops on Lubuntu's light weight GUI don't require anything extra as far as I can tell (went up to 100 or so)







Let me know if something wasn't clear or if I should add something, I put this tutorial together pretty fast

Flight
07-21-2012, 12:25 PM
Someone give this man a medal; this is a very well-written guide, very detailed & organized, step-by-step. Wonderful job indeed!

Joe
07-21-2012, 01:00 PM
Wow.... I'm getting this right now. Thanks so much!
EDIT: You should add which Ubuntu to get- torrent or standard image disc.

~Joe

Grihmm
07-21-2012, 02:08 PM
Torrent would probably be faster. I have a question about how many cores to assign. I have a 900 @ 2.2 ghz processor. It only has one core. So is it possible/advised to assign it more than one core when I set up the virtual machine? I'm not very good with hardware. :/

Edit: Also, how exactly does this increase the amount of Simba/SMART's you can use at a time? I mean, if your computer can only run 2 SMART's at a time how can it run more in a virtual computer? Doesn't the virtual computer use the same resources as running Simba normally?

TehNeonFishy
07-21-2012, 03:11 PM
Love the guide, I'll try it out when I actually manage to stabilize my internet connection.

Andres
07-21-2012, 03:27 PM
Oh wow! I did not expect such an impressive guide just to answer my question ;). This is really great, and I hope that a lot of people put it to good use.

Excellent work.

grats
07-21-2012, 08:43 PM
Torrent would probably be faster. I have a question about how many cores to assign. I have a 900 @ 2.2 ghz processor. It only has one core. So is it possible/advised to assign it more than one core when I set up the virtual machine? I'm not very good with hardware. :/

Edit: Also, how exactly does this increase the amount of Simba/SMART's you can use at a time? I mean, if your computer can only run 2 SMART's at a time how can it run more in a virtual computer? Doesn't the virtual computer use the same resources as running Simba normally?
I wouldn't virtualize with that processor at all, even dual cores I normally wouldn't virtualize with them. -- That is the type of computer I would completely reformat to just run the OS as its main OS instead. But to answer your question: no you cannot add more cores, it is just however many your actual computer has.

It doesn't increase the amount you can run, it just increases the amount you can run in a VM

some people need to use a VM for various reasons
skipping the whole vbox setup and putting Lubuntu (or any other light linux for that matter) on a crappy old computer will improve performance a good bit vs having windows on it.


Wow.... I'm getting this right now. Thanks so much!
EDIT: You should add which Ubuntu to get- torrent or standard image disc.

~Joe

They're both the same in the end.. a regular persons internet will probably cap either way, however torrent will almost always guarantee an internet speed cap because you're downloading from as many sources as you can at once.





added more text on the top of the post. for information etc

Footy
07-22-2012, 02:34 PM
Holy crap, how many cores do you have??? I thought I had a boss comp. with 2, :P Anyways, nice guide, rep+

Grihmm
07-22-2012, 09:58 PM
Thanks for the reply grats.

grats
07-23-2012, 02:53 AM
Holy crap, how many cores do you have??? I thought I had a boss comp. with 2, :P Anyways, nice guide, rep+

12 threads 6 cores on that computer. No reason to run a VM on your machine, however I changed a bit in the guide to help if a person were to just put the linux as their main OS on a computer (which would run a little better than windows) but at 2 cores you might not see much of a difference, vs a 4 core where you might get an extra simba or two running

Joe
07-23-2012, 01:20 PM
My bandwidth would rep- you right now, but your guide was so good that your just asking for rep... 688mb? lololol *save file*

Wizzup?
07-24-2012, 08:43 AM
You should probably mention Xvnc in there at some point as well. That way you wouldn't even need SMART / can do it on any other game.

eska
07-24-2012, 10:35 AM
You should probably mention Xvnc in there at some point as well. That way you wouldn't even need SMART / can do it on any other game.

Well virtualbox lack GPU supports so it wouldn't work for any other game.

For example, virtualbox can't run Diablo 3 proprely, if you get lucky enough to make it start.

Had to switch to Vmware to make it run on my pc. Running 15 virtual machines right now with diablo 3 + simba on each one. Works like a charms.

Cpu load around 50-60%.:norris:

grats
07-26-2012, 02:04 PM
Yea, virtualbox is faster for everything except it gets shit on with GPU performance... of which it has pretty much none

you can use VMwares free virtual machine running program, and just make the VM's with virtualbox, correct? (I know you can do the latter) but I forgot which part of Vmware was the free part.. I believe it's only the software to run the vm's


You should probably mention Xvnc in there at some point as well. That way you wouldn't even need SMART / can do it on any other game.

and even if I wanted to mention it, I have very small experience with Xvnc, I've messed with it maybe like an hour total.. almost every linux system I run is only text lol



/edit

been a long time! I know have good experience with vnc's and setting them up, if html5 somehow breaks our ability to bot and use our mouse on the same desktop I'll redo the tutorial with superior setup skillz

neeger
12-03-2012, 03:30 AM
Why the font looks funny? How to fix it? http://i.imgur.com/kAKBA.jpg

grats
12-03-2012, 03:59 AM
That's just how it looks in wine :P don't worry about it

Mr[S]
12-03-2012, 08:37 AM
Bookmarked!

lastprojectrs
01-14-2013, 05:10 AM
wat do we select in this part?

http://puu.sh/1NwnU

swagyolo
02-13-2013, 11:27 AM
it just doesnt work simba + .jar files on VM, i tried to select the client through simba but it just doesnt works,the color cant select/fit with the client i am downloaded from the private server i am playing,what am i doing wrong :'(

Bel002
02-17-2013, 11:16 PM
ty for that. I just got a really big problem in Lubuntu - my mouse get's crazy everytime I want to do anything.. it run like crazy through the whole desktop, dissapearing, etc, etc.. anyone got any idea how to repair it?

Sjoe
02-17-2013, 11:39 PM
it just doesnt work simba + .jar files on VM, i tried to select the client through simba but it just doesnt works,the color cant select/fit with the client i am downloaded from the private server i am playing,what am i doing wrong :'(

I heard downloading the latest wine version works, on the official site. Wine 1.7 or smthing

grats
02-17-2013, 11:47 PM
it just doesnt work simba + .jar files on VM, i tried to select the client through simba but it just doesnt works,the color cant select/fit with the client i am downloaded from the private server i am playing,what am i doing wrong :'(

In order to select stuff, it has to be inside of wine, you need to install firefox windows version inside of wine, and then you can select the browser

http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/19.0b6/win32/en-US/

something like that, the 20M version is the stand alone install, it should install fine inside of wine, thus allowing you to select stuff within it (be aware you have to get the java plugin to be inside of firefox too)

ty for that. I just got a really big problem in Lubuntu - my mouse get's crazy everytime I want to do anything.. it run like crazy through the whole desktop, dissapearing, etc, etc.. anyone got any idea how to repair it?

try machine -> disable / enable the mouse integration, see if that changes anything for you (use ctrl to get out of the box)



I heard downloading the latest wine version works, on the official site. Wine 1.7 or smthing

maybe this too, I have no idea, it's possible the new version of wine allows you to select stuff outside of wine, that would be nice

Sjoe
02-17-2013, 11:51 PM
maybe this too, I have no idea, it's possible the new version of wine allows you to select stuff outside of wine, that would be nice

Swagyolo editted his original post, but he said the colors were discolored a bit.
And NKN said the latest wine version fixes this issue.

wasn't meant bout grabbing the browser :p

grats
02-17-2013, 11:54 PM
Swagyolo editted his original post, but he said the colors were discolored a bit.
And NKN said the latest wine version fixes this issue.

wasn't meant bout grabbing the browser :p

oh his post made no sense to me :P sounded like he just couldn't select stuff (had some others PM me about that)

Sjoe
02-17-2013, 11:59 PM
oh his post made no sense to me :P sounded like he just couldn't select stuff (had some others PM me about that)

Yeah you're right, I'm the one who didn't understand his post ! lol

Bel002
02-18-2013, 01:00 PM
after 2 hours of searching, trying, etc. I didn't open .jar file.. so I made a VM with Win XP.. took me few minutes to run simba and RS window.. :D anyways tyvm :)

Djent
02-18-2013, 08:19 PM
Very well written guide, hope to try it soon.

juunhoad
02-26-2013, 03:15 PM
I can't find the wine you have when I type in wine. How so?

juunhoad
02-26-2013, 07:35 PM
jezus christ it took me so long to figure out how to install google chrome and java on lubuntu and now I get the grey screen everytime runescape loads..

I can't use smart, because I want to bot on the old servers.

h4x_
02-26-2013, 07:40 PM
this helped alot, thanks dude

juunhoad
02-26-2013, 10:42 PM
I have a question.
Right now I have windows xp home edition on the VM. When I try to run a script for 07scape it doesn't seem to click. But when I run the same script on my normal system it works.

How can I make it click? Is there some kind of option for this?
Hope I will get a reply, been trying for hours now..

Bad Processor
02-28-2013, 06:47 PM
I have the same problem. It might be a problem with the Virtualbox extensions.

Caper
03-01-2013, 08:46 AM
I run through the java installer, everything seems to go on, but then I get a message saying I have not yet installed java when I try to open runescape.

grats
03-01-2013, 09:55 PM
I have the same problem. It might be a problem with the Virtualbox extensions.

Yea I'm working on a pre-installed / setup VM compressing right now, got 3GB file down to 550MB so far, taking 20GB of RAM to compress.. hopefully it stays under a gig when complete

dropbox the best option for large files, anyone know?

Bad Processor
03-01-2013, 11:06 PM
Yea I'm working on a pre-installed / setup VM compressing right now, got 3GB file down to 550MB so far, taking 20GB of RAM to compress.. hopefully it stays under a gig when complete

dropbox the best option for large files, anyone know?

I'd probably say mega.co.nz, I heard it's quite fast.

kozak94
04-12-2016, 09:35 AM
Hello. I realize that the last time someone posted about this was 3 years ago. Over the last two days, I have been trying to implement Wine in Lubuntu and cannot seem to properly install it. Never doing full install. I am using LUBUNTU OS on a vps 15.04 and 17.2 Wine is very unstable. Has anyone else experience this problem?

Lemon star
04-16-2016, 04:57 PM
Hello. I realize that the last time someone posted about this was 3 years ago. Over the last two days, I have been trying to implement Wine in Lubuntu and cannot seem to properly install it. Never doing full install. I am using LUBUNTU OS on a vps 15.04 and 17.2 Wine is very unstable. Has anyone else experience this problem?

Nope im using windows vps though. I would recommend that you would start a new thread about this though as many people will look at the date and then not reply