wilm0x42 / 3ds-remote-linux

Tool to control linux computer from a 3ds. Basically like VNC, RDP, etc.
4 stars 4 forks source link

Couldn't open "3ds/3ds-remote-linux/3ds-remote-linux.ini" #1

Closed undercooks closed 3 years ago

undercooks commented 3 years ago

config file is in the specified folder on the 3DS SD card, but 3DS cannot open the ini. It has a fatal error trying to create a file there I am using old 3DS with homebrew launcher.

wilm0x42 commented 3 years ago

Uhhhh this is a very old repo, but um. In order to help ya, I'll need more info than that-- a specific error code would be good start. A screenshot could help too. (Also this is not a good quality piece of software, I do not reccommend :P)

undercooks commented 3 years ago

Thanks for responding! The program is very impressive, there's just an error is on the client side, I've attached a picture of the error message from the 3DS. error_code Error reads Couldn't open "3ds/3ds-remote-linux/3ds-remote-linux.ini". Creating new. . .FATAL : Could not create "3ds/3ds-remote-linux/3ds-remote-linux.ini" Error: iniFp is NULL Error (2): Error: "serveraddr" MUST be within the .ini file! Since the error seems to be with retrieving the config file I might be able to just edit the ini.c file so it contains the IP information since I'll be using the 3ds with a computer with a fixed IP.

undercooks commented 3 years ago

I removed the ini.h header from the net.c and main.c files and replaced the ini calls in those files with the port and address info. It compiled no problems and it runs fine now! Probably the file system organization got changed in some update, which is why the program couldn't find the config file, but the rest of the program is great. Thanks for your work on this program it's super helpful :)