Skip to content
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

opengl won't allow it to start #36

Closed
FrostKnight opened this issue Oct 6, 2023 · 22 comments
Closed

opengl won't allow it to start #36

FrostKnight opened this issue Oct 6, 2023 · 22 comments
Assignees
Labels
bug Something isn't working

Comments

@FrostKnight
Copy link

FrostKnight commented Oct 6, 2023

Jazz² Resurrection version

2.1 possibly others. 1.91 and 2.0 also

System information

Hyperbola Intel HD Graphics 4000

Issue description

I get this issue when I try to type in ./jazz2 after chmod +x has been applied to your linux version.

/home/localuser/.local/share/Jazz² Resurrection/Update/jazz2: error while loading shared libraries: libOpenGL.so.0: cannot open shared object file: No such file or directory

Ironic thing is, I have opengl unless your thinking of a specific opengl version that I don't have.

I haven't yet added the files needed to start the game yet, but I am fully aware if that the above shared library issue would come up now rather than later.

Btw, Hyperbola is based on Arch and is focused on stability and security so it uses debian patches currently.

Steps to reproduce

1: downloaded the linux binary,
2: extracted it,
3: went into the folder its in,
4: chmod +x jazz2
5: Then I typed in terminal ./jazz2 and viola that bug came up.

@FrostKnight FrostKnight added the bug Something isn't working label Oct 6, 2023
@deathkiller deathkiller self-assigned this Oct 6, 2023
@deathkiller
Copy link
Owner

You can try to build the game yourself. Otherwise, I don't know how to help you unfortunately. It probably have to be linked to different OpenGL library on your system. That's a disadvantage of Linux where you can't usually create universal binary that will work on all distros and versions.

@FrostKnight
Copy link
Author

You can try to build the game yourself. Otherwise, I don't know how to help you unfortunately. It probably have to be linked to different OpenGL library on your system. That's a disadvantage of Linux where you can't usually create universal binary that will work on all distros and versions.

I tried installing libglvnd from archlinux, seems to fix the issue but I do have one other separate issue regarding glibc now. Apparently my version is too old for this to work with. I have the version 2.3.0 not 2.3.2.

I am not sure if this is deliberate or not, but older versions are blocked.

@deathkiller
Copy link
Owner

Which older versions? If you build it yourself, it should link to your local glibc version.
Also, you can try Linux (Legacy) build on GitHub Actions which is built on older Ubuntu and should link to older libraries.

@FrostKnight
Copy link
Author

FrostKnight commented Oct 6, 2023

Which older versions? If you build it yourself, it should link to your local glibc version. Also, you can try Linux (Legacy) build on GitHub Actions which is built on older Ubuntu and should link to older libraries.

How do I download the legacy version?

nvm

When I tried to build it from source, I got these errors:

