Skip to content

Adhoc server list: Show metadata#21326

Merged
hrydgard merged 2 commits into
masterfrom
adhoc-view
Mar 7, 2026
Merged

Adhoc server list: Show metadata#21326
hrydgard merged 2 commits into
masterfrom
adhoc-view

Conversation

@hrydgard

@hrydgard hrydgard commented Mar 2, 2026

Copy link
Copy Markdown
Owner

This is a first draft, will probably not end up in 1.20 (but maybe 1.20.2).

Feedback requested! @Kethen

I'm not sure if we should exhibit the discord links, may lead to excessive traffic.. not sure.

image

@Kethen

Kethen commented Mar 3, 2026

Copy link
Copy Markdown
Collaborator

Looking good!

Few things come to mind:

@hrydgard

hrydgard commented Mar 3, 2026

Copy link
Copy Markdown
Owner Author

Yeah let's get this right so we don't have to change it too much later :)

Yeah, it would be possible to ping directly, adding a little indicator, that'd be cool. Maybe even ping time.

Soon all will have (relay) so maybe we should flip that and show "No Relay" in red if they don't have it...

And I have some more ideas. We do need a info or status button to pop up a dialog where we show the info from data.json, and we could move some metadata like the description to that dialog, to keep the visual size of the entries down.

I'm also thinking that data.json could provide some metadata as well, such as the description and discord link. Maybe we can reach a point where all we hardcode (or download from ppsspp.org) is the list of server, and the rest of the metadata is just fetched directly from the servers.

@NABN00B

NABN00B commented Mar 3, 2026

Copy link
Copy Markdown
Contributor

Shouldn't this be a group of radio buttons? Would avoid the excessive amount of "Use" buttons.

@hrydgard

hrydgard commented Mar 3, 2026

Copy link
Copy Markdown
Owner Author

@NABN00B Yeah, probably...

@Kethen

Kethen commented Mar 3, 2026

Copy link
Copy Markdown
Collaborator

Yeah let's get this right so we don't have to change it too much later :)

Yeah, it would be possible to ping directly, adding a little indicator, that'd be cool. Maybe even ping time.

Soon all will have (relay) so maybe we should flip that and show "No Relay" in red if they don't have it...

And I have some more ideas. We do need a info or status button to pop up a dialog where we show the info from data.json, and we could move some metadata like the description to that dialog, to keep the visual size of the entries down.

I'm also thinking that data.json could provide some metadata as well, such as the description and discord link. Maybe we can reach a point where all we hardcode (or download from ppsspp.org) is the list of server, and the rest of the metadata is just fetched directly from the servers.

I'm not sure how exactly we should do this yet, but for reference, citra used to host a server master list that the community can list their servers. The restful API is still being used in citra forks, an imlementation can be found here for reference

https://github.com/simvux/room-reg-impl

@hrydgard

hrydgard commented Mar 3, 2026

Copy link
Copy Markdown
Owner Author

We're gonna do something similar to infra-dns.json for list updates, I'll help add that for 1.20.1 or so. I guess I can add something on my server to automatically update the file from a git repo every day... I probably should do that with infra-dns.json too.

@hrydgard hrydgard modified the milestones: v1.20.2, v1.21 Mar 4, 2026
@CauaLMF

CauaLMF commented Mar 6, 2026

Copy link
Copy Markdown
Contributor

Yeah let's get this right so we don't have to change it too much later :)

Yeah, it would be possible to ping directly, adding a little indicator, that'd be cool. Maybe even ping time.

Soon all will have (relay) so maybe we should flip that and show "No Relay" in red if they don't have it...

And I have some more ideas. We do need a info or status button to pop up a dialog where we show the info from data.json, and we could move some metadata like the description to that dialog, to keep the visual size of the entries down.

I'm also thinking that data.json could provide some metadata as well, such as the description and discord link. Maybe we can reach a point where all we hardcode (or download from ppsspp.org) is the list of server, and the rest of the metadata is just fetched directly from the servers.

Using ICMP has some problems; some servers block ICMP and would be marked as unavailable.
In my server's case, ICMP is allowed, but there's a catch: the displayed ping is different from the actual ping because there's an ICMP redirection on my server.

@hrydgard

hrydgard commented Mar 7, 2026

Copy link
Copy Markdown
Owner Author

I'm doing a simplified version for 1.20.2:

image

With the non-visible metadata in a popup that you get if you click the little info buttons.

Custom server list is so far only available from the ini file, I'll add UI to add/remove servers later.

@hrydgard hrydgard merged commit 1a586a4 into master Mar 7, 2026
22 checks passed
@hrydgard hrydgard deleted the adhoc-view branch March 7, 2026 23:58
@hrydgard hrydgard mentioned this pull request Mar 8, 2026
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants