Go Back   The PokéCommunity Forums > Members List
Reload this Page ThorhianTheUltimate's Profile

Notices
For all updates, view the main page.



ThorhianTheUltimate ThorhianTheUltimate is offline

No, im not Thorzain

Visitor Messages

Showing Visitor Messages 1 to 14 of 14
  1. karatekid552
    February 24th, 2014 03:05 PM
    karatekid552
    That is pretty cool. My desktop environment uses it I'm pretty sure, so removing it would destroy everything, lol.
  2. karatekid552
    February 24th, 2014 02:48 PM
    karatekid552
    Most linux distros rely on python3 to run parts of their system.... That may not have been a good choice. Just fyi. I know Ubuntu and openSUSE due, so I would be careful.
  3. karatekid552
    February 24th, 2014 02:27 PM
    karatekid552
    Image is a PIL module. Hmmm.....
  4. karatekid552
    February 24th, 2014 02:16 PM
    karatekid552
    I never said it would install to 3. It is very possible to have multiple python versions installed in the v2 range.
  5. karatekid552
    February 23rd, 2014 09:30 PM
    karatekid552
    PIL will install to the default python. You may not be using the same python.
  6. karatekid552
    February 23rd, 2014 08:42 PM
    karatekid552
    Pyinstaller should find them for you. It analyzes import statements.
  7. ThorhianTheUltimate
    February 23rd, 2014 07:18 PM
    ThorhianTheUltimate
    XD I'm so "'leet" at this. I knew I needed python 2 XD never realized the other stuff. But yeah, you figured out the .exe problem? Also, could I ask you a question about Python? Does Python respond to white space, I know C/C++ doesn't Ina lot of cases and indentations are just used usually for clarity.

    Edit: Alright, I read through some of the documentation! I see where I missed the dependencies.
  8. karatekid552
    February 23rd, 2014 06:46 PM
    karatekid552
    Did you take into account that I used other libraries besides wxpython?

    I used:
    python 2.7.6
    Python Imaging Library (PIL)
    pygame
    wxpython

    to make this tool.:D
  9. karatekid552
    February 23rd, 2014 05:32 PM
    karatekid552
    That's what I'm working on, lol. Yes you do, and I actually thought you were compiling for windows when I sent you that spec.
  10. karatekid552
    February 23rd, 2014 11:43 AM
    karatekid552
    The spec file is actually a normal python file, so read it as such, you have improper indents.

    Spoiler:

    # -*- mode: python -*-
    a = Analysis(['/home/thor/Downloads/Secret-Tool-0.9B.2/main.py'],
    pathex=['/home/thor/Downloads/Secret-Tool-0.9B.2'])

    pyz = PYZ(a.pure)
    exe = EXE( pyz,
    ~~~~a.scripts,
    ~~~~a.binaries,
    ~~~~a.zipfiles,
    ~~~~a.datas,
    ~~~~icon="/home/thor/Downloads/Secret-Tool-0.9B.2/Icon/Icon.ico",
    ~~~~name=os.path.join('dist', 'Gen_III_Suite.exe'),
    ~~~~debug=False,
    ~~~~strip=False,
    ~~~~upx=True,
    ~~~~console=False,)

    app = BUNDLE(exe,
    ~~~~name=os.path.join('dist', 'main.app'))


    Now, I was trying to compile my tool today on Linux and I was running into some serious issues with pyinstaller, so if this works, let me know.
  11. karatekid552
    February 22nd, 2014 11:48 PM
    karatekid552
    Can I see the spec file you made? I have never done this on Linux, lol. This will be a good learning experience.
  12. karatekid552
    February 20th, 2014 09:27 PM
    karatekid552
    I use pyinstaller. It is fairly simple once you get it installed. Installation on windows is weird compared with Linux, but if you follow the pyinstaller manual precisely for installation, you will be good. After the first build of you program, you will get a .spec file the same name as your program. Open it up in a text editor and change it to these settings:

    Spoiler:
    # -*- mode: python -*-
    a = Analysis(['D:\\Secret-Tool\\main.py'], #Path to your main python file, the start point.
    ~~~~pathex=['D:\\Secret-Tool']) #Where do you want the dist folder to go?
    for d in a.datas:
    ~~~~if 'pyconfig' in d[0]:
    ~~~~~~~~a.datas.remove(d)
    ~~~~~~~~break
    ~~~~pyz = PYZ(a.pure)
    ~~~~exe = EXE( pyz,
    ~~~~a.scripts,
    ~~~~a.binaries,
    ~~~~a.zipfiles,
    ~~~~a.datas,
    ~~~~icon="D:\\Secret-Tool\\Icon\\Multi.ico", #Your icon file, I use GIMP to get the formatting.
    ~~~~name=os.path.join('dist', 'Gen_III_Suite.exe'),
    ~~~~debug=False,
    ~~~~strip=False,
    ~~~~upx=True,
    ~~~~console=False)
    app = BUNDLE(exe,
    ~~~~name=os.path.join('dist', 'main.exe.app'))


    Obviously replace each "~" with a space. Then, from the command line that you created using pip-win.exe (if you followed the pyinstaller manual), type "pyinstaller [name of spec file]" to build your exe from now on. Remember to delete the old one!
  13. karatekid552
    February 19th, 2014 09:15 PM
    karatekid552
    I'll have a new beta ready tomorrow. It will be much cleaner with a lot of bug fixes. When you open the program, you will be asked to update (if I have an update and you are connected to internet) and it will take you to the GitHub releases page. Have fun.
  14. karatekid552
    February 19th, 2014 12:10 AM
    karatekid552
    It is not ready for release yet, still fixing bugs and cleaning, but this is the beginning of something special. http://thekaratekid552.github.io/Secret-Tool

    I'm a Linux developer, so of course I make tools that run on Linux, haha.

Statistics

Total Posts
Activity by Forum
Visitor Messages
Blog
General Information
  • Last Activity: July 16th, 2014 09:19 PM
  • Join Date: December 28th, 2013
  • Referrals: 0

All times are UTC -8. The time now is 07:48 PM.