Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Switch] Please fix/enable network support on Switch #880

Closed
spitfire opened this issue Oct 12, 2020 · 12 comments
Closed

[Switch] Please fix/enable network support on Switch #880

spitfire opened this issue Oct 12, 2020 · 12 comments
Labels
help wanted Extra attention is needed platform support

Comments

@spitfire
Copy link
Contributor

spitfire commented Oct 12, 2020

When trying to start Multiplayer on Switch it only shows "loopback" as available "protocol".
Apparently this is disabled in https://github.com/diasurgical/devilutionX/blob/master/CMake/switch/switch_defs.cmake because it (of course) doesn't compile with NONET disabled:

devilutionX/3rdParty/asio/include/asio/detail/socket_types.hpp:78:11: fatal error: sys/uio.h: No such file or directory
   78 | # include <sys/uio.h>
@spitfire spitfire changed the title Please fix/enable network support on Switch [Switch] Please fix/enable network support on Switch Oct 12, 2020
@qndel
Copy link
Member

qndel commented Oct 12, 2020

feel free to make it compile ;)

@spitfire
Copy link
Contributor Author

feel free to make it compile ;)

If I knew how, I wouldn't ask, I'd fix it and make a pull request ;)

@AJenbo AJenbo added help wanted Extra attention is needed platform support labels Oct 12, 2020
@AJenbo
Copy link
Member

AJenbo commented Oct 12, 2020

It's a dependency problem as far as i rmember, but can't remember if it's ASIO or Sodium. Could you post the compile error, that would be a good starting point. It would probably be easy for some one who know about developing for the nintendo switch, unless it needs porting then it needs some one who is really good at developing for the switch :)

@spitfire
Copy link
Contributor Author

spitfire commented Oct 12, 2020

Could you post the compile error, that would be a good starting point.

@AJenbo I did in the first post. There was not much more, and I believe it was not relevant (some other warnings). Simply a file not found.

@glebm
Copy link
Collaborator

glebm commented Oct 12, 2020

These are the blocking issues on the switch newlib side:

@AJenbo
Copy link
Member

AJenbo commented Oct 12, 2020

An alternative is porting things to SDL_net if that's available on the switch?

@spitfire
Copy link
Contributor Author

I just tried a 3DS build from https://app.circleci.com/pipelines/github/diasurgical/devilutionX/3160/workflows/a55919d4-5d57-4cd9-8268-a0ed5ed1bdd7 and it also seems to suffer from the same problem.

@AJenbo
Copy link
Member

AJenbo commented Feb 24, 2021

It's not so much a problem as the feature just not having been implemented yet :(

@StephenCWills
Copy link
Member

It's still on my todo list to see if I can get ZeroTier working on 3DS and Switch, but it seems appropriate to close this issue at this point.

@AJenbo
Copy link
Member

AJenbo commented Sep 20, 2021

It's still on my todo list to see if I can get ZeroTier working on 3DS and Switch

That would be insane

it seems appropriate to close this issue at this point.

Defiantly

@spitfire
Copy link
Contributor Author

Wait, there's a working build now?

@AJenbo
Copy link
Member

AJenbo commented Sep 20, 2021

Yes the latest test build has network support on switch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed platform support
Projects
None yet
Development

No branches or pull requests

5 participants