[New Tool] Mod downloader and installer [V0.02 04/01][Beta]

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

killerog
Posts: 3464
Joined: Fri, 28. Oct 05, 16:31
x4

Post by killerog »

I created it on win7 x64 so I do know it works so that is strange. Do you have .net 4.0 installed ? Only think I can think of that would prevent it from installing but that should of been installed by the installer if it is not already on your pc.

There are direct download links but I no longer post them up but if you look though the thread for the mod someone should off.
Image
User avatar
apricotslice
Posts: 14163
Joined: Sun, 16. May 04, 13:01
x4

Post by apricotslice »

I've just seen this thread for the first time, so feel the need to make an observation.

I tried this for the BSG mod, but aborted the instalation.

The instalation process MUST check for the existence of .net framework 4 before it tries to do anything, and if it exists, it MUST leave it alone.

At the moment, the installer wants to force load .net framework 4, regardless of if its already loaded or not.

Having had prior experience of what happens when .net framework gets stuffed up (6 weeks it took a tech to get the computer working again, he had to unload it completely and then load every version of .net again, and every patch, in the correct order.), I simply wont let any program try to do anything with it.

If your program installs an older version of any part of .net on the computer, it could seriously impact windows, to the point of corrupting it completely.

There is no way I will use a program which tries to mess with .net.

Either it tests for .net (which ever part of it it needs) and finds it exists on the computer and leaves it alone, or its not useable.

It can install when it doesnt find it already installed, but it shouldnt just try to install it on the assumption it wont be there.

My computers have visual studio 2010 installed, so .net framework 4 is not only loaded but completely upgraded.

The last thing I want is a program trying to instal it again with an older version. And at some point, unless you update the program every time a .net patch comes out, it will be an older version its trying to instal. At the least, that will stuff up the upgrades. At the worst, it renders the computer unusable.

.net framework is just too important to windows to stuff around with.

Hence the program needs to test if its already there, and leave it alone if it is. If the program wont run as a result, then it needs to generate a warning message that .net framework 4 is not up to date and let the user do the needed updates.

Sorry to be so hard on this, but experience wont let me use something that blindly tries to update something that critical to windows.
User avatar
Jack08
Posts: 2993
Joined: Sun, 25. Dec 05, 10:42
x3tc

Post by Jack08 »

The instalation process MUST check for the existence of .net framework 4 before it tries to do anything, and if it exists, it MUST leave it alone.

At the moment, the installer wants to force load .net framework 4, regardless of if its already loaded or not.
Lets put it this way, .Net4 App trys to load, .Net4 App cant load because .Net4 isn't installed, therefor .Net4 app cant check for .Net4's existence because it cant load as .Net4 isn't installed, this kind of circular issue is the reason things install the .net4 re-dist all the time.

Installing the .Net and VC++ redists at installing is a very common thing, have you not installed anything recently, at all?... a game?... perhaps steam?.. Anything? :roll:

if it was as dangerous as you say, then it would corrupt peoples windows installs every 5 seconds...
[ external image ]
"One sure mark of a fool is to dismiss anything that falls outside his experience as being impossible."
―Farengar Secret-Fire
User avatar
apricotslice
Posts: 14163
Joined: Sun, 16. May 04, 13:01
x4

Post by apricotslice »

Jack08 wrote:.Net4 App trys to load, .Net4 App cant load because .Net4 isn't installed, therefor .Net4 app cant check for
I dont see the problem. You run a small piece of code that requires .net4 to run. If it cant run, then it isnt there. Thats a check, the program handles it and install or ignores as a result. Maybe that means the check has to be written in something different, like C++, and be a pre-launch program.
Installing the .Net and VC++ redists at installing is a very common thing
C++, yes. And quite frankly I have the same issues with that, only not as importantly. I'm pretty sure that old versions of the C++ distributable have been overwriting my up to date version, and windows then updates them again.

I've not seen any program use .net before. If they are updating it, then it isnt being stated.

.net framework is one of the shakiest house of cards I've ever seen in programming. As soon as 1 update fails to load, the whole thing becomes progressively more and more unstable as following updates fail. And since windows cant run without it, its not something you mess with. Even with windows updates, doing them in the wrong order can be fatal.

As far as I'm concerned, if a program needs .net to run, then it needs other code around it. Set a flag. Run program, check flag. If the flag indicates the program failed to run because .net4 wasnt there, then initiate distributable installation, and then rerun program.

