Code Monkey home page Code Monkey logo

mobox's Introduction

logo

English   |    Русский   |    Українська   |    Português Brasileiro   |    Polski   |    日本語   |    简体中文   |    Bahasa Indonesia

Mobox is a project designed to run windows x86 applications in Termux using Box64 and Wine.

Installation

  1. Install Termux, Termux-X11 and Input Bridge.

  2. Open termux and paste command

curl -s -o ~/x https://raw.githubusercontent.com/olegos2/mobox/main/install && . ~/x
  1. Type mobox in termux.

Configuration

Wine

Wine can be installed or uninstalled in Manage packages menu. To select wine container, use option 4 in main menu. Mesa VirGL, Turnip, Wine Mono and Gecko can be installed in Wine Start Menu.

Settings

Box86 and Box64 dynarec variables

There are two switchable menus to change dynarec variables in mobox settings menu. For more information about dynarec variables see Box64 usage and Box86 usage

System settings

To change wine locale, dxvk hud preset or Turnip settings, use System settings menu in mobox. Fallback resolution is used only when x11 resolution couldn't be detected automatically. If you have Snapdragon 8 Gen 1, 8+ Gen 1, 7+ Gen 2, enable the second option in select a7xx flickering fix (TU_DEBUG) in System settings menu.

Root settings

If you have root, then you can use OOM Adjuster which is useful if low memory killer stops termux.

Termux-X11 preferences

  • Display resolution mode exact
  • Display resolution 1280x720
  • Reseed Screen While Soft Keyboard is open OFF
  • Fullscreen on device display ON
  • Force Landscape orientation ON
  • Hide display cutout ON
  • Show additional keyboard OFF
  • Prefer scancodes when possible ON

Controls

For touch controls Input Bridge app is required

Uninstall

To uninstall mobox, use Backup and restore menu.

Debugging

To enable logging - select option 2 in Mobox -> Settings -> Debug settings menu. Path to the log is /sdcard/mobox_log.txt

Support status

Android

  • Android 10 or higher is recommended.

Device

  • Most Android cellphones can run mobox and DirectX 9 games using Mesa VirGL.
  • Snapdragon device with Adreno 6xx or Adreno 725-740 is recommended to achieve best performance and compatibility with Turnip+DXVK.

Root

  • Root is not required.

Known issues

  • If termux app crashes when trying to enter mobox menu, then remove custom theme scripts:
rm -rf $PREFIX/glibc/opt/termux-style
  • Some devices may have prefix creation freeze issues when installing PhysX, in this case change settings in Compatibility settings menu
  • For SD845 device, disable dri3 in Compatibility settings menu

Support mobox

boosty

Big thanks to Hugo, JeezDisReez, ptitSeb, MishkaKolos, Xanzo, Jotaros, Maxython and others for help.

MishkaKolos Discord

Third party applications

glibc-packages

Box64

Box86

DXVK

DXVK-ASYNC

DXVK-GPLASYNC

VKD3D

D8VK

Termux-app

Termux-x11

Wine

wine-ge-custom

Mesa

mesa-zink-11.06.22

Mesa-VirGL

mobox's People

Contributors

eltociear avatar girshcatt avatar huggo2 avatar itzraiss avatar nathankanaeru avatar olegos2 avatar pszczepanski1996 avatar swedmlite avatar webpage-gh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mobox's Issues

Error kernel32dll

could not load kernel32.dll, status c0000135

Android 10
Mali devices
Kirin cpu
When you open Mobox, Termux-x11 opens automatically. The start menu appears in the lower left corner, but a moment later it disappears, the cursor returns to an x ​​mark.

No games works

Hi
I installed termux
I tested 4 games but no one work ?
Whats wrong?
I tested all driver!

NFS Underground 2 often freezes when I enter a shop or garage

Redmi Note 9 Pro 6/128, Mi Pad 5 6/256

NFS Underground 2 works fine with WineD3D 7.8 when I have only one car without tuning in my garage.

But when I have 5 cars with lots of tuning, the game is playable but it often freezes up when I enter a shop or return to the safe house. It happens more often when I use DXVK or any widescreen fixes with graphic improvements.

