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

Discuss and distribute tools and methods for modding. Moderator - Grognak
Bamboori
Posts: 2
Joined: Sun Apr 27, 2014 8:10 pm

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

Postby Bamboori » Sun Jan 20, 2019 11:11 pm

When I try to locate the ftl.dat file via the tool browser, it doesn't appear in the FTL folder. When navigating to it via explorer though it is there.
I'm using 1.9.1, FTL steam version on windows 10, Steam and thus FTL are not in C: folder, also tried admin version.
Uncle Seymour
Posts: 1
Joined: Tue Feb 19, 2019 4:22 am

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

Postby Uncle Seymour » Tue Feb 19, 2019 4:27 am

I'm having some severe trouble uninstalling mods. I followed the directions perfectly but the game will not return to an unmodded state. I untoggled the mod Infinite Space and then restrted the manager as well as the game and it didn't work. the game is still in infinite space. Im on windows 10, is that a problem for Slipstream
Mutos
Posts: 1
Joined: Sun Mar 17, 2019 2:51 pm

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

Postby Mutos » Sun Mar 17, 2019 2:54 pm

Hi all,


Just discovered this fantastic mod manager for FTL. Imho it just lacks a small feature : remembering which mods are installed when you launch it. Except for that, it's perfect : clear, simple and efficient...
Tentacular
Posts: 6
Joined: Fri Mar 22, 2019 9:19 pm

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

Postby Tentacular » Fri Mar 22, 2019 9:28 pm

Question, could anyone tell me what I'm doing wrong? I think I've followed the instructions to the letter. I get this patched up without problem, but it takes no effect in game. All I'm doing is just adding one weapon ("SHOTGUN") for testing:

Image

Image

Image

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>

<shipBlueprint name="PLAYER_SHIP_ROCK" layout="rock_cruiser" img="rock_cruiser">
   <class id="text_PLAYER_SHIP_ROCK_class">Rock Cruiser</class>
   <name id="text_PLAYER_SHIP_ROCK_name">Bulwark</name>
   <desc id="text_PLAYER_SHIP_ROCK_desc">Similar to its designers, this super-dense behemoth uses brute force to overwhelm its foes.</desc>
   <systemList>
      <battery power="1" room="13" start="false" img="room_battery_10" />
      <cloaking power="1" room="3" start="false" img="room_cloaking" />
      <clonebay power="1" room="16" start="false">
         <slot>
            <number>2</number>
         </slot>
      </clonebay>
      <doors power="1" room="1" start="true" img="room_doors_5">
         <slot>
            <direction>right</direction>
            <number>0</number>
         </slot>
      </doors>
      <drones power="2" room="4" start="false" img="room_drones_7" />
      <engines power="2" room="14" start="true" img="room_engines">
         <slot>
            <direction>down</direction>
            <number>2</number>
         </slot>
      </engines>
      <hacking power="1" room="11" start="false" img="room_hacking_4" />
      <medbay power="1" room="16" start="true" img="room_medbay_7">
         <slot>
            <number>2</number>
         </slot>
      </medbay>
      <mind power="1" room="8" start="false" img="room_mind_3" />
      <oxygen power="1" room="0" start="true" img="room_oxygen_7" />
      <pilot power="1" room="5" start="true" img="room_pilot">
         <slot>
            <direction>right</direction>
            <number>0</number>
         </slot>
      </pilot>
      <sensors power="1" room="12" start="true" img="room_sensors_4">
         <slot>
            <direction>left</direction>
            <number>1</number>
         </slot>
      </sensors>
      <shields power="2" room="2" start="true" img="room_shields_4">
         <slot>
            <direction>left</direction>
            <number>0</number>
         </slot>
      </shields>
      <teleporter power="1" room="17" start="false" />
      <weapons power="3" room="15" start="true" img="room_weapons_5">
         <slot>
            <direction>right</direction>
            <number>1</number>
         </slot>
      </weapons>
   </systemList>
   <weaponSlots>4</weaponSlots>
   <droneSlots>2</droneSlots>
   <weaponList missiles="28" count="4">
      <weapon name="MISSILES_2_PLAYER" />
      <weapon name="MISSILES_HULL" />
      <weapon name="SHOTGUN" />
   </weaponList>
   <droneList drones="0" count="2" />
   <health amount="30" />
   <maxPower amount="8" />
   <crewCount amount="1" class="rock" />
   <crewCount amount="1" class="rock" />
   <crewCount amount="1" class="rock" />
   <aug name="ROCK_ARMOR" />
</shipBlueprint>

User avatar
please dont touch me
Posts: 22
Joined: Fri Oct 27, 2017 7:49 am

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

Postby please dont touch me » Sun Mar 24, 2019 10:02 pm

Your .ftl folder should just be a renamed .zip folder.

Additionally, since it's a mod,

Code: Select all

<class id="text_PLAYER_SHIP_ROCK_class">Rock Cruiser</class>
<name id="text_PLAYER_SHIP_ROCK_name">Bulwark</name>
<desc id="text_PLAYER_SHIP_ROCK_desc">Similar to its designers, this super-dense behemoth uses brute force to overwhelm its foes.</desc>
will not work. Instead, you should replace them with the regular variants

Code: Select all

<class>Rock Cruiser</class>
<name>Bulwark</name>
<desc>Similar to its designers, this super-dense behemoth uses brute force to overwhelm its foes.</desc>
wow! its The Guy
Discord - microwave#0388. Contact if you need pirate paint done or just general shading work.
Tentacular
Posts: 6
Joined: Fri Mar 22, 2019 9:19 pm

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

Postby Tentacular » Sun Mar 24, 2019 11:44 pm

please dont touch me wrote:Your .ftl folder should just be a renamed .zip folder.

