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

Discuss and distribute tools and methods for modding. Moderator - Grognak
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

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

Postby Vhati » Fri Sep 20, 2013 2:53 pm

Scotty wrote:I like to sort my mods in subfolders, to describe them. could there be sth. like subfolder-support?

e.g., under \mods i could have sth like \CanBeUsedTogether ,\favorites, \test

Adding a menu to change which dir is the 'mods' folder (to a subfolder) would be the least messy way to achieve that...
I'm ambivalent, but I'll think on it some more.


In the meantime, something you can do is write scripts to run SMM from commandline, each patching a favorite combination of mods.
Scotty
Posts: 9
Joined: Tue Sep 17, 2013 8:18 pm

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

Postby Scotty » Fri Sep 20, 2013 3:06 pm

yeah. great. think about it, I would love it ;)
allanpike
Posts: 14
Joined: Fri Sep 20, 2013 10:21 pm

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

Postby allanpike » Fri Sep 20, 2013 10:24 pm

Hmmm... permission problems, lets check the readme...

Ah, here we go!

Start Menu -> Programs -> Accessories.... Okay...
Right-click "Command Prompt" to run as an admin. Done!
cd to the GMM directory. Huh??????
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

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

Postby Vhati » Sat Sep 21, 2013 1:55 am

allanpike wrote:Hmmm... permission problems

Nomally, you'd be able to right-click modman.exe, but it's broken.

A working replacement can be found here.


allanpike wrote:cd to the GMM directory. Huh??????

Sorry, that assumed some familiarity with commandline.
"cd" is a command to change the current directory to somewhere else.

Article: TechNet - Get the Full Path of a Folder or File in Windows 7
Or you can drag the folder onto a non-admin prompt to see its path typed out.

Also as you type in the prompt, you can hit tab one or more times will autocomplete names.


Note: GMM has a number of outstanding bugs, but it hasn't had an update since March, and likely never will again. I've made Slipstream Mod Manager to continue development.

It'll need to be run as an admin too, but the exe works.
allanpike
Posts: 14
Joined: Fri Sep 20, 2013 10:21 pm

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

Postby allanpike » Sat Sep 21, 2013 2:57 am

Oh, I see... I wish the mod list said that your mod manager is a replacement to this.
asaltedmuffin
Posts: 1
Joined: Mon Oct 07, 2013 4:12 am

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

Postby asaltedmuffin » Mon Oct 07, 2013 4:18 am

Sorry, first post on the forums.
Yeaaaah, so this has been making me real frustrated for the last 6 hours.
I have Python 2.7.3 installed, GMM 1.7.0, and I try to install the mod that comes with the GMM zip, "Beginning Scrap Advantage" or whatever. Every time I've tried to patch it, I get this message (along with "Patching Failed: see log for details")

2013-10-06 21:10:53 INFO: Grognak's Mod Manager v1.7.0
2013-10-06 21:10:53 INFO: Platform: Windows-7-6.1.7601-SP1
2013-10-06 21:10:53 INFO: Interpreter: CPython 2.7.3 (32bit)
2013-10-06 21:10:53 INFO:
2013-10-06 21:10:53 INFO: Rooting at: C:\Program Files\FTL
2013-10-06 21:10:53 INFO:
2013-10-06 21:10:53 INFO: Registering ctrl-c handler.
2013-10-06 21:10:53 INFO: Using FTL dats path from config: C:/Program Files/FTL/resources
2013-10-06 21:10:53 INFO: Background hashing finished.
2013-10-06 21:10:57 INFO:
2013-10-06 21:10:57 INFO: Patching...
2013-10-06 21:10:57 INFO:
2013-10-06 21:10:57 ERROR: [Errno 13] Permission denied: 'C:/Program Files/FTL/resources\\data.dat'
Traceback (most recent call last):
File "C:\Program Files\FTL\lib\killable_threading.py", line 99, in run
result = self._payload(*self._payload_args, **self._payload_kwargs)
File "main.py", line 782, in patch_dats
sh.copy2(bak_path, dat_path)
File "C:\Python27\lib\shutil.py", line 128, in copy2
copyfile(src, dst)
Terminus
Posts: 36
Joined: Fri Sep 27, 2013 6:36 pm

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

Postby Terminus » Mon Oct 07, 2013 4:27 am

asaltedmuffin wrote:Sorry, first post on the forums.
Yeaaaah, so this has been making me real frustrated for the last 6 hours.
I have Python 2.7.3 installed, GMM 1.7.0, and I try to install the mod that comes with the GMM zip, "Beginning Scrap Advantage" or whatever. Every time I've tried to patch it, I get this message (along with "Patching Failed: see log for details")

