SRL Archive - Development

[HOW TO] Getting Autoing Fast/Making your own Portable Simba


Silent

2011-07-18 02:47:59

This is a Combo guide, and it may be split later depending on the feedback I get. Anyway on to the guide.

  • Part 1 Quick setup - Read this if you want to setup Simba as quickly as possible for autoing.
  • Part 2 Creating a Portable Simba - Read this if you want to know how to make your own portable version of Simba.

Part 1. Quickest Possible Autoing setup. Last Updated August 1, 2011


Since you are here to get started quickly. I'll get right to it.
——-
  1. Download Simba Portable from here.
  2. Run the file you just downloaded above. (Should be named something like Simba_PV3.2.2.exe unless you named it differently)
  3. Choose an install location. (you can move it to wherever you want later)
  4. Open the folder you just created and run "Run me"
  5. Make sure your Characters are setup properly according to the MSI script you plan to use. (You can see how to do this over on the MSI Section)
  6. Press the green play button and fill out the player form.
  7. Watch your character auto :)
——-
Notes:
It is also important that you occasionally check for updates using the tool bar. This is simple, just click on MSI, SRL, or Reflection and go down to check for update. Everything else is automatic.
You should also know you are not limited to MSI scripts, you use any of the scripts from the Public Scripts section.


If you have any problems, post here. I will help you as best I can. :redface:
End Part 1


Part 2. Creating your own Portable Simba :stirthepot:


This is a bit more complicated than part one, but it really isn't that hard. We will need a few things before we start. The things you will need are as follows:
Now that we have all the things we need we can get on to the setup.

First. We must make sure we have all the extensions enabled that we want to use before we create our self-extracting archive (Which is all this is). If you don't know how to select these, go back over to the setup post and read it again. It tells you how. Now that our extensions are all setup, close out of Simba, we shouldn't need to open it again unless you feel like testing it.

Second. Navigate to the main exe for Simba, in this same folder should be a file named settings.xml. (it may just show up as settings and list the type as XML Document depending on your OS) Open this file using your favorite text editor. (I recommend Notepad++) I'm using just plain old notepad for this tutorial.

Third. With Notepad open hit Ctrl+H to bring up the find & replace window. In the "Find what" box put in "<Path>C:\Simba\" without the quotes of course, and in the "Replace with" box put "<Path>..\Simba\" again without the quotes. Hit "Replace All", save the file, and exit Notepad.
This makes the place that Simba looks for it's plugins and everything else not locked down to a specific location, as long as this file is in a folder named "Simba" it will all work.

Note Last step Now our settings are all correct to use our extensions wherever we move the Simba folder. The last step is to archive the entire folder to make it easier to move around. This step is technically optional because you can move the folder wherever you want now and it will run and find plugins, etc. - but it is the main point of this tutorial.

Forth. Navigate up one level above your main Simba exe. In case you don't get what I mean, you should see the folder named "Simba". Now, remember how I said you needed WinRAR? This is why. Right click on your Simba folder and hit -> "add to archive…" You should see a window that looks like this:
Make sure the "Create SFX Archive" box is checked!! You can change the name, but leave the other options alone unless you know what you're doing.
Click Ok. Congratulations, you now have your own portable/quick setup Simba!

See pretty simple no? Some other things that you could do with this are include your own scripts, not just MSI and take them with you. Do this by just placing them in the scripts folder before you archive with WinRAR. :norris:

Hope this helps some people out!

Credits!
——–
Coh3n - For inspiring me to create the portable. (even if he didn't know it) & suggesting features to be added.
Harry & KingKong - Telling me to write a guide on how to do this.
Everyone else who posted feedback on the Development thread.
:D
——-

Questions? Comments? Criticism? Let's here it!

Coh3n

2011-07-18 09:15:33

Nice job. :) I'll be linking to this in my setup guide when I update it in the next couple days.

Silent

2011-07-18 12:56:58

Thanks Coh3n. I may add more detail to it later, and in fact I just realized I forgot to include making the batch file. I'll have to add that later…

Yago

2011-07-18 19:51:58

Good guide.. Keep up the good work :)

Carlito

2011-07-19 12:07:58

From: Yago
Good guide.. Keep up the good work :)


this.

good job mate, does it run almost the same as if you were to install it to the computer? how is it with memory usage and all that?

Yago

2011-07-19 12:14:53

One thing I noticed is that the computer doesn't automatically associate extensions…

Silent

2011-07-19 13:12:31

From: carlito
this.

good job mate, does it run almost the same as if you were to install it to the computer? how is it with memory usage and all that?


Runs the exact same, because it is the same. Only difference is paths.

From: Yago
One thing I noticed is that the computer doesn't automatically associate extensions…


No it doesn't, but default Simba installer doesn't either. I will change this in the next version. All I have to do is enable the "associate.sex" and it will fix it.:o

Yago

2011-07-19 16:41:52

From: Silent SPY
Runs the exact same, because it is the same. Only difference is paths.



No it doesn't, but default Simba installer doesn't either. I will change this in the next version. All I have to do is enable the "associate.sex" and it will fix it.:o


Oh ok cool :)

Silent

2011-07-19 21:58:17

Yep. I'll also update the guide to include that soon.

Silent

2011-08-01 03:57:51

From: Yago
One thing I noticed is that the computer doesn't automatically associate extensions…


Updated to do this now, along with updated SRL/Reflection/MSI

Yago

2011-08-04 13:07:25

From: Silent SPY
Updated to do this now, along with updated SRL/Reflection/MSI


Simba got updated and I couldn't find anything on the batch file. You could also possible rename it Run MSI.bat or something

Edit: Also, at the end of the extraction, is it possible to have a message saying it finished?

Silent

2011-08-04 14:14:17

From: Yago
Simba got updated and I couldn't find anything on the batch file. You could also possible rename it Run MSI.bat or something

Edit: Also, at the end of the extraction, is it possible to have a message saying it finished?


What are you trying to find about about the batch file? I like that idea. Could do that for several different scripts with separate bat files, or build a menu to pick which script in the bat file…

Unfortunately no that message isn't possible. It's a self extracting zip file, so I don't have anyway of controlling what happens when it finishes. Unless I wrote a custom installer, which would suck.

Also there is now a known bug that I found… Reflection doesn't like to update hooks with this version.. I'm trying to figure out why…

Yago

2011-08-04 15:34:04

From: Silent SPY
What are you trying to find about about the batch file? I like that idea. Could do that for several different scripts with separate bat files, or build a menu to pick which script in the bat file…

Unfortunately no that message isn't possible. It's a self extracting zip file, so I don't have anyway of controlling what happens when it finishes. Unless I wrote a custom installer, which would suck.

Also there is now a known bug that I found… Reflection doesn't like to update hooks with this version.. I'm trying to figure out why…


OK. Did you try making one with the new simba 0.97.1 that has an autoupdater extension? That means you wouldn't have to include the includes.

BraK

2011-08-04 16:26:28

Moving to the Simba Section as it really doesn't fit into the How to section for new users.

~BraK

Silent

2011-08-04 17:28:08

From: Yago
OK. Did you try making one with the new simba 0.97.1 that has an autoupdater extension? That means you wouldn't have to include the includes.


I haven't tried with the new Simba yet. I will in a few days, overwhelmed with other projects right now.

From: BraK
Moving to the Simba Section as it really doesn't fit into the How to section for new users.

~BraK


Meh ok.