Comments (5)
I have updated SDL2 wrapping on box64. It should go farther now.
But I'm a bit confused on what is happening, because the missing function is SDL2, not SDL1. So the sdl12-compat is an x86_64 one?
from box64.
have you tried BOX64_PREFER_EMULATED=1
?
from box64.
Thanks.
I'm using SDL2 and sdl12-compat.
I'll futher test sideloading or using native SDL1.
from box64.
Thank you.
My system has native aarch64 SDL2 and sdl12-compat installed.
I didn't install aarch64 SDL1.
I'm not familiar with functions between SDL2 and SDL1.
So please ignore me saying about trying sideloading SDL1 (both aarch64/x86_64).
I just have no further methods to try the game.
Then I remembered once you said about, sdl12-compat didn't fully cover SDL1. Some games might still need SDL1.
I'll test with latest box64 git again.
Thank you for taking time to wrap the function :)
from box64.
have you tried
BOX64_PREFER_EMULATED=1
?
You are right.
The game can be launched by BOX64_PREFER_EMULATED=1
at previous box64 git version 2fe872d,
which is before Seb's commit of wrapping the function 5bf2a7d
Working log,
rico [ /opt/games/chasm ]$ ./box64-start.sh
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 PageSize:4096 Running on Cortex-A55 Cortex-A76 with 8 Cores
Params database has 55 entries
Box64 with Dynarec v0.2.7 2fe872d built on Feb 3 2024 08:14:14
BOX64: Didn't detect 48bits of address space, considering it's 39bits
BOX64: Prefering Emulated libs
Counted 65 Env var
BOX64 LIB PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/
BOX64 BIN PATH: ./:bin/:/opt/rustc/bin/:/usr/local/bin/:/usr/bin/:/opt/ant/bin/:/opt/jdk/bin/:/opt/bin/
Looking for ./Chasm
Rename process to "Chasm"
Using native(wrapped) libm.so.6
Using native(wrapped) librt.so.1
Using native(wrapped) libdl.so.2
Using native(wrapped) libpthread.so.0
Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libutil.so.1
Using native(wrapped) libbsd.so.0
Started
Using emulated /opt/games/chasm/lib64/libSDL2-2.0.so.0
Using native(wrapped) libdbus-1.so.3
Using native(wrapped) libX11.so.6
Using native(wrapped) libXext.so.6
Using native(wrapped) libxcb.so.1
Using native(wrapped) libXau.so.6
Using native(wrapped) libXdmcp.so.6
Using native(wrapped) libXcursor.so.1
Using native(wrapped) libXi.so.6
Using native(wrapped) libXfixes.so.3
Using native(wrapped) libXrandr.so.2
Using native(wrapped) libXrender.so.1
Using native(wrapped) libXss.so.1
Using native(wrapped) libusb-1.0.so.0
Using native(wrapped) libudev.so.1
Using emulated /opt/games/chasm/lib64/libFNA3D.so.0
Using native(wrapped) libGL.so.1
Using emulated /opt/games/chasm/lib64/libFAudio.so.0
Arguments [0]
Game Intialize
LoadConfig() called
LoadConfig done.
LoadUserConfig() called
File does not exist, so will be saved to '/home/rico/.local/share/Chasm/config.ini'.
Platform language 'English' is supported and has been assigned.
Saving file '/home/rico/.local/share/Chasm/config.ini' because language was not previously set.
ConfigReader.Save( /home/rico/.local/share/Chasm/config.ini ) called.
Fullscreen=0
MusicVolume=1
SoundVolume=1
Seed=0
FitToScreen=0
Scaling=4
ButtonStyle=Microsoft
Notice: UserConfigSetting 'DisplayStyle' was not specified.
UseStrobes=1
GamepadDetectEnabled=1
MouseEnabled=0
RumbleEnabled=1
ShowFPS=0
Notice: UserConfigSetting 'ShowHUD' was not specified.
Notice: UserConfigSetting 'Log' was not specified.
ShowPerformanceMetric=0
UseLoadingThread=1
ShowTimer=0
Console=1
Mapping_MoveLeft=Left
Mapping_MoveRight=Right
Mapping_MoveUp=Up
Mapping_MoveDown=Down
Mapping_Jump=Z
Mapping_LeftHand=X
Mapping_RightHand=C
Mapping_Backdash=V
Mapping_BumperLeft=A
Mapping_BumperRight=D
Mapping_CharacterMenu=Enter
Mapping_Map=Tab
Gamepad_MoveLeft=DPadLeft
Gamepad_MoveRight=DPadRight
Gamepad_MoveUp=DPadUp
Gamepad_MoveDown=DPadDown
Gamepad_Jump=A
Gamepad_LeftHand=X
Gamepad_RightHand=B
Gamepad_Backdash=Y
Gamepad_BumperLeft=LeftShoulder
Gamepad_BumperRight=RightShoulder
Gamepad_CharacterMenu=Start
Gamepad_Map=Back
Notice: UserConfigSetting 'GamePadDisabled' was not specified.
Benchmarking=0
Language=English
Notice: UserConfigSetting 'FullscreenIndex' was not specified.
Notice: UserConfigSetting 'CustomResX' was not specified.
Notice: UserConfigSetting 'CustomResY' was not specified.
PlatformLanguage=English
MusicType=standard
ConfigReader.Save( /home/rico/.local/share/Chasm/config.ini ) done.
LoadUserConfig done. result=True
Using native(wrapped) libpulse.so.0
I have updated SDL2 wrapping on box64. It should go farther now.
Thank you a lot for wrapping the function, the game can not only go further, but also be played smoothly now, even without BOX64_PREFER_EMULATED=1
Working log,
rico [ /opt/games/chasm ]$ ./box64-start.sh
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS SHA1 SHA2 PageSize:4096 Running on Cortex-A55 Cortex-A76 with 8 Cores
Params database has 57 entries
Box64 with Dynarec v0.2.7 608c13e built on Feb 5 2024 04:54:43
BOX64: Didn't detect 48bits of address space, considering it's 39bits
Counted 65 Env var
BOX64 LIB PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/:/lib/x86_64-linux-gnu/:/usr/lib/x86_64-linux-gnu/
BOX64 BIN PATH: ./:bin/:/opt/rustc/bin/:/usr/local/bin/:/usr/bin/:/opt/ant/bin/:/opt/jdk/bin/:/opt/bin/
Looking for ./Chasm
Rename process to "Chasm"
Using native(wrapped) libm.so.6
Using native(wrapped) librt.so.1
Using native(wrapped) libdl.so.2
Using native(wrapped) libpthread.so.0
Using emulated /lib/x86_64-linux-gnu/libgcc_s.so.1
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libutil.so.1
Using native(wrapped) libbsd.so.0
Started
Using native(wrapped) libSDL2-2.0.so.0
Using emulated /opt/games/chasm/lib64/libFNA3D.so.0
Using native(wrapped) libFAudio.so.0
Arguments [0]
Using native(wrapped) libGL.so.1
Game Intialize
LoadConfig() called
LoadConfig done.
LoadUserConfig() called
LoadUserConfig done. result=True
Screenshots
from box64.
Related Issues (20)
- Trying to install dotnet8 with winetricks on PiOS Bookworm HOT 7
- Unexpected Dynarec-Interpreter Difference on `cmp` Instruction HOT 4
- Trying to run Windows version of Steam through wine new wow64 mode HOT 4
- Error while trying to install dotnet 8 HOT 2
- Wine AppImage Won't Run, Missing Syscall HOT 1
- How to Count the Number of Executions of Each Dynablock in Box64? HOT 7
- 8c5752de23ac421025032e405ca3168191ae7a33 dynarec breaks rkbin's boot_merger HOT 5
- vkMapMemory fails in wine vkcube.exe
- Failed to start wps-office HOT 27
- Segmentation fault with cpython
- Unimplemented Opcode (66 0F 6F D1) 67 66 0F FE C8 66 0F 76 C5 66 0F 6F DC 66 0F
- Is it possible to regenerate `table64` for a dynablock? HOT 12
- Raspberry Pi 5 with Raspberry Pi OS may not run steam "steam-runtime-launcher-service crashes" HOT 4
- game Nox freeze at the launch screen
- error: only one operation may be used at a time HOT 3
- Security Warning: RISC-V CPUs from T-HEAD May Have Vulnerabilities on Several Extensions HOT 5
- scarface the world is yours 2006, cpu not supported HOT 3
- SpacemiT K1/M1 Custom Extensions HOT 1
- TSAC audio encoder crashes
- Skype can not run in Macbook pro m1 HOT 8
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 box64.