Giter Site home page Giter Site logo

Latest libhoudini? about waydroid_script HOT 6 OPEN

casualsnek avatar casualsnek commented on June 18, 2024
Latest libhoudini?

from waydroid_script.

Comments (6)

Etaash-mathamsetty avatar Etaash-mathamsetty commented on June 18, 2024

Just wondering if this script use lastest libhoudini, came across this post on reddit Latest Waydroid image now runs "Genshin Impact" on x86 Linux PC quote from OP in comment section:

You can downlaod lastest Android 11 images from Waydroid's sourceforge. Then follow this video to install custom Waydroid images. Remember to install libhoudini using casualsnek's scripts. Plus here is the newer version of libhoudini extracted from WSA.

i don't really know how it works, and i don't know if this can be use with this script. just want to share what i found.

Thank for the script btw, still try to play some game (Nikke goddess victory / Artery Gear) on waydroid) hope it'll run smile

I think it can be used in the script, somebody just has to upload a zipped version of the system folder and modify the python script to use it

from waydroid_script.

ayasa520 avatar ayasa520 commented on June 18, 2024

There is already a fork that does this, but it uses a third-party url
https://github.com/LegacyGamerHD/waydroid_script

from waydroid_script.

chenxiex avatar chenxiex commented on June 18, 2024

I have read the post, but I think what the poster really means is that the newer version of libhoudini is optional. I think the more important things may be the special script he mentioned later. It will be good that this script can update to the latest libhoudini, though.
plus, waydroid now support android 11 as stable image. so i suppose the custom image isn't needed.

from waydroid_script.

casualsnek avatar casualsnek commented on June 18, 2024

I have not updated the script because i don't use waydroid right now and adding script with untested version does not seem like a good idea to me !

from waydroid_script.

ayasa520 avatar ayasa520 commented on June 18, 2024

If you haven't solved it yet, you can watch the video he posted on bilibili. Chinese may not be very understandable though.
https://www.bilibili.com/video/BV1vt4y1K7rw

Or you can refer to the text version. https://ivonblog.com/posts/waydroid-android11-custom-images/

from waydroid_script.

chenxiex avatar chenxiex commented on June 18, 2024

If you haven't solved it yet, you can watch the video he posted on bilibili. Chinese may not be very understandable though. https://www.bilibili.com/video/BV1vt4y1K7rw

Or you can refer to the text version. https://ivonblog.com/posts/waydroid-android11-custom-images/

I have read the blog and tried it out. I will explain howto in English.

First, waydroid have officially support android 11 a few days ago, so upgrade your image to the newest version
sudo waydroid upgrade

Second, install the libhoudini from wsa.

  1. prepare the libhoudini file
git clone https://github.com/natsumerinchan/libhoudini-package.git

cd libhoudini-package

zip -r libhoudini.zip system
  1. get the md5sum of the file, write it down.
    md5sum libhoudini.zip
  2. move the file to the folder where waydroid_script can find it
    sudo mv libhoudini.zip ~/.cache/waydroid_script/downloads/
  3. edit the install_houdin() line in waydroid_scipt and replace the act_md5 value with the md5sum you get above
  4. follow the README of waydroid_script to install the libhoudini.

Now you have already installed the new libhoudini. But if you want to run Genshin impact, here are some extra steps.

  1. push the script from ilhan-athn7 to waydroid using adb
cd ~

git clone https://github.com/ilhan-athn7/WSA_houdini_A12.1.git

adb connect <Waydroid's IP>:5555

adb -s <Waydroid's IP>:5555 push ~/WSA_houdini_A12.1/GI_affinity_workaround/* /sdcard

you can get waydroid's IP in the settings app in waydroid.
plus, if you play the Chinese version of Genshin Impact, you should edit the script and replace the package name with the real package name in advance. for example, replace all the "com.miHoYo.GenshinImpact" with "com.miHoYo.Yuanshen"
2. run the script in waydroid shell

sudo waydroid shell

cd /sdcard
sh Genshin_start.sh

this will start Genshin Impact and limit it to use only 2 cores, thus avoiding crashes in loading process
when the loading process end and you see the door, remove the limit:

sh Genshin_8core.sh

now enjoy the game! the highest quality runs fluently on my intel core i7-1165g7 laptop. the only pity is that you can't map your keyboard to play the game. so the best experience need a touchscreen.

from waydroid_script.

Related Issues (20)

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.