Slipstream Mod Manager v1.9.1 (2018-01-07)

Discuss and distribute tools and methods for modding. Moderator - Grognak
Post Reply
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

Re: Slipstream Mod Manager v1.4 (2013-09-20)

Post by Vhati »

RAD-82 wrote:Bug Report: I would like to point out a new .xml file in the Advanced Edition. It is called misc.xml. This file contains a lot of text strings. Some of these strings either start or end with an empty space. When SMM appends this file, it removes these spaces. This is unwanted
*whimper*

Image


Edit: Would it be acceptable to entirely exclude "misc.xml" from XML parsing/appending/tidying, to treat it as plain text?
Mods would still be able to change it, but only by clobbering the entire file. :roll:
Russian Rockman
Posts: 819
Joined: Fri Jan 10, 2014 11:43 pm

Re: Slipstream Mod Manager v1.4 (2013-09-20)

Post by Russian Rockman »

Vhati wrote:
RAD-82 wrote:Bug Report: I would like to point out a new .xml file in the Advanced Edition. It is called misc.xml. This file contains a lot of text strings. Some of these strings either start or end with an empty space. When SMM appends this file, it removes these spaces. This is unwanted
*whimper*

Edit: Would it be acceptable to entirely exclude "misc.xml" from XML parsing/appending/tidying, to treat it as plain text?
Mods would still be able to change it, but only by clobbering the entire file. :roll:
So far the only mod I know of that changes this file is the Captains Edition. Is there a problem with how it is appended right now?
User avatar
BrenTenkage
Posts: 1157
Joined: Tue Nov 06, 2012 4:48 pm

Re: Slipstream Mod Manager v1.4 (2013-09-20)

Post by BrenTenkage »

When will the mod manager be compatable with the new update, every time I try to do it, it messes up the game and I have to redownload the file :(
I make a lot of lets plays of FTL, I also use mods I find on this site http://www.youtube.com/playlist?list=PL ... 06hca_PXuX
I am also a modder as well, here is my mod hub http://subsetgames.com/forum/viewtopic.php?f=11&t=32269
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

Re: Slipstream Mod Manager v1.4 (2013-09-20)

Post by Vhati »

BrenTenkage wrote:When will the mod manager be compatable with the new update, every time I try to do it, it messes up the game and I have to redownload the file :(
See kartoFlane's post about backups on the previous page.


Russian Rockman wrote:
RAD-82 wrote:Bug Report: I would like to point out a new .xml file in the Advanced Edition. It is called misc.xml. This file contains a lot of text strings. Some of these strings either start or end with an empty space.
When SMM appends this file, it removes these spaces. This is unwanted
So far the only mod I know of that changes this file is the Captains Edition.
Is there a problem with how it is appended right now?
For every "*.xml" or "*.xml.append" or "*.append.xml" in a mod, the text is parsed into a tree of abstract objects that represent the xml tags. Spaces are omitted both during the parsing process and when the objects are ultimately printed back to text (just like indention and line breaks). Even when not appending, SMM 1.4 still parses the mod's file to tidy it into valid XML.

So currently any mod that touches "misc.xml" inadvertently strips the leading and trailing spaces from those strings.
User avatar
RAD-82
Posts: 796
Joined: Sat Nov 09, 2013 12:16 am

Re: Slipstream Mod Manager v1.4 (2013-09-20)

Post by RAD-82 »

Russian Rockman wrote:So far the only mod I know of that changes this file is the Captains Edition. Is there a problem with how it is appended right now?
I've touched it quite a bit, mainly for altered artillery. Example from Frankenstein, the cooldown length for each level: Image Link

I've also used it on my Heavy Assault ships, because the UI needed a new string for Level 10 shields.
Vhati wrote:Edit: Would it be acceptable to entirely exclude "misc.xml" from XML parsing/appending/tidying, to treat it as plain text?
Mods would still be able to change it, but only by clobbering the entire file.
As Russian Rockman says, CE uses this file, so it isn't really ideal for another mod like mine that just needs to add a little bit to clobber all of that.

Treating misc.xml as plain text sounds like the way to go, but I don't see why mods would need to clobber the entire file. Can't you just add "plain text" to the end of the file, either by making a special exception for this file, or creating a new file extension that allows appending without XML parsing/tidying?
Image
Junkyard has FTL mods, mostly ships and a few other things.
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

Re: Slipstream Mod Manager v1.4 (2013-09-20)

Post by Vhati »

RAD-82 wrote:Treating misc.xml as plain text sounds like the way to go, but I don't see why mods would need to clobber the entire file. Can't you just add "plain text" to the end of the file, either by making a special exception for this file, or creating a new file extension that allows appending without XML parsing/tidying?
Yeah, I guess I can do the .rawappend thing.
ciociokiller
Posts: 3
Joined: Sun Apr 27, 2014 4:18 pm

Re: Slipstream Mod Manager v1.4 (2013-09-20)

Post by ciociokiller »

strangely, it doesn't detect .ftl files for me ( i tried with CE and infinite), runned as amministrator , put ftl files in mods but nothing
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

Re: Slipstream Mod Manager v1.4 (2013-09-20)

Post by Vhati »

ciociokiller wrote:strangely, it doesn't detect .ftl files for me ( i tried with CE and infinite), runned as amministrator , put ftl files in mods but nothing
You ran "modman.exe" as admin, which is good. Can you see the ".exe" part of its name?

Is there a "modman-log.txt" in the same folder? Anything interesting in it?
ciociokiller
Posts: 3
Joined: Sun Apr 27, 2014 4:18 pm

Re: Slipstream Mod Manager v1.4 (2013-09-20)

Post by ciociokiller »

Vhati wrote:
ciociokiller wrote:strangely, it doesn't detect .ftl files for me ( i tried with CE and infinite), runned as amministrator , put ftl files in mods but nothing
You ran "modman.exe" as admin, which is good. Can you see the ".exe" part of its name?

Is there a "modman-log.txt" in the same folder? Anything interesting in it?
uh only this and yes is modman exe

18:16:13.383 [main] DEBUG net.vhati.modmanager.FTLModManager - Slipstream Mod Manager v1.0
18:16:13.385 [main] DEBUG net.vhati.modmanager.FTLModManager - Windows 7 6.1 x86
18:16:13.385 [main] DEBUG net.vhati.modmanager.FTLModManager - Java HotSpot(TM) Client VM, 1.7.0_55
18:16:13.428 [main] DEBUG net.vhati.modmanager.FTLModManager - FTL dats path was not located automatically. Prompting user for location.
18:16:24.900 [main] INFO net.vhati.modmanager.FTLModManager - FTL dats located at: C:\Program Files (x86)\GOG Games\FTL - Advanded Edition\resources
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

Re: Slipstream Mod Manager v1.4 (2013-09-20)

Post by Vhati »

ciociokiller wrote:
Vhati wrote:
ciociokiller wrote:strangely, it doesn't detect .ftl files for me ( i tried with CE and infinite), runned as administrator , put ftl files in mods but nothing
You ran "modman.exe" as admin, which is good. Can you see the ".exe" part of its name?

Is there a "modman-log.txt" in the same folder? Anything interesting in it?
uh only this and yes is modman exe
That's fine...

Beside modman.exe and the log there's a folder named "mods".
You put something like "FTL Captains Edition 1.207b.ftl" in that folder?

And when you run the mod manager, that didn't appear in the list with a checkbox beside it?
Post Reply