Open evertvorster opened 1 month ago
Sorry. I suspect this is an issue where the engine PR went through and the asset PR is still pending. Take a look at https://github.com/vegastrike/Assets-Production/pull/128 for the missing file in question.
I have a second PR in the works that also makes the game more resilient to missing files. The thing is, I think the game is crashing on another, valid JSON file that has some missing attributes like you thought. Otherwise it would have crashed with a segmentation fault and not an exception.
Can you run coredumpctl -1 gdb and then bt 10. That should help me understand the file in question. just dump the result in here.
One other thing I noticed is that the part of the config file where you specify a monitor to start up on gets erased when you install Assets and the engine.
Is it really getting erased or is it ignored? I pushed a change that introduces a new config.json file. (See #128 above). The engine now takes the data from it for graphics. Over the next few weeks/months I'll transfer the rest of the config, minus the stuff that isn't used and reorganize it to something saner.
Sane means all the esoteric settings that are used will be pushed to an Advanced section, leaving something players can actually hack.
I apologize for the inconvenience.
No worries. You pointed out the correct file, and when config.json is present in the install location, VegaStrike runs properly. I have not tested beyond just firing up the game and getting a game menu, though.
Unfortunately, just adding in the config.json is not enough, it also need to be mentioned in CMakeLists.txt so that it gets installed with the other game files. Once that is done, it would make sense to get that pull request to Assets applied so that this problem goes away.
This does point to another issue that might be a little tricky to solve, except with policy. When there is a pull request in the engine that relies on a change in assets, they need to be reviewed and applied together. From my side I made it easier in Arch to modify the AUR packages to test pull requests, so I will be able to help out with reviews of the pull requests before they git master.
it also need to be mentioned in CMakeLists.txt
I was not aware of that. I'll do that.
...they need to be reviewed and applied together.
That's a good idea. I'll think I'll adopt that policy.
Hi there!
Just taking the new vegastrike for a spin, and unfortunately it does not start up.
Console output when starting the game:
In preparation for the running of this game, I built Assets and the game engine from the latest git master. (2024-10-16) Then installed them.
One other thing I noticed is that the part of the config file where you specify a monitor to start up on gets erased when you install Assets and the engine. I do believe I opened an Issue against Assets or Assets Master for this. But that is besides the point. Right now, the game does not even launch. Could it be possible that a change was made to the local Assets on your development machine that was not also made in Assets?
Anyways, about my system: