Homebrew [RELEASE] SocketPunch - GUI Alternative to FBI's SockFile

Joshtech

Well-Known Member
OP
Newcomer
Joined
Dec 1, 2014
Messages
99
Trophies
0
Age
33
Location
Queensland, Australia
XP
1,410
Country
Australia
SocketPunch v0.3.4
This is an alternate GUI network transfer for FBI based on sockfile.

Simply put SocketPunch.jar into your folder containing CIA's on your pc.
SocketPunch will scan working directory and folders within for CIA's.
Queuing system allows for multiple file transfers. Allows for batch CIA installation over network.
Just initialize the transfer on PC on 3DS and forget :P.

Settings added: Make changes in config.txt which is created after first run (Current settings are
savelog=true & buffersize=128)

You can now set the ip address loaded each time. Simply append the string "ip=xx.xx.xx.xx"(replacing xx with the ip address of your 3ds) to config.txt

Functions:
Timestamp and Log file: SocketPunch will store a log file (log.txt) within its working directory
containing all events.
Auto-Retry on failed send. (Does not work for Already Installed CIA's).
Timeout Tries: Allows you to set the amount of tries before moving onto next CIA to install (Not needed if auto-retry is enabled).

Instructions:
1) In FBI press Y to receive an app over the network.
2) Set Prompts to Disabled in FBI
3) Select(Double-Click) the CIA's from the list displayed within SocketPunch you wish to install on your 3DS.
4) Check Auto-Retry box if you wish to keep trying to install after a failure, else SocketPunch will try for the amount of tries specified in Timeout Tries.
5) Change IP address to your 3DS's IP (By default it will be set to your local IP, so you should only need to change last digits).
6)Press the "Punch" button, then FBI will ask to confirm the transfer in which you would press A to confirm.

REQUIRES: JRE 7 or Higher
SocketPunch v0.3.4(With source): https://www.mediafire.com/?33l4su5hxxkypjg
 
D

Deleted User

Guest
Great job! Linked to this from the first post of FBI as a GUI alternative, hope you don't mind.
 
  • Like
Reactions: Margen67

Arif

Well-Known Member
Member
Joined
Feb 12, 2006
Messages
139
Trophies
1
XP
1,953
Country
Netherlands
This is great!
If you accept requests, could you disable the theme in a future version. Or alternatively, add a dark theme option.
 

Joshtech

Well-Known Member
OP
Newcomer
Joined
Dec 1, 2014
Messages
99
Trophies
0
Age
33
Location
Queensland, Australia
XP
1,410
Country
Australia
This is great!
If you accept requests, could you disable the theme in a future version. Or alternatively, add a dark theme option.
I'll see what I can do. Hopefully next version will also give you an estimate on the time remaining. And I might see if I can get steveice10 to reinit a network transfer after a failed/successful transfer so then I could add queues. Would be like the install all cias from the directory but through the network.
 

d0k3

3DS Homebrew Legend
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
SocketPunch v0.2
This is a alternate GUI network transfer for FBI based on sockfile.
...

Great work! But, does this also require the JRE installed? I prefer not to have this on my system and it would actually be the only software to use this.
 

cearp

瓜老外
Developer
Joined
May 26, 2008
Messages
8,724
Trophies
2
XP
8,499
Country
Tuvalu
Great work! But, does this also require the JRE installed? I prefer not to have this on my system and it would actually be the only software to use this.

i guess so because - "Simply put SocketPunch.jar into your folder containing CIA's on your pc."
 

d0k3

3DS Homebrew Legend
Member
Joined
Dec 3, 2004
Messages
2,786
Trophies
1
XP
3,896
Country
Germany
Sorry, JRE is required to run this. If you want I could uploaded a self-contained java package? File size is around 30mbs tho...
I personally would prefer the self-contained Java package, but I'm sure other users will view this differently. Plus, now you'll may update frequently, and uploading ~1MB is a lot less then ~30MB, and it's the same for the download (remember, not everyone has access to a stable XMByte / sec internet connection). If you want to add a (alternative?) version with prepackaged Java (I'd use that), I suggest you do so after reaching a final version. That way you'll have a lot less hassle with that. It's your decision, of course.
 
D

Deleted User

Guest
I'll see what I can do. Hopefully next version will also give you an estimate on the time remaining. And I might see if I can get steveice10 to reinit a network transfer after a failed/successful transfer so then I could add queues. Would be like the install all cias from the directory but through the network.

I could easily make it so pressing start on the success screen takes you back to the network screen instead of the file browser. Is that what you mean?

