-
Notifications
You must be signed in to change notification settings - Fork 558
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
Tighter integration of custom levels #1113
Comments
A quick stopgap measure would be to add support for dropfile events, so users can drop the downloaded file directly onto the game window and we can copy it to the levels folder ourselves. |
That'd be good to have too. Reminds me of right-click context menu integration (which was proposed in #967) and/or file extension integration (although that wouldn't work with |
I don't think we have to ship our own cURL with the game, we could use system-provided functionality:
I have personal experience with this - Ved has wrappers for WinINet, NSURLSession and wget (haven't gotten around to replacing wget with libcurl yet). The downside of course is that this introduces OS-specific code. But it's not that extreme, if we just need one or two wrapper functions like
This would also be a really cool thing to have. Maybe for sharing a level with others, there could also be a "share" hotkey which opens and highlights the level file in a file explorer for you or something? |
Actually, now that I think about it, doesn't macOS ship libcurl too? So that'd mean we may be able to use the system libcurl on both Linux and macOS, and then only still need to worry about WinINet. |
Once we move to using the C++ implementation on mobile, we'd still need to have an NSURLSession backend for iOS. Additionally, I'm not sure that Apple guarantees ABI stability for their downstream libcurl. |
I think mod.io should be considered. Despite the name, it's basically an independent Workshop reimplementation and can be used for any stuff Workshop is normally used. The con is that any UI that allows upload/download of the content needs to be coded by hand (they do have bindings for all the popular game engines, however it's not really applicable here as this game uses a custom engine). Among the notable games that use mod.io for level sharing are
|
If we were to use something external, I think it should be vsix.dev. We have full control over what goes on there, and that's important if it'll be considered for in-game, where everyone would be able to see levels. |
If the issue is moderation, you can moderate mod.io items. I know Super Dungeon Maker is rather heavily moderated after people started uploading some questionable stuff. Plus not having it on your own servers absolves you of any responsibility if something bad is found and not removed in time, it's mod.io's problem now. Also, it will require huge amount of space to worry about, just ask romhacking.net how it went for them. |
The issue is not moderation. I am concerned about vendor lock-in. Is there an official supported way for us (admins of the repository) to download all the items?
This is not really compelling unless you are arguing from a legal perspective. And even then, if we host it in the United States then Section 230 should shield us from such liability.
I was under the impression that Romhacking.net had much bigger issues than storage space. Disk space is really cheap anyway. |
See mod.io docs for any info, but my impression is that as an admin you can download entire mod.io repo or even use your own servers: https://docs.mod.io/ |
Speaking as an outsider but from what I see there's not really any pros to using mod.io over a site owned and ran by the people in the community. There are however plenty of cons and risks that can be avoided by simply taking it into your own hands from the beginning. |
The pros are that you don't have to actually write any server-side code dealing with handling uploads, authentication, etc., only working on the client-side of things. Also mod.io has a C++ SDK so you may not even need to write code that doesn't specifically deal with how the game handles levels that have been downloaded. Also don't get NIH syndrome. No need to reinvent the wheel. |
we have vsix.dev, i've already written the server-side code for uploads, authentication, etc. i can easily write a client as well. what you're asking for is not something we'd add -- we already have our own system. no need to reinvent the wheel. |
This is not NIH. We only use existing solutions if they are a good fit for us. If they aren't, then it's better for us to create our own. For example, we use C-HashMap instead of writing our own hashmap code, but we removed the use of UTF8-CPP because it had several problems for us and replaced it with our own UTF-8 implementation. Same applies here. If we reject mod.io, it is not due to NIH. |
Right now, to play a custom level, you must manually download it and drag it to the levels folder. This is inconvenient.
There are two things we could add to make custom levels more convenient to download.
With Steam Workshop:
With a level downloader:
Some other things we could add:
Thoughts?
The text was updated successfully, but these errors were encountered: