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

Discuss and distribute tools and methods for modding. Moderator - Grognak
Watcher
Posts: 7
Joined: Thu Jul 04, 2013 2:49 pm

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

Postby Watcher » Thu Jul 04, 2013 9:11 pm

Vhati wrote:
Watcher wrote:No mods show up in the list.
I check the mod directory, And the bonus scrap mod thing that comes along with it is in there, as well as the Infinite Space mod, both of them with .ftl extensions.
Attach modman-log.txt ("Upload Attachment" is just below the submit button when composing a reply).

oh, right.
(edited my username out of it, as it's my real name.)
(also made it a .zip, because apparently you aren't allowed to upload a .txt...)
Edit:
Err, might be hard to.. read, it.
anyway, here it is:

Code: Select all

2013-07-04 17:06:08 INFO: Grognak's Mod Manager v1.7.0
2013-07-04 17:06:08 INFO: Platform:    Windows-7-6.1.7601-SP1
2013-07-04 17:06:08 INFO: Interpreter: CPython 2.7.5 (64bit)
2013-07-04 17:06:08 INFO:
2013-07-04 17:06:08 INFO: Rooting at: C:\Users\(mynamewashere)\Desktop\grognak's MM[ftl]
2013-07-04 17:06:08 INFO:
2013-07-04 17:06:08 INFO: Registering ctrl-c handler.
2013-07-04 17:06:08 INFO: Using FTL dats path from config: C:\Program Files (x86)\Steam\steamapps\common\FTL Faster Than Light\resources
2013-07-04 17:06:08 DEBUG: Failed to find mod file by name:
2013-07-04 17:06:08 INFO: Background hashing finished.
2013-07-04 17:06:10 DEBUG: User didn't click the "Patch" button. Exiting.
2013-07-04 17:06:10 INFO:
2013-07-04 17:06:10 INFO: Quitting... (ctrl-break to be rude)
2013-07-04 17:06:10 INFO:
2013-07-04 17:06:11 INFO:
2013-07-04 17:06:11 INFO: ConsoleCtrlHandler wants to exit!
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 Jul 05, 2013 12:59 am

Watcher wrote:Err, might be hard to.. read, it.
Yeah. When I replied, I forgot GMM's logs were short (and code tags scroll anyway).


Watcher wrote:No mods show up in the list.

Code: Select all

2013-07-04 17:06:08 INFO: Rooting at: C:\Users\(mynamewashere)\Desktop\grognak's MM[ftl]

The function that searches for "GMM-path\mods\*.ftl" treats the following chars as special:

Code: Select all

* ? [ ]

You named your GMM dir using square brackets, and the function got confused.
Rename it, and I think you'll see your mods.

I'll fix the next version so brackets will be tolerated. Thanks for reporting!
Finarous
Posts: 5
Joined: Fri Jul 05, 2013 3:10 am

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

Postby Finarous » Fri Jul 05, 2013 3:28 am

Hello Grognak, I am having an issue with getting the manager to work. I will attempt to open the modman application and it will say that no version of python is detected. This is a problem as I recently installed the version specified, thus I have no clue what is wrong. Any help from anyone is appreciated, thank you in advance.
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 Jul 05, 2013 3:32 am

Finarous wrote:it will say that no version of python is detected.
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.
Finarous
Posts: 5
Joined: Fri Jul 05, 2013 3:10 am

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

Postby Finarous » Fri Jul 05, 2013 3:38 am

Thank you Vhati, it works like a charm now. Thanks for helping everyone else too, you seem to be a font of knowlage.
Watcher
Posts: 7
Joined: Thu Jul 04, 2013 2:49 pm

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

Postby Watcher » Fri Jul 05, 2013 7:45 pm

Vhati wrote:
Watcher wrote:Err, might be hard to.. read, it.
Yeah. When I replied, I forgot GMM's logs were short (and code tags scroll anyway).


Watcher wrote:No mods show up in the list.

Code: Select all

2013-07-04 17:06:08 INFO: Rooting at: C:\Users\(mynamewashere)\Desktop\grognak's MM[ftl]

The function that searches for "GMM-path\mods\*.ftl" treats the following chars as special:

Code: Select all

* ? [ ]

You named your GMM dir using square brackets, and the function got confused.
Rename it, and I think you'll see your mods.

I'll fix the next version so brackets will be tolerated. Thanks for reporting!

I changed the brackets to parenthesizes, and now it works like a charm! Thanks!
Marrv
Posts: 2
Joined: Fri Jul 05, 2013 10:05 pm

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

Postby Marrv » Fri Jul 05, 2013 10:08 pm

Hello,

I am trying to run GMM and now I have found out about the exe & replaced it I get the following error

Code: Select all

2013-07-05 23:03:46 ERROR: DLL load failed: %1 is not a valid Win32 application.
Traceback (most recent call last):
  File "main.py", line 72, in <module>
    globals()[new_name] = __import__(old_name, globals(), locals(), [])
  File "C:\Python27\lib\lib-tk\Tkinter.py", line 38, in <module>
    import FixTk
  File "C:\Python27\lib\lib-tk\FixTk.py", line 65, in <module>
    import _tkinter
ImportError: DLL load failed: %1 is not a valid Win32 application.



This occurs both when I run main.py directly from an admin rights cmd or via the "beta" fix for the .exe

Have double & triple checked my java, but anything is possible (that I have 64 bit installed not 32, but thought you could have them installed side by side :S )
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 Jul 05, 2013 11:50 pm

Marrv wrote:I get the following error

Code: Select all

2013-07-05 23:03:46 ERROR: DLL load failed: %1 is not a valid Win32 application.
[...]
  File "C:\Python27\lib\lib-tk\FixTk.py", line 65, in <module>
    import _tkinter
ImportError: DLL load failed: %1 is not a valid Win32 application.

See this post.
Marrv
Posts: 2
Joined: Fri Jul 05, 2013 10:05 pm

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

Postby Marrv » Sat Jul 06, 2013 9:35 am

Vhati wrote:
Marrv wrote:I get the following error

Code: Select all

2013-07-05 23:03:46 ERROR: DLL load failed: %1 is not a valid Win32 application.
[...]
  File "C:\Python27\lib\lib-tk\FixTk.py", line 65, in <module>
    import _tkinter
ImportError: DLL load failed: %1 is not a valid Win32 application.

See this post.


Found it just as you posted it. Sorry
top-roman
Posts: 1
Joined: Sun Jul 07, 2013 12:26 am

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

Postby top-roman » Sun Jul 07, 2013 12:29 am

I can't seem to be able to patch anything. This is what I get every time I try:

INFO: Grognak's Mod Manager v???
INFO: Platform: Windows-Vista-6.0.6002-SP2
INFO: Interpreter: CPython 2.7.5 (64bit)
INFO:
INFO: Rooting at: C:\Users\ROW-MEN\Desktop\Grognaks-Mod-Manager-master
INFO:
INFO: Registering ctrl-c handler.
INFO: Using FTL dats path from config: C:/Program Files (x86)/FTL/resources
INFO: Background hashing finished.
INFO: No info for selected mod: Cruiser (64e60b7f3f201ca2c5af1769016eec38).
INFO:
INFO: Patching...
INFO:
ERROR: [Errno 13] Permission denied: u'C:/Program Files (x86)/FTL/resources\\dat
a.dat'
Traceback (most recent call last):
File "C:\Users\ROW-MEN\Desktop\Grognaks-Mod-Manager-master\lib\killable_thread
ing.py", line 99, in run
result = self._payload(*self._payload_args, **self._payload_kwargs)
File "C:\Users\ROW-MEN\Desktop\Grognaks-Mod-Manager-master\main.py", line 842,
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 (x86)/FTL/resources\\d
ata.dat'
INFO:
INFO: Patching failed.