Something like, install succeeds, SocketPunch starts attempting to reconnect in a loop, user presses start to go back to the network screen, SocketPunch is able to connect, and FBI pops up confirmation on the 3DS.

EDIT: Changed it in the latest release to make it not go back to the file browser immediately.
 

Furrymatt

Well-Known Member
Member
Joined
Feb 10, 2013
Messages
113
Trophies
0
Age
33
Location
Monroe, North Carolina
XP
146
Country
United States
Wow! Thanks for this!

Do you know an eta for success? Its been on 0.8% for about 5 mins and the 2ds is saying reading info...

Edit: Install failed!
could not install aPP.
Raw error:0xe0e083f2
module: AM (0x20)
level: usage (0x1c)
summary: invalid arguement (0x7)
Description: misaligned size (0x3f2)

Im sure their is enough space on my sd card for this

Edit I restarted it and now its working! lol maybe third times a charm :P
 

Joshtech

Well-Known Member
OP
Newcomer
Joined
Dec 1, 2014
Messages
99
Trophies
0
Age
33
Location
Queensland, Australia
XP
1,410
Country
Australia
Wow! Thanks for this!
Do you know an eta for success? Its been on 0.8% for about 5 mins and the 2ds is saying reading info...

Edit: Install failed!
could not install aPP.
Raw error:0xe0e083f2
module: AM (0x20)
level: usage (0x1c)
summary: invalid arguement (0x7)
Description: misaligned size (0x3f2)

Im sure their is enough space on my sd card for this

Edit I restarted it and now its working! lol maybe third times a charm :P

I've found that if you wait to long on the confirmation window before pressing confirm it will almost 100% of the time return a misaligned size erro
 

Loaffy

Well-Known Member
Member
Joined
Mar 27, 2015
Messages
158
Trophies
0
Age
31
XP
221
Country
Canada
Wow! Thanks for this!

Do you know an eta for success? Its been on 0.8% for about 5 mins and the 2ds is saying reading info...

Edit: Install failed!
could not install aPP.
Raw error:0xe0e083f2
module: AM (0x20)
level: usage (0x1c)
summary: invalid arguement (0x7)
Description: misaligned size (0x3f2)

Im sure their is enough space on my sd card for this

Edit I restarted it and now its working! lol maybe third times a charm :P

I kept getting the exact same error at different points of installing a ~500MB .cia. I tried 3 times but all 3 failed. Installing a small .cia (actually an updated version of FBI) worked fine, but I just gave up on trying to install those big .cias with socketpunch and went back to playing some games. Just seems like a packet is getting dropped or sent incorrectly, or maybe received incorrectly by FBI. Hard to say where the issue lies. But at least SD card installation works great - I just have to use a crappy old laptop for my only SD reader but oh well.

edit: just for clarity it would fail at random points in the middle of installation. Highest was around 66%, lowest was around 25%, and there was one somewhere in the middle.
 

Joshtech

Well-Known Member
OP
Newcomer
Joined
Dec 1, 2014
Messages
99
Trophies
0
Age
33
Location
Queensland, Australia
XP
1,410
Country
Australia
I kept getting the exact same error at different points of installing a ~500MB .cia. I tried 3 times but all 3 failed. Installing a small .cia (actually an updated version of FBI) worked fine, but I just gave up on trying to install those big .cias with socketpunch and went back to playing some games. Just seems like a packet is getting dropped or sent incorrectly, or maybe received incorrectly by FBI. Hard to say where the issue lies. But at least SD card installation works great - I just have to use a crappy old laptop for my only SD reader but oh well.

edit: just for clarity it would fail at random points in the middle of installation. Highest was around 66%, lowest was around 25%, and there was one somewhere in the middle.
Interesting, I'll test it out again.

I could easily make it so pressing start on the success screen takes you back to the network screen instead of the file browser. Is that what you mean?

Something like, install succeeds, SocketPunch starts attempting to reconnect in a loop, user presses start to go back to the network screen, SocketPunch is able to connect, and FBI pops up confirmation on the 3DS.

EDIT: Changed it in the latest release to make it not go back to the file browser immediately.
Thanks! I'll have a look soon. Need to wake up and have my coffee haha
 
  • Like
Reactions: Furrymatt

WhoAmI?

PASTA's dirty animal
Member
Joined
Mar 15, 2015
Messages
1,276
Trophies
0
Location
Poké Ball
Website
lavanoid.github.io
XP
1,279
Country
It doesn't work for me :( I have JRE installed...
javaexception.png
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    SylverReZ @ SylverReZ: Lulz @Veho