mirror of
https://github.com/TiagoVal97/cheatspecter.git
synced 2026-10-18 07:55:16 +02:00
- Find: text search, grouped search, undo, went up/down by, where to search, before/after compare - Debug tab: breakpoints, stepping, registers, stack, threads, what code touches, structure compare, pointer re-check - Engine tab: Unreal, Unity, Godot, GameMaker and C++ class names; hidden settings and switches - Code cheats with labels, variables, references and shared code; rule builder; script commands - Cheats kept on by the PS5 without the browser - Learn section with twelve lessons and an in-page practice game - Section (master code) community cheats; SHN and MC4 export - Groups, dropdowns, hotkeys, first-cheat guide, re-find after update, restore everything - MCP server: 25 tools - Quick start, wiki, contributor and security guides, changelog
22 lines
911 B
JavaScript
22 lines
911 B
JavaScript
// Bundles one TypeScript entry file and everything it imports into a single
|
|
// .mjs that plain Node can run anywhere, for trying library code against a
|
|
// real console from a machine that does not have this project checked out.
|
|
//
|
|
// node scripts/dev-bundle.mjs path/to/entry.ts out.mjs
|
|
//
|
|
// iced-x86 (the disassembler) is left as an import, because it loads a
|
|
// WebAssembly file from beside itself.
|
|
|
|
import path from 'node:path';
|
|
import { rolldown } from 'rolldown';
|
|
|
|
const [entry, out] = process.argv.slice(2);
|
|
if (!entry || !out) {
|
|
console.error('Usage: node scripts/dev-bundle.mjs <entry.ts> <out.mjs>');
|
|
process.exit(1);
|
|
}
|
|
const bundle = await rolldown({ input: path.resolve(entry), platform: 'node', external: ['iced-x86'], logLevel: 'warn' });
|
|
await bundle.write({ file: path.resolve(out), format: 'esm', codeSplitting: false });
|
|
await bundle.close();
|
|
console.log(`Bundled ${entry} -> ${out}`);
|