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 » Thu Apr 04, 2013 2:21 pm

Sovereighn2280 wrote:2013-04-03 23:59:53 INFO: Using FTL dats path from config: C:/Users/larry/Desktop/Grognaks Mod Manager v1.7 Win32
Wait a minute. Is GMM modding data.dat and resource.dat in its own folder? They should not be there.
Delete modman.ini (the config), and run GMM again.
GMM should then tell you it found steam's FTL.

Something like:
C:\Program Files\Steam\steamapps\common\FTL Faster Than Light\resources\
or
C:\Program Files (x86)\Steam\steamapps\common\FTL Faster Than Light\resources\

If the manager is altering some copies of the game's resources, the game won't be affected. ;)
Sovereighn2280
Posts: 65
Joined: Mon Oct 08, 2012 1:23 pm

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

Postby Sovereighn2280 » Thu Apr 04, 2013 4:10 pm

Vhati wrote:
Sovereighn2280 wrote:2013-04-03 23:59:53 INFO: Using FTL dats path from config: C:/Users/larry/Desktop/Grognaks Mod Manager v1.7 Win32
Wait a minute. Is GMM modding data.dat and resource.dat in its own folder? They should not be there.
Delete modman.ini (the config), and run GMM again.
GMM should then tell you it found steam's FTL.


That worked! Now that you mention it too, I wasn't getting a notification if I wanted to run the game until now.
Thanks Vhati!
ShadowModer
Posts: 2
Joined: Thu Apr 04, 2013 8:59 pm

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

Postby ShadowModer » Thu Apr 04, 2013 9:04 pm

Ok I need help. This may been given a fix before to someone else and i didn't find it but, When ever i try to lauch GMM it says No supported version of Python found on this system.
Download Python 2.7.3 at: ----------

And i downloaded it, Installed it, tryed again, And nothing happens it still says the same, i uninstalled the game and tryed doing the stuff again, still nothing, So Please, please help me ;_; ( I legit bought FTL btw )
Vhati
Posts: 792
Joined: Thu Oct 25, 2012 12:01 pm

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

Postby Vhati » Thu Apr 04, 2013 9:40 pm

ShadowModer wrote:Ok I need help. This may been given a fix before to someone else and i didn't find it but
You're not alone. Someone posts it at least once on every page. :lol:

ShadowModer wrote:Whenever i try to lauch GMM it says No supported version of Python found on this system.
It's a bug. Nothing you did wrong.

