mirror of
https://github.com/lowbit/ps5-openrct2.git
synced 2026-10-17 18:02:39 +02:00
When /app0/rct2/Data/g1.dat is missing, the title shows a screen with an address and a QR code and receives the RollerCoaster Tycoon 2 folder from a PC or phone: src/port/upload.c (the DOOM port's server, keeping subfolders now) stores each file below the game's own folders (Data, ObjData, Scenarios, Tracks, Landscapes; every part a plain name) and takes a ZIP file of the folder, which the screen unpacks with libzip. The screen draws with SDL and fonts rendered from DejaVu Sans at build time (tools/make-font.py), since OpenRCT2 cannot draw before the game files are there; it starts the game once they are complete. tools/send.py sends a folder or a ZIP file the way the page does. Console test plans can point the game at another folder (game) and remove test folders (remove); test/console-import.cfg imports into /app0/rct2-import. On the console the screen worked and received the Data folder before the PS5 went to rest; the transfer ran at 2.2 MB/s, so the server now asks for a 1 MiB receive buffer and writes whole 256 KiB chunks.