diff --git a/docs/.vitepress/theme/home.css b/docs/.vitepress/theme/home.css new file mode 100644 index 0000000..9d7d41a --- /dev/null +++ b/docs/.vitepress/theme/home.css @@ -0,0 +1,23 @@ +:root { + --vp-button-brand-bg: #4a2c25; + --vp-button-brand-hover-bg: #643e34; + --vp-button-brand-active-bg: #382019; + --vp-button-brand-text: #fff; + --vp-button-brand-hover-text: var(--vp-button-brand-text); + --vp-button-brand-active-text: var(--vp-button-brand-text); +} + +:root.dark { + --vp-button-brand-bg: #f07060; + --vp-button-brand-hover-bg: #ff897a; + --vp-button-brand-active-bg: #e36555; + --vp-button-brand-text: #1b1b1f; +} + +.VPHome { + --vp-home-hero-name-color: #4a2c25; +} + +.dark .VPHome { + --vp-home-hero-name-color: #f07060; +} diff --git a/docs/.vitepress/theme/index.ts b/docs/.vitepress/theme/index.ts new file mode 100644 index 0000000..0204526 --- /dev/null +++ b/docs/.vitepress/theme/index.ts @@ -0,0 +1,4 @@ +import DefaultTheme from 'vitepress/theme' +import './home.css' + +export default DefaultTheme diff --git a/docs/en/index.md b/docs/en/index.md index 1735c9d..ddbb8d9 100644 --- a/docs/en/index.md +++ b/docs/en/index.md @@ -3,11 +3,17 @@ layout: home hero: name: ModAVD - text: An Android emulator for Windows - tagline: Built from the AOSP Android Emulator plus a set of patches, and compiled by the project itself. It runs on Windows today; more platforms are planned. + text: Run Android apps and games on Windows + tagline: ModAVD is an Android emulator for Windows, with more platforms planned. + image: + src: /images/home/hero.webp + alt: The ModAVD character holding a screen with a volcano actions: - theme: brand - text: Install + text: Download for Windows + link: https://github.com/ModAVD/ModAVD/releases/latest + - theme: alt + text: Get started link: /en/guide/install - theme: alt text: What is ModAVD @@ -17,18 +23,34 @@ hero: link: /en/develop/ features: + - title: Clone instances + details: A cloned instance comes with the original instance's games, sign-in state, and settings. + icon: { src: /images/home/clone.png, alt: '', width: 128, height: 80 } + - title: Display settings per instance + details: Choose a resolution and a landscape or portrait orientation for each instance. + icon: { src: /images/home/display.png, alt: '', width: 128, height: 80 } + - title: Keep your instances when you update + details: Updating ModAVD keeps your existing instances, games, and sign-in state. + icon: { src: /images/home/retain.png, alt: '', width: 128, height: 80 } - title: Windowed or headless - details: Start an instance with a window from the bundled manager. The CLI and automation tools such as AUTO-MAS can also start it headless. - - title: Survives a force-kill - details: The data disk is handed to Android write-through, so force-killing the emulator does not corrupt the virtual disk's metadata. Crash handling no longer exits at random. - - title: Uses fewer resources - details: Memory that Android frees goes back to Windows. A new instance no longer takes up the full data disk limit on its first boot. The graphics staging buffer grows on demand. - - title: No data sent to Google - details: The emulator does not upload usage statistics or crash reports to Google, does not check Google for updates, and does not download feature flags from Google. Android and its apps use the network as usual. - - title: arm64-only games run too - details: The bundled arm64 execution bridge lets some games that only have an arm64 build run on an x86_64 system image. - link: https://github.com/ModAVD/ModAVD/blob/main/README.en.md#tested-games - linkText: Tested games - - title: All patches are public - details: The changes to QEMU, gfxstream and Crashpad are published as patches, and every release comes with the full matching source. + details: Start an instance in a window from the manager, or run it without a window from the command line. + - title: Use your Windows input method + details: Type directly in the emulator window with your Windows input method. + - title: Connect automation tools + details: ModAVD works with automation tools such as AUTO-MAS and MAA. --- + +## Screenshots {#screenshots} + + + +
+
+ Instance settings in the manager +
Instance settings: resolution, landscape or portrait orientation, and DPI.
+
+
+ ModAVD window showing Android Settings +
Emulator window: Android Settings and title bar buttons for screenshots, rotation, maximizing, and volume.
+
+
diff --git a/docs/index.md b/docs/index.md index 5f79833..85f501f 100644 --- a/docs/index.md +++ b/docs/index.md @@ -3,11 +3,17 @@ layout: home hero: name: ModAVD - text: Windows 上的安卓模拟器 - tagline: 基于 AOSP Android Emulator 的安卓模拟器,加了一批补丁后自己编译。目前支持 Windows,以后计划支持更多平台。 + text: '在 Windows 上运行安卓应用和游戏' + tagline: ModAVD 是一款安卓模拟器,目前支持 Windows,计划支持更多平台。 + image: + src: /images/home/hero.webp + alt: 抱着火山屏幕的 ModAVD 角色 actions: - theme: brand - text: 安装 + text: 下载 Windows 版 + link: https://github.com/ModAVD/ModAVD/releases/latest + - theme: alt + text: 开始使用 link: /guide/install - theme: alt text: 这是什么 @@ -17,18 +23,34 @@ hero: link: /develop/ features: - - title: 开窗口用,也能无头跑 - details: 用自带的管理器可以带窗口启动。命令行或 AUTO-MAS 等自动化工具也可以无头启动。 - - title: 扛得住强行结束 - details: 数据盘以直写方式交给安卓,强行结束模拟器不会弄坏虚拟磁盘的元数据;崩溃处理不再随机退出。 - - title: 少占资源 - details: 安卓释放的内存还给 Windows;新实例第一次开机不再临时占满数据盘上限;图形暂存缓冲按需增长。 - - title: 不向 Google 上传数据 - details: 模拟器不向 Google 上传使用统计和崩溃报告,不向 Google 检查更新,也不从 Google 下载特性开关。安卓和应用照常联网。 - - title: arm64 游戏也能跑 - details: 随包的 arm64 执行桥让一部分只有 arm64 版本的游戏在 x86_64 镜像上跑起来。 - link: https://github.com/ModAVD/ModAVD#已实测的游戏 - linkText: 已实测的游戏 - - title: 补丁全部公开 - details: QEMU、gfxstream、Crashpad 的改动以补丁形式公开,每个 Release 附完整的对应源码。 + - title: 复制实例 + details: 复制出来的实例也带着原来的游戏、登录状态和设置。 + icon: { src: /images/home/clone.png, alt: '', width: 128, height: 80 } + - title: 每台实例的显示设置 + details: 每台实例都可以单独选择分辨率和横竖屏方向。 + icon: { src: /images/home/display.png, alt: '', width: 128, height: 80 } + - title: 更新后接着用 + details: 更新 ModAVD 时会保留已有的实例、游戏和登录状态。 + icon: { src: /images/home/retain.png, alt: '', width: 128, height: 80 } + - title: 带窗口或无窗口运行 + details: 用管理器带窗口启动,或用命令行无窗口运行。 + - title: 用电脑的输入法 + details: 在模拟器窗口里,可以直接用 Windows 输入法打字。 + - title: 接入自动化工具 + details: ModAVD 可以接入 AUTO-MAS、MAA 等自动化工具。 --- + +## 界面截图 {#screenshots} + + + +
+
+ 管理器的实例设置选项 +
实例设置:分辨率、横竖屏方向和 DPI。
+
+
+ 打开安卓系统设置的 ModAVD 窗口 +
模拟器窗口:安卓系统设置和标题栏上的截图、旋转、最大化与音量按钮。
+
+
diff --git a/docs/public/images/home/clone.png b/docs/public/images/home/clone.png new file mode 100644 index 0000000..f2e8cad Binary files /dev/null and b/docs/public/images/home/clone.png differ diff --git a/docs/public/images/home/display.png b/docs/public/images/home/display.png new file mode 100644 index 0000000..d2af085 Binary files /dev/null and b/docs/public/images/home/display.png differ diff --git a/docs/public/images/home/hero.webp b/docs/public/images/home/hero.webp new file mode 100644 index 0000000..9cde69e Binary files /dev/null and b/docs/public/images/home/hero.webp differ diff --git a/docs/public/images/home/instance-window.png b/docs/public/images/home/instance-window.png new file mode 100644 index 0000000..4197b74 Binary files /dev/null and b/docs/public/images/home/instance-window.png differ diff --git a/docs/public/images/home/manager-settings.png b/docs/public/images/home/manager-settings.png new file mode 100644 index 0000000..02d5edb Binary files /dev/null and b/docs/public/images/home/manager-settings.png differ diff --git a/docs/public/images/home/retain.png b/docs/public/images/home/retain.png new file mode 100644 index 0000000..faebd6c Binary files /dev/null and b/docs/public/images/home/retain.png differ