-
Notifications
You must be signed in to change notification settings - Fork 6
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
Write missing examples from the addon's data folder #33
Write missing examples from the addon's data folder #33
Conversation
So this reads files from data_static and writes them to data? Why not just have the files in data? |
Is it because data files don't get mounted by the client? |
These need to be in the user's own garrysmod/data folder I believe, since I don't think the wire text editor/e2 editor can access the data files from the mounted addon As a matter of fact, this is actually an improvement over what E2 is doing right now, they're still using a "data decompressor" that checks if one of the examples is missing before copying over. |
Ok, I see why we're writing the files now. I'm still not sure why data was changed to data_static though. |
I think Vurv wanted me to do that, though I'm not too sure on if it's a preference or if it's actually required for the workshop to allow the .txt files |
Fixes examples from #25 and #30 not showing up as well as any future changes to the whitelisted folders in data_static
I don't necessarily know if this will find them from a mounted gma, but if this was how it worked while it was in the workshop I don't doubt it'll work now
Provides a more satisfactory solution to fix #32 than the earlier one