Most Wanted and Carbon never had such problem.

change colour 16 to 32

I run a few app and game and says I need to change colour 16 to 32 how I do that on mobox ? My mobile is Samsung a24

No internet access

After installing and launching mobox then starting Wine I have no internet access inside environment. ipconfig output is empty

Tested on Poco F3, Android 12.

Phone reboot after "mobox" command

After install mobox from termux, and After typing "mobox" to start the process, starts the dx and the other packages installation, my phone crashes into a reboot (Nubia x50)

xinput not regconized

Steps to reproduce:

  • Fresh install termux with package updated
  • install mobox
  • install inputbridge
  • launch mobox, inputbridge icon pops up at the top right corner
  • add 2 buttons, one for A (as A in Xinput) and enter (enter key)
  • The enter key works in game, but not the A key

The game does support Xinput and accepts A key where I tried to press it.
I have checked winecfg and it seems that all xinput libraries are already included.

Not Opening Fl Studio 20

I Update After Fl Studio 20 not working no open fl studio and no response click ! before working working FL studio 20 fine so please tell any salutations ? After update come and not working

BioShock (2007) freezes at Welcome to Rapture loading screen

When I ran BioShock using DXVK 1.x.x-2.x.x it started only in DX9 mode but crashed after the BioShock loading screen.

When I ran BioShock using DXVK 0.96 it started only in DX10 mode but only the intro level is playable. The game freezes up at the Welcome to Rapture loading screen.

Redmi Note 9 Pro 6/128 (Snapdragon 720G)
Xiaomi Pad 5 6/256 (Snapdragon 860)

Winlator AFEI 1.1.14 is the only emulator which allows to play that game from start to end on my devices.

Exists nft scam project with same name - "mobox"

If you will try to search word "mobox" on YouTube, you will see a lot of videos about this nft scam project. Maybe this is not best variation of name. Also wouldn’t want any scammers to make legal claims later.

termux x11 not connected

i start wine and showing Can't open display :0 Enter 1 to stop Then I opened the termux x11 app and it says not connected

Black screen on termux-x11

When you open Mobox, Termux-x11 opens automatically. The start menu appears in the lower left corner, but a moment later it disappears, the cursor returns to an x ​​mark. Can you give me a solution to that problem? I've done what you wrote, but nothing works.

Baldurs gate 3 95% losding screen stuck

Hi Mr. Olegos2, I am a big fan of yours from termux-box, thank you for all the work you do for the community! I'm trying to start baldur's gate 3(downloaded from steam but opening with steam closed, just from the exe) but in directx11 it stays loading at 95% on the start screen, and in vulkan it gives me an Expression error: "!status && "vkCreateGraphicsPipelines"", I have adreno 730 and I have tried termux- box even with custom wine ge 8.25 and 8.24 and the result is the same as with mobox,

Any advice? :)

On the other hand, is there any way we can install custom wine on mobox?

Thank you very much machine!

Cdrom iso

It is cool, but, is there some options for iso (f.e. zoo tycoon 1)?

Physx 9.21 crash mobox when click start menu

I'm trying to install physx 9.21 I need it to boot shadow of the tomb raider I been trying for hours to get the game to get in-game on dx12 since last night but everytime I install physx 9.21 the mobox crashes when I click start menu after I install physx 9.21.

Please add wine ge 8.25 or 9.0

I'm testing dx12 games and some of them booted with wine ge 8.25 in box64droid can u please make it where we can add our own wine versions idk what version of wine ge custom u hVe already installed but we need wine ge 8.25 or 9.0 rc1 update. Please!?

storage permission denied

Screenshot_20231204-185154_Termux it didnt prompt to access storage, but I have it allowed in app settings. Using a mi pad 5 with A14 custom rom

Device freeze for a few seconds then reboot

Hi
after installing mobox I start mobox by typing mobox in termux
after that i select start wine, when wine starts to install things device will freeze for like 15 secs then reboot.
i tried to reinstall mobox multiple times but same problem.
also I checked packages from settings and it's fine.

device: Xiaomi 13 ultra, snapdragon 8 gen2, android 13.

Résident evil 3

