ROM Hack Someone have a Windows port of ctrKeyGen.py and MEX.py?

Asia81

Yuri Lover ~
OP
Member
Joined
Nov 15, 2014
Messages
6,660
Trophies
3
Age
29
XP
3,521
Country
France
Yeah, .exe file.
I don't care about Python, I'm asking for the windows port, so yeah, in .exe :)

I already saw ctrkeygen.exe somewhere, but can't remember where.
And when I try to compil them, I don't have luck...
 

Duo8

Well-Known Member
Member
Joined
Jul 16, 2013
Messages
3,613
Trophies
2
XP
3,031
Country
Vietnam
Yeah, .exe file.
I don't care about Python, I'm asking for the windows port, so yeah, in .exe :)

I already saw ctrkeygen.exe somewhere, but can't remember where.
And when I try to compil them, I don't have luck...
Is there a reason you can't use Python like a normal person?
That's probably why it was made in python. So it won't be stuck to one OS.

Anw if it doesn't use any fancy external lib try looking for some small standalone python interpreter (IIRC I've used one before)
 
Last edited by Duo8,
  • Like
Reactions: ubergeek77

Asia81

Yuri Lover ~
OP
Member
Joined
Nov 15, 2014
Messages
6,660
Trophies
3
Age
29
XP
3,521
Country
France
Is there a reason you can't use Python like a normal person?
That's probably why it was made in python. So it won't be stuck to one OS.

Anw if it doesn't use any fancy external lib try looking for some small standalone python interpreter (IIRC I've used one before)

"like a normal person" I'm perfectly normal, thanks!
And if for a reason, I don't want, how do we do (no need to be answered)?

@Shadowtrance Both work fine, thanks!
But how did you do them?
I already tried with py2exe and cxfreeze, but no luck.
 

Shadowtrance

Well-Known Member
Member
Joined
May 9, 2014
Messages
2,493
Trophies
0
Location
Hervey Bay, Queensland
XP
1,807
Country
"like a normal person" I'm perfectly normal, thanks!
And if for a reason, I don't want, how do we do (no need to be answered)?

@Shadowtrance Both work fine, thanks!
But how did you do them?
I already tried with py2exe and cxfreeze, but no luck.
I did it with py2exe and python 2.7.
Here's my setup.py script.
Code:
from distutils.core import setup
import py2exe

import sys; sys.argv.append('py2exe')

py2exe_options = dict(
                      bundle_files = 1,
                      excludes = ['_ssl',
                                  'pyreadline', 'difflib', 'doctest', 'locale',
                                  'optparse', 'pickle', 'calendar'],
                      dll_excludes = ['msvcr71.dll', 'w9xpopen.exe'],
                      compressed = True,
                      dist_dir = "bin",
                      )

setup(
    console=['MEX.py'], #change the name to script you want to convert.
    options={'py2exe': py2exe_options},
    zipfile = None,
)
 
  • Like
Reactions: cearp

Asia81

Yuri Lover ~
OP
Member
Joined
Nov 15, 2014
Messages
6,660
Trophies
3
Age
29
XP
3,521
Country
France
Sorry to bump the thread, but if someone can help me to get FunkeyCIA.py working in exe...
I tried the setup gave by @Shadowtrance but no luck :/

C:\Python27\bin>FK.exe
Traceback (most recent call last):
File "FK.py", line 9, in <module>
File "zipextimporter.pyc", line 82, in load_module
File "argparse.pyc", line 92, in <module>
File "zipextimporter.pyc", line 82, in load_module
File "gettext.pyc", line 49, in <module>
ImportError: No module named locale
 

yusuo

Well-Known Member
Member
Joined
Oct 19, 2006
Messages
3,503
Trophies
2
Age
38
XP
6,161
Country
United Kingdom
Surely it would be easier and quicker just to run the Pyrton script then trying to hunt down exes
 

Duo8

Well-Known Member
Member
Joined
Jul 16, 2013
Messages
3,613
Trophies
2
XP
3,031
Country
Vietnam
If there is no module named locale, not searching for it should solve the issue.

It's a guess, but he's not risking anything trying it.
Well that would cause problems if anything try to use locale.

Another option is to install locale.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: https://www.techradar.com/pro/scientists-design-super-battery-made-with-cheap-readily-affordable-...