1. Asia81

    OP Asia81 GBAtemp Guru
    Member

    Joined:
    Nov 15, 2014
    Messages:
    6,141
    Country:
    France
    I need them, if someone have, could you share them with me/us?
    Thanks!
     
  2. Shadowtrance

    Shadowtrance GBAtemp Addict
    Member

    Joined:
    May 9, 2014
    Messages:
    2,493
    Country:
    Windows port? As in an exe file?
    Python is cross platform, and those are python scripts...
     
  3. Heran Bago

    Heran Bago Where do puyo come from?
    Member

    Joined:
    Nov 6, 2005
    Messages:
    3,096
    Country:
    United States
  4. Asia81

    OP Asia81 GBAtemp Guru
    Member

    Joined:
    Nov 15, 2014
    Messages:
    6,141
    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...
     
  5. Shadowtrance

    Shadowtrance GBAtemp Addict
    Member

    Joined:
    May 9, 2014
    Messages:
    2,493
    Country:
  6. Duo8

    Duo8 GBAtemp Psycho!
    Member

    Joined:
    Jul 16, 2013
    Messages:
    3,591
    Country:
    Vietnam
    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, Dec 27, 2015
    ubergeek77 likes this.
  7. Asia81

    OP Asia81 GBAtemp Guru
    Member

    Joined:
    Nov 15, 2014
    Messages:
    6,141
    Country:
    France
    "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.
     
  8. Shadowtrance

    Shadowtrance GBAtemp Addict
    Member

    Joined:
    May 9, 2014
    Messages:
    2,493
    Country:
    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,
    )
     
    cearp likes this.
  9. Asia81

    OP Asia81 GBAtemp Guru
    Member

    Joined:
    Nov 15, 2014
    Messages:
    6,141
    Country:
    France
    Ok.
    Thanks again :)
     
  10. Asia81

    OP Asia81 GBAtemp Guru
    Member

    Joined:
    Nov 15, 2014
    Messages:
    6,141
    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
     
  11. yusuo

    yusuo GBAtemp Psycho!
    Member

    Joined:
    Oct 19, 2006
    Messages:
    3,357
    Country:
    United States
    Surely it would be easier and quicker just to run the Pyrton script then trying to hunt down exes
     
  12. cearp

    cearp 瓜老外
    Developer

    Joined:
    May 26, 2008
    Messages:
    8,468
    Country:
    Tuvalu
    of course but the OP wants to give these tools to people, it makes it easier if they just work :)
     
  13. Nanquitas

    Nanquitas GBAtemp Addict
    Member

    Joined:
    Sep 29, 2015
    Messages:
    2,345
    Country:
    France
    Try after deleting the " 'locale', " in the script.
     
  14. Duo8

    Duo8 GBAtemp Psycho!
    Member

    Joined:
    Jul 16, 2013
    Messages:
    3,591
    Country:
    Vietnam
    Wouldn't that break it?
     
  15. Nanquitas

    Nanquitas GBAtemp Addict
    Member

    Joined:
    Sep 29, 2015
    Messages:
    2,345
    Country:
    France
    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.
     
  16. Duo8

    Duo8 GBAtemp Psycho!
    Member

    Joined:
    Jul 16, 2013
    Messages:
    3,591
    Country:
    Vietnam
    Well that would cause problems if anything try to use locale.

    Another option is to install locale.
     
  17. Nanquitas

    Nanquitas GBAtemp Addict
    Member

    Joined:
    Sep 29, 2015
    Messages:
    2,345
    Country:
    France
    Ah I don't really know python that's why I gave the first idea I had. :P

    But your solution seems better. ;)
     
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - ctrKeyGen, Someone, Windows