[ 0%] Building CXX object CMakeFiles/jazz2.dir/Sources/Shared/Environment.cpp.o
[ 0%] Building CXX object CMakeFiles/jazz2.dir/Sources/Shared/Cpu.cpp.o
[ 1%] Building CXX object CMakeFiles/jazz2.dir/Sources/Shared/Utf8.cpp.o
[ 1%] Building CXX object CMakeFiles/jazz2.dir/Sources/Shared/Containers/SmallVector.cpp.o
[ 1%] Building CXX object CMakeFiles/jazz2.dir/Sources/Shared/Containers/String.cpp.o
[ 2%] Building CXX object CMakeFiles/jazz2.dir/Sources/Shared/Containers/StringView.cpp.o
[ 2%] Building CXX object CMakeFiles/jazz2.dir/Sources/Shared/IO/AndroidAssetStream.cpp.o
[ 2%] Building CXX object CMakeFiles/jazz2.dir/Sources/Shared/IO/FileStream.cpp.o
[ 3%] Building CXX object CMakeFiles/jazz2.dir/Sources/Shared/IO/FileSystem.cpp.o
[ 3%] Building CXX object CMakeFiles/jazz2.dir/Sources/Shared/IO/MemoryStream.cpp.o
[ 3%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/AppConfiguration.cpp.o
[ 4%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Application.cpp.o
/home/someuser/Downloads/jazz2-native-master/jazz2-native-master/Sources/nCine/Application.cpp: In member function ‘void nCine::Application::resume()’:
/home/someuser/Downloads/jazz2-native-master/jazz2-native-master/Sources/nCine/Application.cpp:680:19: warning: variable ‘suspensionDuration’ set but not used [-Wunused-but-set-variable]
const TimeStamp suspensionDuration = frameTimer_->resume();
^~~~~~~~~~~~~~~~~~
[ 4%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/ArrayIndexer.cpp.o
[ 5%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/I18n.cpp.o
[ 5%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/ServiceLocator.cpp.o
[ 5%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Base/Algorithms.cpp.o
[ 6%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Base/BitArray.cpp.o
[ 6%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Base/Clock.cpp.o
[ 6%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Base/FrameTimer.cpp.o
[ 7%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Base/HashFunctions.cpp.o
[ 7%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Base/Object.cpp.o
[ 7%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Base/Random.cpp.o
[ 8%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Base/Timer.cpp.o
[ 8%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Base/TimeStamp.cpp.o
[ 8%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/AnimatedSprite.cpp.o
[ 9%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/BaseSprite.cpp.o
[ 9%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/BinaryShaderCache.cpp.o
[ 10%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/Camera.cpp.o
[ 10%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/DrawableNode.cpp.o
[ 10%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/Geometry.cpp.o
[ 11%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/GfxCapabilities.cpp.o
[ 11%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/GL/GLAttribute.cpp.o
[ 11%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/GL/GLBlending.cpp.o
[ 12%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/GL/GLBufferObject.cpp.o
[ 12%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/GL/GLClearColor.cpp.o
[ 12%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/GL/GLCullFace.cpp.o
[ 13%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/GL/GLDebug.cpp.o
[ 13%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/GL/GLDepthTest.cpp.o
[ 13%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/GL/GLFramebuffer.cpp.o
[ 14%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/GL/GLRenderbuffer.cpp.o
[ 14%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/GL/GLScissorTest.cpp.o
[ 15%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/GL/GLShader.cpp.o
[ 15%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/GL/GLShaderProgram.cpp.o
/home/someuser/Downloads/jazz2-native-master/jazz2-native-master/Sources/nCine/Graphics/GL/GLShaderProgram.cpp: In member function ‘void nCine::GLShaderProgram::discoverAttributes()’:
/home/someuser/Downloads/jazz2-native-master/jazz2-native-master/Sources/nCine/Graphics/GL/GLShaderProgram.cpp:383:17: warning: unused variable ‘attribute’ [-Wunused-variable]
GLAttribute& attribute = attributes_.emplace_back(glHandle_, i);
^~~~~~~~~
[ 15%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/GL/GLShaderUniformBlocks.cpp.o
[ 16%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/GL/GLShaderUniforms.cpp.o
[ 16%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/GL/GLTexture.cpp.o
[ 16%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/GL/GLUniform.cpp.o
[ 17%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/GL/GLUniformBlock.cpp.o
[ 17%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/GL/GLUniformBlockCache.cpp.o
[ 17%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/GL/GLUniformCache.cpp.o
[ 18%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/GL/GLVertexArrayObject.cpp.o
[ 18%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/GL/GLVertexFormat.cpp.o
[ 18%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/GL/GLViewport.cpp.o
[ 19%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/IGfxDevice.cpp.o
[ 19%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/ITextureLoader.cpp.o
[ 20%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/Material.cpp.o
[ 20%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/MeshSprite.cpp.o
[ 20%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/Particle.cpp.o
[ 21%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/ParticleAffectors.cpp.o
[ 21%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/ParticleInitializer.cpp.o
[ 21%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/ParticleSystem.cpp.o
[ 22%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/RectAnimation.cpp.o
[ 22%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/RenderBatcher.cpp.o
/home/someuser/Downloads/jazz2-native-master/jazz2-native-master/Sources/nCine/Graphics/RenderBatcher.cpp: In member function ‘void nCine::RenderBatcher::createBatches(const Death::Containers::SmallVectorImplnCine::RenderCommand*&, Death::Containers::SmallVectorImplnCine::RenderCommand*&)’:
/home/someuser/Downloads/jazz2-native-master/jazz2-native-master/Sources/nCine/Graphics/RenderBatcher.cpp:65:54: warning: comparison of integer expressions of different signedness: ‘unsigned int’ and ‘const int’ [-Wsign-compare]
if (shaderBatchSize > 0 && currentMaxBatchSize > shaderBatchSize) {
~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
[ 22%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/RenderBuffersManager.cpp.o
[ 23%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/RenderCommand.cpp.o
[ 23%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/RenderCommandPool.cpp.o
[ 24%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/RenderQueue.cpp.o
[ 24%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/RenderResources.cpp.o
[ 24%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/RenderStatistics.cpp.o
[ 25%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/RenderVaoPool.cpp.o
[ 25%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/SceneNode.cpp.o
[ 25%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/ScreenViewport.cpp.o
[ 26%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/Shader.cpp.o
[ 26%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/ShaderState.cpp.o
[ 26%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/Sprite.cpp.o
[ 27%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/Texture.cpp.o
[ 27%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/TextureFormat.cpp.o
[ 27%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/TextureLoaderDds.cpp.o
[ 28%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/TextureLoaderKtx.cpp.o
[ 28%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/TextureLoaderPvr.cpp.o
[ 29%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/TextureLoaderRaw.cpp.o
[ 29%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/TextureLoaderPng.cpp.o
[ 29%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/TextureLoaderQoi.cpp.o
[ 30%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Graphics/Viewport.cpp.o
[ 30%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Input/IInputManager.cpp.o
[ 30%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Input/JoyMapping.cpp.o
[ 31%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/IO/CompressionUtils.cpp.o
[ 31%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Primitives/Color.cpp.o
[ 31%] Building CXX object CMakeFiles/jazz2.dir/Sources/nCine/Primitives/Colorf.cpp.o
[ 32%] Building CXX object CMakeFiles/jazz2.dir/Sources/simdjson/simdjson.cpp.o
[ 32%] Building CXX object CMakeFiles/jazz2.dir/Sources/Main.cpp.o
[ 32%] Building CXX object CMakeFiles/jazz2.dir/Sources/Jazz2/ContentResolver.cpp.o
/home/someuser/Downloads/jazz2-native-master/jazz2-native-master/Sources/Jazz2/ContentResolver.cpp: In member function ‘std::unique_ptrJazz2::Tiles::TileSet Jazz2::ContentResolver::RequestTileSet(const StringView&, uint16_t, bool, const uint8_t*)’:
/home/someuser/Downloads/jazz2-native-master/jazz2-native-master/Sources/Jazz2/ContentResolver.cpp:825:38: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]
if (tx + TileSet::DefaultTileSize <= width && ty + TileSet::DefaultTileSize <= height) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
/home/someuser/Downloads/jazz2-native-master/jazz2-native-master/Sources/Jazz2/ContentResolver.cpp:825:80: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘uint32_t’ {aka ‘unsigned int’} [-Wsign-compare]

  • TileSet::DefaultTileSize <= width && ty + TileSet::DefaultTileSize <= height) {
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~

[ 33%] Building CXX object CMakeFiles/jazz2.dir/Sources/Jazz2/LevelHandler.cpp.o
/home/someuser/Downloads/jazz2-native-master/jazz2-native-master/Sources/Jazz2/LevelHandler.cpp: In constructor ‘Jazz2::LevelHandler::LevelHandler(Jazz2::IRootController*, const Jazz2::LevelInitialization&)’:
/home/someuser/Downloads/jazz2-native-master/jazz2-native-master/Sources/Jazz2/LevelHandler.cpp:67:25: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘long unsigned int’ [-Wsign-compare]
for (int32_t i = 0; i < countof(levelInit.PlayerCarryOvers); i++) {
/home/someuser/Downloads/jazz2-native-master/jazz2-native-master/Sources/Jazz2/LevelHandler.cpp:86:5: error: no matching function for call to ‘Jazz2::Actors::Player::OnActivated()’
});
^
In file included from /home/someuser/Downloads/jazz2-native-master/jazz2-native-master/Sources/Jazz2/ILevelHandler.h:3,
from /home/someuser/Downloads/jazz2-native-master/jazz2-native-master/Sources/Jazz2/LevelHandler.h:3,
from /home/someuser/Downloads/jazz2-native-master/jazz2-native-master/Sources/Jazz2/LevelHandler.cpp:1:
/home/someuser/Downloads/jazz2-native-master/jazz2-native-master/Sources/Jazz2/Actors/ActorBase.h:133:14: note: candidate: ‘nCine::Task Jazz2::Actors::ActorBase::OnActivated(const Jazz2::Actors::ActorActivationDetails&)’
Task OnActivated(const ActorActivationDetails& details);
^~~~~~~~~~~
/home/someuser/Downloads/jazz2-native-master/jazz2-native-master/Sources/Jazz2/Actors/ActorBase.h:133:14: note: no known conversion for argument 1 from ‘’ to ‘const Jazz2::Actors::ActorActivationDetails&’
/home/someuser/Downloads/jazz2-native-master/jazz2-native-master/Sources/Jazz2/LevelHandler.cpp: In member function ‘virtual void Jazz2::LevelHandler::OnBeginFrame()’:
/home/someuser/Downloads/jazz2-native-master/jazz2-native-master/Sources/Jazz2/LevelHandler.cpp:284:28: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
for (int32_t i = 0; i < _players.size(); i++) {
~~^~~~~~~~~~~~~~~~~
/home/someuser/Downloads/jazz2-native-master/jazz2-native-master/Sources/Jazz2/LevelHandler.cpp: In member function ‘void Jazz2::LevelHandler::UpdatePressedActions()’:
/home/someuser/Downloads/jazz2-native-master/jazz2-native-master/Sources/Jazz2/LevelHandler.cpp:1493:64: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘long unsigned int’ [-Wsign-compare]
for (int32_t i = 0; i < IInputManager::MaxNumJoysticks && jc < countof(joyStates); i++) {
/home/someuser/Downloads/jazz2-native-master/jazz2-native-master/Sources/Jazz2/LevelHandler.cpp: In member function ‘nCine::RenderCommand* Jazz2::LevelHandler::LightingRenderer::RentRenderCommand()’:
/home/someuser/Downloads/jazz2-native-master/jazz2-native-master/Sources/Jazz2/LevelHandler.cpp:1630:28: warning: comparison of integer expressions of different signedness: ‘int32_t’ {aka ‘int’} and ‘std::size_t’ {aka ‘long unsigned int’} [-Wsign-compare]
if (_renderCommandsCount < _renderCommands.size()) {
~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/jazz2.dir/build.make:1364: CMakeFiles/jazz2.dir/Sources/Jazz2/LevelHandler.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/jazz2.dir/all] Error 2
make: *** [Makefile:156: all] Error 2

@deathkiller
Copy link
Owner

Click on the link - https://github.com/deathkiller/jazz2-native/actions/workflows/linux_legacy.yml, then click on the latest workflow and download artifact at the bottom of the page.

@FrostKnight
Copy link
Author

FrostKnight commented Oct 6, 2023

Click on the link - https://github.com/deathkiller/jazz2-native/actions/workflows/linux_legacy.yml, then click on the latest workflow and download artifact at the bottom of the page.

I saw thank you, my bad for asking. But I edited my reply to show compiling error.

Not sure what happened.

Btw, cant make either start. Do you know what might be the cause and how to turn off requirements for newer opengl or etc...?

brb in maybe an hour. I'll see your response on my email more than probably.

@deathkiller
Copy link
Owner

Interesting, you probably have some older version of compiler, because all builds are passing on GitHub.

Unfortunately, OpenGL 3.0 is required which is already 15 years old, it's not any new. And it usually works, I've never heard of such problems.

@FrostKnight
Copy link
Author

FrostKnight commented Oct 6, 2023

Interesting, you probably have some older version of compiler, because all builds are passing on GitHub.

Unfortunately, OpenGL 3.0 is required which is already 15 years old, it's not any new. And it usually works, I've never heard of such problems.

My compilter is gcc 8.4.0

Is this an issue?

I have tried libgl and libglvnd each on their own.

libglvnd requires glibc 3.4 alas... as far as I can see anyhow. So i cant use that.

However, I might be able to make it work if and this is a big if:

If I can compile it with the gcc version I have.

mesa-libgl is what I meant by libgl btw.

I have glibc 2.30 btw too. I am not sure if this is a problem as well.

@deathkiller
Copy link
Owner

GitHub builds are using GCC 9.4.0 (the legacy one) and GCC 11.4.0 (the newest one). And CMake should find the best suitable OpenGL library on your system during build. But I don't use Linux myself, so hard to tell.

@FrostKnight
Copy link
Author

GitHub builds are using GCC 9.4.0 (the legacy one) and GCC 11.4.0 (the newest one). And CMake should find the best suitable OpenGL library on your system during build. But I don't use Linux myself, so hard to tell.

Ahhh I see... that explains a lot.

Hmm... alright. Well now I know then. ;)

@FrostKnight
Copy link
Author

GitHub builds are using GCC 9.4.0 (the legacy one) and GCC 11.4.0 (the newest one). And CMake should find the best suitable OpenGL library on your system during build. But I don't use Linux myself, so hard to tell.

Quick thought, do you think appimages would be able to bypass this issue and make it usable regardless? Just curious, if not then perhaps close this thread.

@deathkiller
Copy link
Owner

I have no idea, I don't know how appimages work nor how to create them.

@FrostKnight
Copy link
Author

I have no idea, I don't know how appimages work nor how to create them.

Alrighty then. Nevermind, I'll lock it since, for the time being its not a huge thing. Maybe I will use jazz2 in a vm or my other drive for now. ;)

@deathkiller
Copy link
Owner

I lowered compiler requirements from C++20 to C++17, so it could be buildable on older GCC versions now.

@FrostKnight
Copy link
Author

FrostKnight commented Oct 16, 2023

jazzer.txt
> I lowered compiler requirements from C++20 to C++17, so it could be buildable on older GCC versions now.

Its playable! Only one small issue exists still, one of the key buttons doesn't work when I start it. its usually either down or up. Weird right? I am not sure what causes this though.

I uploaded a text of the errors I saw. Sorry to bug you again.

@deathkiller
Copy link
Owner

SynPS/2 Synaptics TouchPad was detected as gamepad (it's happening for some mice on Linux, I don't know why), so I added it to blacklist now. It may have solved your problems.

@FrostKnight
Copy link
Author

FrostKnight commented Oct 16, 2023

SynPS/2 Synaptics TouchPad was detected as gamepad (it's happening for some mice on Linux, I don't know why), so I added it to blacklist now. It may have solved your problems.

The ironic part is, I disabled my touchpad...

I have a trackpoint that I use for movement instead. ;)

Have a Thinkpad X230... and I use a disable touchpad python script. Which is why this puzzles me.

But yeah, your recent change fixed my problem. Thank you very much!

@deathkiller
Copy link
Owner

Great, you're welcome! I had the same problem with Razer mouse and keyboard already. SDL2 detects them as joysticks on Linux, so it's assigned to the first slot and it just causes problems.

@FrostKnight
Copy link
Author

Great, you're welcome! I had the same problem with Razer mouse and keyboard already. SDL2 detects them as joysticks on Linux, so it's assigned to the first slot and it just causes problems.

Its nice not to need dosbox-x + windows 95, because this game was always a mess to play on windows 95 even on dosbox-x.

But yeah, it does cause problems and a lot it seems. Still kind of bizarre though.

@FrostKnight
Copy link
Author

Great, you're welcome! I had the same problem with Razer mouse and keyboard already. SDL2 detects them as joysticks on Linux, so it's assigned to the first slot and it just causes problems.

Btw, you nicer than some devs on here, regarding gcc, etc... I wish I knew how to push back the dependency of gcc on other stuff with unneeded requirements.

That being said, unrelated, but do you know when multiplayer support will return? I am curious to see what that will look like.

@deathkiller
Copy link
Owner

Thanks! You may have noticed that 2 commits with multiplayer support are already there, players can run around the map, but everything else is still missing, so it's disabled during compilation for now. It's a lot of work, so I can't tell when it will be complete, but some progress is there.

@FrostKnight
Copy link
Author

Thanks! You may have noticed that 2 commits with multiplayer support are already there, players can run around the map, but everything else is still missing, so it's disabled during compilation for now. It's a lot of work, so I can't tell when it will be complete, but some progress is there.

Hmm... I see, well fair point. Tell me when its ready, I have interest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants