Page 46 of 117

Re: Grognak's Mod Manager v1.4.1 (Updated Nov 9 2012!)

Posted: Sun Dec 09, 2012 3:42 am
by UltraMantis
Well i don't know what Steam does differently tbh... Contents of the GMM download need to be unpacked where the FTL resources are. I have Win and OSX versions but not Steam so can't offer any advice.

I was only trying to help, you did say you can't even install it. And i didnt see those step by step instructions when i glanced around the forum so i copy/pasted from the readme hoping it would be that easy.

I'm not 100% sure Steam is to blame. On the one hand they sell DRM free games, but FTL isn't one of them apparently and that's weird since it's DRM-free everywhere else. But on the other hand most Steam users have no problems running the GMM or using mods. On PCs and Macs.

Re: Grognak's Mod Manager v1.4.1 (Updated Nov 9 2012!)

Posted: Sun Dec 09, 2012 4:43 am
by spynik1
i have a windows 7 running system laptop when i try to run the and install a mod it go's the process then when i start up ftl i get a white screen sometimes it changes black and then i have use task manager to shut it down anyone else having that problem i have re installed the game 10 times and im really mad

Re: Grognak's Mod Manager v1.4.1 (Updated Nov 9 2012!)

Posted: Sun Dec 09, 2012 6:04 am
by Grognak
spynik1 wrote:i have a windows 7 running system laptop when i try to run the and install a mod it go's the process then when i start up ftl i get a white screen sometimes it changes black and then i have use task manager to shut it down anyone else having that problem i have re installed the game 10 times and im really mad
http://www.ftlgame.com/forum/viewtopic. ... 420#p28610

Re: Grognak's Mod Manager v1.4.1 (Updated Nov 9 2012!)

Posted: Sun Dec 09, 2012 6:31 am
by spynik1
grognak im going to be honest i know basically nothing about python

Re: Grognak's Mod Manager v1.4.1 (Updated Nov 9 2012!)

Posted: Sun Dec 09, 2012 7:24 am
by TurtleLuigi
I was going to test out my new mod I made and when I loaded it the cmd box came up with the error

Unpack requires a string of augments &-

At least I think that's what it says it cuts off at the &.
If someone can please help me.

Re: Grognak's Mod Manager v1.4.1 (Updated Nov 9 2012!)

Posted: Sun Dec 09, 2012 8:48 am
by Grognak
@spynik1: You don't have to. All you have to do is download it so you can run the main.py file. :)

@TurtleLuigi: Try the same thing I told spynik.

Re: Grognak's Mod Manager v1.4.1 (Updated Nov 9 2012!)

Posted: Sun Dec 09, 2012 11:32 am
by Solarion
Grognak wrote:
spynik1 wrote:i have a windows 7 running system laptop when i try to run the and install a mod it go's the process then when i start up ftl i get a white screen sometimes it changes black and then i have use task manager to shut it down anyone else having that problem i have re installed the game 10 times and im really mad
http://www.ftlgame.com/forum/viewtopic. ... 420#p28610
Grognak, just so you know, the solution with manually running main.py etc hasn't worked for me. The error was different this time though. I posted this earlier (http://www.ftlgame.com/forum/viewtopic. ... 430#p28938) but it seems to have gotten a bit lost in the crowd.

Re: Grognak's Mod Manager v1.4.1 (Updated Nov 9 2012!)

Posted: Sun Dec 09, 2012 5:09 pm
by spynik1
Grognak wrote:@spynik1: You don't have to. All you have to do is download it so you can run the main.py file. :)

@TurtleLuigi: Try the same thing I told spynik.
tried it no succes exact same error

Re: Grognak's Mod Manager v1.4.1 (Updated Nov 9 2012!)

Posted: Sun Dec 09, 2012 9:21 pm
by jocelyn
marchpumpkin wrote:
UltraMantis wrote:It's all in the readme file.

Code: Select all

