Openapoc: game crashes after intro

Created on 22 Jun 2020  路  11Comments  路  Source: OpenApoc/OpenApoc

v0.2.0.2-253-gb87734d1
W class OpenApoc::SoundBackend *__cdecl anonymous-namespace'::SDLRawBackendFactory::create(void) Creating SDLRaw sound backend (Might have issues!) W __cdeclanonymous-namespace'::SDLRawBackend::SDLRawBackend(void) Changing audio drivers is not currently implemented!
W __cdecl anonymous-namespace'::SDLRawBackend::SDLRawBackend(void) Selecting audio devices not currently implemented! Selecting first available device. W __cdeclanonymous-namespace'::SDLRawBackend::SDLRawBackend(void) Audio output format: Channels 2, format: signed float LE 32bit, freq 22050, samples 492
W void __cdecl OpenApoc::Framework::setupModDataPaths(void) loading mod "base"
W void __cdecl OpenApoc::Framework::setupModDataPaths(void) Loaded modinfo for mod ID "org.openapoc.base"
W void __cdecl OpenApoc::Framework::setupModDataPaths(void) Appending data path "./data/mods/base/data"
W void __cdecl OpenApoc::Framework::run(class std::shared_ptr) Over 5 frames behind - likely vsync limited?

Most helpful comment

it works!

image

thank you, sir!

All 11 comments

hello,
found a log file with the following:

I class OpenApoc::IFile __cdecl OpenApoc::FileSystem::open(const class OpenApoc::UString &) const: Failed to find "ui/loading.png" I class std::shared_ptr<class OpenApoc::Image> __cdecl OpenApoc::DataImpl::loadImage(const class OpenApoc::UString &,bool): Failed to load image "ui/loading.png" I class OpenApoc::IFile __cdecl OpenApoc::FileSystem::open(const class OpenApoc::UString &) const: Failed to find "ui/logo.png" I class std::shared_ptr<class OpenApoc::Image> __cdecl OpenApoc::DataImpl::loadImage(const class OpenApoc::UString &,bool): Failed to load image "ui/logo.png"

is this a simple path issue?

@thainlnguyen, does the issue manifest on a master build? (e.g. https://ci.appveyor.com/project/openapoc/openapoc/branch/master/artifacts)

v0.2.0.2-253-gb87734d1 here on top of i think

@thainlnguyen did you launch seccusfuly before openapoc? maybe its somthing wrong with setup..

v0.2.0.2-253-gb87734d1 here on top of i think

Yeah, that confusion is addressed in #899.

If it failed to load ui/logo.png it can't find the data/ directory. Did you extract the whole package first? Is the data/ folder in the same directory as the openapoc.exe you're running?

hello y'all and thank you for getting back! i'm in california time so pardon me for the delayed response.

i did download both with same result/crash:

  • v0.2.0.2-253-gb87734d1
  • v0.2.0.2-248-gacd0d1c3

this is the content of my OpenApoc_settings.conf:

[Framework]
CD=F:/open_apoc/OpenApoc-v0.2.0.2-248-gacd0d1c3/data/cd.iso
Data=F:/open_apoc/OpenApoc-v0.2.0.2-248-gacd0d1c3/data/mods
[Framework.Screen]
Fullscreen=0
Height=720
Width=1280
[Game]
Mods=base

OpenApoc path:
folder_struc

OpenApoc ./data folder:
image

how do i proceed and thank you so much for your time!

oops...

Data=F:/open_apoc/OpenApoc-v0.2.0.2-248-gacd0d1c3/data/mods

I think the Framework.Data option should point at the parent data folder, not the mods folder within that (e.g that should be "F:/open_apoc/OpenApoc-v0.2.0.2-248-gacd0d1c3/data"

it works!

image

thank you, sir!

@thainlnguyen ur welcome! feel free add more bugreports if u find some bugs =]

Was this page helpful?
0 / 5 - 0 ratings