OXP manager

An area for discussing new ideas and additions to Oolite.

Moderators: winston, another_commander

User avatar
Lestradae
---- E L I T E ----
---- E L I T E ----
Posts: 3095
Joined: Tue Apr 17, 2007 10:30 pm
Location: Vienna, Austria

...

Post by Lestradae »

wackyman465 wrote:
I don't actually know how the distribution folder looks for the PC or linux version, I'll look at it to see what's included.
Simple. Do it as oxp'ers do it, make a zip file of the whole AddOns folder with all oxps in existence in, then put that up for download. Voila. AddOns folder is unzipped, dropped into a fresh Oolite install and there you go.
User avatar
wackyman465
---- E L I T E ----
---- E L I T E ----
Posts: 831
Joined: Thu Nov 06, 2008 10:15 pm
Location: Currently hunting you down in an Imperial Courier

Post by wackyman465 »

The way I'm making OUE is it also has extra documentation and stuff, and I'd really like to make it EASY to use; that's the entire point here: Open it and play it. Or, for you windoze users out there, run the installer, reboot the computer, log back in, move the addons, then play it... Because the addons folder isn't actually in the .zip file, right? It's produced by the installer, right?
I shot him back first. That is to say, I read his mind and fired before he would have fired on me. No, sir, he wasn't a fugitive.
User avatar
Lestradae
---- E L I T E ----
---- E L I T E ----
Posts: 3095
Joined: Tue Apr 17, 2007 10:30 pm
Location: Vienna, Austria

...

Post by Lestradae »

wackyman465 wrote:
The way I'm making OUE is it also has extra documentation and stuff, and I'd really like to make it EASY to use; that's the entire point here: Open it and play it. Or, for you windoze users out there, run the installer, reboot the computer, log back in, move the addons, then play it... Because the addons folder isn't actually in the .zip file, right? It's produced by the installer, right?
Yeah, but.

If the AddOns folder is being prepared by the installer on Macs - it isn't on Windows - then it is empty. So that if you simply zip an AddOns folder with all oxps in, and copy & paste that unzip'ped over the original AddOns folder and say "overwrite everything", you have a full AddOns folder, transferable.

To deinstall something you would have to go the inverted oxp route, instead of pick & mix it would be unpick & delete what you don't like and/or isn't compatible with each other.

If you want to include documentations etc., make an even bigger folder into which you put your ultimate AddOns folder termed, say, "OUE", and zip that one. That way, the documentation is there, the AddOns folder too.

