[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-112481":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":25,"hasPages":23,"topics":26,"createdAt":10,"pushedAt":34,"updatedAt":35,"readmeContent":36,"aiSummary":37,"trendingCount":16,"starSnapshotCount":16,"syncStatus":17,"lastSyncTime":38,"discoverSource":39},112481,"Reflourished-Darwin","oenderg\u002FReflourished-Darwin","oenderg","PvZ2: Reflourished native port for iPhone, iPad, Mac and Windows","https:\u002F\u002Fpvz.oender.dev\u002F",null,"C",81,13,1,4,0,2,10,29,7,55.34,"GNU General Public License v2.0",false,"main",true,[27,28,29,30,31,32,33],"ios","macos","plants-vs-zombies","plants-vs-zombies-2","pvz","pvz-reflourished","pvz2","2026-11-20 21:27:00","2026-11-23 17:39:35","\u003Ch1 align=\"center\">Reflourished-Darwin\u003C\u002Fh1>\n\n\u003Cp align=\"center\">\n  \u003Cimg src=\"docs\u002Fbanner\u002Fbanner-temp-windows.png\" alt=\"PvZ2: Reflourished on iPhone, iPad, Mac and Windows\" width=\"100%\">\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\u003Cb>PvZ2: Reflourished natively on iPhone, iPad, Mac and Windows.\u003C\u002Fb>\u003Cbr>No jailbreak, no JIT, no emulator.\u003C\u002Fp>\n\n\u003Cp align=\"center\">\nThe mod's Android code is converted into ordinary code for each system, so the game runs the\nway any other app does: full screen, at your display's refresh rate, with sound, saves and the\nmod's own content built in.\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Foenderg\u002FReflourished-Darwin\u002Freleases\u002Flatest\">\u003Cimg alt=\"Latest release\" src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002Foenderg\u002FReflourished-Darwin?label=latest&color=8a3ffc\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Foenderg\u002FReflourished-Darwin\u002Freleases\">\u003Cimg alt=\"Downloads\" src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fdownloads\u002Foenderg\u002FReflourished-Darwin\u002Ftotal?color=e0702c\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Freflourished.fandom.com\u002Fwiki\u002FChangelogs\u002FVersion_1.4.x\">\u003Cimg alt=\"Game version\" src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FPvZ2%20Reflourished-1.4.2-2ea44f\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Foenderg\u002FReflourished-Darwin\u002Freleases\u002Flatest\">\u003Cimg alt=\"iPhone and iPad\" src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FiOS%20%26%20iPadOS-15.5%2B-0a84ff?logo=apple&logoColor=white\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Foenderg\u002FReflourished-Darwin\u002Freleases\u002Flatest\">\u003Cimg alt=\"Mac\" src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FmacOS-14%2B%20·%20Apple%20silicon-0a84ff?logo=apple&logoColor=white\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Foenderg\u002FReflourished-Darwin\u002Freleases\u002Flatest\">\u003Cimg alt=\"Windows\" src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FWindows-10%20%26%2011%20·%20x64%20%26%20ARM64-0078d4?logo=windows&logoColor=white\">\u003C\u002Fa>\n  \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Foenderg\u002FReflourished-Darwin\u002Fstargazers\">\u003Cimg alt=\"Stars\" src=\"https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002Foenderg\u002FReflourished-Darwin?style=social\">\u003C\u002Fa>\n\u003C\u002Fp>\n\n\u003Cp align=\"center\">\n  \u003Ca href=\"https:\u002F\u002Fpvz.oender.dev\u002F#reflourished\">\u003Cb>Download\u003C\u002Fb>\u003C\u002Fa> ·\n  \u003Ca href=\"#features\">Features\u003C\u002Fa> ·\n  \u003Ca href=\"#install\">Install guide\u003C\u002Fa> ·\n  \u003Ca href=\"#build-it-yourself\">Build it yourself\u003C\u002Fa> ·\n  \u003Ca href=\"#how-it-works\">How it works\u003C\u002Fa>\n\u003C\u002Fp>\n\n---\n\n## Features\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>A real app\u003C\u002Fb>\u003C\u002Fsummary>\n\n* Full screen, with sound, saves and the mod's own content built in.\n* Leaving the app pauses the game; coming back shows its pause menu.\n* On iPhone and iPad, a swipe from the top or bottom edge needs a second swipe to open\n  Notification Center, Control Center or Home, so a stray swipe doesn't pause the game.\n* Import\u002FExport saves, quests and levels through the game's own menu.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Unlocked frame rate\u003C\u002Fb> - turn on \u003Cb>Target 60 FPS\u003C\u002Fb> in the game's settings\u003C\u002Fsummary>\n\n* The game runs at your display's refresh rate: 120 Hz on ProMotion displays.\n* Turn on **Target 60 FPS** in the game's own settings for that; with it off, the game runs at 60.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Touch, mouse and trackpad\u003C\u002Fb>\u003C\u002Fsummary>\n\n* They work as on Android.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Keyboard\u003C\u002Fb> (Mac, Windows, and iPad with a keyboard)\u003C\u002Fsummary>\n\n* `1`-`4` and `Q`, `W`, `E`, `R` take the seed packets, `S` the shovel.\n* `Space` collects every sun, coin, gem, plant food and sprout drop on the lawn.\n* `Tab` toggles fast-forward, `F` picks up plant food, and `Z`, `X`, `C` select the level's\n  power-ups from left to right.\n* `Esc` pauses and resumes. The keys rest while the game is paused.\n* On the Mac and Windows, Settings (`Cmd-,` \u002F `Ctrl-,`) lets you pick any keys; Keyboard →\n  **Show keys in levels** (on by default) writes each key at its control's corner in the game's font.\n* On iPad, keys appear after the first press on a hardware keyboard.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Mac window\u003C\u002Fb>\u003C\u002Fsummary>\n\n* Shows the selected plant or shovel at the pointer during a level; turn it off in Keyboard settings.\n* Keeps the game's shape at any size, or, in Settings, adapts to any shape from 4:3 to 21:9.\n* Drawn at the sharpness of the display it is on; Settings can draw it sharper on a\n  display that isn't Retina.\n* `Cmd-M` and `Cmd-H` pause the game.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Windows\u003C\u002Fb>\u003C\u002Fsummary>\n\n* One setup for Intel\u002FAMD and ARM PCs. It installs for your account only, with no administrator\n  prompt.\n* A window you can resize, or full screen (`F11` or `Alt+Enter`); Settings with `Ctrl-,` or a\n  right-click on the game's taskbar button.\n* The plant you picked follows the pointer, with the same keys and key labels as on the Mac.\n* Prefer no installer? The portable zips keep everything, saves included, in the folder you unpack\n  them to.\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Updates\u003C\u002Fb>\u003C\u002Fsummary>\n\n* The Mac app updates itself: it checks once a day and asks before it installs\n  (PvZ2 Reflourished > Check for Updates…). So does the installed Windows game (Settings >\n  About, or Check for Updates… on its taskbar button); the portable zips don't.\n* iPhone and iPad get updates through AltStore and SideStore with this repository's source.\n* Your saves stay, and a full app needs no second 1.3 GB download.\n\n\u003C\u002Fdetails>\n\n## Screenshots\n\n\u003Cdetails>\n\u003Csummary>Show screenshots\u003C\u002Fsummary>\n\u003Cbr>\n\n\u003Ctable>\n  \u003Ctr>\n    \u003Ctd align=\"center\" valign=\"top\">\n      \u003Cimg src=\"docs\u002Fscreenshots\u002Fmac-gameplay.webp\" height=\"115\" alt=\"PvZ2: Reflourished in a Mac window: Far Future Day 22 with plants, zombies and the performance overlay\">\u003Cbr>\n      \u003Csub>\u003Cb>Mac\u003C\u002Fb> - with the performance overlay.\u003C\u002Fsub>\n    \u003C\u002Ftd>\n    \u003Ctd align=\"center\" valign=\"top\">\n      \u003Cimg src=\"docs\u002Fscreenshots\u002Fiphone.webp\" height=\"115\" alt=\"PvZ2: Reflourished in landscape on an iPhone, its seed packets clear of the Dynamic Island\">\u003Cbr>\n      \u003Csub>\u003Cb>iPhone\u003C\u002Fb> - clear of the Dynamic Island.\u003C\u002Fsub>\n    \u003C\u002Ftd>\n    \u003Ctd align=\"center\" valign=\"top\">\n      \u003Cimg src=\"docs\u002Fscreenshots\u002Fipad-window.webp\" height=\"115\" alt=\"PvZ2: Reflourished's Almanac in a window on an iPad, next to Safari\">\u003Cbr>\n      \u003Csub>\u003Cb>iPad\u003C\u002Fb> - in a window, next to your other apps.\u003C\u002Fsub>\n    \u003C\u002Ftd>\n  \u003C\u002Ftr>\n\u003C\u002Ftable>\n\n\u003Ctable>\n  \u003Ctr>\n    \u003Ctd align=\"center\" valign=\"top\">\n      \u003Cimg src=\"docs\u002Fscreenshots\u002Fmac-settings.webp\" height=\"250\" alt=\"The Mac app's own Settings window: window mode, aspect ratio, closing and sharpness\">\u003Cbr>\n      \u003Csub>\u003Cb>Settings\u003C\u002Fb> - window shape, sharpness, keys.\u003C\u002Fsub>\n    \u003C\u002Ftd>\n    \u003Ctd align=\"center\" valign=\"top\">\n      \u003Cimg src=\"docs\u002Fscreenshots\u002Fmac-dmg.webp\" height=\"250\" alt=\"The Mac disk image window: drag PvZ2 Reflourished onto the Applications folder\">\u003Cbr>\n      \u003Csub>\u003Cb>Install\u003C\u002Fb> - drag it to Applications.\u003C\u002Fsub>\n    \u003C\u002Ftd>\n  \u003C\u002Ftr>\n\u003C\u002Ftable>\n\n\u003C\u002Fdetails>\n\n## Install\n\nEvery [release](https:\u002F\u002Fgithub.com\u002Foenderg\u002FReflourished-Darwin\u002Freleases\u002Flatest) has these\ndownloads:\n\n| File | What it is |\n|---|---|\n| `PvZ2-Reflourished-\u003Cgame>-Darwin-\u003Cversion>-iOS.ipa` | iPhone and iPad, slim (about 60 MB) |\n| `PvZ2-Reflourished-\u003Cgame>-Darwin-\u003Cversion>-iOS-Full.ipa` | iPhone and iPad, with the game's data inside (about 1.3 GB) |\n| `PvZ2-Reflourished-\u003Cgame>-Darwin-\u003Cversion>-Mac.dmg` | Mac, slim |\n| `PvZ2-Reflourished-\u003Cgame>-Darwin-\u003Cversion>-Mac-Full.dmg` | Mac, with the game's data inside |\n| `PvZ2-Reflourished-\u003Cgame>-Darwin-\u003Cversion>-Windows-Setup.exe` | Windows PCs, Intel\u002FAMD and ARM (about 120 MB) |\n| `PvZ2-Reflourished-\u003Cgame>-Darwin-\u003Cversion>-Windows-x64.zip` | Windows, Intel\u002FAMD, portable (no installer, no updates) |\n| `PvZ2-Reflourished-\u003Cgame>-Darwin-\u003Cversion>-Windows-ARM64.zip` | Windows, ARM (Snapdragon), portable |\n\nA slim app downloads the game's data (1.3 GB) the first time it opens and checks it, so keep\nit open on Wi-Fi until the game starts.\n\n### iPhone \u002F iPad\n\niOS 15.5 or later.\n\nInstall the IPA with SideStore, AltStore, Sideloadly or LiveContainer.\n\n**AltStore \u002F SideStore source** - add\n`https:\u002F\u002Fraw.githubusercontent.com\u002Foenderg\u002FReflourished-Darwin\u002Fmain\u002Faltstore\u002Fsource.json`\n(Sources → +) and install the game from it; new releases then show up as updates.\n\n### Mac\n\nApple silicon, macOS 14 or later.\n\nOpen the DMG and drag the app onto Applications. The app is not notarized, so the first time\nmacOS refuses to open it: click **Done**, then in **System Settings → Privacy & Security** click\n**Open Anyway**. After that the app updates itself.\n\n### Windows\n\nWindows 10 or 11, 64-bit.\n\nRun the setup. It is not signed, so Windows shows \"Windows protected your PC\" the first time:\nclick **More info**, then **Run anyway**.\n\n\u003Cdetails>\n\u003Csummary>What the two screens look like\u003C\u002Fsummary>\n\u003Cp align=\"center\">\n  \u003Cimg src=\"docs\u002Fwindows\u002Fsmartscreen-1.png\" alt=\"Windows protected your PC, with More info\" width=\"45%\">\n  \u003Cimg src=\"docs\u002Fwindows\u002Fsmartscreen-2.png\" alt=\"After More info: Run anyway\" width=\"45%\">\n\u003C\u002Fp>\n\u003C\u002Fdetails>\n\nThe first start downloads the game's data (1.3 GB). On Intel and AMD PCs it then prepares the\ngame for that PC, once: about 2 minutes on a recent PC, longer on older ones, with a progress\nwindow. Later starts take seconds. After that the game updates itself.\n\nYour saves live with the app (on the Mac, in `~\u002FLibrary\u002FApplication Support\u002FPvZ2 Reflourished`;\non Windows, in `%APPDATA%\\PvZ2 Reflourished`). Uninstalling on Windows asks whether to delete them,\nwith No selected.\n\n## Build it yourself\n\nYou need the **PvZ2 Reflourished 1.4.2** APK from the mod's official download (the MEGA or\nGoogle Drive folder). You don't need the OBB that is next to it there: the build downloads\nthe same file from a copy on GitHub by itself and checks it. To use your own copy instead,\npass it with `--obb` (or the workflow's OBB link).\n\n### Option A - let GitHub build it (no Mac needed)\n\n1. **Fork** this repository.\n2. In your fork, open the **Actions** tab and enable workflows.\n3. Pick **Build → Run workflow**, paste a link to the APK (a direct link, Google Drive or\n   MEGA), and start it.\n4. When it finishes (up to an hour), the apps are in your fork's **Releases**.\n\n### Option B - build it on your Mac\n\nNeeds Xcode (with its iOS platform) and about 8 GB of free space.\n\n```sh\ngit clone https:\u002F\u002Fgithub.com\u002Foenderg\u002FReflourished-Darwin\ncd Reflourished-Darwin\n.\u002Fbuild.sh --apk \"PvZ2 Reflourished 1.4.2.apk\" --slim\n```\n\nThe results land in `out\u002F`. Add `--ios` or `--mac` to build just one of them; leave out\n`--slim` for apps with the game's data inside (about 1.3 GB more).\n\n## Known issues\n\n* Tested on one iPhone so far.\n* Windows: tested on Windows 11 (an Intel desktop PC and an ARM virtual machine); Windows 10\n  should work but is untested.\n* Windows: the setup is not code-signed, so SmartScreen warns the first time (see Install).\n\n## How it works\n\nThe game's native libraries (`libPVZ2`, the mod's `libRFLib` and their helpers) are\ntranslated from Android's ELF format into Mach-O dylibs at build time, with the mod's\n290 code hooks written straight into the converted code. A small host - built on\n[Husk](https:\u002F\u002Fgithub.com\u002Fleviidev\u002Fhusk) - provides what Android would have: the\nJNI calls the game makes, its file system, OpenGL ES through ANGLE over Metal, audio,\ntouch and keyboard input, and the app's lifecycle.\n\nOn Windows the same host code runs without the Apple conversion step. ARM PCs run the game's ARM64\ncode directly, loaded from the APK at start-up. Intel and AMD PCs translate it to x86-64 on the\nfirst start with the [ScarletNX](https:\u002F\u002Fgithub.com\u002Fscarletnx\u002FScarletNX) recompiler and keep the\nresult, and the game draws through ANGLE over Direct3D 11.\n\n| Folder | What is in it |\n|---|---|\n| `converter\u002F` | ELF → Mach-O conversion and the hook bake |\n| `runtime\u002F` | the host: Android and JNI environment, graphics, audio, input, iOS, Mac and Windows apps |\n| `data\u002F` | the mod's recorded hook table and the game version it matches |\n| `prebuilt\u002F` | ANGLE for iOS and the iOS Simulator (rebuild with `REBUILD_ANGLE=1 .\u002Fbuild.sh …`) |\n| `scripts\u002F` | downloads, the disk image, the AltStore source, the Mac test runner |\n| `docs\u002F` | how it works, testing, the game's internals, releasing |\n\nMore in [docs\u002FARCHITECTURE.md](docs\u002FARCHITECTURE.md).\n\n## Contributing\n\nFixes and improvements are welcome. [CONTRIBUTING.md](CONTRIBUTING.md) has the build loop and what a\ngood pull request shows; [docs\u002FTESTING.md](docs\u002FTESTING.md) how to test on a Mac without touching your\nown game; [docs\u002FGAME-NOTES.md](docs\u002FGAME-NOTES.md) what the game does that is not obvious. Coding\nagents start at [AGENTS.md](AGENTS.md). Found a bug? Open an issue with the app's log.\n\n## Thanks\n\nThe **PvZ2 Reflourished** team for the mod, **Husk** for the translation layer this\nis built on, and **ANGLE** (WebKit and Chromium) for OpenGL ES on Metal.\n","Reflourished-Darwin 是《植物大战僵尸2》官方Mod“Reflourished”的原生跨平台移植项目，支持iOS、iPadOS、macOS（Apple Silicon）和Windows系统。它不依赖越狱、JIT编译或模拟器，而是将Android版Mod代码直接重写为各平台原生C代码，实现全屏运行、原生音频、本地存档、系统级暂停\u002F恢复及120Hz高刷适配。适用于希望在非Android设备上流畅体验完整Mod内容的玩家，尤其适合iPhone\u002FiPad用户及Mac\u002FWindows平台的怀旧向休闲游戏玩家。","2026-11-24 04:43:35","CREATED_QUERY"]