Code RED is a read-first RDR resource workbench. The current safe launch path is:
Code_RED.batPython fallback:
py -3 main.pyDecompile / recompile capability check:
Run_CodeRED_Decompile_Recompile_Hub.bat --validateRPF edit lab / inventory entry point:
Run_CodeRED_RPF_Edit_Lab.batCode_RED.batis the Windows source launcher.main.pyis the canonical Python app entry point.run_workbench.pyis compatibility only.code_red_main.pyis the conservative stable shell/fallback.python_workbench.pycontains the larger research/workbench implementation and script/toolchain lanes.- Do not launch project files, helper captures, generated reports, or archived test data as the app entry point.
- RPF archives are first-class game archives and are scanned read-only.
- ZIP files are treated as package/transport archives only.
- Split ZIP fragments such as
.z01through.z09are tracked as fragments, not game archives. - Archive mutation/write-back stays staged to copied archives unless a validated backend is attached.
- Use
tools/codered_rpf_utils.pyfor RPF inventory/extract andtools/codered_rpf_utils_patch.pyfor patch-folder apply to copied archives.
.wsc,.xsc, and.scostay routed to the Scripts lane.- The stable shell inventories script entries found inside RPF archives without compiling or mutating them.
- Source compile is routed through
script_compiling/sccl/. - Existing compiled
.wsc/.csc/.xsc/.scobytecode-to-source decompile is not proven yet; Code RED exports readable/pseudo-decompile reports until a real decompiler is available.
Keep raw game data, generated reports, local imports, copied RPFs, build folders, logs, and packaged ZIP/RAR/7Z outputs out of Git. Use imports/, game/, logs/, and local drop folders at runtime, but do not commit their contents.
Use docs/research_index/README.md as the current organized map for logs, research notes, readmes, handoffs, milestones, and AI-readable manifests. The index intentionally points to original files instead of moving root logs/ outputs, because many tools use fixed report paths there.