Players could then download and unzip the "OUE" folder, take the AddOns folder out and install that, read the documentation (I know, Ahruman, if you are reading this, most people won't) and then delete etc., see above. Voila, ultimate edition installed, info read.

Or so methinks.

Cheers

L
User avatar
wackyman465
---- E L I T E ----
---- E L I T E ----
Posts: 831
Joined: Thu Nov 06, 2008 10:15 pm
Location: Currently hunting you down in an Imperial Courier

Post by wackyman465 »

Well actually us Mac users dont USE an installer, we see a zip file that contains an Oolite folder, with a pregenerated Addons folder and Oolite.app. :lol:

And the documentation included is stuff like the manuals on the wiki, mr. gimlet, such and so on.. the shiplist you include with RS is placed more prominently... I might include a pretty Oolite screenie with some PS stuff added as a folder background.
I shot him back first. That is to say, I read his mind and fired before he would have fired on me. No, sir, he wasn't a fugitive.
zevans
---- E L I T E ----
---- E L I T E ----
Posts: 332
Joined: Mon Jul 06, 2009 11:12 pm
Location: Uncharted backwaters of the unfashionable end of the western spiral arm

Post by zevans »

This whole discussion is begining to make me think OXPs should be kept under SVN...
User avatar
wackyman465
---- E L I T E ----
---- E L I T E ----
Posts: 831
Joined: Thu Nov 06, 2008 10:15 pm
Location: Currently hunting you down in an Imperial Courier

Post by wackyman465 »

That might be a little hard to maintain, and I personally think it's pretty easy just to pick up the newest oxp from the wiki.
I shot him back first. That is to say, I read his mind and fired before he would have fired on me. No, sir, he wasn't a fugitive.
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Post by Thargoid »

Why does it need an installer at all, given a (targetted) zip file would do perfectly well. If you really must have an installer, then just use a self-extracting zip file.

And also I don't see any need for 'doze rebooting, as you're not actually adding any programs or changing the running environment of the OS. It's just need an Oolite restart, but then you shouldn't really be adding OXPs to a running install anyway strictly (not that it will do anything bad if you do, just won't see 'em).
User avatar
wackyman465
---- E L I T E ----
---- E L I T E ----
Posts: 831
Joined: Thu Nov 06, 2008 10:15 pm
Location: Currently hunting you down in an Imperial Courier

Post by wackyman465 »

Well I was talking about the full install of the application, which requires a reboot on Windoze but is included with OSE on mac.
I shot him back first. That is to say, I read his mind and fired before he would have fired on me. No, sir, he wasn't a fugitive.
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6683
Joined: Wed Feb 28, 2007 7:54 am

Post by another_commander »

Wacky, what makes you think that a full install of the application requires a reboot on "Windoze"?
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Post by Thargoid »

It doesn't even need an "install" per-se. My normal operation works quite happily running off an SD card, and was put there by just copying the folder tree from another machine onto which it was installed normally onto the HD.

As A_C says, I don't recall ever having to reboot due to any set-up or changes made related to Oolite.
User avatar
Cmdr James
Commodore
Commodore
Posts: 1357
Joined: Tue Jun 05, 2007 10:43 pm
Location: Berlin

Post by Cmdr James »

Thargoid wrote:
Why does it need an installer at all, given a (targetted) zip file would do perfectly well. If you really must have an installer, then just use a self-extracting zip file.
I dont know for sure, but I expect its because windows users expect to have an installer. Many small apps dont seem to have any real need for an install package, but it just seems to be the windows way.
User avatar
Thargoid
Thargoid
Thargoid
Posts: 5528
Joined: Thu Jun 12, 2008 6:55 pm

Post by Thargoid »

Cmdr James wrote:
I dont know for sure, but I expect its because windows users expect to have an installer. Many small apps dont seem to have any real need for an install package, but it just seems to be the windows way.
Could the average Windows user tell an installer from a Winzip self-extractor anyway? :wink:
User avatar
Lestradae
---- E L I T E ----
---- E L I T E ----
Posts: 3095
Joined: Tue Apr 17, 2007 10:30 pm
Location: Vienna, Austria

..

Post by Lestradae »

Thargoid wrote:
Could the average Windows user tell an installer from a Winzip self-extractor anyway? :wink:
:oops:

Yep. Installer ends in exe and does everything themselves, extractor needs a program and a right-click and a "unpack this here".
another_commander
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 6683
Joined: Wed Feb 28, 2007 7:54 am

Re: ..

Post by another_commander »

Lestradae wrote:
Thargoid wrote:
Could the average Windows user tell an installer from a Winzip self-extractor anyway? :wink:
:oops:

Yep. Installer ends in exe and does everything themselves, extractor needs a program and a right-click and a "unpack this here".
I think Thargoid's point has just been proven :-)
User avatar
wackyman465
---- E L I T E ----
---- E L I T E ----
Posts: 831
Joined: Thu Nov 06, 2008 10:15 pm
Location: Currently hunting you down in an Imperial Courier

Post by wackyman465 »

Would it be possible to have the installer for Oolite make a self extracting zip file that extracted itself into the addons folder once you had finished the intall?
I thought most windows installers had to reboot after, thats the experience I've had with PC's installing stuff... Guess i was wrong.
It doesn't even need an "install" per-se. My normal operation works quite happily running off an SD card, and was put there by just copying the folder tree from another machine onto which it was installed normally onto the HD.
Would it be viable to use this as a way to distribute OUE? And why do you run off an SD card? Superior latency performance?
I shot him back first. That is to say, I read his mind and fired before he would have fired on me. No, sir, he wasn't a fugitive.
Post Reply