by glawks · v0.2.1 · 272 downloads
Adds a Buy All Ammo option to weapon vendors in Ratchet & Clank 1 and 2. Refill all eligible weapons at normal prices with one button, with partial purchases, HUD feedback and native purchase sounds.
Buy ammunition for all your owned weapons in one action at the Gadgetron vendor in Ratchet & Clank (2002) or the Megacorp vendor in Ratchet & Clank 2: Going Commando. No need to refill each weapon separately.
Download the latest release · Report a problem
| Game | Supported disc versions |
|---|---|
| Ratchet & Clank | PAL, NTSC-U |
| Ratchet & Clank 2: Going Commando | NTSC-U v1.01, PAL, NTSC-U v2.00 |
The release includes native builds for Windows x64, Linux x64/ARM64, macOS Intel/Apple Silicon and Android ARM64. Requires OpenRAC with mod API 1.20 or later.
If you installed the older RAC2 Buy All Ammo mod (rac2-buy-all-ammo), remove or disable it first. This release has a new mod ID, vendor-buy-all; running both can cause duplicate controls.
In the OpenRAC Launcher → Mods, choose Add from a link and enter:
https://github.com/glawks/Vendor-Buy-All
Enable Vendor Buy All and start your supported game. Mod settings take effect on the next game start.
You can also download vendor-buy-all-0.2.1.zip, the combined release archive, and install it manually through the launcher. Individual platform ZIPs and SHA256SUMS are also available. The SDK-validated release packages include this README and the MIT licence.
Ratchet & Clank (RAC1): a compact, single-line Buy All prompt sits between the Buy and Exit monitors, above the weapon carousel. For example, X Buy All - 150 bolts. The current quote and status update automatically; a dark text outline keeps the label legible.
F (the default keyboard Square binding). Controller button activity restores the controller label.F may differ from your Square binding; pressing your mapped Square button still triggers the purchase.Going Commando (RAC2): a separate framed prompt appears near the Buy control, with the game's native button icons. RAC2 vendor HUD position can move it below the vendor controls, bottom-right or top-right.
The Show vendor ammo HUD setting controls prompt visibility for both games; Buy All remains functional when the prompt is hidden.
RAC1's SDK 1.20 independent HUD-text API does not render the game's special button glyphs, so it uses F, X or Square as text instead of a graphical icon. The SDK's rectangle overlay is unavailable in vendor menus, so RAC1 uses a soft dark text outline rather than a filled background panel. These are UI limitations, not purchase-function limitations.
0.2.0 introduced RAC1 support).All six platform builds are checked by GitHub Actions. Automated tests cover the purchase planner, PAL/NTSC RAC1 adapters, one purchase per press, prices and partial purchases, vendor/dialog exclusions, success/rejection sound IDs, HUD cleanup and keyboard/controller text changes.
The main RAC1 and RAC2 purchase paths and vendor sounds were tested in-game during development. The latest compact RAC1 HUD text/outline and the PDA pricing path have automated coverage but have not yet had a final in-game visual/behaviour confirmation. OpenRAC Mods maintainers may request additional testing.
The main branch is the released version. The dev branch is for test builds; its successful Actions runs provide downloadable artifacts without publishing stable GitHub releases.
To build locally, install Python 3, CMake 3.20+, Ninja and a C++17 compiler:
python tools/fetch_sdk.py
cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release
cmake --build build --parallel
ctest --test-dir build --output-on-failure
SDK 1.20 is pinned by version and SHA-256 in sdk.lock. Use -DOPENRAC_SDK=/path/to/sdk to build against a local SDK. The common purchase planner lives in src/purchase_plan.hpp; the RAC1/RAC2 adapters use SDK memory/functions and native sound callbacks. RAC1 presents its HUD through hud_text_set; RAC2 uses the vendor draw hook.
MIT — see LICENSE. OpenRAC and its mod SDK have their own licences. No game-disc assets are distributed.
vendor-buy-allRepositoryReport a bugDocsReport a problem with this listing
Nothing: it works on its own.
Full Changelog: https://github.com/glawks/Vendor-Buy-All/compare/v0.2.0...v0.2.1
Full Changelog: https://github.com/glawks/Vendor-Buy-All/commits/v0.2.0
Vendor Buy All · v0.2.1 · ⚠