Git Product home page Git Product logo

Comments (6)

lmichaelis avatar lmichaelis commented on June 19, 2024

Hi there @CReimer, this is a known issue with some message DBs. A synchronized field is present but not parsed (see link). I am not sure if it needs to be fixed to implement Gothic I correctly and I am also not sure about the default value. There is some investigation required into how this is actually supposed to work.

https://github.com/lmichaelis/phoenix/blob/main/source/messages.cc#L64-L67

from zenkit.

CReimer avatar CReimer commented on June 19, 2024

"synchronized" in cutscenes. Could that be subtitles for the cutscenes?

from zenkit.

lmichaelis avatar lmichaelis commented on June 19, 2024

Cut-scenes are normally just videos iirc. Maybe it has something to do with subtitles of ambient conversation instead? I have no way to actually check since the G1 decompilation I can make is just garbage: I can't get any function or class names at all. G2 is so much easier :/

If you have a need for that data, let me know. I'll look into how to parse it :).

from zenkit.

lmichaelis avatar lmichaelis commented on June 19, 2024

Re-classifying this as a bug. After some further investigation I've determined an issue with the binary archive parser which causes this problem.

I've added a fix for it on main. Could you confirm that it does fix this issue @CReimer?

from zenkit.

dreimer1986 avatar dreimer1986 commented on June 19, 2024

I can confirm that. Same Gothic I version (Steam, German version). Used OpenGothic: Try/OpenGothic@f53134f
Used phoenix: v1.1.1

OpenGothic v1.0 dev
GPU = NVIDIA GeForce RTX 2080
Depth format = Depth32F Shadow format = Depth16
[phoenix] world: parsing object [MeshAndBsp % 0 0]
[phoenix] bsp_tree: parsing chunk c000
[phoenix] bsp_tree: parsing chunk c010
[phoenix] bsp_tree: parsing chunk c040
[phoenix] bsp_tree: parsing chunk c045
[phoenix] bsp_tree: parsing chunk c050
[phoenix] bsp_tree: parsing chunk c0ff
[phoenix] world: parsing object [VobTree % 0 0]
[phoenix] world: parsing object [WayNet % 0 0]
[phoenix] world: parsing object [EndMarker % 0 0]
[phoenix] model_script: detected invalid use of keyword aniin "Model" block. Ignoring rest of script.
unable to load sound fx: WOOD_NIGHT2
[phoenix] model script: syntax error (line 3186, column 2): comments must start with two slashes
comb not found: t_FIREPLACE_Stand_2_S0 -> c_FP_STAND_2_S0_(c_FP_STAND_2_S0_2)
comb not found: t_FIREPLACE_S0_2_Stand -> c_FP_STAND_2_S0_(c_FP_STAND_2_S0_2)
alias not found: t_Walk_2_WalkBL -> t_walkL_2_Walk
alias not found: t_SwimF_2_Dive -> t_swim_2_dive
alias not found: t_SwimF_2_Dive -> t_swim_2_dive
[phoenix] vm: accessing member "C_NPC.ATTRIBUTE" without an instance set
[phoenix] model script: syntax error (line 162, column 56): string not terminated
alias not found: r_Roam1 -> r_Scratch
alias not found: t_FallenB_2_Stand -> t_Fallen_2_Stand	
[phoenix] model_script: detected invalid use of keyword *eventSFXin "Model" block. Ignoring rest of script.
inserNpc: invalid waypoint
inserNpc: invalid waypoint
alias not found: t_FistWalkBL_2_FistWalk -> t_FistWalk_2_FistWalkL
[phoenix] model script: syntax error (line 3186, column 2): comments must start with two slashes
comb not found: t_FIREPLACE_Stand_2_S0 -> c_FP_STAND_2_S0_(c_FP_STAND_2_S0_2)
comb not found: t_FIREPLACE_S0_2_Stand -> c_FP_STAND_2_S0_(c_FP_STAND_2_S0_2)
alias not found: t_Walk_2_WalkBL -> t_walkL_2_Walk
[phoenix] model script: syntax error (line 55, column 96): string not terminated
[phoenix] model script: syntax error (line 55, column 109): string not terminated
[phoenix] model_script: detected invalid use of keyword aniAliasin "Model" block. Ignoring rest of script.
[phoenix] model script: syntax error (line 138, column 55): string not terminated
comb not found: t_FIREPLACE_Stand_2_S0 -> c_FP_STAND_2_S0_(c_FP_STAND_2_S0_2)
comb not found: t_FIREPLACE_S0_2_Stand -> c_FP_STAND_2_S0_(c_FP_STAND_2_S0_2)
room not found: NLHU03
room not found: NLHU05
room not found: NLHU06
room not found: NLHU09
room not found: NLHU08
room not found: NLHU07
room not found: NLHU04
room not found: NLHU02
room not found: NLHU01
not implemented call [WLD_SETOBJECTROUTINE]
room not found: HüTTE5
room not found: HüTTE34
[phoenix] vm: accessing member "C_NPC.ID" without an instance set
[phoenix] vm: accessing member "C_NPC.NAME" without an instance set
not implemented call [WLD_EXCHANGEGUILDATTITUDES]
room not found: NLHU03
room not found: NLHU05
room not found: NLHU06
room not found: NLHU09
room not found: NLHU08
room not found: NLHU07
room not found: NLHU04
room not found: NLHU02
room not found: NLHU01
room not found: HüTTE5
room not found: HüTTE34
[phoenix] vm: accessing member "C_NPC.ID" without an instance set
[phoenix] vm: accessing member "C_NPC.NAME" without an instance set
not implemented call [mdl_applyrandomani]
not implemented call [mdl_applyrandomanifreq]
not implemented call [NPC_HASREADIEDWEAPON]
not implemented call [NPC_SETKNOWSPLAYER]
not implemented call [NPC_HASNEWS]
not implemented call [NPC_GETNEXTWP]
not implemented call [NPC_ISWAYBLOCKED]
not implemented call [NPC_HASRANGEDWEAPONWITHAMMO]
not implemented call [NPC_GETINVITEMBYSLOT]
invalid particle system: "BFX_Scavenger_Dead"
unable to load sound fx: CS_MAM_JA_FL
invalid particle system: "BFX_Scavenger_Dead"
invalid particle system: "BFX_Scavenger_Dead"
exception in trigger-script: Cannot call function: not found
[phoenix] vm: accessing member "C_NPC.ID" without an instance set
[phoenix] vm: accessing member "C_NPC.NAME" without an instance set
[phoenix] vm: accessing member "C_NPC.ID" without an instance set
[phoenix] vm: accessing member "C_NPC.NAME" without an instance set
exception in trigger-script: Cannot call function: not found
not implemented call [NPC_ISINCUTSCENE]
[phoenix] vm: accessing member "C_NPC.ID" without an instance set
[phoenix] vm: accessing member "C_NPC.NAME" without an instance set
not implemented call [NPC_HASREADIEDRANGEDWEAPON]
[phoenix] vm: accessing member "C_NPC.ID" without an instance set
[phoenix] vm: accessing member "C_NPC.NAME" without an instance set

This log is smaller already. all the not fully parsed are gone now and new intersting stuff shows up now. Maybe some of these are worth another report (like the syntax errors and rest of script skipped, etcetc), but this one here is fixed.

from zenkit.

lmichaelis avatar lmichaelis commented on June 19, 2024

Thanks for confirming. Those messages are related to malformed MDS files which we don't control. They are simply informing you about the incorrect syntax and don't necessarily indicate parsing errors I handle those issues and resolve them internally

If you do run into issues related to missing animations possibly related to phoenix, please open another issue :>

from zenkit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.