Fractal Softworks Forum

Starsector => Mods => Modding Resources => Topic started by: neonesis on August 17, 2012, 10:36:34 AM

Title: Starfarer Mod Manager (0.1.3 alpha) - download available!
Post by: neonesis on August 17, 2012, 10:36:34 AM
After a few sleepless nights, and a few rainy days (although I actually started the development around 3 weeks ago), I present to you...

Starfarer Mod Manager
version 0.1.3 (alpha)

Why at all? Well, right now we have ~50 mods in the Master Mod List thread. And Starfarer isn't even released! What is going to happen then? A boom of mods!

So even though I'm not too much into SF modding, I came up with an idea (yeah, very original idea) to write a separate mod manager - for those hardcore modding pros out there. The principle behind is to make mod installation, removal, and managing easier for everyone.

Without further ado:
(http://i45.tinypic.com/6iwozl.png)

Current features:
- it's fully compatible with built-in SF Launcher, so you can use them both
- shows which mod is a compilation/conversion, intended SF version, mod version
- sorting, by aforementioned criteria (unfortunately, you cannot sort by enabled/disabled property in this version)
- coversion detection, compilation detection (disables all/compiled mods)
- conflict detection for supported mods (look below)
- automatic installation from .zip/.rar/.7z/any-7zip-supported-archive
- drag'n'drop installation - just drag the mod archive to the Manager window, and the mod will be installed right away


Mod support
Every single mod that exists right now, will work with Mod Manager, just as it does with built-in Launcher. However, to take advantage of special features, there are a couple of new variables you (mod author) can add to the mod_info.json file. The format is exactly like it is for built-in variables.

m_incompatibleWith - this is a comma-separated list of mod's internal IDs that are incompatible with your mod. If you don't specify this variable, it means that your mod doesn't conflict with any other mods.
Example:
Code
"m_incompatibleWith":"mrdavidoffs dump, nomads, relics, UomozCorvusIncursionsandRelics15",

m_isVanillaBalanced - this specifies whether your mod is balanced for vanilla game. Default is false.
Example:
Code
"m_isVanillaBalanced":"true",

m_isCompilation - this specifies whether your mod is a compilation of other mods. Use it with additional variable m_compilationModList described below. Default is false.
Example:
Code
"m_isCompilation":"true",

m_compilationModList - this, combined with m_isCompilation, provides a list of mods (internal IDs to be specific) included in your compilation. These mods, if installed before on user's machine, will be disabled when this compilation is enabled.
Example:
Code
"m_compilationModList":"nomads, relics",

Possible future features:
- per-file conflict detection (working for any mod, and with deadly accuracy)
- automatic listing&downloading&updating mods (that would require a FTP mod hosting server)
- automatic handling of mod archives during downloading, by using new file extension (.sfmod, simply archive with changed extension to intercept the file during browser download and open it straightaway)
- all suggestions are taken under consideration so don't hesitate to comment!

Download
http://www.mediafire.com/?ku5jxricj6hio77 (http://www.mediafire.com/?ku5jxricj6hio77)


It requires .NET Framework 4.0, available here (http://www.microsoft.com/en-us/download/details.aspx?id=17851) if you don't have it already installed. It should work on Windows XP, Vista, 7 and 8.

You have to install it into your Starfarer directory, so if you edit installation directory, DO SO CAREFULLY.

Remember, this is alpha, so expect crashes all the time! But don't worry about your mods/game, the only time Manager modifies your disk is when installing (that is safe, since done by 7zip) a mod, or deleting (this is also safe, since done by Windows) a mod.

If you encounter a crash, or bug, please write in this thread/write me a PM/email-me and link smm_log.txt file, located in %APPDATA%\Starfarer Mod Manager\ (%APPDATA% is C:\Users\<username>\AppData\Roaming in default, though you can use %APPDATA% variable in the Explorer path). The log file enables me to find the cause of crash/bug.


About:
Written fully in C#, and WPF, with additional WPFExtended Toolkit, plus OokiiDialogs for .NET 4.0. 7zip used for unpacking mod archives.

Again, all comments, suggestions, constructive criticism are welcome and wanted!

Release notes:
0.1.3
- fixed mod_info parsing problems when dealing with unexpected whitespaces
- fixed conflict detection, now properly fires up only when two (or more) conflicting mods are enabled
- fixed the possibility of enabling mods while there is conversion enabled, or a compilation that already includes particular mod
- log file is now saved to a user-specific directory, located in %APPDATA%\Starfarer Mod Manager\ (%APPDATA% is C:\Users\<username>\AppData\Roaming in default, though you can use %APPDATA% variable in the Explorer path)

0.1.2
- fixed installation directory confusion in installer
- fixed some incompabilites with "replace" tag in mod_info.json file
- added logging capabilities


Also, I wanted to say that I will be on top of the world if even one person uses this. Really.
Title: Re: Starfarer Mod Manager (0.1 alpha)
Post by: theSONY on August 17, 2012, 10:46:23 AM
Finally ^^
Title: Re: Starfarer Mod Manager (0.1 alpha)
Post by: silentstormpt on August 17, 2012, 12:11:50 PM
Really great job!
Title: Re: Starfarer Mod Manager (0.1 alpha) - download available!
Post by: neonesis on August 17, 2012, 01:16:48 PM
Included download, so you can crash-test it right away.
Title: Re: Starfarer Mod Manager (0.1 alpha) - download available!
Post by: Sproginator on August 17, 2012, 01:22:08 PM
Included download, so you can crash-test it right away.
Hehe, I'll break it soon
Title: Re: Starfarer Mod Manager (0.1 alpha) - download available!
Post by: Archduke Astro on August 17, 2012, 02:14:39 PM
It requires .NET Framework 4.0, available here (http://www.microsoft.com/en-us/download/details.aspx?id=17851) if you don't have it already installed. It should work on Windows XP, Vista, 7 and 8.

Neonesis, what are the chances of an eventual Mac version?
Title: Re: Starfarer Mod Manager (0.1 alpha) - download available!
Post by: silentstormpt on August 17, 2012, 02:17:53 PM
Can you set red color if the version is different from the game one, for example you got alot mods from 0.51a and green, in this case the version 0.53.1a
Title: Re: Starfarer Mod Manager (0.1 alpha) - download available!
Post by: theSONY on August 17, 2012, 02:18:56 PM
 :'(
well you can be on TOP but not with filehosing ... common!  :-\
Title: Re: Starfarer Mod Manager (0.1 alpha) - download available!
Post by: Uomoz on August 17, 2012, 02:21:26 PM
YAY! Updating my mod_info with new data right now!
Title: Re: Starfarer Mod Manager (0.1 alpha) - download available!
Post by: neonesis on August 17, 2012, 02:22:37 PM
It requires .NET Framework 4.0, available here (http://www.microsoft.com/en-us/download/details.aspx?id=17851) if you don't have it already installed. It should work on Windows XP, Vista, 7 and 8.

Neonesis, what are the chances of an eventual Mac version?
Well, sadly I'm using very specific Windows technology for this program - but! Since I somewhat managed to divide the GUI and what's under the hood, there are chances for a complete rewrite into Java, instead of C#. This would allow for near-instant availability on all platforms.

Right now however, I'm focused on C#/WPF version, since it's the first one. I would also like to introduce the per-file conflict detection first, and then move on to more general stuff.

Can you set red color if the version is different from the game one, for example you got alot mods from 0.51a and green, in this case the version 0.53.1a
Quite possibly, will work on that.

:'(
well you can be on TOP but not with filehosing ... common!  :-\
What is wrong with filehosting? For you - http://www.mediafire.com/?1aq1npze7ro2vtu (http://www.mediafire.com/?1aq1npze7ro2vtu)
Title: Re: Starfarer Mod Manager (0.1 alpha) - download available!
Post by: silentstormpt on August 17, 2012, 02:30:19 PM
:'(
well you can be on TOP but not with filehosing ... common!  :-\
What is wrong with filehosting? For you - http://www.mediafire.com/?1aq1npze7ro2vtu (http://www.mediafire.com/?1aq1npze7ro2vtu)

Yes, Mediafire and Dropbox, i personally think you should try Dropbox.
Title: Re: Starfarer Mod Manager (0.1 alpha) - download available!
Post by: Alex on August 17, 2012, 02:32:06 PM
It requires .NET Framework 4.0, available here (http://www.microsoft.com/en-us/download/details.aspx?id=17851) if you don't have it already installed. It should work on Windows XP, Vista, 7 and 8.

Neonesis, what are the chances of an eventual Mac version?
Well, sadly I'm using very specific Windows technology for this program - but! Since I somewhat managed to divide the GUI and what's under the hood, there are chances for a complete rewrite into Java, instead of C#. This would allow for near-instant availability on all platforms.

Right now however, I'm focused on C#/WPF version, since it's the first one. I would also like to introduce the per-file conflict detection first, and then move on to more general stuff.

What about Mono (http://www.mono-project.com/What_is_Mono)? I have no idea how good it actually is, but it seems like a way to get a C# program to run on Mac/Linux. Assuming it's not an enormous pain to set up and use.
Title: Re: Starfarer Mod Manager (0.1 alpha) - download available!
Post by: neonesis on August 17, 2012, 02:38:50 PM
It requires .NET Framework 4.0, available here (http://www.microsoft.com/en-us/download/details.aspx?id=17851) if you don't have it already installed. It should work on Windows XP, Vista, 7 and 8.

Neonesis, what are the chances of an eventual Mac version?
Well, sadly I'm using very specific Windows technology for this program - but! Since I somewhat managed to divide the GUI and what's under the hood, there are chances for a complete rewrite into Java, instead of C#. This would allow for near-instant availability on all platforms.

Right now however, I'm focused on C#/WPF version, since it's the first one. I would also like to introduce the per-file conflict detection first, and then move on to more general stuff.

What about Mono (http://www.mono-project.com/What_is_Mono)? I have no idea how good it actually is, but it seems like a way to get a C# program to run on Mac/Linux. Assuming it's not an enormous pain to set up and use.
I will look into this as well, thanks for idea Alex - I've forgotten about Mono.

EDIT: Also, still zero epic crash reports?
EDIT2: Mono does not support (and doesn't plan to) Windows Platform Foundation, which is the base for GUI. So no Mono I guess :/
EDIT3: Or, I could simply throw away WPF on other platforms, and use Mono/GTK+ instead. Might be worth looking into.
Title: Re: Starfarer Mod Manager (0.1 alpha) - download available!
Post by: theSONY on August 17, 2012, 03:24:17 PM
thx for the mediafire :)
BUT looks like this wont work for me (i mean menager,not link)
i got .NET Framework 4.0 (got Terraria & this is Must have)
i instal this in game folder but i got crashes all the time, oh well i just wait for another ver. maybe i'll have more luck
Title: Re: Starfarer Mod Manager (0.1 alpha) - download available!
Post by: Uomoz on August 17, 2012, 03:26:20 PM
Adding the new lines makes the vanilla launcher crash :(.
Title: Re: Starfarer Mod Manager (0.1 alpha) - download available!
Post by: neonesis on August 17, 2012, 03:32:05 PM
thx for the mediafire :)
BUT looks like this wont work for me (i mean menager,not link)
i got .NET Framework 4.0 (got Terraria & this is Must have)
i instal this in game folder but i got crashes all the time, oh well i just wait for another ver. maybe i'll have more luck
Does it crash right away? When you are launching it?

Adding the new lines makes the vanilla launcher crash :(.
Can you send me the lines you added? It shouldn't happen, since vanilla launcher simply ignores variables it doesn't know.
Title: Re: Starfarer Mod Manager (0.1 alpha) - download available!
Post by: Uomoz on August 17, 2012, 03:47:23 PM
Ty for the hard work! Sent!

EDIT: fix'd. My bad.
Title: Re: Starfarer Mod Manager (0.1.1 alpha) - download available!
Post by: neonesis on August 17, 2012, 03:56:57 PM
http://www.mediafire.com/?v83untyld8ilrns (http://www.mediafire.com/?v83untyld8ilrns)
New mini-version, should give more info before it crashes, so I can fix it better.
Title: Re: Starfarer Mod Manager (0.1.1 alpha) - download available!
Post by: theSONY on August 17, 2012, 04:08:45 PM
now its writes
error- couldn't load mod data
its writes the same (mini-ver) i dunno why, i got rar's & extracted in my MOD folder,but i dont think thats the problem
Title: Re: Starfarer Mod Manager (0.1.1 alpha) - download available!
Post by: neonesis on August 17, 2012, 04:28:19 PM
now its writes
error- couldn't load mod data
its writes the same (mini-ver) i dunno why, i got rar's & extracted in my MOD folder,but i dont think thats the problem
Please download this one url-no-longer-applies (this is a special version, not for normal use) and tell me which message it gets before crash.
Title: Re: Starfarer Mod Manager (0.1.1 alpha) - download available!
Post by: neonesis on August 17, 2012, 04:51:06 PM
Uploaded updated installer at http://www.mediafire.com/?7mulwer3dcx6l3q (http://www.mediafire.com/?7mulwer3dcx6l3q) - this one shouldn't cause so much confusion when browsing for different Starfarer directory.
Title: Re: Starfarer Mod Manager (0.1.1 alpha) - download available!
Post by: CrashToDesktop on August 17, 2012, 05:15:15 PM
EPIC.
I give a pat on the back to you, neonesis. :)
Title: Re: Starfarer Mod Manager (0.1.1 alpha) - download available!
Post by: NightKev on August 17, 2012, 10:15:18 PM
- automatic listing&downloading&updating mods (that would require a FTP mod hosting server)
Well, I could probably provide this (temporarily or permanently), if you want (don't even have to worry about it going down if I mysteriously disappear or something, my hosting is pre-paid for 2 years :D).
Title: Re: Starfarer Mod Manager (0.1.1 alpha) - download available!
Post by: theSONY on August 18, 2012, 01:19:35 AM
Spoiler
(http://i.imgur.com/519Oo.png)
[close]

i got something like that with the 1st ver.

EDIT: ok i got this, i delete all the folders so all .rar  are in MOD folder & i managed to open the MOD window :)  
now checking . . .
EDIT 2: so its crashing on some mods ( CAELUS ) maybe its some old ver , i dunno

but Menager still can't see conflicts like, Uomoz & Omega's
& do only i have to click "OK" like 10x everytime i lunch the manager luncher ?
Title: Re: Starfarer Mod Manager (0.1.1 alpha) - download available!
Post by: neonesis on August 18, 2012, 03:49:40 AM
Spoiler
(http://i.imgur.com/519Oo.png)
[close]

i got something like that with the 1st ver.

EDIT: ok i got this, i delete all the folders so all .rar  are in MOD folder & i managed to open the MOD window :)  
now checking . . .
EDIT 2: so its crashing on some mods ( CAELUS ) maybe its some old ver , i dunno

but Menager still can't see conflicts like, Uomoz & Omega's
& do only i have to click "OK" like 10x everytime i lunch the manager luncher ?
I need more info about your Starfarer setup. First of all tell me to which Message (the ones you have to click OK) it gets before it crashes.
Also, in your mod folder, there should mod folders with mod_info.json files directly in them, are you sure you have setup your mods properly?

Conflict detection is still only manual-list based, so you will see the conflicts only after Mod Authors update their mods to take advantage of new variables.

And yes, only you have to click 10x times everytime you launch, because it's this special version. So please tell me to which message you get before crash...

Patience, patience.
Title: Re: Starfarer Mod Manager (0.1.1 alpha) - download available!
Post by: neonesis on August 18, 2012, 03:53:02 AM
- automatic listing&downloading&updating mods (that would require a FTP mod hosting server)
Well, I could probably provide this (temporarily or permanently), if you want (don't even have to worry about it going down if I mysteriously disappear or something, my hosting is pre-paid for 2 years :D).
It's not only about me, the mod authors would have to agree to always upload their mods to this one specific location. But thanks for the offer :)
Title: Re: Starfarer Mod Manager (0.1.1 alpha) - download available!
Post by: vulthoom on August 18, 2012, 02:41:48 PM
Wow. This mod manager is way better than the one I am working on.

Look at all the features!

I guess the only sad thing is it is not written in Java, so getting a Mac/Linux port of this will be difficult.
Title: Re: Starfarer Mod Manager (0.1.1 alpha) - download available!
Post by: neonesis on August 18, 2012, 03:00:14 PM
Wow. This mod manager is way better than the one I am working on.

Look at all the features!

I guess the only sad thing is it is not written in Java, so getting a Mac/Linux port of this will be difficult.
Well, writing it in Java would pose quite bigger challenge for me - I do not know Java as a language that much (but AFAIK it's similar to C#), and what is a even bigger obstacle, I do not know its libraries. I'm mostly a C++ guy, only recently delved into more object-oriented, managed language that is C#. WPF, and its easy availability in Visual C# Express was simply the fastest and most comfortable solution.

Also, features mean nothing when it crashes ;) Currently I have problem with no testers - while the program works for me, it doesn't seem to work for theSONY, and I can't get too much info why.
Title: Re: Starfarer Mod Manager (0.1.1 alpha) - download available!
Post by: vulthoom on August 19, 2012, 01:12:07 AM
I'll happily do some testing on this. I am familiar with C#, so adding a log file would help with me figuring out why I can't currently launch it.
Title: Re: Starfarer Mod Manager (0.1.1 alpha) - download available!
Post by: theSONY on August 19, 2012, 02:12:54 AM
Spoiler
(http://i.imgur.com/O4MFb.png)
[close]

ok thats my mods that works, but when i add CAELUS even if i instal it from Menager i got the "LoadModData - 1/2/3" & then its crashed, well i dont mind that, aint playing CAELUS anyway ^^ (cuz its crashes >: )
Title: Re: Starfarer Mod Manager (0.1.1 alpha) - download available!
Post by: Upgradecap on August 19, 2012, 03:32:48 AM
Well, if it crashes, i'd rather have you report it than being unfair and not letting us know about bugs that we may or may not have shipped.

We aren't gods, you know. :c
Title: Re: Starfarer Mod Manager (0.1.1 alpha) - download available!
Post by: neonesis on August 19, 2012, 04:29:10 AM
Okay, CAELUS has one specific thing I haven't taken into consideration, that's why it's crashing - fixing it now. Also, new version will have log support, that should help a lot in determining what's causing problems.
Title: Re: Starfarer Mod Manager (0.1.1 alpha) - download available!
Post by: Upgradecap on August 19, 2012, 05:21:37 AM
May i ask what exactly that was making it crash? The TC tag?
Title: Re: Starfarer Mod Manager (0.1.1 alpha) - download available!
Post by: neonesis on August 19, 2012, 06:50:13 AM
May i ask what exactly that was making it crash? The TC tag?
Not really.

It was a lone "\t" whitespace sequence in the file, followed by "[". I simply didn't test the "replace" tag enough times and in enough combinations.
Title: Re: Starfarer Mod Manager (0.1.1 alpha) - download available!
Post by: theSONY on August 19, 2012, 06:53:54 AM
well i alredy put my error log's in CAELUS topic , cuz im getting crash in the mod manager & in CAELUS gameplay, so i do my part & im not a fortune-teller
Title: Re: Starfarer Mod Manager (0.1.1 alpha) - download available!
Post by: neonesis on August 19, 2012, 07:11:04 AM
well i alredy put my error log's in CAELUS topic , cuz im getting crash in the mod manager & in CAELUS gameplay, so i do my part & im not a fortune-teller
Thanks for your input theSONY, problem with CAELUS and Mod Manager is now fixed.

New version (0.1.2) is available - http://www.mediafire.com/?t294yd95f5ep91n (http://www.mediafire.com/?t294yd95f5ep91n)

To everybody who experiences crash, strange behaviour, bugs  - please write here/send me a PM, and most importantly, link the smm_log.txt file which should be in the SMM directory.
Title: Re: Starfarer Mod Manager (0.1.2 alpha) - download available!
Post by: theSONY on August 19, 2012, 08:29:07 AM
& its works like a bloody charm mate ^^
of course i I was able to crash it ^^ BUT i was just checking other mods with CALEUS, well i was just checking if you can do such a thing & how it is all that new ver. of your mod working but it was just thin once incident so don't panic... :)
                                                                                                                                                                        ...yet  8)
Title: Re: Starfarer Mod Manager (0.1.2 alpha) - download available!
Post by: Upgradecap on August 19, 2012, 08:33:51 AM
& its works like a bloody charm mate ^^
of course i I was able to crash it ^^ BUT i was just checking other mods with CALEUS, well i was just checking if you can do such a thing & how it is all that new ver. of your mod working but it was just thin once incident so don't panic... :)
                                                                                                                                                                        ...yet  8)

So, i assume all issues with CAELUS are now a non-issue? :D
Title: Re: Starfarer Mod Manager (0.1.2 alpha) - download available!
Post by: theSONY on August 19, 2012, 09:10:38 AM
So, i assume all issues with CAELUS are now a non-issue? :D

well i dunno, last time i was playing CAELUS i got crash in battle ( there is somewhare posted on CAELUS topic) the problem was with "atlas" or something like that
Title: Re: Starfarer Mod Manager (0.1.2 alpha) - download available!
Post by: neonesis on August 19, 2012, 09:13:22 AM
Gentlemen, please stay on topic, and keep the CAELUS bug chatter in its own thread ;)
Title: Re: Starfarer Mod Manager (0.1.2 alpha) - download available!
Post by: Upgradecap on August 19, 2012, 09:15:45 AM
I was fearful of hijacking this thread that way. Anyways, back on topic.
Title: Re: Starfarer Mod Manager (0.1.2 alpha) - download available!
Post by: Sproginator on August 19, 2012, 10:10:03 AM
Handy looking mod, I'll get my mods and all future ones compatible, I suggest others do the same
Title: Re: Starfarer Mod Manager (0.1.2 alpha) - download available!
Post by: Sproginator on August 19, 2012, 11:01:43 AM
You may want to list some compatible mods
Title: Re: Starfarer Mod Manager (0.1.2 alpha) - download available!
Post by: neonesis on August 19, 2012, 11:06:07 AM
You may want to list some compatible mods
Do you mean listing compatible mods per mod in the actual program, or the mods that are compatible with the SMM (they have added new variables)?
Title: Re: Starfarer Mod Manager (0.1.2 alpha) - download available!
Post by: Sproginator on August 19, 2012, 11:06:53 AM
You may want to list some compatible mods
Do you mean listing compatible mods per mod in the actual program, or the mods that are compatible with the SMM (they have added new variables)?

The ones that have the new variables, by the way, i cannot get the mod to work, I just follow the installer and it doesnt work :/
Title: Re: Starfarer Mod Manager (0.1.2 alpha) - download available!
Post by: neonesis on August 19, 2012, 11:12:17 AM
You may want to list some compatible mods
Do you mean listing compatible mods per mod in the actual program, or the mods that are compatible with the SMM (they have added new variables)?

The ones that have the new variables, by the way, i cannot get the mod to work, I just follow the installer and it doesnt work :/

To everybody who experiences crash, strange behaviour, bugs  - please write here/send me a PM, and most importantly, link the smm_log.txt file which should be in the SMM directory.

Please do so, since I have no idea what might be the problem just from the information that it doesn't start.

I could list the compatible mods, but that would require every mod author to write a PM to me, stating that their mod is compatible. I just don't find that necessary, it's enough if mod author writes the compability in the mod's release notes, as Uomoz did for his Uomoz's Corvus.
Title: Re: Starfarer Mod Manager (0.1.2 alpha) - download available!
Post by: Sproginator on August 19, 2012, 11:18:34 AM
I simply cant upload it, as there isnt even a file there, it just crashes on startup
Title: Re: Starfarer Mod Manager (0.1.2 alpha) - download available!
Post by: neonesis on August 19, 2012, 11:23:05 AM
I simply cant upload it, as there isnt even a file there, it just crashes on startup
Now that's very strange, since logfile creation is the first thing this application does. There is literally nothing else being done before the file is set up and the "SMM initialising" line is written out.

Are you sure you have .NET 4.0 installed? What operating system do you use? Where did you install the SMM? (you can answer in PM if you don't like stating these things in public)
Title: Re: Starfarer Mod Manager (0.1.2 alpha) - download available!
Post by: Sproginator on August 19, 2012, 11:26:04 AM
I simply cant upload it, as there isnt even a file there, it just crashes on startup
Now that's very strange, since logfile creation is the first thing this application does. There is literally nothing else being done before the file is set up and the "SMM initialising" line is written out.

Are you sure you have .NET 4.0 installed? What operating system do you use? Where did you install the SMM? (you can answer in PM if you don't like stating these things in public)

Yes, Vista, In C:\Program Files\Fractal Softworks\Starfarer, Sound good? :P
Title: Re: Starfarer Mod Manager (0.1.2 alpha) - download available!
Post by: Sproginator on August 19, 2012, 11:26:52 AM
I also have Codex installed, is that a problem?
Title: Re: Starfarer Mod Manager (0.1.2 alpha) - download available!
Post by: Sproginator on August 19, 2012, 11:27:38 AM
I also have Codex installed, is that a problem?
Nevermind, uninstalled that, no dice, still broke XD
Title: Re: Starfarer Mod Manager (0.1.2 alpha) - download available!
Post by: neonesis on August 19, 2012, 11:29:32 AM
Sorry, it looks like my fault, although it's a very strange bug - the file is being created when debugging, but not when I just copy the .exe into SF directory.

Stay tuned.
Title: Re: Starfarer Mod Manager (0.1.2 alpha) - download available!
Post by: Sproginator on August 19, 2012, 11:34:18 AM
Sorry, it looks like my fault, although it's a very strange bug - the file is being created when debugging, but not when I just copy the .exe into SF directory.

Stay tuned.
ok....
Title: Re: Starfarer Mod Manager (0.1.2 alpha) - download available!
Post by: FlashFrozen on August 19, 2012, 11:57:24 AM
Neat things happen when you have total conversion selected first, then go on to select a compilation such as UC,

Think the error dialogs are a bit reversed but okay :D

Also another quirk.
And I tried adding into the mod_info.json like this to see what would happen, it'll make the manager unlaunchable without any real dialog specifying what's wrong

   "gameVersion":"0.53.1a",
     "m_isVanillaBalanced":"true",
     "m_isCompilation":"false",   

      "m_incompatibleWith":"Collection, UomozCorvus",

Or

   "gameVersion":"0.53.1a",

     "m_isVanillaBalanced":"true",
     "m_isCompilation":"false",   
      "m_incompatibleWith":"Collection, UomozCorvus",

smm.log

Code
[INFO][35] ParseModFile: mod info: internalID = Neutrino
[INFO][35] ParseModFile: mod info: modName = Neutrino Corporation
[INFO][35] ParseModFile: mod info: modVersion = 1.35
[INFO][35] ParseModFile: mod info: modDescription = 13 neutrino ships, and 2 bombers with 3 fighters and 15 unique weapons
[INFO][35] ParseModFile: mod info: gameVersion = 0.53.1a

and it'll just end like that.

Error stems from the fact the manager doesn't work with blank spaces where it was expecting values which can be a bit misleading without any error messages saying so :)

Neat program though :D
Title: Re: Starfarer Mod Manager (0.1.2 alpha) - download available!
Post by: neonesis on August 19, 2012, 12:01:18 PM
About the logfile not appearing - so it looks like the SMM may need administrative rights to write to folders such as Program Files. I will try to resolve that somehow.

stuff
Yeah, I've just got another report about that, and I'm working on it - I simply didn't remember to throw away these whitespaces while loading data.
Title: Re: Starfarer Mod Manager (0.1.2 alpha) - download available!
Post by: FlashFrozen on August 19, 2012, 12:06:28 PM
Also, is the "CONFLICTS DETECTED" supposed to go off every time you activate a lone singular mod? or isn't it supposed to only light up when you have two mods that actually are in conflict?
Because atm, if you only activate one mod but have a conflicting mod that isn't activated it'll still throw up the warning.

Also I like how the compilation disables all the currently existing mods already contained, but you can simply reactivate the corresponding disabled mods, feature? or bug? xP
Title: Re: Starfarer Mod Manager (0.1.2 alpha) - download available!
Post by: neonesis on August 19, 2012, 12:12:35 PM
Also, is the "CONFLICTS DETECTED" supposed to go off every time you activate a lone singular mod? or isn't it supposed to only light up when you have two mods that actually are in conflict?
Because atm, if you only activate one mod but have a conflicting mod that isn't activated it'll still throw up the warning.

Also I like how the compilation disables all the currently existing mods already contained, but you can simply reactivate the corresponding disabled mods, feature? or bug? xP
Both are bugs ;) But what mods do you have/are activating? It worked as it should when I tested it.
Title: Re: Starfarer Mod Manager (0.1.2 alpha) - download available!
Post by: FlashFrozen on August 19, 2012, 12:26:32 PM
I'm just testing out the new variables with my own mod (neutrino) and with Uomoz's corvus

for example, if I enable my mod first, then enable UC it'll disable my mod as it should,

But then I just click to activate my mod again and it'll let me.
Title: Re: Starfarer Mod Manager (0.1.2 alpha) - download available!
Post by: theSONY on August 19, 2012, 01:00:34 PM
I simply cant upload it, as there isnt even a file there, it just crashes on startup

i know that pain
to fix that, go to your MOD folder,erase or move your extracted MOD's folder (just make sure your MOD folder is clear of any extracted files)
then start up Mod Menager & then just put your folders 1 by 1 to the MOD folder, & see wich one couse the crashes :)
(i do the same stuff)

PS: sorry 4 my english, its beer foult... well 6 of them ;P
Title: Re: Starfarer Mod Manager (0.1.2 alpha) - download available!
Post by: Sproginator on August 19, 2012, 01:01:47 PM
lol, all of them do, haha!
Title: Re: Starfarer Mod Manager (0.1.2 alpha) - download available!
Post by: neonesis on August 19, 2012, 01:04:30 PM
lol, all of them do, haha!
I already fixed the problem with whitespace parsing in mod_info files, but I have to squash the bugs FlashFrozen reported before I put up next version.

Also, sproginator, please run the SMM as administrator, the log file should appear so you can link it. This is a temporary fix, I will be looking into ways to make it work without administrative rights.

And also, big thanks to everybody who is patient enough and still tries to make this work instead of just throwing it out through the window!
Title: Re: Starfarer Mod Manager (0.1.2 alpha) - download available!
Post by: The Counter on August 19, 2012, 01:14:03 PM
Nice looking stuff, another thing that I'll need to keep an eye on.
Title: Re: Starfarer Mod Manager (0.1.2 alpha) - download available!
Post by: Sproginator on August 19, 2012, 01:14:18 PM
lol, all of them do, haha!
I already fixed the problem with whitespace parsing in mod_info files, but I have to squash the bugs FlashFrozen reported before I put up next version.

Also, sproginator, please run the SMM as administrator, the log file should appear so you can link it. This is a temporary fix, I will be looking into ways to make it work without administrative rights.

And also, big thanks to everybody who is patient enough and still tries to make this work instead of just throwing it out through the window!

[INFO][0] MainWindow: Starfarer Mod Manager initialising...
[INFO][104] MainWindow: MainWindow component initialised.
[INFO][105] Loading StarfarerDirectory from registry...
[INFO][106] StarfarerDirectory loaded from registry with value = C:\Program Files\Fractal Softworks\Starfarer
[INFO][106] Loading CompilationDisabling from registry...
[INFO][106] CompilationDisabling loaded from registry with value = True
[INFO][106] Loading OverrideEnabled from registry...
[INFO][106] OverrideEnabled loaded from registry with value = False
[INFO][106] Saving settings to registry...
[INFO][107] Saved settings.
[INFO][109] Loading DirectoryInfo from C:\Program Files\Fractal Softworks\Starfarer\mods
[INFO][109] Getting directory list from C:\Program Files\Fractal Softworks\Starfarer\mods
[INFO][110] LoadModData: Loading mods...
[INFO][114] GetModFilePath: Looking for mod_info.json file in C:\Program Files\Fractal Softworks\Starfarer\mods\ScribbleFarer0.4
[INFO][123] ParseModFile: Loading mod_info.json from C:\Program Files\Fractal Softworks\Starfarer\mods\ScribbleFarer0.4\mod_info.json
[INFO][123] ParseModFile: Reading from C:\Program Files\Fractal Softworks\Starfarer\mods\ScribbleFarer0.4\mod_info.json
[INFO][124] ParseModFile: Removing unnecesary lines and comments...
[INFO][124] ParseModFile: Parsing variables...
[INFO][124] ParseModFile: mod info: internalID = Scribblefarer
[INFO][124] ParseModFile: mod info: modName = ScribbleFarer
[INFO][124] ParseModFile: mod info: modVersion = 0.4
[INFO][124] ParseModFile: mod info: modDescription = One day, A programmer's childs notebook fell into the scanner, Welcome to the wonderful warzone it has made!
[INFO][124] ParseModFile: mod info: gameVersion = 0.35a
[INFO][124] ParseModFile: mod info: author = Sproginator , TheSoldier , Sdmike1 , Upgradecap, BladeSkydancer
[INFO][124] ParseModFile: mod info: totalConversion = false
[INFO][124] ParseModFile: mod info: Entering "replace"  variable mode.
Title: Re: Starfarer Mod Manager (0.1.2 alpha) - download available!
Post by: Sproginator on August 19, 2012, 01:14:40 PM
Uninstalled all my mods, then ran it, it worked, tried to add a mod, failed :P
Title: Re: Starfarer Mod Manager (0.1.2 alpha) - download available!
Post by: neonesis on August 19, 2012, 01:23:48 PM
Uninstalled all my mods, then ran it, it worked, tried to add a mod, failed :P

Did you try to add your own mod? (I'm asking because the logfile shows there is a problem with your mod's mod_info file, which I will look into now - it's probably another parsing bug, or the one I already fixed).

EDIT: Checked it and... you troll! :D You actually have "replace" variable, with no items! SMM was not prepared for such evil sorcery. Fixing now.
Title: Re: Starfarer Mod Manager (0.1.2 alpha) - download available!
Post by: Sproginator on August 19, 2012, 02:20:33 PM
Uninstalled all my mods, then ran it, it worked, tried to add a mod, failed :P

Did you try to add your own mod? (I'm asking because the logfile shows there is a problem with your mod's mod_info file, which I will look into now - it's probably another parsing bug, or the one I already fixed).

EDIT: Checked it and... you troll! :D You actually have "replace" variable, with no items! SMM was not prepared for such evil sorcery. Fixing now.
Mah bad, I'll fix that my end too lol
Title: Re: Starfarer Mod Manager (0.1.3 alpha) - download available!
Post by: neonesis on August 19, 2012, 03:04:44 PM
New version, should fix the most "crashy" problems, I hope.

Download: http://www.mediafire.com/?ku5jxricj6hio77 (http://www.mediafire.com/?ku5jxricj6hio77)

Please pay attention that the smm_log.txt file is now created in your %APPDATA%\Starfarer Mod Manager\ directory, rather than Starfarer directory. This is to circumvent the write permissions requiring administrative rights in Program Files.
Title: Re: Starfarer Mod Manager (0.1.3 alpha) - download available!
Post by: silentstormpt on August 19, 2012, 05:27:09 PM
No problems so far, tried with both my mods and it seems fine.
Title: Re: Starfarer Mod Manager (0.1.3 alpha) - download available!
Post by: Sproginator on August 19, 2012, 05:27:55 PM
No problems so far, tried with both my mods and it seems fine.
All better now, I'll work on updating my mods tomorrow, it's 1:30am here, so goodnight
Title: Re: Starfarer Mod Manager (0.1 alpha) - download available!
Post by: WarStalkeR on August 20, 2012, 08:52:33 AM
What about Mono (http://www.mono-project.com/What_is_Mono)? I have no idea how good it actually is, but it seems like a way to get a C# program to run on Mac/Linux. Assuming it's not an enormous pain to set up and use.
It's pretty much pain, I can tell you from my own experience.

neonesis, you've done very great job writing mod manager, you can try to write it in Java, Java & C# have pretty much the same syntax, both of them object oriented and in addition Java works on every possible OS :)
Title: Re: Starfarer Mod Manager (0.1.3 alpha) - download available!
Post by: CrashToDesktop on August 28, 2012, 02:43:43 PM
Oh yea, this isn't starting for me.  It used to start perfectly, now I just double-click it and nothing happens.
Title: Re: Starfarer Mod Manager (0.1.3 alpha) - download available!
Post by: neonesis on August 29, 2012, 11:05:55 AM
Oh yea, this isn't starting for me.  It used to start perfectly, now I just double-click it and nothing happens.
Could you please attach (or send me) a log file? It's located in your APPDATA folder, that is C:\Users\<username>\AppData\Roaming\Starfarer Mod Manager\ on default.
Title: Re: Starfarer Mod Manager (0.1.3 alpha) - download available!
Post by: CrashToDesktop on August 29, 2012, 12:24:11 PM
Here you go, attached.

[attachment deleted by admin]
Title: Re: Starfarer Mod Manager (0.1.3 alpha) - download available!
Post by: Sotales on September 21, 2013, 06:57:34 AM
Is this still being supported/developed?
Title: Re: Starfarer Mod Manager (0.1.3 alpha) - download available!
Post by: neonesis on September 21, 2013, 07:24:14 AM
Is this still being supported/developed?
I still have the source code, but I abandoned development a while ago due to not much interest/RL issues. I might resume the project some day (and choose different technology...), but I think that default mod support in Starsector is already good enough, thus making such manager obsolete.