Skip to content

Commit dad23a8

Browse files
fix(gui): say what happens when a network protocol is switched on (UDPFS silent-enable)
Hardware report on Beta-2937: "after turning on udpfs nothing happens, like it don't even refresh or give any message." The mechanics were all in place -- applyConfig re-registers the UDPFS tab in-session, and Manual-start tabs init on a Confirm press inside them -- but NOTHING told the user any of that: no message fires on enable (the DHCP warning and the restart notice are conditional), the new tab joins the ring silently, and the block transports (UDPBD / UDPFS Image) show a tab only once the PC server answers. From the user's chair: nothing happened. Add a per-family guidance toast at the moment the protocol changes: * UDPFS (Files): open the new UDPFS tab + press Confirm to connect; PC side runs udpfsd -d <games folder>. * UDPBD / UDPFS (Image): the device tab appears once the PC server answers (udpfsd -b / udpbd-server). Two new lang labels appended at the END of lng_tmpl/_base.yml (append-only rule; English-only until the lng_fork overlay rerun). Build-green on ps2dev:latest AND ps2max/dev:v20250725-2; clang-format clean. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 74746e7 commit dad23a8

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

lng_tmpl/_base.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -917,3 +917,7 @@ gui_strings:
917917
string: UDPFS Access
918918
- label: MMCE_GAMEID_NEUTRINO_SKIP
919919
string: MMCE GameID not applied -- neutrino.elf is on this card (switching it would unload Neutrino).
920+
- label: NET_UDPFS_TAB_HINT
921+
string: UDPFS on -- open the new UDPFS tab and press Confirm to connect. PC side runs udpfsd -d <games folder>.
922+
- label: NET_UDPBD_TAB_HINT
923+
string: Network block device on -- its tab appears once the PC server answers (udpfsd -b for UDPFS Image, udpbd-server for UDPBD).

src/gui.c

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1125,6 +1125,17 @@ void guiShowDeviceConfig(void)
11251125
if (gNetworkProtocol != netProtocolWas && (bdmIsUDPBDLoaded() || ethGetModulesLoaded() || udpfsGetModulesLoaded()))
11261126
guiMsgBox(_l(_STR_NETBOOT_RESTART), 0, NULL);
11271127

1128+
// "Nothing happens" guard (hardware report on Beta-2937): enabling a network protocol gave NO
1129+
// feedback -- the UDPFS tab joins the ring silently and then waits for a Confirm-press inside
1130+
// it (Manual start), and the block transports show a tab only once the PC server answers.
1131+
// Tell the user what to expect + which PC server to run, right at the moment they turn it on.
1132+
if (gNetworkProtocol != netProtocolWas) {
1133+
if (gNetworkProtocol == NET_PROTO_UDPFS)
1134+
guiMsgBox(_l(_STR_NET_UDPFS_TAB_HINT), 0, NULL);
1135+
else if (gNetworkProtocol == NET_PROTO_UDPFSBD || gNetworkProtocol == NET_PROTO_UDPBD)
1136+
guiMsgBox(_l(_STR_NET_UDPBD_TAB_HINT), 0, NULL);
1137+
}
1138+
11281139
// A BDM tab can be latched hidden (bdmNeedsUpdate force-hides it when its enable flag reads 0,
11291140
// then short-circuits until the device generation bumps). Re-evaluate device visibility now so
11301141
// re-enabling a device here brings its tab back without a physical replug.

0 commit comments

Comments
 (0)