Prerequisites
Game Version
Operating System
Bug Description
When launching Zero Hour without manually setting CNC_GENERALS_PATH, the game does not find the base Generals assets located in:
~/GeneralsX/Generals/
As a result, textures appear purple and some sounds are also missing.
The base Generals game works correctly and can load the assets from the same directory.
According to the expected behavior, when CNC_GENERALS_PATH is not set, it should default to:
~/GeneralsX/Generals/
However, Zero Hour does not appear to use this default path.
Reproduction Steps
1.Place the base Generals assets in:
~/GeneralsX/Generals/
2.Make sure CNC_GENERALS_PATH is not set:
unset CNC_GENERALS_PATH
3.Launch Zero Hour:
flatpak run com.fbraz3.GeneralsXZH
4.Start the game and observe that textures and sounds are missing.
Expected Behavior
Zero Hour should automatically search for the base Generals assets in:
~/GeneralsX/Generals/
when CNC_GENERALS_PATH is not explicitly set.
Actual Behavior
Zero Hour does not find the base game assets unless CNC_GENERALS_PATH is manually defined.
Workaround
The assets load correctly when launching the game with:
export CNC_GENERALS_PATH="$HOME/GeneralsX/Generals"
flatpak run com.fbraz3.GeneralsXZH
After setting the environment variable, all textures and sounds load normally.
Additional Context
Fedora KDE 44 / Flatpak
Prerequisites
Game Version
Operating System
Bug Description
When launching Zero Hour without manually setting CNC_GENERALS_PATH, the game does not find the base Generals assets located in:
~/GeneralsX/Generals/As a result, textures appear purple and some sounds are also missing.
The base Generals game works correctly and can load the assets from the same directory.
According to the expected behavior, when
CNC_GENERALS_PATHis not set, it should default to:~/GeneralsX/Generals/However, Zero Hour does not appear to use this default path.
Reproduction Steps
1.Place the base Generals assets in:
~/GeneralsX/Generals/2.Make sure CNC_GENERALS_PATH is not set:
unset CNC_GENERALS_PATH3.Launch Zero Hour:
flatpak run com.fbraz3.GeneralsXZH4.Start the game and observe that textures and sounds are missing.
Expected Behavior
Zero Hour should automatically search for the base Generals assets in:
~/GeneralsX/Generals/when
CNC_GENERALS_PATHis not explicitly set.Actual Behavior
Zero Hour does not find the base game assets unless CNC_GENERALS_PATH is manually defined.
Workaround
The assets load correctly when launching the game with:
After setting the environment variable, all textures and sounds load normally.
Additional Context
Fedora KDE 44 / Flatpak