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

Discuss and distribute tools and methods for modding. Moderator - Grognak
Post Reply
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 »

Galgersha wrote:when I try to patch in a mod it says that it doesn't have permission to and shuts down.
Anything that I could do to fix it?
Galgersha wrote:modman.exe doesn't detect python, that's the problem. main.py does, but doesn't have permission to edit it says. I never said anything about modman.exe not having permission.
The mod manager, however it starts, needs to be run as an admin on Windows 8 to get around permission complaints.
This is how you run main.py as an admin...
  • Start Menu -> Programs -> Accessories.
  • Right-click "Command Prompt" to run as an admin.
  • Type this, then hit enter: cd "c:\wherever\GMM\is"
  • Type this, then hit enter: main.py
Windows Vista/7/8 insist on only letting admin-apps modify what's in important locations like Program Files.

If modman.exe hadn't been glitched (it almost never detects python), you could've right-clicked that to run as an admin.
ethericalAlchemist
Posts: 5
Joined: Sun Mar 17, 2013 4:41 am

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

Post by ethericalAlchemist »

Hi,

I'm use a Mac running Snow Leopard for FTL and when I tried to install GMM I got this:
main.py:70: Warning: 'as' will become a reserved keyword in Python 2.6
File "main.py", line 70
except (ImportError) as err:
^
SyntaxError: invalid syntax

Could someone help?

Also I'm using Python 2.7.3
ethericalAlchemist
Posts: 5
Joined: Sun Mar 17, 2013 4:41 am

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

Post by ethericalAlchemist »

Forgot some info:

I'm using the most recent edition of FTL 1.03.1
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 »

ethericalAlchemist wrote:I'm use a Mac running Snow Leopard for FTL and when I tried to install GMM I got this:
main.py:70: Warning: 'as' will become a reserved keyword in Python 2.6
SyntaxError: invalid syntax

Also I'm using Python 2.7.3
2.7 may be available, but I think Python 2.5 was getting used there.

Open a terminal, and type these to see what you have.

Code: Select all

python --version
python2.5 --version
python2.6 --version
python2.7 --version
Assuming the first turns up 2.5, you can set a newer one as the default according to this man page.
ethericalAlchemist
Posts: 5
Joined: Sun Mar 17, 2013 4:41 am

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

Post by ethericalAlchemist »

the first one that showed up was 2.7.3
python --version
Python 2.7.3
python2.5 --version
Python 2.5.4
python2.6 --version
Python 2.6.1
python2.7 --version
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 »

ethericalAlchemist wrote:the first one that showed up was 2.7.3
Grr.
Open "modman.command" with a text editor, and at the bottom, change this

Code: Select all

# Finally, the payload.
cd "${maindir}"
# - - -
python main.py
# - - -
to this

Code: Select all

# Finally, the payload.
cd "${maindir}"
# - - -
python main.py
python --version
# - - -
If double clicking uses a different python, maybe the man page's method to set a "system-wide default" will help.

If this test also says 2.7.3, you may be competing with speedoflight for who's got the most bizarre problem.

Worst case: I suppose you could cheat and edit that to: python2.6 main.py
ethericalAlchemist
Posts: 5
Joined: Sun Mar 17, 2013 4:41 am

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

Post by ethericalAlchemist »

it worked.
Thanks!
Meganought
Posts: 1
Joined: Sun Mar 17, 2013 12:48 pm

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

Post by Meganought »

i use the program, and all of the text in-game its shrunken and moved up out of the text box. i thought it was mods, so i un-modded the game, verified the integrety, opened the game and it worked. but when i used the program without mods to patch, it did the same thing. i am unable to use the latest version, due to it saying i do not have the required python, but i do, so i am using 1.60. that is likeley the issue but i do not know how to fix it.
SIR 9000
Posts: 4
Joined: Sun Mar 17, 2013 7:31 pm

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

Post by SIR 9000 »

I couldn't patch the mods it said "permission denied" if you wan the exact words then just tell me.
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 »

SIR 9000 wrote:I couldn't patch the mods it said "permission denied" if you wan the exact words then just tell me.
Windows Vista/7/8 insist on only letting admin-apps modify what's in important locations like Program Files.

The mod manager, however it starts, needs to be run as an admin to get around permission complaints.

This is how you run main.py as an admin...
  • Start Menu -> Programs -> Accessories.
  • Right-click "Command Prompt" to run as an admin.
  • Type this, then hit enter: cd "c:\location\of\GMM"
  • Type this, then hit enter: main.py
If modman.exe hadn't been glitched (it almost never detects python), you could've right-clicked that to run as an admin.
Last edited by Vhati on Tue Apr 16, 2013 10:10 pm, edited 1 time in total.
Post Reply