upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/src/pe_loader.cpp
diff options
context:
space:
mode:
authorRaveN499 <96947941+RaveN499@users.noreply.github.com>2026-11-22 16:45:19 +0300
committerRaveN499 <96947941+RaveN499@users.noreply.github.com>2026-11-22 18:42:08 +0300
commitc9fbc9d07eb81656b3ad20686e8268d890a5cc52 (patch)
tree81970df4a00604d9bb1dbc70346327f6c6dbf270 /runtime/src/pe_loader.cpp
parent4eb6155d3ac4f9d3fadb0d095c4ce13e76783615 (diff)
gta6rt: GAME: paths for folders, moves, copies and attributes (RT-97 follow-up)
The calls docs/runtime_imports.md listed as not mapped now follow the RT-97 rules, under kernel32, kernelbase and the api-ms-win-core-file-* sets: - CreateDirectory/CreateDirectoryEx make the folder in the overlay; a name the title can already see, package-only folders included, is ERROR_ALREADY_EXISTS. - RemoveDirectory needs the folder empty in the title's view. An overlay folder is removed; a package folder is hidden by a .gta6rt-dir marker file inside its marker folder and stays on disk (deleted() now also checks that file, on top of the regular-file rule from 3f26a95a). - MoveFile/MoveFileEx write the destination in the overlay; a moved package file is copied there and its old name deleted by a marker. MOVEFILE_WRITE_THROUGH flushes that copy and the marker before returning (review on #1742). Package folders are not moved (ERROR_ACCESS_DENIED), GAME: <-> host is ERROR_NOT_SAME_DEVICE and MOVEFILE_DELAY_UNTIL_REBOOT is ERROR_INVALID_PARAMETER. - CopyFile/CopyFileEx/CopyFile2 read like a read and write a GAME: destination in the overlay; fail-if-exists counts names only the package has. - SetFileAttributes sets the overlay copy (copy-up or folder mirror first). file_system: 123/123 checks. No game files. AI-assisted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'runtime/src/pe_loader.cpp')
0 files changed, 0 insertions, 0 deletions