Grognak's Mod Manager v1.7 (Updated March 6, 2013!)

Discuss and distribute tools and methods for modding. Moderator - Grognak
SumiumOxide
Posts: 3
Joined: Thu Nov 08, 2012 7:51 am

Re: Grognak's Mod Manager v1.4 (Updated Oct 16 2012!)

Postby SumiumOxide » Sat Nov 10, 2012 6:44 am

Whale Cancer wrote:Well, more like user error. You need to enable "show file extensions" and change the actual file extension (by default, windows 7 only highlights the file name and not the extension). As it stands, you are just adding '.ftl' between the file name and the file extension.

Ah, thank you good sir. Sorry for being rather incompetent at this, first time doing this kind of stuff.
boa13
Posts: 829
Joined: Mon Sep 17, 2012 11:42 pm
Location: Nantes, France

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

Postby boa13 » Sat Nov 10, 2012 8:42 am

Don't sweat it. Everyone is not competent at some point and about some subjects, what matters is learning and improving. :) Besides, frankly, this is one of the reasons many experienced users hate the fact that Windows hides file extension by default, and change that setting as soon as they log in to Windows. This has been the source of many problems.
Forum janitor — If you spot spam, PM me the URL and/or the username of the spammer.
I have powers, moderator powers. I am not keen on using them, but will do so if needed.
Parzival23803
Posts: 9
Joined: Sun Nov 11, 2012 12:41 pm

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

Postby Parzival23803 » Sun Nov 11, 2012 12:45 pm

Hey, I was curious what I'm doing wrong here. I got GMM, extracted it, and then moved the files to the FTL folder. I enabled Begining Scrap Advantage and ran FTL, but I got a white box on a black screen. The only fix I can find is reinstalling. I bought the game on steam. Can anyone point out a fix?
CombustingBats
Posts: 1
Joined: Sun Nov 11, 2012 1:36 pm

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

Postby CombustingBats » Sun Nov 11, 2012 1:38 pm

I'm not sure what I did wrong. I followed the Mac install instructions, but when patching mods I got this:

Added Beginning Scrap Advantage.ftl
Added Infinite Space_0.2.3.ftl
Nov 11 13:35:47 Ryans-MacBook-Pro.local Python[877] <Error>: kCGErrorInvalidConnection: CGSGetWindowTags: Invalid connection
Nov 11 13:35:47 Ryans-MacBook-Pro.local Python[877] <Error>: kCGErrorFailure: Set a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
Nov 11 13:36:04 Ryans-MacBook-Pro.local Python[877] <Error>: kCGErrorInvalidConnection: CGSGetWindowTags: Invalid connection
Nov 11 13:37:41 Ryans-MacBook-Pro.local Python[877] <Error>: kCGErrorInvalidConnection: CGSGetWindowTags: Invalid connection

What does that mean?
ken oh
Posts: 8
Joined: Tue Nov 06, 2012 5:03 pm

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

Postby ken oh » Sun Nov 11, 2012 3:27 pm

Grognak wrote:Version 1.4.1 released with hopefully working Mac/Linux support (thanks for the commit.)


Still getting this error in 1.4.1 for Linux:

Code: Select all

Traceback (most recent call last):
  File "main.py", line 417, in <module>
    allowzip = cfg.getboolean("settings", "allowzip")
  File "/usr/lib/python2.7/ConfigParser.py", line 368, in getboolean
    v = self.get(section, option)
  File "/usr/lib/python2.7/ConfigParser.py", line 607, in get
    raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'settings'
Grognak
Posts: 172
Joined: Tue Sep 18, 2012 9:42 pm

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

Postby Grognak » Sun Nov 11, 2012 9:32 pm

@Parzival, try redownloading and trying again.

@Bats, that error is completely unfamiliar to me. Please try reinstalling the latest version of python 2.x

@Ken, please make sure you moved the latest .ini file to the correct folder.
Parzival23803
Posts: 9
Joined: Sun Nov 11, 2012 12:41 pm

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

Postby Parzival23803 » Sun Nov 11, 2012 10:34 pm

Grognak wrote:@Parzival, try redownloading and trying again.


I tried re-downloading, but the same thing happened. By the way, it worked fine before I added GMM, and a reinstall fixes it, but it crashes with GMM installed.
ken oh
Posts: 8
Joined: Tue Nov 06, 2012 5:03 pm

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

Postby ken oh » Mon Nov 12, 2012 12:16 pm

Grognak wrote:@Ken, please make sure you moved the latest .ini file to the correct folder.


