Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Gofoil Switch: Difference between revisions

From GameBrew
(Created page with "{{Infobox Switch Homebrews |title=Gofoil |image=gofoilswitch.png |description=Simple server for tinfoil written in go |author=Orygin |lastupdated=2020/07/13 |type=PC Utilities |version=1 |license=Mixed |download=https://dlhb.gamebrew.org/switchhomebrews/gofoilswitch.7z |website=https://github.com/Orygin/gofoil |source=https://github.com/Orygin/gofoil |donation= }} {{#seo: |title=Switch Homebrew PC Tools (PC Utilities) - GameBrew |title_mode=append |image=gofoilswitch.pn...")
 
No edit summary
Line 1: Line 1:
{{Infobox Switch Homebrews
{{Infobox Switch Homebrews
|title=Gofoil
|title=Gofoil
|image=gofoilswitch.png
|image=gofoilnx.png
|description=Simple server for tinfoil written in go
|description=Simple server for tinfoil written in go.
|author=Orygin
|author=Orygin
|lastupdated=2020/07/13
|lastupdated=2020/07/13
Line 8: Line 8:
|version=1
|version=1
|license=Mixed
|license=Mixed
|download=https://dlhb.gamebrew.org/switchhomebrews/gofoilswitch.7z
|download=https://dlhb.gamebrew.org/switchhomebrews/gofoilnx.7z
|website=https://github.com/Orygin/gofoil
|website=https://www.reddit.com/r/SwitchHacks/comments/hq1mrq/network_installer_server_gofoil_install_games/
|source=https://github.com/Orygin/gofoil
|source=https://github.com/Orygin/gofoil
|donation=  
|donation=  
}}
}}
{{#seo:
Gofoil is a tool written in Go, inspired by Tinfoil's python [https://github.com/Adubbz/Tinfoil/blob/master/tools/remote_install_pc.py remote_install_pc.py] and utilizing [https://github.com/Orygin/gofoil/blob/master/github.com/bycEEE/tinfoilusbgo bycEEE/tinfoilusbgo].
|title=Switch Homebrew PC Tools (PC Utilities) - GameBrew
 
|title_mode=append
The motivation behind this tool was to transfer Switch saves from a NAS to a Switch without requiring a computer to be powered up. No client provided samba or NFS, so this was designed as an always on server to run on my NAS, that can handshake with Tinfoil-like net install and serve files directly from there.
|image=gofoilswitch.png
|image_alt=Gofoil
}}
Gofoil is a tool written in Go, inspired by tinfoil's python [https://github.com/Adubbz/Tinfoil/blob/master/tools/remote_install_pc.py remote_install_pc.py] and utilizing [https://github.com/Orygin/gofoil/blob/master/github.com/bycEEE/tinfoilusbgo bycEEE/tinfoilusbgo].


The motivation behind this tool was to transfer switch saves from a NAS to a switch without requiring a computer to be powered up. As no client provided samba or NFS, Gofoil was developed as an always-on server to run on the NAS. It can perform a handshake with Tinfoil-like net install and serve files directly from the NAS. This tool has been tested with Awoo Installer on Atmosphere and may also work with tinfoil, although it has not been tested.
This tool has been tested with [[Awoo Installer Switch|Awoo Installer]] on Atmosphere and may also work with Tinfoil, although it has not been tested.


==Usage==
==User guide==
To run gofoil, you need to provide it a few arguments, like the host IP, port, and folder to scan for switch files.
To run gofoil, you need to provide it a few arguments, like the host IP, port, and folder to scan for Switch files.


Example, on a windows machine (and shared network):
Example, on a windows machine (and shared network):


<code>gofoil.exe -root Z:\ -folders Downloads,Games/switch -ip 192.168.1.95 -port 8000</code>
gofoil.exe -root Z:\ -folders Downloads,Games/switch -ip 192.168.1.95 -port 8000


On linux:
On linux:


<code>./gofoil -root /volume1/ -folders Games -ip 192.168.1.2 -port 8000</code>
./gofoil -root /volume1/ -folders Games -ip 192.168.1.2 -port 8000
 
It will start a server at the ip:port indicated. You can open this page (on your phone for example) to show a page where you can input your switch's IP.
With Awoo or Tinfoil opened on your switch, and the network install selected, you should now see a list of files from the directory, available to install.
 
==Building==
Use the regular go command to get the project:
 
<code>go get -u github.com/Orygin/gofoil</code>


You can build for another OS/Arch target using the env vars GOOS and GOARCH.<br>
It will start a server at the ip:port indicated. You can open this page (on your phone for example) to show a page where you can input your Switch's IP.
For example for my NAS I had to build for linux/armv5:


<code>GOOS="linux" GOARCH="arm" GOARM=5 go build</code>
With Awoo or Tinfoil opened on your Switch, and the network install selected, you should now see a list of files from the directory, available to install.


==Changelog==  
==Changelog==
'''(v.1.0)'''
'''v1.0'''
* First Release.
*Initial release. Please refer to readme for more info.
*Releases for Windows, Linux amd64, arm5/6/7.


== External links ==
== External links ==
* Github - https://github.com/Orygin/gofoil
* GitHub - https://github.com/Orygin/gofoil
* Reddit - https://www.reddit.com/r/SwitchHacks/comments/hq1mrq/network_installer_server_gofoil_install_games/

Revision as of 04:37, 12 Haziran 2023

Gofoil
Gofoilnx.png
General
AuthorOrygin
TypePC Utilities
Version1
LicenseMixed
Last Updated2020/07/13
Links
Download
Website
Source

Gofoil is a tool written in Go, inspired by Tinfoil's python remote_install_pc.py and utilizing bycEEE/tinfoilusbgo.

The motivation behind this tool was to transfer Switch saves from a NAS to a Switch without requiring a computer to be powered up. No client provided samba or NFS, so this was designed as an always on server to run on my NAS, that can handshake with Tinfoil-like net install and serve files directly from there.

This tool has been tested with Awoo Installer on Atmosphere and may also work with Tinfoil, although it has not been tested.

User guide

To run gofoil, you need to provide it a few arguments, like the host IP, port, and folder to scan for Switch files.

Example, on a windows machine (and shared network):

gofoil.exe -root Z:\ -folders Downloads,Games/switch -ip 192.168.1.95 -port 8000

On linux:

./gofoil -root /volume1/ -folders Games -ip 192.168.1.2 -port 8000

It will start a server at the ip:port indicated. You can open this page (on your phone for example) to show a page where you can input your Switch's IP.

With Awoo or Tinfoil opened on your Switch, and the network install selected, you should now see a list of files from the directory, available to install.

Changelog

v1.0

  • Initial release. Please refer to readme for more info.
  • Releases for Windows, Linux amd64, arm5/6/7.

External links

Advertising: