AdrianCassar / Xenia-WebServices

Xenia Web Services is a REST API designed to support the Xenia Xbox 360 emulator in providing online and multiplayer functionality.
MIT License
28 stars 15 forks source link

Network access passthrough? #34

Closed kamil00110 closed 1 month ago

kamil00110 commented 2 months ago

Its not quite an issiue it is more a question. Im doing a little of homebrew with xenia-netplay and i try to acces the normal network from my game. I should have enabled Xbox Live security Bypass for my game. But i still cant acces the normal network and there is the question: Is some network access passthrough not implemented or could it be my programms fault. If some more detail are needed then i can provide it and when its not inplemented could it be done?

AdrianCassar commented 2 months ago

The Xbox Live flag XNET_STARTUP_BYPASS_SECURITY passed to NetDll_XNetStartup doesn't do much since we do not implement it's functionality of disabling encryption because traffic encryption/security exchange hasn't been implemented.

I'm unsure what you mean by network access passthrough a game will create a socket and bind to a port, the game will use this socket to communicate with other clients. Perhaps the netplay wiki will have what you're looking for https://github.com/AdrianCassar/xenia-canary/wiki.

kamil00110 commented 2 months ago

I mean if the api also handels external web requests that could be used for accesing external network resources.

AdrianCassar commented 1 month ago

If you want your game to access a XLSP server then you can configure it using servers.json. Halo 3 for example servers.json.

If the game itself performs XHttp requests to external servers or title storage this isn't supported. However, you can try using the HINTERNET branch https://github.com/AdrianCassar/xenia-canary/pull/36https://github.com/AdrianCassar/xenia-canary/pull/36 which implements XHttp functions however it's incomplete.

kamil00110 commented 1 month ago

Thank I'm going to try this. If this dosn't help me then i will invest into an orginal devkit and wait for until someone implements such features into xenia.