Hi
I want to play résident evil 3 remake on termux but game stuck on black screen ?
It works AT 7fps on winlator !

Steam has a high chance of crashing everything.

I've downloaded the steam installer and successfully installed it, but once I open it, it has a high change of crashing termux-x11 and termux (they will refresh)

Is it happening because of my phone specs?

Moto g54 - 4GB ram (sadly), Mediatek Dimensity 7020

Black Screen in termux x11

I'm using an S9, Snapdragon 845, Adreno 630, Android 10. When I start the mobox, it starts normally and opens termux x11, the mouse and start appear for 1 second and then it returns to the black screen of termux x11, I already tried using compatibility mode, but it gives the same result.
Screenshot_20231213-052858_TermuxX11

We want to make mobox accessible in China. This is a little bit of a problem.

Hello, my friend, we are a team composed of personal hobbies in China. In China, we help more people to use box64 to play games. People like your project very much because it is very convenient to help people. Use box64 to play games, but because of GFW (about what GFW is, you can watch this introduction on Github: https://github.com/hoochanlon/fq-book/blob/master/docs/abc/gfw.md) GFW It makes our access to Github slow and terrible, so we plan to create a new project to speed up the installation in China.

This is our project:

https://github.com/H2O2-Team/mobox-cn

Then...here's my question

image

I want to know how to install mobox in the second half of the installation script in order to speed up the installation of mobox in China.

7+gen2

What is best settings for snap 7+gen2?
Oblivion: mobox 7-10fps, termux-box 30-40fps
Fallout NV: mobox don't starting, termux-box 30-40fps
Gothic2 Chronicles of Myrtana: mobox don't starting, termux-box 15-30fps

wine: could not load kernel32.dll

When selecting start wine, the desktop view (start menu and cursor) flashes very briefly before closing. In the log, this error is given.
wine: could not load kernel32.dll, status c0000135

This issue also happens with box64droid native, so it's not unique to mobox, although I'm hoping you may know how to fix it.

Device details:
Android 10
Snapdragon 845
Samsung Galaxy S9
Not rooted

Settings:
Dri3: disabled
Startup compatibility mode=1

I got dx12 games to work u made a small mistake.

U hadvvk3d dll swaped u had 64bit dll in the 32bit folders and 32bit dll in the 64bit folder
In the vk3d.7z I swaped them and the dx12 games work now.so i uploaded the fix in wemu Telegram. But u can update mobox with this fix.

There are distortions on the screen due to Turnip 24.0.0 version How can I downgrade this version?

Hello guys, I am using the Mobox emulator, but when I want to open any game, I see distortions on the screen caused by the GPU driver. I have uses Snapdragon 865 and as you know,This processor includes Adreno 650 GPU. I think this is due to the turnip driver version. The mobox driver version uses the turnip 24.0.0 driver that supports the Adreno 7xx series. Is there a way to downgrade this version? When I downgrade this version from 24.0.0 to 23.1.6 in the Winlator emulator, I do not experience any visual degradation in the same game. Please let me know if you find a way to downgrade this version.

Screenrecorder-2023-12-19-00-28-40-426.0._0_COMPRESSED.0.0.mp4

IMG_20231219_005155
IMG_20231219_005216

Steam GTA 5 issue

So, just installed mobox, wine ge custom, on a redmagic 8s Pro. I must say performance on loading applications such as steam is fairly good. However, after installing GTA 5 via steam, it launches rockstar launcher. After successful login, all seeming good, there is a black screen when launching GTA from here on out. Even starting manually, to no avail. The entire screen goes black, only mouse appears, and it seems to hang. Tried every newer version of dxvk etc possible, and installed every VC redist I could. I don't know how to pull logs to help further, so if there's any ideas out there, it'll be a great push forward. I see people on youtube running GTA 5 but with every emu imagineable (winlator, box64droid, etc) I can't get progress. The only progress is thisproject, which gets further but fails/hangs at something, no idea what.

Also a blank screen in Termux X11

This was the error I got after getting a Blank Screen in Termux X11:

taskset: failed to execute /data/data/com.termux/files/usr/glibc/bin/box64: No such file or directory

How do I reinstall box64?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.