2013-10-06 21:10:53 INFO: Grognak's Mod Manager v1.7.0
2013-10-06 21:10:53 INFO: Platform: Windows-7-6.1.7601-SP1
2013-10-06 21:10:53 INFO: Interpreter: CPython 2.7.3 (32bit)
2013-10-06 21:10:53 INFO:
2013-10-06 21:10:53 INFO: Rooting at: C:\Program Files\FTL
2013-10-06 21:10:53 INFO:
2013-10-06 21:10:53 INFO: Registering ctrl-c handler.
2013-10-06 21:10:53 INFO: Using FTL dats path from config: C:/Program Files/FTL/resources
2013-10-06 21:10:53 INFO: Background hashing finished.
2013-10-06 21:10:57 INFO:
2013-10-06 21:10:57 INFO: Patching...
2013-10-06 21:10:57 INFO:
2013-10-06 21:10:57 ERROR: [Errno 13] Permission denied: 'C:/Program Files/FTL/resources\\data.dat'
Traceback (most recent call last):
File "C:\Program Files\FTL\lib\killable_threading.py", line 99, in run
result = self._payload(*self._payload_args, **self._payload_kwargs)
File "main.py", line 782, in patch_dats
sh.copy2(bak_path, dat_path)
File "C:\Python27\lib\shutil.py", line 128, in copy2
copyfile(src, dst)


Your best bet would be to switch over to Slpistream. Instructions are in the thread :)
Image
UltraMantis
Posts: 2141
Joined: Thu Sep 20, 2012 3:17 pm

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

Postby UltraMantis » Mon Oct 07, 2013 11:32 am

GMM hasn't been developed in a while. One of it's devs, Vhati, created SMM and it's highly recommended.
Report spam using the handy Report Button Mod.
Thrillhouse85
Posts: 3
Joined: Thu Apr 18, 2013 8:12 pm

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

Postby Thrillhouse85 » Mon Oct 07, 2013 8:30 pm

I'm trying to mod FTL now and am encountering some difficulty.

First, I'm on MAC OS X 10.6.8. I have 2 versions of FTL: one for Steam, and a DRM-free one I got off Bit Torrent.

So far, I've downloaded GMM, and have placed "Disable fleet.ftl" into the Mods folder. How do I open GMM, though? I've clicked on all of the files in the GMM folder, but none seem to work. Also, will this work with my Steam game, or will I have to use the one in my Applications folder?

Also, I have Python and gather I will need to use that after. Is this correct? Help would greatly be appreciated!

EDIT: I clicked on modman.command and Terminal opened. This is what it wrote:

Last login: Mon Oct 7 13:50:13 on ttys000
/Users/johnsmith/Desktop/Grognaks\ Mod\ Manager\ v1.7\ Manix/modman.command ; exit;
John-Smiths-MacBook-Pro:~ johnsmith$ /Users/jackmontpellier/Desktop/Grognaks\ Mod\ Manager\ v1.7\ Manix/modman.command ; exit;
INFO: Grognak's Mod Manager v1.7.0
INFO: Platform: Darwin-10.8.0-i386-64bit
INFO: Interpreter: CPython 2.7.5 (64bit)
INFO:
INFO: Rooting at: /Users/johnsmith/Desktop/Grognaks Mod Manager v1.7 Manix
INFO:
INFO: Registering ctrl-c handler.
INFO: Using FTL dats path from config: /Users/johnsmith/Library/Application Support/Steam/SteamApps/common/FTL Faster Than Light/FTL.app/Contents/Resources
INFO: Background hashing finished.
INFO:
INFO: Patching...
INFO:
INFO: Unpacking data.dat...
INFO: Unpacking resource.dat...
INFO:
INFO: Installing mod: Beginning Scrap Advantage.ftl
INFO: Merging folder: data
INFO:
INFO: Installing mod: Disable Fleet.ftl
INFO: Merging folder: data
INFO:
INFO: Repacking data.dat
INFO: Listing files to pack...
INFO: Creating datfile...
INFO: Packing...
INFO:
INFO: Repacking resource.dat
INFO: Listing files to pack...
INFO: Creating datfile...
INFO: Packing...
INFO:
INFO: Patching succeeded.
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'
INFO:
INFO: Quitting... (ctrl-break to be rude)
INFO:
INFO: Bye
logout

[Process completed]


I tried the game, though, and it didn't work. Very confused!
Last edited by Thrillhouse85 on Mon Oct 07, 2013 8:59 pm, edited 1 time in total.
User avatar
kartoFlane
Posts: 1488
Joined: Mon Jan 14, 2013 10:20 pm

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

Postby kartoFlane » Mon Oct 07, 2013 8:49 pm

GMM is obsolete, use SMM instead.

Regarding multiple installations, I'd have to look up the code, but I think SMM/GMM will use the installation in Applications folder if it is present, unless you explicitly tell it to use another.
Superluminal2 - a ship editor for FTL