Skip to content
This repository has been archived by the owner on May 31, 2024. It is now read-only.

Fatal exception thrown: Failed to open a config file: rsc/config.cfg #49

Open
Rufius opened this issue Mar 16, 2024 · 1 comment
Open

Comments

@Rufius
Copy link

Rufius commented Mar 16, 2024

Hi,

I have built it on Windows with Cygwin. There were a few build errors which I fixed.

Eventually, I have client.exe and server.exe files generated and copied rsc folder into the same dir as these files. But I am getting this error trying to run either of these executables.

image

@Ratstail91
Copy link
Member

Hi @Rufius!

I think I know the answer - there was an odd quirk with the file paths - because you're trying to run the programs from C:\Users\RUAB, it's searching for the config files at C:\Users\RUAB\rsc\config.cfg - it will likely try doing the same thing for assets too.

Try changing the working directory to C:\cygwin64\home\RAUB\Tortuga-master\out, so that the exe files are in the working directory.

I never thought to write this down - I might make a note of it somewhere if this is the cause.

P.S. By the way, this project is kind of archived, as far as I'm concerned - so I'm happy to help you fiddle with it and get it working, but I personally won't be adding to it ever again. Also, it's not exactly a good example of of my current skills :P

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants