[Release] FalconPuncher - Send CIA files to FBI via network

Discussion in '3DS - Homebrew Development and Emulators' started by m45t3r, Feb 10, 2016.

  1. m45t3r
    OP

    m45t3r GBAtemp Regular

    Member
    243
    181
    Jul 17, 2007
    Brazil
    This is a fork of blockfeed/FalconPunch with support for Python 3 (Python 2 is still supported), better user interface (including a simple GUI, see screenshot below) and better error handling. This program can be used with a 3DS with Steveice10/FBI installed to transfer CIA files to 3DS using network instead of manually copying files to SD card. This is somewhat slower, however it has the advantage of not using double the space to install.

    screenshot.png

    Usage
    Install Python (preferred version is Python 3.x, however you can use Python 2.x if you want), download FalconPuncher.py, put it in the directory containing the CIA files and double-click in it (if you did use the Python installer on Windows). The GUI should open, so you can start transferring your CIA files.

    You can use FalconPuncher completely by command-line too. See README.md for details.

    Download and Source
    https://github.com/m45t3r/FalconPuncher
     
    Last edited by m45t3r, Feb 11, 2016
    Melon__Bread, CeeDee and anonymoose like this.
  2. MsMidnight

    MsMidnight part time fe modder

    Member
    1,753
    1,308
    Oct 12, 2015
    kys
    How is this better than socket Punch
     
  3. Joom

    Joom  ❤❤❤

    Member
    4,289
    2,946
    Jan 8, 2016
    United States
    Neat. TCL GUI. Glad SOMEBODY'S making use of this.
     
  4. m45t3r
    OP

    m45t3r GBAtemp Regular

    Member
    243
    181
    Jul 17, 2007
    Brazil
    Well, for one I don't have to use yet another Java program in my computer. This by itself (for me) is an advantage.

    However FalconPuncher itself is much simpler than Socket Punch. There is no retry option, for example.
     
    Joom likes this.
  5. Joom

    Joom  ❤❤❤

    Member
    4,289
    2,946
    Jan 8, 2016
    United States
    +1 for no Java. People shouldn't even have it installed.
     
  6. MsMidnight

    MsMidnight part time fe modder

    Member
    1,753
    1,308
    Oct 12, 2015
    kys
    That's good enough then:)
     
  7. 3xkrazy

    3xkrazy GBAtemp Regular

    Member
    290
    58
    Jun 2, 2013
    United States
    Hi M45t3r,

    I'm getting this error when I run it under Linux:
    Code:
    hle@x60 ~/src/FalconPuncher $ python -V
    Python 2.7.10
    hle@x60 ~/src/FalconPuncher $ ./FalconPuncher.py
    Traceback (most recent call last):
      File "./FalconPuncher.py", line 19, in <module>
        import Tkinter as tk
    ImportError: No module named Tkinter
    Any thoughts?
     
  8. Joom

    Joom  ❤❤❤

    Member
    4,289
    2,946
    Jan 8, 2016
    United States
    You have to run it with Python 3.
     
  9. 3xkrazy

    3xkrazy GBAtemp Regular

    Member
    290
    58
    Jun 2, 2013
    United States
    hmm. The op says Python 2.x is supported though.. Ok, i'll try 3.x right now

    — Posts automatically merged - Please don't double post! —

    Same error with 3.x:
    Code:
    hle@x60 ~/src/FalconPuncher $ python -V
    Python 3.4.3
    hle@x60 ~/src/FalconPuncher $ ./FalconPuncher.py
    Traceback (most recent call last):
      File "./FalconPuncher.py", line 15, in <module>
        import tkinter as tk
    ImportError: No module named 'tkinter'
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "./FalconPuncher.py", line 19, in <module>
        import Tkinter as tk
    ImportError: No module named 'Tkinter'
     
  10. Joom

    Joom  ❤❤❤

    Member
    4,289
    2,946
    Jan 8, 2016
    United States
    Do you have the tkinter module and Tk/TCL installed?
     
  11. 3xkrazy

    3xkrazy GBAtemp Regular

    Member
    290
    58
    Jun 2, 2013
    United States
    I'm asuming that's linux system related? I'll look for it now.

    — Posts automatically merged - Please don't double post! —

    Issue resolved by setting
    USE="tk"

    in my gentoo make.conf and recompiling python. Thanks!
     
  12. Joom

    Joom  ❤❤❤

    Member
    4,289
    2,946
    Jan 8, 2016
    United States
    Solved. Cool.
     
  13. m45t3r
    OP

    m45t3r GBAtemp Regular

    Member
    243
    181
    Jul 17, 2007
    Brazil
    I should probably add a fallback for those people who does not have Tk/Tcl installed, since you can run FalconPuncher in command-line too.
     
    3xkrazy likes this.
  14. Thelostrune

    Thelostrune GBAtemp Advanced Fan

    Member
    546
    128
    Aug 13, 2015
    Norway
    Does this work with BigBlueMenu
    because, you know, Big Blue ; )
    i'm so sorry
     
  15. Olmectron

    Olmectron GBAtemp Addict

    Member
    2,148
    1,340
    Dec 31, 2012
    Mexico
    A game
    In this thread you can find a SocketPunch's native EXE installer for Windows. Works only on Windows 8+, though. If you're using Linux or Mac, then I understand what you mean.

    Good work, @m45t3r !
    It's always nice to have more options for different people to try.
     
    Last edited by Olmectron, Feb 10, 2016
  16. yacepi15

    yacepi15 GBAtemp Advanced Fan

    Member
    896
    179
    Aug 15, 2015
    Antarctica
    It doesnt respond when i send CIAs T.T
     
  17. m45t3r
    OP

    m45t3r GBAtemp Regular

    Member
    243
    181
    Jul 17, 2007
    Brazil
    Ok, I added a fallback in commit d0f1c6ec so you can now use FalconPuncher without Tk installed (however you lose GUI support too).
     
  18. PokeAcer

    PokeAcer Banned

    Banned
    1,430
    1,062
    May 28, 2015
    United Kingdom
    Wales
    I get this on Python34 and Python27:

    Exception in Tkinter callback
    Traceback (most recent call last):
    File "C:\Python34\lib\tkinter\__init__.py", line 1533, in __call__
    return self.func(*args)
    File "FalconPuncher.py", line 111, in add_file_to_sendlist
    position = self.lb_filelist.curselection()[0]
    IndexError: tuple index out of range
    Exception in Tkinter callback
    Traceback (most recent call last):
    File "C:\Python34\lib\tkinter\__init__.py", line 1533, in __call__
    return self.func(*args)
    File "FalconPuncher.py", line 111, in add_file_to_sendlist
    position = self.lb_filelist.curselection()[0]
    IndexError: tuple index out of range
     
  19. cearp

    cearp the ticket master

    Member
    7,552
    4,815
    May 26, 2008
    Tuvalu
    thanks for the work :)
    what about android dev?
     
  20. Joom

    Joom  ❤❤❤

    Member
    4,289
    2,946
    Jan 8, 2016
    United States
    Move to C++ and Obj-C.