Hello everyone,
I've been trying to implement the AC:I service, using the documentation found on 3dbrew. I slowly test each function, adding a new page on the wiki as I go further. I have some Citra3DS logs of the System Settings and Network Settings dev app as a starting point for the call order and parameters.
Here is what I got so far :
I know that these function doesn't require any additionnal parameters, and that they are not likely to use a shared memory buffer (as I would see it in Citra's logs). Here is the code of my implementation of the GetNetworkProxyHost function (I don't have any return value yet since the call freezes the console).
What am I doing wrong ? I do the AC:I calls in the exact same order than the System Settings app, but I might be missing something. Here are the Citra logs that I use, you can see all the unimplemented AC:I functions starting at line 60 - it starts with LoadNetworkSetting and immediatly reads all the values, starting with function 0x04070000, then the CRC...
Thanks for the help
I've been trying to implement the AC:I service, using the documentation found on 3dbrew. I slowly test each function, adding a new page on the wiki as I go further. I have some Citra3DS logs of the System Settings and Network Settings dev app as a starting point for the call order and parameters.
Here is what I got so far :
- To read a network setting :
- Call LoadNetworkSetting with the wanted network ID (0-1-2)
- Read the values using the various getters
- To update a network setting :
- Call LoadNetworkSetting with the wanted network ID (0-1-2)
- Call InitializeNetworkSetting with 1 as a parameter (I don't know what it represents but it's the value used by both System Settings and Network Settings)
- Set all the values using the various setters
- Call UpdateNetworkSetting to update the setting
- Call LoadNetworkSetting with the wanted network ID (0-1-2)
- To delete a network setting :
- Just call RemoveNetworkSetting with the wanted network ID
- At the end :
- Always call FlushNetworkSetting to commit and save the changes
I know that these function doesn't require any additionnal parameters, and that they are not likely to use a shared memory buffer (as I would see it in Citra's logs). Here is the code of my implementation of the GetNetworkProxyHost function (I don't have any return value yet since the call freezes the console).
What am I doing wrong ? I do the AC:I calls in the exact same order than the System Settings app, but I might be missing something. Here are the Citra logs that I use, you can see all the unimplemented AC:I functions starting at line 60 - it starts with LoadNetworkSetting and immediatly reads all the values, starting with function 0x04070000, then the CRC...
Thanks for the help
Last edited by natinusala,