Thats basic logic for job control that runs programs.
QWERTY7654321
Posts: 1
Joined: Mon, 5. Nov 12, 22:37

Post by QWERTY7654321 »

Here are the direct download links for the BSG mod so you don't have to use the terrible down-loader
http://www.killerog.co.uk/ccount/ModFil ... Mod_P1.zip
http://www.killerog.co.uk/ccount/ModFil ... Mod_P2.zip
killerog
Posts: 3464
Joined: Fri, 28. Oct 05, 16:31
x4

Post by killerog »

Seemed to have missed this reply (no email).

Why is this tool terrible? Lack of feedback is amazing no wonder I cant be bothered with doing stuff here any more :(
Image
dispostableatheist
Posts: 193
Joined: Sun, 23. Jan 11, 13:28

Post by dispostableatheist »

killerog wrote:Seemed to have missed this reply (no email).

Why is this tool terrible? Lack of feedback is amazing no wonder I cant be bothered with doing stuff here any more :(
Well, lemme help you out. I know where most people come from. Here's why:

Why do you need yet another tool to install just to deliver content when you just can download it as *.zip/.7z packages?
killerog
Posts: 3464
Joined: Fri, 28. Oct 05, 16:31
x4

Post by killerog »

Here's a nice blunt answer.

Because people are stupid and don't read instructions leading to mods not being installed correctly leading me to waste my time trying to bug fix problems that don't exist.

This tool stops that.
Image
User avatar
Sam L.R. Griffiths
Posts: 10522
Joined: Fri, 12. Mar 04, 19:47
x4

Post by Sam L.R. Griffiths »

I agree with killerog on the general point of "mods not being installed correctly" so something like this his tool is really a boon (if enough people use it).

Just because people do not use it does not make it a bad tool necessarily.
Lenna (aka [SRK] The_Rabbit)

"Understanding is a three edged sword... your side, their side... and the Truth!" - J.J. Sheriden, Babylon 5 S4E6 T28:55

"May god stand between you and harm in all the dark places you must walk." - Ancient Egyption Proverb

"When eating an elephant take one bite at a time" - Creighton Abrams
killerog
Posts: 3464
Joined: Fri, 28. Oct 05, 16:31
x4

Post by killerog »

Think some people may explode when I release my new version where you have to sign in.

But then again I might just not bother, really cant get motivated to work on these games anymore :(
Image
killerog
Posts: 3464
Joined: Fri, 28. Oct 05, 16:31
x4

Post by killerog »

As I could be bothered and had already started work on my next version of this tool I thought I might make a post about some of its new features see if it gets any interest of the good or angry kind.

Tool is now using an SQL database to host basic mod info and login information which is/will be connected to my website as well.

This tool now allows someone that I have given access to the ability to upload mod information to the master SQL database but also the files for that mod to either my web server or there own via FTP. Meaning that with a few minutes work the mod will appear in my tools mod list allowing it to be downloaded and installed by anyone using the tool.

[ external image ]

The downloading and installing of the mod has also been improved, with the main new feature being the backing up of any files that will be overwritten when a mod is installed. These backed up files can then be reinstalled when ever the user feels like again via this tool.

[ external image ]

Still got a few bugs and features I want to add, plus some some spelling mistakes up then Ill release a beta of a beta and see how it goes from there. I need to work out how much the SQL database hosting is going to cost me as well.
Image
User avatar
apricotslice
Posts: 14163
Joined: Sun, 16. May 04, 13:01
x4

Post by apricotslice »

Sounding good.
killerog
Posts: 3464
Joined: Fri, 28. Oct 05, 16:31
x4

Post by killerog »

Decided to move away from forms and into WPF finally allowing me to style the tool, allowing me to get it matching the look of my website. Also fixed a few bugs in the process and added the ability to logon as anonymous for those that don't want to sign up.

Got one screen and a few menus left to move over to WPF and then I will release it as a beta so the few people who might be interested in giving it a go can.

Heres a few pictures of how it looks at the moment.

[ external image ]
[ external image ]
[ external image ]
Image
killerog
Posts: 3464
Joined: Fri, 28. Oct 05, 16:31
x4

Post by killerog »

New version released. This is a separate install to the old tool so they shouldn't effect each other.

This is a beta so would like peoples views on it (and not the normal why do we need it stuff). Also if anyone wants to test out the mod uploading side of it with a mod they have made please let me know :)

Improvements over the last version:
Able to have multiple installs of each game instead of just one of each
New fake patch system that allows multiple mods to be installed at the same time.
Lots of other GUI / under the hood improvements I cant remember
Image
killerog
Posts: 3464
Joined: Fri, 28. Oct 05, 16:31
x4

Post by killerog »

New version released. This one includes a working auto updater :oops:

Uninstall the old version and download the new version from my site. Also includes a few other fixes that should of been included in the first version.
Image
blazermick
Posts: 85
Joined: Tue, 31. Jan 06, 03:47
x3tc

Post by blazermick »

Feedback as requested.

Mod tools are fine as long as they work. If the registration process fails then we are stuck wasting time, waiting for someone/something to register us. We can still be waiting months later after repeated registrations.

The "Tool" however will get the blame simply because its "another" program/script/file (or whatever it will get called) that has to be 'worked on" before we even get to the mod itself.

I myself prefer the tools because of the EXACT reasons you made this. I use specific tools on every game i have ever played, except X series and from Nexus.

Nexus Mods have a mod tool also but works for only about 50% of those who download mods. They however still release a NON Tool file for those who CAN'T get the downloader to work (for whatever reason exists)

As to the X series, this game is very hardy and can handle the issues. If someone uses a Killerog Non-DL Version then they get no support .. simple.

I have followed your mods since X2 and have loved your ships from those eras. I have actually modded one of your old versions of x2 ships into a mod that works as a false patch in AP. Its got its quirks but i'm fine with it.

Now, as to your mods, i havent been able to get one since you introduced your tool. The earlier versions could not be made to work and yes you did help me try. The latest version loaded fine but i was a member, have tried to re register since and everything else needed to try get access to your mods.

And guess what ?? Square one .. and what gets the blame ?? Frustration has to be accepted as people prowl these forums hoping for a fix to their issues, and apart from the idiots some are very justifiable.

I personally would like you to release a NoN downloadable Zip file for those who ARE experienced and would like to be able to appreciate your latest works ... however if you don't that is entirely you prerogative and i and many others miss out on the pleasure of your work.

Either way, i wanted to give you feedback from a fan who CAN'T play your modern mods .. and who doesnt blame the tool ... technology isnt perfect.

Thanks and keep up the good work (Pics are good for my screen saver :p )
Started playing at X Beyond the Frontier and Tension, and I'm still here at X4. Brilliant games until Rebirth and now x4 manages to regain some of the past glory. Lets hope x5 continues in same vein and not another "rebirth".
garrry34
Posts: 911
Joined: Sun, 17. Jul 05, 14:43
x3tc

Post by garrry34 »

trying to register with the site so I can download the mod installer but after I hit the register button I'm getting a blank white screen with the address of "http://www.sbmod.co.uk/register.php", I was looking to give your mining mod a whirl after a bit of absence from X3AP...
PhenomII X4 940 black edition
8GB DDR2
ATI HD4890
Windows 7 64bit
killerog
Posts: 3464
Joined: Fri, 28. Oct 05, 16:31
x4

Post by killerog »

You don't need to register to use the tools. Its only there for future features. At the moment you can not get the tool as I have decided to not pay for the extra service I need to run the new version. I will update my site with the zip files for all mods and release a cut down installer as part of my mod merge tool.

The new tool will just install any ZIP files you have downloaded. So people can install manually or with the tool.

Just updated the Mining mod topic OP with a download link for the mod. Ill update my website when I get a bit of spare time.
Image
Nelethill
Posts: 2
Joined: Wed, 29. Apr 09, 22:29
x4

Post by Nelethill »

Hey,
I have a problem, I'm not able to download the SB mod downloader, cause I can't locate the download button! I Had testet it with all browsers but it doesn't matter.

Here a screen of the website:
https://lh3.googleusercontent.com/-9Tss ... /sbmod.png

Greetings Nelethill


Edit: removed img-tags. Please note forum rules: Images posted should not exceed 640 x 480 and 100kb in size. X2-Illuminatus
killerog
Posts: 3464
Joined: Fri, 28. Oct 05, 16:31
x4

Post by killerog »

Check my post above yours. The downloader can no longer be gotten.
Image

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”