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

Discuss and distribute tools and methods for modding. Moderator - Grognak
Post Reply
LordAshram
Posts: 71
Joined: Thu Jul 18, 2013 11:45 pm

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

Post by LordAshram »

Great, found it:) Not sure why I couldn't before!:)

That said, I tried to patch, and I got this error in the log:

2013-07-20 11:16:55 INFO: Grognak's Mod Manager v1.7.0
2013-07-20 11:16:55 INFO: Platform: Windows-Vista-6.0.6002-SP2
2013-07-20 11:16:55 INFO: Interpreter: CPython 2.7.5 (32bit)
2013-07-20 11:16:55 INFO:
2013-07-20 11:16:55 INFO: Rooting at: C:\Users\gp\Desktop\Grognaks Mod Manager v1.7 Win32
2013-07-20 11:16:55 INFO:
2013-07-20 11:16:55 INFO: Registering ctrl-c handler.
2013-07-20 11:16:55 INFO: Using FTL dats path from config: C:\Program Files (x86)\Steam\steamapps\common\FTL Faster Than Light\resources
2013-07-20 11:16:55 ERROR: The config's FTL dats path does not exist, or it lacks data.dat.
2013-07-20 11:16:56 DEBUG: FTL dats path was not located automatically. Prompting user for location.
2013-07-20 11:17:34 INFO: FTL dats located at: C:/Program Files/FTL/resources
2013-07-20 11:17:34 INFO: Added Infinite Space_0.4.4.ftl
2013-07-20 11:17:35 INFO: Background hashing finished.
2013-07-20 11:17:37 INFO: No info for selected mod: Infinite Space_0.4.4 (de440631df2c0b8274a0f37ccff79206).
2013-07-20 11:17:38 INFO:
2013-07-20 11:17:38 INFO: Patching...
2013-07-20 11:17:38 INFO:
2013-07-20 11:17:38 INFO: Backing up data.dat
2013-07-20 11:17:38 INFO: Backing up resource.dat
2013-07-20 11:17:40 ERROR: [Errno 13] Permission denied: u'C:/Program Files/FTL/resources\\data.dat'
Traceback (most recent call last):
File "C:\Users\gp\Desktop\Grognaks Mod Manager v1.7 Win32\lib\killable_threading.py", line 99, in run
result = self._payload(*self._payload_args, **self._payload_kwargs)
File "C:\Users\gp\Desktop\Grognaks Mod Manager v1.7 Win32\main.py", line 782, in patch_dats
sh.copy2(bak_path, dat_path)
File "C:\Python27\lib\shutil.py", line 130, in copy2
copyfile(src, dst)
File "C:\Python27\lib\shutil.py", line 83, in copyfile
with open(dst, 'wb') as fdst:
IOError: [Errno 13] Permission denied: u'C:/Program Files/FTL/resources\\data.dat'
2013-07-20 11:17:40 INFO:
2013-07-20 11:17:40 INFO: Patching failed.
2013-07-20 11:17:42 INFO:
2013-07-20 11:17:42 INFO: Quitting... (ctrl-break to be rude)
2013-07-20 11:17:42 INFO:
2013-07-20 11:17:43 INFO: Bye


Any ideas on what that might mean?:)

Thanks so much!
LordAshram
Posts: 71
Joined: Thu Jul 18, 2013 11:45 pm

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

Post by LordAshram »

Nevermind, I think I solved it myself by just looking through the thread. Thanks for the help!
LordAshram
Posts: 71
Joined: Thu Jul 18, 2013 11:45 pm

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

Post by LordAshram »

Hi all!

Okay, got the PC one working, but can't get the mac working:) If anyone can help I'd appreciate it!:)

So... downloaded 1.6 (1.7 couldn't get unzipped) and ran "main" and got this (I changed some names for the computer):


Last login: Sun Jul 21 09:34:32 on ttys001
cd '/Users/car/Desktop/gmm/Grognaks-Mod-Manager - dist/' && '/usr/bin/pythonw' '/Users/car/Desktop/gmm/Grognaks-Mod-Manager - dist/main.py' && echo Exit status: $? && exit 1
Car-MacBook-Pro:~ car1nyc$ cd '/Users/car/Desktop/gmm/Grognaks-Mod-Manager - dist/' && '/usr/bin/pythonw' '/Users/car1nyc/Desktop/gmm/Grognaks-Mod-Manager - dist/main.py' && echo Exit status: $? && exit 1
ERROR: No module named argparse
Traceback (most recent call last):
File "/Users/car/Desktop/gmm/Grognaks-Mod-Manager - dist/main.py", line 56, in <module>
from ftldat import FTLDatUnpacker as du
File "/Users/car/Desktop/gmm/Grognaks-Mod-Manager - dist/ftldat.py", line 4, in <module>
import argparse
ImportError: No module named argparse
Car-MacBook-Pro:Grognaks-Mod-Manager - dist car$

Anyone able to tell me what I am messing up?:)

