Homebrew How to test quickly a HB build on the 3DS

  • Thread starter xem
  • Start date
  • Views 3,365
  • Replies 15
  • Likes 2

xem

Well-Known Member
OP
Member
Joined
Nov 22, 2014
Messages
142
Trophies
0
Age
36
Location
Valbonne
XP
333
Country
France
Hello!

I'd like to list all the ways allowing to quickly build a 3dsx file and test it in hbmenu without having to get the sd card out and in everytime.

Each way has its pros and cons, so we could discuss how to enhance them, or try to find a new solution together.

I'll update this post according to your comments.





-----


Use a New 3DS:

They seem to have a built-in feature allowing to transfer files between the PC and the console...
To be confirmed! Also, not sure if this is possible while hbmenu is running

Sans_titre.png






ftPONY / ftBRONY

tuto

Pros:
- easy FTP access to the sd card using Filezilla / WinSCP. (read, write, create, delete, replace...)

Cons:
- bugs/freezes
- the IP often changes (is there a way to set a fixed ip?)
- we have to quit ftPONY to test the uploaded homebrew (this interrupts the ftp connection)
- we have to restart ftPONY to upload a new build


hbmenu's netcat feature

tuto

Pros:
- works directly in hbmenu

Cons:
- no FTP access / folder view
- Not permanent (uploaded files are not stored on the SD card, just playable on-the-fly)


Use a SD card containing a wi-fi chip

Has anyone tested it? Does it work? Does hbmenu refreshes its list when a new homebrew is uploaded?

Pros:
- Easily view / read / write files and folders on the SD card without quitting hbmenu

Cons:
- Price (~ 16GB = 30€)
- New 3DS only accepts microSD cards and those can't have wi-fi.


A little executable that makes, cleans and sends the project on the 3DS

See here


other solutions?

tell me :)





------





Here's what I think would be great:


Merge hbmenu and ftPONY

hbmenu could be directly a FTP server


or


Make the 3DS appear on the local network

when hbmenu starts, it would be great to see a new device appear on our local network and access its filesystem (the sd card) directly from our computer.


or


Sync the 3DS with a computer or a cloud storage

The greatest thing would be to have hbmenu automatically syncing with a folder on my computer, or a folder in the cloud (dropbox, mega). How hard would it be to make this happen?


or

Something based on QR codes?


or


Something allowing to code & test directly on the 3DS?


or


Other ideas?

tell me :)



-----




Thanks for your answers!
 

jamieyello

Professional Dumbass
Member
Joined
Mar 11, 2013
Messages
385
Trophies
0
XP
556
Country
United States
I guess I should post my little batch file that goes in the project directory that runs make clean and make for you. Still haven't figured out how to send the file over to winscp automatically but the command is somewhere on this page

http://winscp.net/eng/docs/commandline

And there might be a better way by using synchronized directories, but last time I tried there was a problem with permissions with make not being able to run in a synchronized directory since it's open in another program or something like that.
 

Attachments

  • mke.zip
    155 bytes · Views: 217

NCDyson

Hello Boys...
Member
Joined
Nov 9, 2009
Messages
278
Trophies
1
XP
319
Country
United States
If you're just testing out new builds of the .3dsx, I would imagine the netcat hbloader would be fine, but when you start wanting to load files off the SD card, it wouldn't be much help. In theory it shouldn't be too hard to rip out the FTP portions of ftpony/brony and implant them into the hbloader, but as I haven't seen the source to either application, I can't say for sure. Don't really have to time to do it myself either.

Before the release of ninjhax, I was gonna mod ftpony with a .cia installer, but since the hbloader can be modified to add in an ftp server, it seems kinda pointless now. maybe i'll take a look at it all this weekend.
 

Zanoab

Well-Known Member
Member
Joined
Dec 4, 2009
Messages
127
Trophies
1
XP
617
Country
United States
If you know how to, you could serve the files over http locally and write a 3dsx file that would fetch a list of files and download them to the SD card. You could try a different protocol but I personally use http when testing programs on multiple computers because I can quickly hack the script to perform other stuff over http.
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
46
Location
Engine room, learning
XP
15,662
Country
France
Could Wii tools be used to send homebrew via wifi?
For example sendElf ?
It lets you specify the IP and port (set it to 9000) and the protocol : HBC 1.04 and less, with arguments, no file compression? or "svpe" which is probably plain file sent like netcat.


Edit:
I tested sendElf (in "TCP" protocol option) if doesn't work. It froze the HBL.



hbmenu sources include a batch for WinSCP:
Code:
Echo off
WinSCP.com /command "option batch abort" "option confirm off" "open 3ds" "put %~dp0%1.3dsx /boot.3dsx" "exit"
it opens a connection to "3ds" (it's probably the pre-defined connection name in WinSCP) and sends <foldername>.3dsx to /boot.3dsx (replacing the old hbmenu).
I guess it's used to write the new file to SD, not to launch it using the netcat feature.
I don't know if hbmenu contains a specific file receiver option to write to SD (not temporarily).
 

xem

Well-Known Member
OP
Member
Joined
Nov 22, 2014
Messages
142
Trophies
0
Age
36
Location
Valbonne
XP
333
Country
France
Up!
Does someone own a new 3DS?
Is it true that this new console allows sending files from the PC (under windows 7/8 only) to the microSD?
And if this works when hbmenu is running?
Ty!

Sans_titre.png
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
46
Location
Engine room, learning
XP
15,662
Country
France
"Music and picture", it will probably be a media manager integrated into the music player and picture viewer.
I don't see this as a full file manager. Nintendo allowing access to 3DS's files on SD while the console is running?
 

ChrisRX

Well-Known Member
Member
Joined
Nov 8, 2006
Messages
490
Trophies
0
Website
Visit site
XP
420
Country
I find a combination of ftpBrony to copy any SD files and netcat to automatically send and run .3dsx files after I've compiled them.

I would add netcat to the end of my makefile but I don't do it automatically to try and avoid the hbmenu crashes.
 

KazoWAR

Well-Known Member
Member
Joined
Aug 12, 2008
Messages
1,952
Trophies
1
Age
35
Location
Winter Haven
XP
2,130
Country
United States
ftPONY / ftBRONY

tuto

Pros:
- easy FTP access to the sd card using Filezilla / WinSCP. (read, write, create, delete, replace...)

Cons:
- bugs/freezes
- the IP often changes (is there a way to set a fixed ip?)
- we have to quit ftPONY to test the uploaded homebrew (this interrupts the ftp connection)
- we have to restart ftPONY to upload a new build

Most, if not all routers have a feature where you can reserve a specific IP address for a MAC address.

staticIP_zps7e163489.png
 
  • Like
Reactions: xem

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
46
Location
Engine room, learning
XP
15,662
Country
France
some (bad) routers don't work very well with assigning reserved IP.
You should set the IP manually in the consoles and computer's network setting too. use manual when setting the IP
IP 192.168.1.x
mask 255.255.255.0
gateway 192.168.1.1 : router's IP to allow internet access or your fixed PC IP with shared internet access (useful if using a proxy to limit internet access)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    BigOnYa @ BigOnYa: Sounds good actually.