simcity 3000 (linux version)
Hello i want to install sc3000 with box86 . when i run sh setup.sh This installation doesn't support unknown on Linux / armv7l so i test with: box86 sh setup.sh Box86 with Dynarec v0.2.3 fa4b5fe7 built on Oct 28 2021 14:24:55 Error: reading elf header of /usr/bin/dash, try to launch natively instead Erreur de segmentation i compile box86 with pi-kiss Thanks for your job.
You can try this to get the setup recognise the system (it's not box86 fault here...)
create ~/uname (with nano or vim or your favorite text editor)
with
#!/bin/bash
if [ "$1" == "-m" ];then
echo i386
exit 0
fi
/bin/uname "$@"
make the file runable with chmod +x ~/uname
Then run the setup with
PATH=~:"$PATH" sh setup.sh
It should help to make the system spoof the installer into thinking it's a i386 system.
Thanks the install work with sudo PATH=~:"$PATH" sh setup.sh But in the readme i see for run sc3000 sc3U but bash: sc3u : commande introuvable so sudo find -name sc3u and i find it so ./sc3u Box86 with Dynarec v0.2.3 fa4b5fe7 built on Oct 28 2021 14:24:55 Warning, function my___pthread_mutex_destroy not found opendir: No such file or directory Path = /home/pi/jeux/sc3/bin/x86/glibc-2.1/cities/ opendir: No such file or directory Path = /home/pi/jeux/sc3/bin/x86/glibc-2.1/cities/scenarios/ opendir: No such file or directory Path = /home/pi/jeux/sc3/bin/x86/glibc-2.1/buildings/ Fatal signal: Segmentation Fault (SDL Parachute Deployed)
I'll fix the Warning later, it may be the cause of the issue.
Also, there should be a sc3u.dynamic in the same folder. Try to use this one.
ls in this folder lib sc3bat sc3u
So i test with sc3bat and Box86 with Dynarec v0.2.3 fa4b5fe7 built on Oct 28 2021 14:24:55 Warning, function my___pthread_mutex_destroy not found opendir: No such file or directory Path = /home/pi/jeux/sc3/bin/x86/glibc-2.1/cities/ opendir: No such file or directory Path = /home/pi/jeux/sc3/bin/x86/glibc-2.1/cities/scenarios/ opendir: No such file or directory Path = /home/pi/jeux/sc3/bin/x86/glibc-2.1/buildings/ Error: PltReolver: Symbol _dl_catch_error(ver 7: _dl_catch_error@GLIBC_2.0) not found, cannot apply R_386_JMP_SLOT 0x86d28cc (0x814825e) in ./sc3bat
i found a directory where the game is install ? /usr/local/games/SC3U ls bacustom buildings hotkeys.txt icon.xpm README.fr sc3u.ini sys barender cities icon.bmp plugin res snapshot.ini uninstall
So i do install again. And i have a error message 100% - /home/pi/jeux/sc3/sys/sys.pak Incapable de trouver le fichier 'bin/x86/sc3bat'
Installation termin�e. The setup program seems to have failed on x86/unknown
but i find sc3bat in bin/x86
Hello i progress. i install again with python script find here https://github.com/tetration/Simcity_3000_Linux_Installer.git after mount iso the install run successful but the not run . i found sc3u.dynamic and ./sc3u.dynamic Box86 with Dynarec v0.2.3 fa4b5fe7 built on Oct 28 2021 14:24:55 Error initializing native libsmpeg-0.4.so.0 (last dlerror is libsmpeg-0.4.so.0: cannot open shared object file: No such file or directory) Error: loading needed libs in elf ./sc3u.dynamic
or when i start whith ./sc3u.sh French installation detected! Running WITH lokicompat libs! Box86 with Dynarec v0.2.3 fa4b5fe7 built on Oct 28 2021 14:24:55
but nothing run
and when i run ./sc3u Box86 with Dynarec v0.2.3 fa4b5fe7 built on Oct 28 2021 14:24:55 Warning, function my___pthread_mutex_destroy not found open /dev/dsp: No such file or directory X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 150 (XVideo) Minor opcode of failed request: 19 () Serial number of failed request: 21 Current serial number in output stream: 22 [xcb] Unknown request in queue while dequeuing [xcb] Most likely this is a multi-threaded client and XInitThreads has not been called [xcb] Aborting, sorry about that. box86: ../../src/xcb_io.c:165: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
BUG! Exception triggered, cleaning up. SimCity 3000 Unlimited 2.0.955a Built with glibc-2.1 on x86 Please send the text of the failed assertion, along with the contents of autosave to: [email protected] Fatal signal: Segmentation Fault (SDL Parachute Deployed) free(): double free detected in tcache 2 Failed assertion in cleanup -- aborting
thanks for your job
You are missing libsmpeg.
Try to sudo apt install libsmpeg0 if you are on debian/ubuntu.
Also, I think this game use old OSS for sound output, I don't remember if it can worked around. I think it can, but I don't remeber (not important for now, but you may have no sound when it finaly launched)
thanks for your answer i install successful libsmeg0 (on raspberypi os) when i run ./sc3u.dynamic Box86 with Dynarec v0.2.3 fa4b5fe7 built on Oct 28 2021 14:24:55 Error: loading needed libs in elf ./sc3u.dynamic
Use BOX86_LOG=1 ./sc3u.dynamic to have more details on the missing lib.
ok i test and return is Debug level is 1 Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096 Box86 with Dynarec v0.2.3 fa4b5fe7 built on Oct 28 2021 14:24:55 Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/ Using default BOX86_PATH: ./:bin/ Counted 50 Env var Looking for ./sc3u.dynamic Using native(wrapped) libsmpeg-0.4.so.0 Error loading needed lib libopenal-0.0.so Error loading one of needed lib Error: loading needed libs in elf ./sc3u.dynamic
This openal-0.0.so is an old version of openal. You need to grab the x86 version (look in that lokicompat folder full of libs you grabbed earlier), and copy the file in the same folder as the binary. It should work after that (those old game are not easy to run on moder system, even on x86)
thanks ,i test and the return Debug level is 1 Dynarec for ARM, with extension: HALF FAST_MULT EDSP NEON VFPv4 IDIVA PageSize:4096 Box86 with Dynarec v0.2.3 fa4b5fe7 built on Oct 28 2021 14:24:55 Using default BOX86_LD_LIBRARY_PATH: ./:lib/:lib32/:x86/ Using default BOX86_PATH: ./:bin/ Counted 50 Env var Looking for ./sc3u.dynamic Using native(wrapped) libsmpeg-0.4.so.0 Using emulated libopenal-0.0.so Using native(wrapped) libSDL-1.1.so.0 Using native(wrapped) libm.so.6 Using native(wrapped) libdl.so.2 Using native(wrapped) librt.so.1 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) libpthread.so.0 Using native(wrapped) libc.so.6 Using native(wrapped) ld-linux.so.2 Warning, function my___pthread_mutex_destroy not found Error: PltReolver: Symbol __builtin_new(ver 0: __builtin_new) not found, cannot apply R_386_JMP_SLOT 0x85b92f0 (0x8135726) in ./sc3u.dynamic
Mmm, yeah, for some unknown reason, this one use c++ libs bt that libs doesn't get loaded.
You need to copy libstdc++-libc6.2-2.so.3 if the executable folder (from the same lokicompat one)
and launch with BOX86_LD_PRELOAD=libstdc++-libc6.2-2.so.3 ./sc3u.dynamic
And the intro should play...
thanks i test after copy BOX86_LD_PRELOAD=libstdc++-libc6.2-2.so.3 ./sc3u.dynamic
return
Box86 with Dynarec v0.2.3 fa4b5fe7 built on Oct 28 2021 14:24:55 Warning, function my___pthread_mutex_destroy not found Error: PltReolver: Symbol __builtin_new(ver 0: __builtin_new) not found, cannot apply R_386_JMP_SLOT 0x85b92f0 (0x8135726) in ./sc3u.dynamic
it's not exactly the same file on my lokicombat libstdc++-3-libc6.2-2-2.10.0.so
The Warning is here because you didn't update box86 The Error is here because you didn't copy correctly the library in current binary folder.
then use that name in the BOX86_LD_PRELOAD command
thanks ,how to update box86? the binary folder is the same where i find sc3u.dynamic?
ls on my folder
pi@raspberrypi:~/simcity3000 $ ls bacustom plugin sc3u barender README sc3u.dynamic buildings README-2.0a sc3u.dynamic.sh cities README.dynamic sc3u.ini hotkeys.txt README.liflg sc3u.sh icon.xpm res snapshot.ini lib sc3bat sys libopenal-0.0.so sc3bat.dynamic uninstall-simcity3000.sh libstdc++-3-libc6.2-2-2.10.0.so sc3bat.dynamic.sh Loki_Compat sc3bat.sh
Update box86: as you installed it with piapps, I'll you see with piapps maintenair how to do it (it should be fairly automatic).
if you launch with BOX86_LD_PRELOAD=libstdc++-3-libc6.2-2-2.10.0.so ./sc3u.dynamic it doesn't works?
yes it's run but no sound
after 1min Box86 with Dynarec v0.2.3 fa4b5fe7 built on Oct 28 2021 14:24:55 Warning, function my___pthread_mutex_destroy not found open /dev/dsp: No such file or directory
BUG! (Segmentation Fault) Going down hard... SimCity 3000 Unlimited 2.0.955a Built with glibc-2.1 on x86 Stack dump: { 0x6287cf54 0x62877aec 0x628ba6c4 0x628baf94 0x628bb784 0xb6d19120 } Please send a full bug report, along with the contents of autosave to: [email protected] Erreur de segmentation
i test to update box 86
after one minute of gameplay it crashed?
I do have a crash when exiting the game, but it's not very important, it's really when exiting.
yes after choice of party ,when i zoom crash
after update same crash when i zoom for build in game crash
Well, I'll have to debug this crash. I'll try this weekend.
thanks for your help . For the sound i install sudo apt-get install osspd run well on my laptop ubuntu .