Mac OS X: in which FTL_README.html resides.
Except in the STEAM version, there is no FTL_README.html file
FTL Faster Than Light.app resides in ~/Applications/Games as do all Mac STEAM games.
Unzipping and putting all the src files in that same folder still doesn't work

Perhaps it's the "run main.py via python" that I cannot get to work. I open python via Terminal but trying to run main.py just pukes.

If anyone can handhold me through it, rather than just saying "RTFM" (which I did but still did not understand), I'd appreciate it.
Hi,

I don't have steam, but am a mac user, and I'll try to help.

From what I know of Steam, it stores all your downloaded applications in it's own unique library folder, somewhere in "/Library/Application Support" however, you can change the location of your steam library on disk, did you do by any chance choose a custom location?

If so, then you might need to edit the main.py file to reflect your custom library location, which I can try and help with, but it might be easier to do via pm. Otherwise you can try setting up mod manager as though you don't have steam. I'll try and outline a basic setup to do that below, just please remember that I don't have steam, and I can't test this.

And fair warning, this post will be long, but it's really not that many steps, or that complicated.

First, you need to find out where the FTL "data.dat" file resides for the steam version, for my regular mac version, it's here:

Code: Select all

/Applications/FTL.app/Contents/Resources/data.dat
note that it's inside the .app file, and you can browse the folder structure simply by right-clicking any .app, and choosing "show package contents"

Second, you need to copy a handful of files into the parent directory of the folder data.dat is in, so in my case, that's into the following directory:

Code: Select all

/Applications/FTL.app/Contents
And the files to copy:
  • ftldat.py
  • main.py
  • modman.ini
The two .py files should all be in the "/src" directory created when you unzipped mod manager, e.g.:

Code: Select all

/Grognaks Mod Manager v1.4.1/src/
and modman.ini will be in the main directory. Don't copy the /src directory itself, just copy the files I listed above.

lastly, to check if it works, open a terminal window and type: "python " (without the quotes.)
Please note the space after the word python, make sure you don't forget it. Then drag-and-drop the "main.py" file you copied above into the terminal window, you should wind up with something like:

Code: Select all

python /Applications/FTL.app/Contents/main.py
press enter, and select "no" to the prompt if you purchased ftl via steam.

If you get this far, and you encounter an error about the settings file, open the main.py file with a text editor (even the default textedit will work) and search for the following:

Code: Select all

cfg.read("modman.ini")
and change it to:

Code: Select all

cfg.read(os.path.join(dir_root, "modman.ini"))
This isn't strictly necessary, but it saves you a step whenever you want to run mod manager in the future, otherwise you'll need to "cd" into the folder that contains "main.py" before running the script.

Alternately, another option is to make a "command" file, which is just a shortcut to launch terminal commands. You can do this fairly easy with two lines from a terminal:

Code: Select all

echo "cd [posix/path/to/contents/folder]; python main.py" > ~/gmm.command
chmod ug+x ~/gmm.command
just replace everything inside the [] (and don't include the brackets when you do this, they're here just as a placeholder] with the path to your "contents" directory.

For a breakdown of what these two lines do, the first creates a new file "gmm.command" in your user home directory (e.g. /users/yourusernamehere) and the file contains one single line:

Code: Select all

cd [posix/path/to/contents/folder]; python main.py
then the second command (chmod ug+x ...) sets the file permission to be executable by the current logged in user and group the user belongs to. Now you can move the gmm.command file wherever you want, and simply double click it whenever you want to launch mod manager.

Anyway, sorry for the huge post, if anyone knows how to collapse blocks of a message (does the forum support spoiler tags or something?) let me know and I'll edit it so people don't have to scroll past everything in the future.

Cheers :)

Re: Grognak's Mod Manager v1.4.1 (Updated Nov 9 2012!)

Posted: Sun Dec 09, 2012 11:09 pm
by UltraMantis
Thank you for the detailed help. :D I hope that's the help that was needed.

The forum doesn't have the feature you mentioned, but i don't think anyone will complain about a lentghy post if it helps. ;)