Oni Central Forum

A forum for the Oni community

You are not logged in.

#1 4/12/09 16:37

s10k
Member
From: Portugal
Registered: 14/1/07
Website

Oni Script Installer (OSI)

Hello,

Recently I did a program to install oni scripts in a very simple way. I did it because it may be useful and also for increasing my java knowledge.

So how it works?

-We simple select the file with the scripts to install and press install button.

Are old zip files with oni scripts compatible with it?

-Unfortunately no. It's needed to be created new zip files with the original content and with a configuration file called "installer.osi".

How can we convert and create new zip files compatible with OSI?

-You just need a text editor, and edit the model (can be any installer.osi valid). After that you just need to put in the root of the zip, the bsl files and the "installer.osi" file.
I have did a installer.osi generator, that can speed up the process.

ziposi.PNG
example of zip file usable by OSI.

OSI is multiplatform, so it should work on both Windows, Mac and Linux systems.

OSI 0.2 screenshot:

osi02.PNG

OSI Generator (to generate configuration file): [and yes I know that the name of it is wrong, it's not a script editor, need to change that in next version]

osigen.PNG

More deep information (token from the readme):

Readme.txt
~~~~~~~~~~~~~~~~~~~~~~~~~~
Oni Script Installer v0.2
~~~~~~~~~~~~~~~~~~~~~~~~~~

------------------------
Description:
------------------------

A simple application that will install oni scripts in few seconds.
It also allows the user to restore original oni scripts.

------------------------
Installation:
------------------------

Extract OSI folder to any place in your computer.

PLEASE NOTE THAT YOU MUST HAVE JAVA RUNTIME INSTALLED TO RUN
THIS APPLICATION, GET IT HERE:

http://www.java.com/getjava/

------------------------
Starting the application:
------------------------

-->Windows

Run run_windows.bat file.

-->Mac or linux

Run run_mac-linux.sh file.

------------------------
First Run:
------------------------

At first run the application will ask you for the oni folder,
please select it. (usually installed in C:\program files\Oni\


------------------------
Usage:
------------------------

Install a script:

To install a script you need select the file containing it.
To select a file simple drag and drop a zip file compatible
with OSI, normally it include *.bsl files and a installer.osi in.
You can also select a file, by browsing it in the explorer,
clicking in the "Choose" button.

After that just click in "Install" button, if it is successful
you will get the message "Script name was been installed successful".
If not, you will get a error message.

If you have AE installed you can install a script in it, just select
"Install in Anniversary Edition".

Restoring Original Scripts:

To restore oni original scripts, click in options and then in "restore original
scripts files".
You will get a confirmation message if it was successful.

------------------------
Contacts:
------------------------

Script10k, "faob2@hotmail.com"

Oni Central Forum:
http://oni.bungie.org
->Select forum

Oni Wiki:
http://wiki.oni2.net

Planned to next version:
-improved gui
-scripts that need multiple folders to install, compatibility (ex. titan mode)

Please report any bugs or sugestions.

Download:
http://dl.dropbox.com/u/143726/osi/osi_all_in_one02.zip [this package include the osi, osi gen and an example script)

10 scripts osi compatible:
http://dl.dropbox.com/u/143726/osi/osi_scripts.zip

Edit\

If you have a mac and can't run it try the steps of this page:
http://code.google.com/p/double-fanucci … ootingHelp
Thanks to edt for testing.

Last edited by s10k (20/1/10 15:41)

Offline

#2 4/12/09 17:58

Iritscen
Moderator
From: NC, USA
Registered: 22/10/07

Re: Oni Script Installer (OSI)

Ah, didn't see this coming!  I can see this being useful especially as a tool for non-AE Oni.  You can add support for the AE to your tool, if you like, but we are also going to support installing scripts with the next release of the AE, so it's up to you if you also want to provide that functionality.


byproducts are fine, but where's the beef?

Offline

#3 4/12/09 18:06

s10k
Member
From: Portugal
Registered: 14/1/07
Website

Re: Oni Script Installer (OSI)

Yeh I see, didn't know that you would add this in next version of the edition. Gumby told me it after this post. I looked at here but didn't found anything related. Maybe I should stop developing it then.

Offline

#4 4/12/09 18:22

Iritscen
Moderator
From: NC, USA
Registered: 22/10/07

Re: Oni Script Installer (OSI)

Yeah, for some reason that was the one thing we left off the official to-do list... :-\  If I hadn't been busy 100% of the time lately, I would have finished the feature already and we would have released the new AE. (Edit: Fwiw, we did talk about our upcoming support for scripts in a topic or two, but I don't think most people follow every new post on the board, so I'm not surprised if you missed it.)

But some people don't like the AE, so wouldn't your app still be useful for them?


byproducts are fine, but where's the beef?

Offline

#5 4/12/09 18:52

s10k
Member
From: Portugal
Registered: 14/1/07
Website

Re: Oni Script Installer (OSI)

Yeh, maybe it can be useful for that people that use regular oni with the regular scripts.

If that people needs any modification to the current version let me know.

Thanks. smile

Offline

#6 4/12/09 20:00

Phydur
Member
Registered: 13/1/07

Re: Oni Script Installer (OSI)

Iritscen wrote:

(Edit: Fwiw, we did talk about our upcoming support for scripts in a topic or two, but I don't think most people follow every new post on the board, so I'm not surprised if you missed it.)

uh.. what does Fwiw stand for?


I intentionally spell dang, dange, FYI.

Offline

#7 4/12/09 21:26

Iritscen
Moderator
From: NC, USA
Registered: 22/10/07

Re: Oni Script Installer (OSI)

For what it's worth


byproducts are fine, but where's the beef?

Offline

#8 5/12/09 12:24

Leus
Member
From: Boone, NC
Registered: 28/5/09
Website

Re: Oni Script Installer (OSI)

I follow every new post.  smile


If we don't change the direction we're going, we'll likely end up where we're headed.

Offline

#9 20/1/10 12:47

s10k
Member
From: Portugal
Registered: 14/1/07
Website

Re: Oni Script Installer (OSI)

Ok, I did an upgrade to the program.

Now supports AE and I also changed the gui (for better I hope).

Last edited by s10k (20/1/10 12:47)

Offline

#10 20/1/10 15:34

TOCS
Member
From: Denmark
Registered: 4/4/07

Re: Oni Script Installer (OSI)

Though I'm never using scripts, you did your job well.
Great efford to the community!

+1

Offline

#11 20/1/10 15:53

s10k
Member
From: Portugal
Registered: 14/1/07
Website

Re: Oni Script Installer (OSI)

Well I know that the next AE will have its own installer, but this should work while it isn't out. Also it works with the original oni installation. Learned some nice things about java writing it.

Offline

#12 20/3/10 1:01

demos_kratos
Member
From: Russia, Volzhskiy
Registered: 13/8/08

Re: Oni Script Installer (OSI)

Can I have the source? =3


Jente, du er deilig, du er lekker, ihvertfall nå når jeg drikker.
Baby, du har det som trengs, hva er sannsynligheten for at vi to hopper til sengs?
Kan du si meg det? Jeg er ikke så stø i sannsynlighetsregning.

Offline

#13 20/3/10 7:09

s10k
Member
From: Portugal
Registered: 14/1/07
Website

Re: Oni Script Installer (OSI)

demos_kratos wrote:

Can I have the source? =3

Sure. I just didn't released it because I am ashamed of the quality of the source.  tongue

It should be rewrite entirely. (probably you will just get more confuse reading it,  you can read the oke source that it's better)
http://dl.dropbox.com/u/143726/osi/oni% … backup.zip

Offline

Board footer

Powered by FluxBB