Page 78 of 117

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

Posted: Sun Mar 17, 2013 2:41 am
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.

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

Posted: Sun Mar 17, 2013 4:56 am
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

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

Posted: Sun Mar 17, 2013 4:59 am
by ethericalAlchemist
Forgot some info:

I'm using the most recent edition of FTL 1.03.1

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

Posted: Sun Mar 17, 2013 5:37 am
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.

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

Posted: Sun Mar 17, 2013 5:49 am
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

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

Posted: Sun Mar 17, 2013 6:04 am
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

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

Posted: Sun Mar 17, 2013 6:08 am
by ethericalAlchemist
it worked.
Thanks!

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

Posted: Sun Mar 17, 2013 2:13 pm
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.

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

Posted: Sun Mar 17, 2013 7:46 pm
by SIR 9000
I couldn't patch the mods it said "permission denied" if you wan the exact words then just tell me.

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

Posted: Sun Mar 17, 2013 10:06 pm
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.