Comments (20)
That will be really helpful indeed, thanks!
from godotsteam.
This is quite an old issue! Have you checked out the newest builds? We have headless versions for GodotSteam Server packaged up. Due to the age, I'll close this for now unless there is more to add!
from godotsteam.
Hey there! Hmm, I have never tried to do this but not sure why it wouldn't work. Exactly what happens when you run it? You mention it fails to load but does nothing happen at all? Do you get an error?
from godotsteam.
Yeah, so basically the issue is that because there is no headless video driver (only GLES3
and GLES2
), Godot tries to load X11, so you get a
ERROR: X11 Display is not available
This also happens with the official Godot 3.5 builds unless you use the headless one I posted above (which replaces all video drivers with the Dummy
one), and I was wondering if there was one for GodotSteam as well.
from godotsteam.
Ahhh, OK. Gotcha. Hmm, there is not such a version for GodotSteam but I didn't realize this was an issue; never came up until now. I guess this would be something to do with the server version of GodotSteam, as that is what is meant for.
This is probably a relatively easy thing to do, so I will check it out! Most likely just compiling them differently. I'm working on the next patch currently so I can slip this in during my compiling tests and upload something for you to try out.
from godotsteam.
No problem! Thanks for bringing this up! I should have a test either later today or tomorrow, providing my patching goes well.
from godotsteam.
OK, finally got the rest of the updates done and now onto the server stuff. Here is a test headless build, let me know if this works for you!
If so, I'll start creating those kinds of builds for the Server version.
from godotsteam.
Thanks for that! So this build "runs" and it actually finished packaging somehow, but I'm getting this error when compiling. I know almost nothing about Godot, so really sorry in advance if this is due to something else, but from what I understand, using the GodotSteam precompiled version should take care of finding the Steam
module?
SCRIPT ERROR: Parse Error: The identifier "Steam" isn't declared in the current scope.
from godotsteam.
Hmm, this error happens when you run it? That usually means there is no Steamworks present and can happen if you export with a normal Godot template and not one of ours when using GodotSteam pre-compiled editors.
For what I sent you, I think you'd need a template from the same build, which I didn't make yet but can!
from godotsteam.
No, not when running but when building (you can see it says "SCRIPT ERROR" instead of "Parse Error" which from what I understand is what you get when running).
As for the template I used the normal ones you generated yesterday for the non-server version, but again, this error happens before Godot checks those templates from what I understand :).
from godotsteam.
The server build should be using SteamServer, I think, in any scripts.
from godotsteam.
Ok, then maybe that's my issue. Will it be possible to get a normal build with the Dummy video driver instead?
from godotsteam.
Built with server? We typically don't make server builds of the regular version since it doesn't have any Steam server functionality at all and no one ever requested one. I'm not sure if it has a server flag in the SCons file. Not that any of those are huge, blocking issues.
EDIT: Actually it does have the server option in there! Haha.
from godotsteam.
Well, I'm not sure what "server" means in this context. What I'm trying to do is just packaging of games, so I only need the normal editor (I don't think I need the "Server" one) but with the Dummy video driver option. The games packaged with it will be regular games, not "server" ones, if that helps. (Just trying to run this on a CI)
from godotsteam.
Ah, I think I follow. Yeah, the server builds would be something like a dedicated server that can run without any kind of video output in headless mode. This changed a bit in Godot 4 where you can just use the --headless
flag instead of compiling it with the server
flag for platform.
I'm not exactly sure what adds the dummy video stuff if not the actual server platform. I can't seem to find anything about it specifically.
And you are trying to run the exported game on command line? No video output?
from godotsteam.
Hehehe, no. I'm just trying to package a game, and for that I need the dummy video output for the editor (that headless
you talk about there, but using 3.5.3).
from godotsteam.
By the way, after building with the current Server editor + non-server templates, the game seems to work just fine, even the Steam parts that got errored out when building, so I guess Godot doesn't care about script errors and will happily build the scripts anyway?
from godotsteam.
OK, I think we may be on the same page now. Haha, it takes me a few minutes, clearly. This is for a pipeline of exporting game automatically? If so, then this all makes sense... or I'm still way off base, haha.
Hmm, you should be getting errors if you used that server editor but exported with non-server templates... maybe GodotSteam templates could work but vanilla Godot templates should give you some kind of warning when you run the exported game.
from godotsteam.
That's what I did, using the Server you compiled but using the templates from the GodotSteam package. It seems to work, so the only missing thing seems to be that error when compiling.
from godotsteam.
Huh, well, if it works it works! Haha. I need to investigate further is that is the only way to get the dummy video stuff in there.
from godotsteam.
Related Issues (20)
- Mono build does not have numeric values for enums HOT 5
- Mono: inconsistent usage of uint64 and int64 HOT 3
- Getting Steam info such as username HOT 11
- Bitfield REMOTE_STORAGE_PLATFORM_ALL changes value per platform HOT 24
- Steam.InputGlyphStyle warnings when combining flags HOT 1
- How to use this GDExtension with platforms that are not supported HOT 15
- No console output when crashing because Steam is not running HOT 3
- getAllLobbyData overwrites data Dictionary HOT 6
- [multiplayer-peer] SteamMultiplayerPeer.close() doesn't properly close the peer HOT 4
- Steam Deck with own appid HOT 11
- 4.6.3 Not Working HOT 4
- All macOS builds after "macos-g421-s159-gs46" are listed as "damaged or incomplete" in macOS HOT 16
- PackedScene nodes at "res://" locations are not accessible by scripts in exported packages HOT 4
- item_created signal is not called HOT 5
- [SMP] Add network_session_failed signal HOT 2
- Game crashes when calling peer.disconnect_peer HOT 5
- Godot no longer detecing gamepad input after initialize steam HOT 2
- Double precision compiled Engine crashes when opening project HOT 6
- NetworkMessagesSessionRequest event expects a long argument instead of a ulong HOT 5
- Unable to join another lobby with SteamMultiplayerPeer after calling close(). HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from godotsteam.