Comments (9)
ld: warning: ignoring file '/Library/Frameworks/OpenAL.framework/Versions/A/OpenAL': fat file missing arch 'arm64', file has 'i386,x86_64'
Looks like your trying to link x86 code while building arm64 code. This likely causes the Undefined Symbols error later.
I have no experience with the macOS platform but you probably need the OpenAL library for arm64 from somewhere or explicitly tell CMake during configuration where to find the arm64 variant of OpenAL.
(Although it seems weird that on an arm64 machine you even have x86 libraries at all not sure)
from xray-16.
Ok - I delete x86 library and build fine. But when I try to open xr_3da file I always got error. Do you have any idea what is wrong?
! Couldn't create surface from image: Parameter 'src' is invalid
OpenXRay Release Master Gold build 9188, Apr 4 2024 (Apple ARM 64-bit, shared)
Custom build from commit[9f2e98c5421eee793c2ec9481c1460ed22947470] branch[dev]
command line
* CPU features: ARMSIMD, NEON
* CPU threads: 8
Initializing File System...
$fs_root$ = /Users/naymapl/Library/Application Support/GSC Game World/S.T.A.L.K.E.R. - Call of Pripyat/
using fs-ltx fsgame.ltx
FS: 38991 files cached 32 archives, 11776Kb memory used.
Init FileSystem 0.247497 sec
-----loading \Users\naymapl\Library\Application Support\GSC Game World\S.T.A.L.K.E.R. - Call of Pripyat\gamedata\configs\system.ltx
-----loading \Users\naymapl\Library\Application Support\GSC Game World\S.T.A.L.K.E.R. - Call of Pripyat\gamedata\configs\system.ltx
Starting INPUT device...
Loading module: xrRender_GL
Available render modes[1]:
renderer_rgl
Executing config-script "user.ltx"...
! Cannot open script file [user.ltx]
Selected renderer: renderer_rgl
Loading module: xrGame
Initializing Engine...
SOUND: OpenAL: system default sound device name is LG ULTRAFINE (eqMac)
Executing config-script "\Users\naymapl\Library\Application Support\GSC Game World\S.T.A.L.K.E.R. - Call of Pripyat\gamedata\configs\default_controls.ltx"...
[\Users\naymapl\Library\Application Support\GSC Game World\S.T.A.L.K.E.R. - Call of Pripyat\gamedata\configs\default_controls.ltx] successfully loaded.
Executing config-script "user.ltx"...
! Cannot open script file [user.ltx]
SOUND: Selected device is LG ULTRAFINE (eqMac)
Starting RENDER device...
* GPU vendor: [Apple] device: [Apple M1]
* GPU OpenGL version: 4.1 Metal - 88
* GPU OpenGL shading language version: 4.10
* GPU OpenGL VTF units: [16] CTI units: [80]
* DVB created: 4096K
* DIB created: 512K
! Renderer doesn't support blender 'effects\shadow_world'
FATAL ERROR
[error] Expression : skinh
[error] Function : CompatibilityCheck
[error] File : /Users/naymapl/xray-16/src/Layers/xrRender/ResourceManager.cpp
[error] Line : 274
[error] Description : Can't open shader
[error] Arguments : skin.h
stack trace:
xrDebug::GatherInfo(char*, unsigned long, ErrorLocation const&, char const*, char const*, char const*, char const*)
xrDebug::Fail(bool&, ErrorLocation const&, char const*, char const*, char const*, char const*)
CResourceManager::CompatibilityCheck()
D3DXRenderBase::OnDeviceCreate(char const*)
CRenderDevice::Create()
CApplication::CApplication(char const*)
6 xr_3da 0x0000000102367c24 main + 256
7 dyld 0x00000001987fa0e0 start + 2360
[1] + 7644 trace trap /Volumes/Macintosh\ HD/Users/naymapl/xray-16/bin/arm64/Release/xr_3da
from xray-16.
Ok - I delete x86 library and build fine. But when I try to open xr_3da file I always got error. Do you have any idea what is wrong?
! Couldn't create surface from image: Parameter 'src' is invalid OpenXRay Release Master Gold build 9188, Apr 4 2024 (Apple ARM 64-bit, shared) Custom build from commit[9f2e98c5421eee793c2ec9481c1460ed22947470] branch[dev] command line * CPU features: ARMSIMD, NEON * CPU threads: 8 Initializing File System... $fs_root$ = /Users/naymapl/Library/Application Support/GSC Game World/S.T.A.L.K.E.R. - Call of Pripyat/ using fs-ltx fsgame.ltx FS: 38991 files cached 32 archives, 11776Kb memory used. Init FileSystem 0.247497 sec -----loading \Users\naymapl\Library\Application Support\GSC Game World\S.T.A.L.K.E.R. - Call of Pripyat\gamedata\configs\system.ltx -----loading \Users\naymapl\Library\Application Support\GSC Game World\S.T.A.L.K.E.R. - Call of Pripyat\gamedata\configs\system.ltx Starting INPUT device... Loading module: xrRender_GL Available render modes[1]: renderer_rgl Executing config-script "user.ltx"... ! Cannot open script file [user.ltx] Selected renderer: renderer_rgl Loading module: xrGame Initializing Engine... SOUND: OpenAL: system default sound device name is LG ULTRAFINE (eqMac) Executing config-script "\Users\naymapl\Library\Application Support\GSC Game World\S.T.A.L.K.E.R. - Call of Pripyat\gamedata\configs\default_controls.ltx"... [\Users\naymapl\Library\Application Support\GSC Game World\S.T.A.L.K.E.R. - Call of Pripyat\gamedata\configs\default_controls.ltx] successfully loaded. Executing config-script "user.ltx"... ! Cannot open script file [user.ltx] SOUND: Selected device is LG ULTRAFINE (eqMac) Starting RENDER device... * GPU vendor: [Apple] device: [Apple M1] * GPU OpenGL version: 4.1 Metal - 88 * GPU OpenGL shading language version: 4.10 * GPU OpenGL VTF units: [16] CTI units: [80] * DVB created: 4096K * DIB created: 512K ! Renderer doesn't support blender 'effects\shadow_world' FATAL ERROR [error] Expression : skinh [error] Function : CompatibilityCheck [error] File : /Users/naymapl/xray-16/src/Layers/xrRender/ResourceManager.cpp [error] Line : 274 [error] Description : Can't open shader [error] Arguments : skin.h stack trace: xrDebug::GatherInfo(char*, unsigned long, ErrorLocation const&, char const*, char const*, char const*, char const*) xrDebug::Fail(bool&, ErrorLocation const&, char const*, char const*, char const*, char const*) CResourceManager::CompatibilityCheck() D3DXRenderBase::OnDeviceCreate(char const*) CRenderDevice::Create() CApplication::CApplication(char const*) 6 xr_3da 0x0000000102367c24 main + 256 7 dyld 0x00000001987fa0e0 start + 2360 [1] + 7644 trace trap /Volumes/Macintosh\ HD/Users/naymapl/xray-16/bin/arm64/Release/xr_3da
You didn't copied necessary gamedata files. Follow the portable installation step in Linux build instructions.
from xray-16.
Now I have missing file system.ltx
in folder \Release\gamedata\configs\system.ltx
.
from xray-16.
You need to install game and it's files correctly.
We only provide few modified files, but we don't provide entire game assets.
from xray-16.
I copy all folders fom GOG version of a game like on the instruction. Problem is somewhere else. I copy the gamedata
directory and fsgame.ltx
file from xray-16/res
to game folder. But there is no system.ltx
file.
from xray-16.
system.ltx is packed inside game archives. So, it seems that something is wrong with the installation – engine can't find archives.
Unfortunately, I don't have Mac and we don't have macOS-specific installation steps in our wiki (it should be same as for Linux, but there may be small exceptions). You probably need to find out this yourself :(
from xray-16.
@naymapl current dev branch builds and runs for me on macOS 14.4.1. Make sure you copied the required directories from your unpacked COP install (levels, localization, mp, patches, resources) into /Users/[your username]/Library/Application Support/GSC Game World/S.T.A.L.K.E.R. - Call of Pripyat.
from xray-16.
I think the OP fixed this, according to Discord. It was an issue with their setup
Can probably be closed.
from xray-16.
Related Issues (20)
- Game crashes due to "SOUND: Invalid emitter state" HOT 3
- Black line bug HOT 2
- AppVeyor linux builds HOT 1
- Fatal Error: SOUND: Invalid emitter state HOT 4
- ошибка HOT 2
- Выключается компьютер при загрузке сохранения
- Increase A-Life ID limit HOT 5
- Fatal Error. SOUND: Invalid emitter state HOT 1
- Multiple issues regarding the Fullscreen/ Windowed modes HOT 3
- The Stuttering HOT 2
- Third person animations can play erroneously if move state is updated while anim is playing HOT 1
- [macOS] Segfault on quit HOT 16
- Update pSettings logic so that pSettings is mutable HOT 1
- Game hangs on entering X8 HOT 2
- Regression: Crash on launch - SoundRender_Source.cpp HOT 1
- Snag's box dupe HOT 2
- Integrated spawner and other tools HOT 1
- Move debugging console commands to ImGui menu
- Error reading Attributes. gameplay\info_jupiter.xml HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xray-16.