Hello,
Right now, RealRTCW is able to detect and use a Steam installation of Return to Castle Wolfenstein if it finds one. It would be nice to have the same feature for the GoG version. To be perfectly clear: when I say "GoG version", I'm talking about the offline installers that you download from GoG's website, not the launcher: GoG Galaxy.
ioRTCW already implement this feature and here are various links to said implementation in the SP code branch that could be used as reference (I might have missed some, sorry if that's the case):
Thank you
Hello,
Right now, RealRTCW is able to detect and use a Steam installation of Return to Castle Wolfenstein if it finds one. It would be nice to have the same feature for the GoG version. To be perfectly clear: when I say "GoG version", I'm talking about the offline installers that you download from GoG's website, not the launcher: GoG Galaxy.
ioRTCW already implement this feature and here are various links to said implementation in the SP code branch that could be used as reference (I might have missed some, sorry if that's the case):
char *Sys_GogPath()declaration: https://github.com/iortcw/iortcw/blob/438e7d413b5f7277187c35b032eb0ef9093ae778/SP/code/qcommon/qcommon.h#L1170fs_gogpathCVAR: https://github.com/iortcw/iortcw/blob/438e7d413b5f7277187c35b032eb0ef9093ae778/SP/code/qcommon/files.c#L286fs_gogpathwhen opening them: https://github.com/iortcw/iortcw/blob/438e7d413b5f7277187c35b032eb0ef9093ae778/SP/code/qcommon/files.c#L909-L922fs_basepath: https://github.com/iortcw/iortcw/blob/438e7d413b5f7277187c35b032eb0ef9093ae778/SP/code/qcommon/files.c#L3639-L3641fs_game: https://github.com/iortcw/iortcw/blob/438e7d413b5f7277187c35b032eb0ef9093ae778/SP/code/qcommon/files.c#L3660-L3662char *Sys_GogPath(): https://github.com/iortcw/iortcw/blob/438e7d413b5f7277187c35b032eb0ef9093ae778/SP/code/sys/sys_unix.c#L148-L157char *Sys_GogPath(): https://github.com/iortcw/iortcw/blob/438e7d413b5f7277187c35b032eb0ef9093ae778/SP/code/sys/sys_win32.c#L200-L231Thank you