ptitSeb / box64

Box64 - Linux Userspace x86_64 Emulator with a twist, targeted at ARM64 Linux devices
https://box86.org
MIT License
3.37k stars 238 forks source link

visual novel games dowloaded in itch.io #1553

Open Aurisvida opened 1 month ago

Aurisvida commented 1 month ago

my setup Nintendo switch version 1 software used: https://teamsalvato.itch.io/ddlc Ubuntu 22.04.4 LTS 64-bit

Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL SHA1 SHA2 PageSize:4096 Running on Cortex-A57 with 4 Cores Will use Hardware counter measured at 19.2 MHz emulating 2.4 GHz Params database has 69 entries Box64 with Dynarec v0.2.9 cf37e8ea built on Jun 2 2024 06:36:36

my problem is that to run the game and mostly all visual novel games dowloaded in itch.io I have to use box64 ./DDLC.sh I had an error but I set the OS to linux86_64

I did but it has a faulty segmentinon

sudo box64 ./DDLC.sh [sudo] password for xenoeidos: Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL SHA1 SHA2 PageSize:4096 Running on Cortex-A57 with 4 Cores Will use Hardware counter measured at 19.2 MHz emulating 2.4 GHz Params database has 69 entries Box64 with Dynarec v0.2.9 cf37e8ea built on Jun 2 2024 06:36:36 BOX64: Didn't detect 48bits of address space, considering it's 39bits Counted 21 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/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/:/snap/bin/ Looking for ./DDLC.sh Not an ELF file (sign=#!/b) Error: Reading elf header of /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/DDLC.sh, Try to launch natively instead Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL SHA1 SHA2 PageSize:4096 Running on Cortex-A57 with 4 Cores Will use Hardware counter measured at 19.2 MHz emulating 2.4 GHz Params database has 69 entries Box64 with Dynarec v0.2.9 cf37e8ea built on Jun 2 2024 06:36:36 BOX64: Didn't detect 48bits of address space, considering it's 39bits Counted 23 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/:/usr/local/sbin/:/usr/local/bin/:/usr/sbin/:/usr/bin/:/sbin/:/bin/:/snap/bin/ Looking for /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/DDLC argv[1]="-EO" argv[2]="/home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/DDLC.py" Rename process to "DDLC" Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/libpython2.7.so.1.0 Using native(wrapped) libpthread.so.0 Using native(wrapped) libdl.so.2 Using native(wrapped) libutil.so.1 Using native(wrapped) libm.so.6 Using native(wrapped) libc.so.6 Using native(wrapped) ld-linux-x86-64.so.2 Using native(wrapped) librt.so.1 Using native(wrapped) libbsd.so.0 Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/_locale.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/strop.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/time.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/_ctypes.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/_struct.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/_collections.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/operator.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/itertools.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/_heapq.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/cPickle.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/cStringIO.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/select.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/fcntl.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/binascii.so Using native(wrapped) libz.so.1 Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/_io.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/math.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/_md5.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/_sha.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/_sha256.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/_sha512.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/_random.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/_functools.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/pygame_sdl2/error.so Using native(wrapped) libSDL2-2.0.so.0 Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/pygame_sdl2/surface.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/pygame_sdl2/color.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/pygame_sdl2/rect.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/pygame_sdl2/locals.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/pygame_sdl2/display.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/pygame_sdl2/event.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/pygame_sdl2/key.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/pygame_sdl2/pygame_time.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/pygame_sdl2/controller.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/pygame_sdl2/rwobject.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/pygame_sdl2/draw.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/pygame_sdl2/gfxdraw.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/pygame_sdl2/font.so Using native(wrapped) libSDL2_ttf-2.0.so.0 Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/pygame_sdl2/image.so Error initializing native libSDL2_image-2.0.so.0 (last dlerror is libSDL2_image-2.0.so.0: cannot open shared object file: No such file or directory) Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/pygame_sdl2/../../../libSDL2_image-2.0.so.0 Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/pygame_sdl2/../../../libjpeg.so.62 Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/pygame_sdl2/../../../libpng12.so.0 Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/pygame_sdl2/joystick.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/pygame_sdl2/mouse.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/pygame_sdl2/transform.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/pygame_sdl2/scrap.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/_renpy.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/zlib.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/grp.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/_json.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/renpy/style.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/renpy/styledata/stylesets.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/renpy/styledata/style_functions.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/renpy/styledata/style_activate_functions.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/renpy/styledata/style_hover_functions.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/renpy/styledata/style_idle_functions.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/renpy/styledata/style_insensitive_functions.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/renpy/styledata/style_selected_functions.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/renpy/styledata/style_selected_activate_functions.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/renpy/styledata/style_selected_hover_functions.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/renpy/styledata/style_selected_idle_functions.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/renpy/styledata/style_selected_insensitive_functions.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/renpy/styledata/styleclass.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/renpy/display/render.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/renpy/text/ftfont.so Using native(wrapped) libfreetype.so.6 Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/renpy/text/textsupport.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/renpy/text/texwrap.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/_renpybidi.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/renpy/display/accelerator.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/datetime.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/renpy/audio/renpysound.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/renpy/audio/../../../../libswscale.so.4 Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/renpy/audio/../../../../libavresample.so.3 Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/renpy/audio/../../../../libavformat.so.57 Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/renpy/audio/../../../../libavcodec.so.57 Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/renpy/audio/../../../../libavutil.so.55 Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/renpy/audio/../../../../libswresample.so.2 Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/_socket.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/renpy/gl/gldraw.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/renpy/gl/../../../../libGLEW.so.1.7 Using native(wrapped) libXmu.so.6 Using native(wrapped) libX11.so.6 Using native(wrapped) libxcb.so.1 Using native(wrapped) libXau.so.6 Using native(wrapped) libXdmcp.so.6 Using native(wrapped) libXext.so.6 Using native(wrapped) libXi.so.6 Using native(wrapped) libGLU.so.1 Using native(wrapped) libGL.so.1 Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/renpy/gl/gltexture.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/renpy/gl/gl.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/array.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/renpy/gl/glrtt_copy.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/renpy/gl/glrtt_fbo.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/renpy/gl/glenviron_fixed.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/renpy/gl/gl1.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/renpy/gl/glenviron_shader.so Using emulated /home/xenoeidos/Descargas/ddlc-win/DDLC-1.1.1-pc/lib/linux-x86_64/lib/python2.7/renpy/gl/glenviron_limited.so stack smashing detected : terminated 21875|SIGSEGV @0x7f828a3424 (__backtrace_symbols(/lib/aarch64-linux-gnu/libc.so.6)) (x64pc=0xb0e73/???:"???", rsp=0x7f8265be58, stack=0x7f81e60000:0x7f82660000 own=(nil) fp=(nil)), for accessing 0x1fd437b5a9c67f (code=1/prot=0), db=(nil)((nil):(nil)/(nil):(nil)/???:clean, hash:0/0) handler=(nil) RSP-0x20:0x000000003870e200 RSP-0x18:0x0000007f8265be50 RSP-0x10:0x0000000000010080 RSP-0x08:0x0000000000000000 RSP+0x00:0x0000003f26006df4 RSP+0x08:0x0000000000000001 RSP+0x10:0x000000003870e200 RSP+0x18:0x00000000630fb234 RAX:0x0000000000000bd2 RCX:0x983a000060ea0000 RDX:0x00000000387515b0 RBX:0x000000003870e200 RSP:0x0000007f8265be58 RBP:0x0000000000000000 RSI:0x0000007fe2cad856 RDI:0x000000003870e200 R8:0x00000000386ea770 R9:0x00000000600790d4 R10:0x0000000000000000 R11:0x0000000060087320 R12:0x0000000000000002 R13:0x0000000000000000 R14:0x00000000630fb234 R15:0x0000000000000050 ES:0x002b CS:0x0033 SS:0x002b DS:0x002b FS:0x0043 GS:0x0053 Segmentation fault

I can run it in wine but why in wine when it can be in linux

Hacker1245 commented 4 weeks ago

afaik you don't even need box64 for it because it can be ran natively with the arm version of ren'py

ptitSeb commented 4 weeks ago

afaik you don't even need box64 for it because it can be ran natively with the arm version of ren'py

Game usualy don't ship with arm64 library, so it will not run natively unless you hack the run time environement.

Aurisvida commented 4 weeks ago

afaik you don't even need box64 for it because it can be ran natively with the arm version of ren'py

okay I followed this tutorial https://www.youtube.com/watch?v=6PLJ5C5Bcp0 then changing the game folder

I made the game run but I would prefer a way on running them in box64 so I don't have to do it for every new game they ran fine in wine, they will too in box64