It is, it was. I zip it then rename the .zip to .ftl (otherwise Slipsteam won't detect it). But once patched, it's still not showing any changes in game. I did check those text entries you pointed out, makes no difference.

It's probable I'm missing something more stupid than that!

So if anyone feels so inclined to explain it like I'm a complete idiot, that would be appreciated. All I'm trying to do is add some random weapon to some random ship (once I can reliably get that down I can make sense of the rest).
User avatar
mr_easy_money
Posts: 625
Joined: Fri May 29, 2015 9:05 pm

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

Postby mr_easy_money » Mon Mar 25, 2019 7:19 pm

Tentacular wrote:Question, could anyone tell me what I'm doing wrong? I think I've followed the instructions to the letter. I get this patched up without problem, but it takes no effect in game. All I'm doing is just adding one weapon ("SHOTGUN") for testing:

Tentacular wrote:Image
Image

this looks good? file extensions are visible so no problems there
Tentacular wrote:Image

this looks good too? slipstream is making no complaints about innerPath which means the file structure is good, so no problems here either?

then there's the code, which looks good too? there's a problem with the id attributes, but that has no effect on the mod working. to be honest, I don't know why the mod isn't working, looks good on my end the way you've described -- the mod adds the Flak I to the Rock A. just to reiterate the structure of the mod as I understand it:

made text file, renamed to blueprints.xml.append. in the file put the code you've put here (is basically the Rock A shipBlueprint, added SHOTGUN to weaponList, correctly adjusted count). put this file blueprints.xml.append into a folder called data. put this folder into a .zip (send to compressed zipped folder or added to .zip archive or etc.) and renamed the subsequent file to .ftl, placed in mods folder, then patched.

well I did exactly that and the Rock A has another weapon, the Flak I, as intended.

the problem with the id attributes (again, has no impact on intended effect of mod) is not that you shouldn't include them, but rather two-fold:
1. text_PLAYER_SHIP_ROCK_title is not defined in vanilla text_blueprints.xml, should be ship_PLAYER_SHIP_ROCK_title, same for other ones
2. you've specified both id attribute and value, which is redundant because the text referenced by the id attribute overwrites the value. should only specify one or the other, if you don't plan on changing it then should stick with the id form because it has localization stuff done for ya. but I'll cut you some slack here because I remember superluminal does something like this in the latest version for the sake of backwards compatibility.

um, so in case none of this has made any difference, you can download a version of your mod that I made here: https://www.dropbox.com/s/zczhgi8echnht ... g.ftl?dl=0 (you don't need a dropbox account). see if that works, compare with your own, etc.

so hopefully by this point, the problem is solved. this next bit isn't required, but I think it can make things easier (and open more possibilities) going forward.

in this mod, you copied the Rock A shipBlueprint from vanilla and made edits, and that's your mod. but this mod overwrote the ship occupying the Rock A slot to the vanilla Rock A (with an extra Flak 1). what if instead I wanted to add an extra Flak 1 to any custom ship occupying the Rock A slot? I wouldn't want to replace the custom ship with the vanilla Rock A, but I also want this mod to work with any custom ship. how to do it?

here's where these helpful things called slipstream tags come in (you can read more about these in readme_modders.txt under Advanced XML, and see some examples here: viewtopic.php?t=26426). slipstream tags let us make only the changes we want to make. we want to just add the Flak 1 to the ship in the Rock A slot, not add the Rock A ship then add the Flak 1 to it, see the difference?

here's the link for this mod (code below): https://www.dropbox.com/s/0or8ez4xbhxcl ... s.ftl?dl=0 On vanilla, it has exactly the same behavior as the mod above, but this mod will work for any custom ship on Rock A slot.

Code: Select all

<mod:findName type="shipBlueprint" name="PLAYER_SHIP_ROCK">
   <mod:findLike type="weaponList">
      <mod:setAttributes count="4" />
      <mod-append:weapon name="SHOTGUN" />
   </mod:findLike>
</mod:findName>

translated to plain English: find the shipBlueprint named PLAYER_SHIP_ROCK -> find the weaponList inside -> set count to 4 and add weapon SHOTGUN to the weaponList.

hopefully I solved your problem? any questions, feel free to ask away :mrgreen:
Tentacular
Posts: 6
Joined: Fri Mar 22, 2019 9:19 pm

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

Postby Tentacular » Wed Mar 27, 2019 8:32 am

mr_easy_money wrote:um, so in case none of this has made any difference, you can download a version of your mod that I made here: https://www.dropbox.com/s/zczhgi8echnht ... g.ftl?dl=0 (you don't need a dropbox account). see if that works, compare with your own, etc.

here's where these helpful things called slipstream tags come in...
...translated to plain English: find the shipBlueprint named PLAYER_SHIP_ROCK -> find the weaponList inside -> set count to 4 and add weapon SHOTGUN to the weaponList.

Hey, thanks a ton!

Your mod works fine, of course! I think I found the problem when validating (although not completely understand it as both your and my mod structure look exactly the same to me, so an explanation would be welcome):

Image

All I'm doing is: rename (.ftl to .zip) > unzip > edit .xml > zip back > rename (back to .ftl). And mod.name/data is also undercased. Genuinely puzzled :?:

PS: Thanks for the slipstream tagging advice, that's certainly the way to go!
Tentacular
Posts: 6
Joined: Fri Mar 22, 2019 9:19 pm

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

Postby Tentacular » Thu Mar 28, 2019 3:37 am

[duplicate post]
Last edited by Tentacular on Thu Mar 28, 2019 7:46 am, edited 1 time in total.
User avatar
isla
Posts: 350
Joined: Mon Mar 16, 2015 11:22 pm

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

Postby isla » Thu Mar 28, 2019 5:25 am

Sorry about that. Looks like the image hosting site was flagged.