Closed psykovski-extended closed 10 months ago
Hi, as far as I remember, the VS project has 2 build targets - one for OpenClaw.exe and one for MidiProc.exe. Did you build both ? Is MidiProc.exe present in the launch directory ?
No, I just build OpenClaw. How can I build the MidiProc.exe
?
As far as I had read the readme, there were no instructions mentioning this step, or did I miss something?
MidiProc should be one of the build targets in the Visual Studio - you should be able to see it when you open the OpenClaw.sln with VS. It has been a few years since I used VS, but as far as I remember you can simply build it by right clicking the build target and pressing Build :)
MidiProc is specific only to Windows. It is not built on Linux.
I found, that the MidiProc.exe
was built to /Debug_Release/debug
, moved it one directory up, and thren I faced another issue:
INFO: Looking for: config.xml
INFO: Expecting config.xml in path: config.xml
INFO: Loaded with:
Config File: config.xml
Saves File: C:\Users\domin\Desktop\claw2.0\OpenClaw\Build_Release\SAVES.XML
INFO: >>>>> Initializing display...
INFO: Display successfully initialized.
INFO: >>>>> Initializing audio...
INFO: MIDI RPC Server started. [MidiProc.exe]
INFO: RPC Client successfully initialized
INFO: RPC Server and Client successfully handshaked
INFO: Audio successfully initialized.
INFO: >>>>> Initializing font...
INFO: Font successfully initialized...
INFO: >>>>> Initializing resource cache...
INFO: Resource cache successfully initialized
INFO: >>>>> Initializing touch resolver...
INFO: Touch resolver successfully initialized...
INFO: >>>>> Loading actor prototypes...
ERROR: [BaseGameApp::ReadActorXmlPrototypes] Actor prototype: "ActorPrototype_Null" was not found !
ERROR: [BaseGameApp::ReadActorXmlPrototypes] Actor prototype: "ActorPrototype_BaseEnemy" was not found !
ERROR: [BaseGameApp::ReadActorXmlPrototypes] Actor prototype: "ActorPrototype_Level1_Soldier" was not found !
ERROR: [BaseGameApp::ReadActorXmlPrototypes] Actor prototype: "ActorPrototype_Level1_Officer" was not found !
ERROR: [BaseGameApp::ReadActorXmlPrototypes] Actor prototype: "ActorPrototype_Level1_Rat" was not found !
ERROR: [BaseGameApp::ReadActorXmlPrototypes] Actor prototype: "ActorPrototype_Level2_Soldier" was not found !
ERROR: [BaseGameApp::ReadActorXmlPrototypes] Actor prototype: "ActorPrototype_Level2_Officer" was not found !
ERROR: [BaseGameApp::ReadActorXmlPrototypes] Actor prototype: "ActorPrototype_Level2_PunkRat" was not found !
ERROR: [BaseGameApp::ReadActorXmlPrototypes] Actor prototype: "ActorPrototype_Level3_Rat" was not found !
ERROR: [BaseGameApp::ReadActorXmlPrototypes] Actor prototype: "ActorPrototype_Level3_CutThroat" was not found !
ERROR: [BaseGameApp::ReadActorXmlPrototypes] Actor prototype: "ActorPrototype_Level3_RobberThief" was not found !
ERROR: [BaseGameApp::ReadActorXmlPrototypes] Actor prototype: "ActorPrototype_Level4_Rat" was not found !
ERROR: [BaseGameApp::ReadActorXmlPrototypes] Actor prototype: "ActorPrototype_Level4_CutThroat" was not found !
ERROR: [BaseGameApp::ReadActorXmlPrototypes] Actor prototype: "ActorPrototype_Level4_RobberThief" was not found !
ERROR: [BaseGameApp::ReadActorXmlPrototypes] Actor prototype: "ActorPrototype_Level5_TownGuard1" was not found !
ERROR: [BaseGameApp::ReadActorXmlPrototypes] Actor prototype: "ActorPrototype_Level5_TownGuard2" was not found !
ERROR: [BaseGameApp::ReadActorXmlPrototypes] Actor prototype: "ActorPrototype_Level5_Seagull" was not found !
ERROR: [BaseGameApp::ReadActorXmlPrototypes] Actor prototype: "ActorPrototype_Level6_TownGuard1" was not found !
ERROR: [BaseGameApp::ReadActorXmlPrototypes] Actor prototype: "ActorPrototype_Level6_TownGuard2" was not found !
ERROR: [BaseGameApp::ReadActorXmlPrototypes] Actor prototype: "ActorPrototype_Level6_Rat" was not found !
ERROR: [BaseGameApp::ReadActorXmlPrototypes] Actor prototype: "ActorPrototype_Level6_Seagull" was not found !
ERROR: [BaseGameApp::ReadActorXmlPrototypes] Actor prototype: "ActorPrototype_BaseElevator" was not found !
ERROR: [BaseGameApp::ReadActorXmlPrototypes] Actor prototype: "ActorPrototype_BasePathElevator" was not found !
ERROR: [BaseGameApp::ReadActorXmlPrototypes] Actor prototype: "ActorPrototype_BaseTogglePeg" was not found !
ERROR: [BaseGameApp::ReadActorXmlPrototypes] Actor prototype: "ActorPrototype_Level1_TogglePeg" was not found !
ERROR: [BaseGameApp::ReadActorXmlPrototypes] Actor prototype: "ActorPrototype_Level2_TogglePeg" was not found !
ERROR: [EnumToString_ActorPrototype] Could not find actor enum: 27
Assertion failed: false && "Could not convert ActorPrototype enum to string", file C:\Users\domin\Desktop\claw2.0\OpenClaw\OpenClaw\Engine\Interfaces.cpp, line 253
Will this game work better - or at least less problematic - on linux systems?
Either use Release configuration in the VS or move the build artefacts (OpenClaw.exe and MidiProc.exe) to the Build_Release folder and run it from there, as the Build_Release folder has all the dependencies in place (config, ASSETZ.ZIP, dlls, ...)
Will this game work better - or at least less problematic - on linux systems?
This game works fine (on both Windows and Linux), you are simply having issues building it :)
I am starting the
ClawLauncher.exe
which starts - at least I assume -OpenClaw.exe
, and fails when it does so! I tried to rebuild the project, as mentioned in theREADME.md
, but still not working. I built with VS 2017 and VS 2019, fails with both.Any tips to get this running?
I also added the
CLAW.REZ
, in case anyone thought this might be the issue!Console Output: