How to download your nds / gba homebrew files (or other files) with wget in dslinux.nds

  • Thread starter Thread starter keiichicom
  • Start date Start date
  • Views Views 335
  • Replies Replies 0
  • Likes Likes 1

keiichicom

Member
Newcomer
Joined
Oct 28, 2025
Messages
14
Reaction score
12
Trophies
0
Age
64
XP
98
Country
Canada
Hi,
I noticed alot of the older "game getter" type homebrews result in corrupt files after downloading. Here is how to download them via dslinux.nds (dldi version) instead, which always works.

You will need two network interfaces. One Ethernet or WiFi interface for your regular Internet and one WiFi interface for hostapd.



Host Side: A Linux PC.

Verify that your WiFi device supports AP mode. Setup hostapd, with open security and dnsmasq (google it), use a static ip for your wifi interface. Here i use 192.168.50.1 and dhcp later will give the ds or dslite wifi interface an ip of 192.168.50.10.
Run the python web server where you have your homebrew files.
Code:
joe@joe:~$ dir *.nds
bridge_main.nds  dslinux.nds      httpexec.nds     linux_loader.nds   test.nds
bunjalloo.nds     gamegetter.nds   httpget.nds     linux.nds
dsftp.nds     gm.nds          ld.nds     loader.nds
dslinuxm.nds     hello_world.nds  libfatdir.nds  nds-bootstrap.nds

joe@joe:~$ sudo python3 -m http.server 80
Serving HTTP on 0.0.0.0 port 80 (http://0.0.0.0:80/) ...



DS / DS Lite side:

Start dslinux, follow the instructions to connect to your access point: dslinux instructions . It will auto-login to the shell. dldi1 will be your sdcard (assumes formatted with 1 partition). Here I use Ace3ds+ on an R4 flashcart.
Code:
# cat /proc/partitions
major minor  #blocks  name

 240     0    8388608 dldi
 240     1  124852224 dldi1
  31     0        472 mtdblock0
  31     1        256 mtdblock1
# df
Filesystem         1k-blocks      Used Available Use% Mounted on
/dev/rom0                469       469         0 100% /
/dev/dldi1         124821632   9534624 115287008   8% /media
# wget http://192.168.50.1/bunjalloo.nds -O /media/games/nds/bunjalloo.nds
--00:00:31--  http://192.168.50.1/bunjalloo.nds
           => `/media/games/nds/bunjalloo.nds'
Connecting to 192.168.50.1:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1,314,816 [application/vnd.nintendo.nitro.rom]

100%[====================================>] 1,314,816    101.09K/s    ETA 00:00

00:00:46 (95.68 KB/s) - `/media/games/nds/bunjalloo.nds' saved [1314816/1314816]

# poweroff

Turn your device back on, and play your homebrew.

-Kei
 
Last edited by keiichicom,
  • Like
Reactions: DanTheManMS

Site & Scene News

Popular threads in this forum