I've tried every combination of moving the whole folder "Grognaks Mod Manager v1.4.1" and just its contents that I can think of. Below is what my best guess from the instructions (fyi, the instructions "Linux: in which FTL resides." isn't the most helpful since, as you can see, there are 4 files named FTL).

Code: Select all

FTL
├── data
│   ├── amd64
│   │   ├── bin
│   │   │   └── FTL
│   │   └── lib
│   │       ├── libbassmix.so
│   │       ├── libbass.so
│   │       ├── libfreetype.so.6
│   │       ├── libIL.so.1
│   │       ├── libILU.so.1
│   │       ├── libILUT.so.1
│   │       ├── libpng12.so.0
│   │       ├── libSDL-1.2.so.0
│   │       ├── libstdc++.so.6
│   │       └── libz.so.1
│   ├── exe_icon.bmp
│   ├── FTL
│   ├── licenses
│   │   ├── LGPL.txt
│   │   ├── README-DevIL.txt
│   │   ├── README-FreeType.txt
│   │   ├── README-RapidXML.txt
│   │   ├── README-SDL.txt
│   │   └── README-zlib.txt
│   ├── modman.exe
│   ├── modman.ini
│   ├── mods
│   │   ├── Beginning Scrap Advantage.ftl
│   │   └── readme.txt
│   ├── readme.txt
│   ├── resources
│   │   ├── data.dat
│   │   └── resource.dat
│   ├── src
│   │   ├── ftldat.py
│   │   ├── ftldat.pyc
│   │   ├── __init__.py
│   │   ├── license.txt
│   │   ├── main.py
│   │   └── readme.txt
│   └── x86
│       ├── bin
│       │   └── FTL
│       └── lib
│           ├── libbassmix.so
│           ├── libbass.so
│           ├── libfreetype.so.6
│           ├── libIL.so.1
│           ├── libILU.so.1
│           ├── libILUT.so.1
│           ├── libpng12.so.0
│           ├── libSDL-1.2.so.0
│           ├── libstdc++.so.6
│           └── libz.so.1
├── FTL
└── FTL_README.html
jocelyn
Posts: 6
Joined: Mon Nov 12, 2012 5:57 pm

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

Postby jocelyn » Mon Nov 12, 2012 6:18 pm

ken oh wrote:
Grognak wrote:Version 1.4.1 released with hopefully working Mac/Linux support (thanks for the commit.)


Still getting this error in 1.4.1 for Linux:

Code: Select all

Traceback (most recent call last):
  File "main.py", line 417, in <module>
    allowzip = cfg.getboolean("settings", "allowzip")
  File "/usr/lib/python2.7/ConfigParser.py", line 368, in getboolean
    v = self.get(section, option)
  File "/usr/lib/python2.7/ConfigParser.py", line 607, in get
    raise NoSectionError(section)
ConfigParser.NoSectionError: No section: 'settings'


Hi,

I just discovered mod manager last night and ran into the same error on OSX, and thankfully it's a simple fix. The script is simply searching for "modman.ini" in whatever directory it was run from, but it doesn't make sure that it's using the fully qualified path to find the file, so if you run from terminal, without changing into the right directory first, it will fail.

The easiest way to fix this is to change line 415 in main.py from:

Code: Select all

cfg.read("modman.ini")

to the following:

Code: Select all

cfg.read(os.path.join(dir_root, "modman.ini"))


EDIT: Below is the old method I used in case the new fix doesn't work.

The following example are from OSX, non-steam installation, but should work with linux, just make sure to use the right path/directory.

For example, before you run main.py from terminal, you need to cd into the FTL.app/contents directory:

Code: Select all

cd /Applications/FTL.app/Contents/

then launch the script

Code: Select all

python main.py

Or for the alternate solution, change the path on line 415 in main.py from:

Code: Select all

cfg.read("modman.ini")

to whatever directory it's stored in, the following is mine:

Code: Select all

cfg.read("/Applications/FTL.app/Contents/modman.ini")

Anyway, I hope this helps, I know there's likely a more elegant way to handle this, I just don't know python to be able to help.
ken oh
Posts: 8
Joined: Tue Nov 06, 2012 5:03 pm

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

Postby ken oh » Tue Nov 13, 2012 12:49 pm

jocelyn wrote:

Code: Select all

cfg.read("/Applications/FTL.app/Contents/modman.ini")



This got me somewhere (of course, my path is different at /home/kenoh/games/FTL/src/modman.ini), but now it'll bring a Tkinter window up saying that it needs to be in the correct directory. If anyone can look at my tree above and confirm I'm not actually messing this up, that would be awesome.

Who is online

Users browsing this forum: No registered users and 37 guests