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
**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