Ignore modman.exe for now (it's broken), and run main.py directly.
- XP: Double-click main.py.
- Vista/7/8: likely have to do this...
viewtopic.php?f=12&t=2464&start=780#p41452
ShadowModer
Posts: 2
Joined: Thu Apr 04, 2013 8:59 pm

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

Postby ShadowModer » Thu Apr 04, 2013 9:52 pm

Vhati wrote:
ShadowModer wrote:Ok I need help. This may been given a fix before to someone else and i didn't find it but
You're not alone. Someone posts it at least once on every page. :lol:

ShadowModer wrote:Whenever i try to lauch GMM it says No supported version of Python found on this system.
It's a bug. Nothing you did wrong.

Ignore modman.exe for now (it's broken), and run main.py directly.
- XP: Double-click main.py.
- Vista/7/8: likely have to do this...
viewtopic.php?f=12&t=2464&start=780#p41452



-_- ur a fucking genius I <3 YOU!!!!
NeoDraconis
Posts: 5
Joined: Thu Apr 04, 2013 1:48 am

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

Postby NeoDraconis » Fri Apr 05, 2013 12:19 am

This happens anytime I select patch.

2013-04-04 20:17:45 INFO: Grognak's Mod Manager v1.7.0
2013-04-04 20:17:45 INFO: Platform: Windows-7-6.1.7601-SP1
2013-04-04 20:17:45 INFO: Interpreter: CPython 2.7.3 (64bit)
2013-04-04 20:17:45 INFO:
2013-04-04 20:17:45 INFO: Rooting at: C:\Development workspace\Grognaks Mod Manager v1.7 Win32
2013-04-04 20:17:45 INFO:
2013-04-04 20:17:45 INFO: Registering ctrl-c handler.
2013-04-04 20:17:45 INFO: Using FTL dats path from config: C:\Program Files (x86)\Steam\steamapps\common\FTL Faster Than Light\resources
2013-04-04 20:17:46 INFO: Background hashing finished.
2013-04-04 20:17:47 INFO: No info for selected mod: Infinite Space_0.4.4 High-res (5bad4d1ec8fcc188142ce2861f8650bb).
2013-04-04 20:17:48 INFO:
2013-04-04 20:17:48 INFO: Patching...
2013-04-04 20:17:48 INFO:
2013-04-04 20:17:48 INFO: Unpacking data.dat...
2013-04-04 20:17:48 INFO: Unpacking resource.dat...
2013-04-04 20:17:48 ERROR: unpack requires a string argument of length 8
Traceback (most recent call last):
File "C:\Development workspace\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:\Development workspace\Grognaks Mod Manager v1.7 Win32\main.py", line 801, in patch_dats
unpackdat(resource_dat_path, resource_unp_path)
File "C:\Development workspace\Grognaks Mod Manager v1.7 Win32\main.py", line 603, in unpackdat
unpacker = ftldat.FTLPack(open(dat_path, "rb"))
File "C:\Development workspace\Grognaks Mod Manager v1.7 Win32\lib\ftldat.py", line 193, in __init__
self._read_index()
File "C:\Development workspace\Grognaks Mod Manager v1.7 Win32\lib\ftldat.py", line 231, in _read_index
size, lfn = struct.unpack('<LL', self.f.read(8))
error: unpack requires a string argument of length 8
2013-04-04 20:17:48 INFO:
2013-04-04 20:17:48 INFO: Patching failed.
2013-04-04 20:17:51 INFO:
2013-04-04 20:17:51 INFO: Quitting... (ctrl-break to be rude)
2013-04-04 20:17:51 INFO:
2013-04-04 20:17:52 INFO: Bye
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 Apr 05, 2013 4:06 am

NeoDraconis wrote:This happens anytime I select patch.
error: unpack requires a string argument of length 8

See this post.
Sovereighn2280
Posts: 65
Joined: Mon Oct 08, 2012 1:23 pm

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

Postby Sovereighn2280 » Fri Apr 05, 2013 5:17 pm

Vhati, I used a full conversion mod today, but I can't seem to remove it. The patching with nothing selected method doesn't do anything. I fear that I may need to delete something from the FTL files, but I would know what to delete.
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 Apr 05, 2013 9:30 pm

Sovereighn2280 wrote:Vhati, I used a full conversion mod today, but I can't seem to remove it. The patching with nothing selected method doesn't do anything. I fear that I may need to delete something from the FTL files, but I would know what to delete.
Treat it the same way you did corrupted resources.

Under the hood, patching goes like this...
  • If backups don't already exist, FTL's dats are copied to GMM/backup/.
  • The backups are unpacked to a temp folder, and mods are added. Then FTL's dats get replaced.
When backups are created, there's an assumption that FTL wasn't already modded at the time. They're treated as if they were vanilla, to repeatedly clobber FTL's resources every time you patch.

When you patch with no mods selected, the 'vanilla' backup dats are simply copied into FTL.

This is why when there's corruption, or an FTL upgrade, GMM/backup/ needs to be cleared out, so new backups can be made. But if cleared at any other time, you risk having 'unremovable' mods.
Last edited by Vhati on Thu Apr 18, 2013 8:28 pm, edited 1 time in total.
NeoDraconis
Posts: 5
Joined: Thu Apr 04, 2013 1:48 am

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

Postby NeoDraconis » Sat Apr 06, 2013 11:47 am

Thanks for the help.