Thanks so much!
pjburnhill
Posts: 2
Joined: Fri Jun 14, 2013 9:12 am

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

Post by pjburnhill »

Hi,

On OS X, Latest FTL, Mod Manager v1.7.

Any idea why the manager gives this error (ran without patching anything, happens with or without selecting a mod):

Code: Select all

2013-07-24 16:26:00 INFO: Grognak's Mod Manager v1.7.0
2013-07-24 16:26:00 INFO: Platform:    Darwin-12.4.0-x86_64-i386-64bit
2013-07-24 16:26:00 INFO: Interpreter: CPython 2.7.2 (64bit)
2013-07-24 16:26:00 INFO: 
2013-07-24 16:26:00 INFO: Rooting at: /Users/pjburnhill/Apps/Grognaks Mod Manager v1.7 Manix
2013-07-24 16:26:00 INFO: 
2013-07-24 16:26:00 INFO: Registering ctrl-c handler.
2013-07-24 16:26:00 INFO: Using FTL dats path from config: /Users/pjburnhill/Library/Application Support/Steam/SteamApps/common/FTL Faster Than Light/FTL.app/Contents/Resources
2013-07-24 16:26:00 INFO: Background hashing finished.
2013-07-24 16:26:03 INFO: 
2013-07-24 16:26:03 INFO: Patching...
2013-07-24 16:26:03 INFO: 
2013-07-24 16:26:04 INFO: 
2013-07-24 16:26:04 INFO: Patching succeeded.
2013-07-24 16:26:04 ERROR: Unexpected exception in LogicThread.
Traceback (most recent call last):
  File "main.py", line 1130, in run
    self._process_event_queue(0.5)  # Includes some blocking.
  File "main.py", line 1159, in _process_event_queue
    self._process_event(action_name, arg_dict)
  File "main.py", line 1173, in _process_event
    self._patching_finished(arg_dict)
  File "main.py", line 1336, in _patching_finished
    ftl_exe_path = find_ftl_exe()
  File "main.py", line 894, in find_ftl_exe
    if (os.path.isfile(os.join(app_path, "Contents", "Info.plist"))):
AttributeError: 'module' object has no attribute 'join'
2013-07-24 16:26:04 INFO: 
2013-07-24 16:26:04 INFO: Quitting... (ctrl-break to be rude)
2013-07-24 16:26:04 INFO: 
2013-07-24 16:26:05 INFO: Bye
It seems to patch the mods fine though, which is weird... ?

Cheers!
PJ
Izual
Posts: 3
Joined: Wed Jul 24, 2013 8:20 pm

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

Post by Izual »

Hello guys,

I'm a modder using a .ftl file for my mod and I'd like to know how to add a description in GMM for my mod? I wasn't able to find how to do that.
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

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

Post by Vhati »

LordAshram wrote:can't get the mac working (1.7 couldn't get unzipped)
Try again.
You should have gotten "Grognaks Mod Manager v1.7 Manix.tar.gz", which should extract on OSX unless it didn't finish downloading.
Then double-click modman.command.

Several of the improvements 1.7 introduced were specifically to make it OSX-friendly.
There is, however, a trivial bug that won't let it start FTL after patching.


- - -

pjburnhill wrote:On OS X, Latest FTL, Mod Manager v1.7.

Any idea why the manager gives this error (ran without patching anything, happens with or without selecting a mod):

Code: Select all

  File "main.py", line 894, in find_ftl_exe
    if (os.path.isfile(os.join(app_path, "Contents", "Info.plist"))):
AttributeError: 'module' object has no attribute 'join'
It seems to patch the mods fine though, which is weird... ?
That'd be the trivial bug.
slaeb2012
Posts: 3
Joined: Thu Jul 25, 2013 2:22 pm

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

Post by slaeb2012 »

When i try to open modman.exe it says i dont have a required python but i have the ltest am i opening the wrong file
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

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

Post by Vhati »

Izual wrote:I'm a modder using a .ftl file for my mod and I'd like to know how to add a description in GMM for my mod? I wasn't able to find how to do that.
At the moment, *.ftl files can't describe themselves.
Instead the mod manager has a built-in catalog of known files and their descriptions (GMM/lib/default_moddb.py).
Every couple weeks, I scrape the Master Mod List (the threads it links to) on the forum and add new entries to the mod manager.


GMM 1.7 had its catalog hardcoded (circa March when it was released), but anyone who downloaded a zip of the bleeding edge version from GitHub will have their catalog update periodically.
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

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

Post by Vhati »

slaeb2012 wrote:When i try to open modman.exe it says i dont have a required python
Ignore modman.exe for now (it's broken), and run main.py directly.
- Windows XP: Double-click main.py.
- Windows Vista/7/8: may have to do this.


Or you can use the replacement exe I made.
slaeb2012
Posts: 3
Joined: Thu Jul 25, 2013 2:22 pm

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

Post by slaeb2012 »

im on windows 7 when i do the thing it says couldnt find the file
Post Reply