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

Standard mod ini fails to start the game #737

Open
versable opened this issue Jan 30, 2025 · 1 comment
Open

Standard mod ini fails to start the game #737

versable opened this issue Jan 30, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@versable
Copy link
Contributor

versable commented Jan 30, 2025

In a clean installation, the issue described here (#570) still persists.

The default GothicGame.ini

[INFO]
Title=Gothic II: Gold Edition
Version=2.7
Authors=Piranha Bytes
Webpage=http://www.piranha-bytes.com
Description=!<symlink>GothicGame.rtf
Icon=GothicStarter.exe

[FILES]
VDF=GothicGame.mod
Game=Content\Gothic
FightAI=Content\Fight
Menu=System\Menu
Camera=System\Camera
Music=System\Music
SoundEffects=System\SFX
ParticleEffects=System\ParticleFX
VisualEffects=System\VisualFX
OutputUnits=OU

[SETTINGS]
Player=PC_HERO
World=NewWorld\NewWorld.zen

[OPTIONS]
show_Info=0
show_InfoX=800
show_InfoY=7200
show_Version=1
show_VersionX=6500
show_VersionY=7200
show_Focus=1
show_FocusItm=1
show_FocusMob=1
show_FocusNpc=1
show_FocusBar=1
force_Subtitles=0
force_Parameters=

[OVERRIDES]
INTERNAL.extendedMenu=1

The offending lines:

Game=Content\Gothic
FightAI=Content\Fight

Output when trying to start a game:

OpenGothic v1.0 dev
no "SystemPack.ini" file in path - using default settings
Switching music provider to 'GothicKit'
GPU = Intel(R) Graphics (RPL-P)
Depth format = Depth32F Shadow format = Depth16
[dmusic] DmBand: Downloading instruments for band 'Ingame'
[dmusic] DmRiff: Chunk LIST:[adtl] not fully parsed, 16 bytes remaining
[dmusic] DmRiff: Chunk LIST:[adtl] not fully parsed, 16 bytes remaining
[dmusic] DmBand: Downloading instruments for band 'Ingame'
[dmusic] DmLoader: Automatic download of segment 'gamestart.sgt' succeeded
[dmusic] DmSegment: NULL passed to `DmSegment_release`
[dmusic] DmPerformance: Playing segment "Gamestart" (repeat 1/9999)
[dmusic] DmPerformance: Playing pattern 'part_1' (measure 1, length 8)
[dmusic] DmBand: Downloading instruments for band 'Ingame'
[dmusic] DmBand: Downloading instruments for band 'Ingame'
[dmusic] DmLoader: Automatic download of segment 'gamestart.sgt' succeeded
loading error: Failed to open /home/versable/drive_c/GOG Games/Gothic 2 Gold New/_work/Data/Scripts/_compiled/Content\Gothic.DAT
[dmusic] DmPerformance: Playing segment "Composed Transition" (repeat 1/1)
[dmusic] DmPerformance: Playing segment "Gamestart" (repeat 1/9999)
[dmusic] DmPerformance: Playing pattern 'part_1' (measure 1, length 8)
@versable versable added the bug Something isn't working label Jan 30, 2025
@Try
Copy link
Owner

Try commented Feb 2, 2025

Hi, @versable !

Yes, at the moment opengothic uses hard-coded paths to system scripts. For example:

// fightaidefinitions.cpp
FightAi::FightAi() {
  auto vm = Gothic::inst().createPhoenixVm("Fight.dat");

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