Send games from a PC or phone browser, with a QR code on screen

Add games gets a first row, Send from PC or phone. Its screen runs a small HTTP server for as long
as it is open (port 9666, or the next one the sandbox allows) and shows the address as text and as
a QR code. The page it serves takes dropped files and whole folders, uploads them one at a time with
progress, and lists what the console did with each. Game WADs are moved into place, archives go
through the importer and are deleted afterwards, add-ons and other files are refused with a reason.

qrcodegen 1.8.0 joins the pinned third-party fetch, renamed to fetch-third-party.sh; the page is
embedded at build time by tools/embed-file.py. tools/send.py does what the page does, for console
tests with test/console-send.cfg.
This commit is contained in:
rijads committed 2026-10-04 15:25:39 +02:00
1 parent 652cfd6007
commit 93814c3e95
16 files changed
+1263 -69

No files matched your search

+11 -6
View File
@@ -6,8 +6,8 @@ id Software's original DOOM source (`linuxdoom-1.10`) running as a native PS5 ti
home-screen icon, drawn on the GPU through Sony's AGC driver and VideoOut, DualSense input with
analog sticks and rumble, and the DOS-era FM music synthesised from the game's own instrument bank.
It ships with the free shareware episode of DOOM and plays The Ultimate DOOM, DOOM II and Final
DOOM from your own game files, which it can import from a folder on the console or download from
your PC, including straight out of ZIP, 7Z and RAR archives.
DOOM from your own game files, which you can send from a PC or phone browser, download from a
link or copy to the console, including straight out of ZIP, 7Z and RAR archives.
## Requirements
@@ -38,18 +38,23 @@ The files from the original releases and from the 2024 *DOOM + DOOM II* re-relea
### Adding your games
Either way, the game files can also be inside ZIP, 7Z or RAR archives: DOOM extracts the game
Whichever way, the game files can also be inside ZIP, 7Z or RAR archives: DOOM extracts the game
WADs it recognises and skips everything else.
- **Send them from a PC or phone.** In the game list choose *Add games...*, then *Send from PC or
phone*. Open the address the screen shows (for example `http://192.168.1.50:9666/`) in a browser
on the same network, or scan its QR code, and drop the files or whole folders on the page. Both
the page and the console show what was added; archives are deleted once their games are out. The
console only accepts files while that screen is open.
- **Copy them to the console.** Put the files or archives in `/data/homebrew/PPSA99666/wads/` (FTP,
ps5upload or USB). DOOM picks them up the next time it starts.
- **Download them from a link.** In the game list choose *Add games...*, then *Link*, type an
`http://` or `https://` address on the console keyboard and choose *Download*. The link can point
at a WAD, an archive, or a folder; for a folder DOOM lists the files and you pick one or all.
The simplest way to serve your own files from a PC on the same network is to open a terminal in the
folder that holds them and run a small web server, then use the address it prints with your PC's
local IP (for example `http://192.168.1.20:8000/`):
To download from your own PC instead, open a terminal in the folder that holds the files and run a
small web server, then use the address it prints with your PC's local IP (for example
`http://192.168.1.20:8000/`):
```bash
python -m http.server 8000