-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default Configs #19
Comments
Actually the default configuration you can find starting from line 73 were the variables are defined. But this properties only set, if the user does not have already this property in d2launcher.conf. There you will find d2_args this is set to -3dfx (glide default). To change to cnc draw, you have to add a argument to wine to override the ddraw.dll. |
Alright cool, thanks! Not quite sure how I missed them if they are right there haha. Yeah, will look into setting the override automatically for sure, and ideally get it set for -ddraw default since just using Sven's Glide is VERY broken for a lot of players nowadays. |
With the new API is a little bit tricky :) You do not need to download cnc files from API yourself this is done in update patch step. Since d2launcher 4.0.0 (new API) the d2launcher-medianxl-*.zip files located in ~/.d2launcher/patches has a lot more files included from API (also the cnc files). And all this files included a patch file will override the files in $d2_dir. All custom cnc files in $d2_dir will also overridden. More infos especially for legacy support (patch files created before 4.0.0 which do not includes the cnc files) i have written here: #13 (comment) |
Perfect, so yeah just sounds like the wine override and changing the default flag will be all that is needed then! |
Indeed, thats the only things do modify. And if the provided cnc files/version from API do not work with linux we should talk to @whistmxl for seperated api endpoint for linux cnc files Edit: But we need a falback/legacy solution for the old patch files (which do not include the cnc files). In this case, we should check on start of diablo if this files exists in $d2_dir and if not, run with glide (-3dfx) |
I generally have been using cnc since d2gl doesn't work right with d2stats currently, so as long as the version they are pulling via the API is recent it should work fine on linux. As for the fallback option, yeah that sounds perfectly reasonable to me! |
I wanted to double check what the default config settings were (and then change them to cnc-ddraw by default since Glide is basically super broken now) but can't seem to find how they are being set. I found where you are checking and creating the config entries, but am not quite sure beyond that. Any info would be appreciated!
The text was updated successfully, but these errors were encountered: