Modifying caches in ExaGear: Difference between revisions

mNo edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[ru:Модификация кешей в ExaGear]]
This page contains instructions for ''modifying and building'' caches (.obb files) in '''[[About ExaGear products|ExaGear Windows Emulator]].'''
This page contains instructions for ''modifying and building'' caches (.obb files) in '''[[About ExaGear products|ExaGear Windows Emulator]].'''
----You can also use the [https://github.com/Grima04/exagear-cache-creator exagear-cache-creator] tool to create cache from scratch using '''debootstrap'''(required PC or laptop).
==Modify caches without changing packages on PC(laptop), and mobile devices==
==Modify caches without changing packages on PC(laptop), and mobile devices==
To modify the archive with the cache without replacing the packages of the system itself (for example, adding some program for Wine), you can use Microsoft Windows, GNU/Linux or Android OS.
To modify the archive with the cache without replacing the packages of the system itself (for example, adding some program for Wine), you can use Microsoft Windows, GNU/Linux or Android OS.
Line 41: Line 43:
In a terminal, mount the /dev, /proc, and /sys virtual file systems by issuing the following commands:
In a terminal, mount the /dev, /proc, and /sys virtual file systems by issuing the following commands:


# <code>sudo mount proc - proc ./proc</code>
# <code>sudo mount proc -t proc ./proc</code>
# <code>sudo mount sys -t sysfs ./sys</code>
# <code>sudo mount sys -t sysfs ./sys</code>
# <code>sudo mount --bind /dev ./dev</code>
# <code>sudo mount --bind /dev ./dev</code>
Line 82: Line 84:
# <code>apt-add-repository 'deb <nowiki>https://dl.winehq.org/wine-builds/ubuntu/</nowiki> bionic main'</code>(other version may be required instead of bionic, check command <code>lsb_release -a</code>)
# <code>apt-add-repository 'deb <nowiki>https://dl.winehq.org/wine-builds/ubuntu/</nowiki> bionic main'</code>(other version may be required instead of bionic, check command <code>lsb_release -a</code>)


----Update the packages: <code>apt update</code>, and install the version of Wine you need (up to version 7, latest stable 7.0): <code>apt install wine-stable-i386=version~bionic wine-stable =version~bionic winehq-stable=version~bionic</code>
----Update the packages: <code>apt update</code>, and install the version of Wine you need (up to version 7, latest stable 7.0): <code>apt install wine-stable-i386=version~bionic wine-stable=version~bionic winehq-stable=version~bionic</code>


After installing Wine, you can remove unnecessary packages: <code>apt remove software-properties-common apt-transport-https wget -y && apt autoremove -y</code>
After installing Wine, you can remove unnecessary packages: <code>apt remove software-properties-common apt-transport-https wget -y && apt autoremove -y</code>