Page 30 of 77
Re: Slipstream Mod Manager v1.4 (2013-09-20)
Posted: Sat Apr 26, 2014 9:20 pm
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*
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.

Re: Slipstream Mod Manager v1.4 (2013-09-20)
Posted: Sat Apr 26, 2014 11:01 pm
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.

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?
Re: Slipstream Mod Manager v1.4 (2013-09-20)
Posted: Sun Apr 27, 2014 2:36 am
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

Re: Slipstream Mod Manager v1.4 (2013-09-20)
Posted: Sun Apr 27, 2014 2:45 am
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.
Re: Slipstream Mod Manager v1.4 (2013-09-20)
Posted: Sun Apr 27, 2014 3:29 am
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?
Re: Slipstream Mod Manager v1.4 (2013-09-20)
Posted: Sun Apr 27, 2014 3:55 am
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.
Re: Slipstream Mod Manager v1.4 (2013-09-20)
Posted: Sun Apr 27, 2014 4:22 pm
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
Re: Slipstream Mod Manager v1.4 (2013-09-20)
Posted: Sun Apr 27, 2014 6:41 pm
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?
Re: Slipstream Mod Manager v1.4 (2013-09-20)
Posted: Sun Apr 27, 2014 6:49 pm
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
Re: Slipstream Mod Manager v1.4 (2013-09-20)
Posted: Sun Apr 27, 2014 8:28 pm
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?