Astro Bot 01.018.000 (PPSA21567): rebuilt non-RT patch offsets — black textures fixed; also: release builds ship no fallback fonts (?????? text) #1011

Closed
opened 2026-11-26 09:40:14 +00:00 by github-bot · 1 comment
Owner

@⁠Str1ct-android on GitHub · 2026-10-03 17:12 UTC · original

Astro Bot (PPSA21564 / PPSA21567) update 01.018.000 — the 01.007.000 non-RT patch no longer applies; here are the rebuilt offsets (black textures fixed)

On game version 01.018.000 the non-RT patch from #745 no longer applies. With --game-patch the loader logs

Game cheat: waiting for the matching module

and never reaches Game cheat: matched ... — the anchor bytes changed in 1.018, so the cheat silently never applies and the game keeps rendering through the skipped-BVH/GI path: black textures, no lighting (the symptom reported in #853).

Since eboot.bin on disk is an encrypted SELF, the anchors can only be located in the decrypted image, so I found the equivalent instruction sequences in the mapped image at runtime and rebuilt both mods for 01.018.000. Verified in-game: Successfully applied cheat, and the game renders with textures and normal lighting.

Mod 1 — "Select the existing non-tiled deferred-lighting renderer"

Same instruction sequence as 01.007.000, only the jcc displacement and the lea RIP-displacement changed:

RVA 0x73B3BCF:
45 84 F6 0F 84 F1 08 00 00 45 31 F6 4C 8D 3D 8E C4 A9 01 41 B4 30
  test r14b,r14b ; jz +0x8F1 ; xor r14d,r14d ; lea r15,[rip+0x1A9C48E] ; mov r14b,0x30

Same transformation as the 01.007 patch — force the branch: 0F 84 rel32 → E9 (rel32+1) 90:

off: 4584F60F84F10800004531F64C8D3D8EC4A90141B430
on:  4584F6E9F2080000904531F64C8D3D8EC4A90141B430

(01.007.000 site for comparison: RVA 0x73EB993, 4584f60f84ed0800004531f64c8d3dea78a40141b430.)

Mod 2 — "Disable GI probes and lighting shaders"

Same store site, but the source struct offset moved from 0x780 to 0x7A0:

RVA 0x70CD9C3:
0F B6 82 A0 07 00 00 88 87 E4 05 00 00
  movzx eax,byte[rdx+0x7A0] ; mov [rdi+0x5E4],al
  (followed by cmp byte[rdi+0x5E5],0 / jne — same context as 01.007)

Patch — zero the value before the store, keep the store:

off: 0FB682A00700008887E4050000
on:  B80000000090908887E4050000

(01.007.000 site for comparison: RVA 0x711D0B3, 0fb682800700008887e4050000.)

Full patch file (GoldHEN-style JSON, pass with --game-patch):

{
    "id": "PPSA21567",
    "name": "ASTRO BOT: non RT patch (01.018.000)",
    "version": "01.018.000",
    "process": "eboot.bin",
    "mods": [
        {
            "name": "Select the existing non-tiled deferred-lighting renderer",
            "enabled": true,
            "memory": [
                {
                    "offset": "0x73B3BCF",
                    "off": "4584F60F84F10800004531F64C8D3D8EC4A90141B430",
                    "on": "4584F6E9F2080000904531F64C8D3D8EC4A90141B430"
                }
            ]
        },
        {
            "name": "Disable GI probes and lighting shaders",
            "enabled": true,
            "memory": [
                {
                    "offset": "0x70CD9C3",
                    "off": "0FB682A00700008887E4050000",
                    "on": "B80000000090908887E4050000"
                }
            ]
        }
    ]
}

Notes for anyone using this:

  • Tested on Windows, build BryKytyPS5-2026-10-01-719050e, game PPSA21567 version 01.018.000. eboot.bin is not modified — the patch is applied in memory only.
  • The version field must match the SFO APP_VER exactly (01.018.000) and process must be eboot.bin, otherwise the loader rejects the file with cheat file does not match the loaded game.
  • The offset values are RVAs into the guest image; the loader re-finds the anchor pattern and rebases, so the numbers mainly need to be self-consistent — but the off signatures are exact for 01.018.000 and will fail cleanly on other versions.
  • With the patch applied the game boots to gameplay with correct rendering. The level-loading crashes/softlocks from #745 still occur occasionally, unrelated to the patch.
  • For 01.007.000 keep using the original patch from #745 — the offsets are not interchangeable.

Separate, smaller thing I hit while setting this up (font-related):

Release builds ship no fallback font files, and libFont HLE silently degrades to the VGA bitmap font when it can't open a font — the game's text renders as ?????? with no error anywhere. Dropping the four tracy-bundled fonts next to the emulator fixes it immediately:

<emulator dir>\3rdparty\tracy\profiler\src\font\
    Roboto-Regular.ttf
    Roboto-Bold.ttf
    Roboto-Italic.ttf
    Roboto-BoldItalic.ttf

(it's the same set bundled at 3rdparty/tracy/profiler/src/font in the source tree — the search path is hard-coded, so only those exact names/locations work). Would be nice to either ship those four files in the release zip or at least log a visible warning once when every fallback candidate is missing — the silent ?????? looks exactly like a game bug and sends people chasing the wrong problem.

**@⁠Str1ct-android** on GitHub · 2026-10-03 17:12 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1011) **Astro Bot (PPSA21564 / PPSA21567) update 01.018.000 — the 01.007.000 non-RT patch no longer applies; here are the rebuilt offsets (black textures fixed)** On game version **01.018.000** the non-RT patch from #745 no longer applies. With `--game-patch` the loader logs ``` Game cheat: waiting for the matching module ``` and never reaches `Game cheat: matched ...` — the anchor bytes changed in 1.018, so the cheat silently never applies and the game keeps rendering through the skipped-BVH/GI path: black textures, no lighting (the symptom reported in #853). Since `eboot.bin` on disk is an encrypted SELF, the anchors can only be located in the decrypted image, so I found the equivalent instruction sequences in the mapped image at runtime and rebuilt both mods for **01.018.000**. Verified in-game: `Successfully applied cheat`, and the game renders with textures and normal lighting. **Mod 1 — "Select the existing non-tiled deferred-lighting renderer"** Same instruction sequence as 01.007.000, only the jcc displacement and the `lea` RIP-displacement changed: ``` RVA 0x73B3BCF: 45 84 F6 0F 84 F1 08 00 00 45 31 F6 4C 8D 3D 8E C4 A9 01 41 B4 30 test r14b,r14b ; jz +0x8F1 ; xor r14d,r14d ; lea r15,[rip+0x1A9C48E] ; mov r14b,0x30 ``` Same transformation as the 01.007 patch — force the branch: `0F 84 rel32` → `E9 (rel32+1) 90`: ``` off: 4584F60F84F10800004531F64C8D3D8EC4A90141B430 on: 4584F6E9F2080000904531F64C8D3D8EC4A90141B430 ``` (01.007.000 site for comparison: RVA 0x73EB993, `4584f60f84ed0800004531f64c8d3dea78a40141b430`.) **Mod 2 — "Disable GI probes and lighting shaders"** Same store site, but the source struct offset moved from `0x780` to `0x7A0`: ``` RVA 0x70CD9C3: 0F B6 82 A0 07 00 00 88 87 E4 05 00 00 movzx eax,byte[rdx+0x7A0] ; mov [rdi+0x5E4],al (followed by cmp byte[rdi+0x5E5],0 / jne — same context as 01.007) ``` Patch — zero the value before the store, keep the store: ``` off: 0FB682A00700008887E4050000 on: B80000000090908887E4050000 ``` (01.007.000 site for comparison: RVA 0x711D0B3, `0fb682800700008887e4050000`.) **Full patch file (GoldHEN-style JSON, pass with `--game-patch`):** ```json { "id": "PPSA21567", "name": "ASTRO BOT: non RT patch (01.018.000)", "version": "01.018.000", "process": "eboot.bin", "mods": [ { "name": "Select the existing non-tiled deferred-lighting renderer", "enabled": true, "memory": [ { "offset": "0x73B3BCF", "off": "4584F60F84F10800004531F64C8D3D8EC4A90141B430", "on": "4584F6E9F2080000904531F64C8D3D8EC4A90141B430" } ] }, { "name": "Disable GI probes and lighting shaders", "enabled": true, "memory": [ { "offset": "0x70CD9C3", "off": "0FB682A00700008887E4050000", "on": "B80000000090908887E4050000" } ] } ] } ``` **Notes for anyone using this:** - Tested on Windows, build `BryKytyPS5-2026-10-01-719050e`, game **PPSA21567** version **01.018.000**. `eboot.bin` is not modified — the patch is applied in memory only. - The `version` field must match the SFO `APP_VER` exactly (`01.018.000`) and `process` must be `eboot.bin`, otherwise the loader rejects the file with `cheat file does not match the loaded game`. - The `offset` values are RVAs into the guest image; the loader re-finds the anchor pattern and rebases, so the numbers mainly need to be self-consistent — but the `off` signatures are exact for 01.018.000 and will fail cleanly on other versions. - With the patch applied the game boots to gameplay with correct rendering. The level-loading crashes/softlocks from #745 still occur occasionally, unrelated to the patch. - For 01.007.000 keep using the original patch from #745 — the offsets are not interchangeable. **Separate, smaller thing I hit while setting this up (font-related):** Release builds ship **no fallback font files**, and `libFont` HLE silently degrades to the VGA bitmap font when it can't open a font — the game's text renders as `??????` with no error anywhere. Dropping the four tracy-bundled fonts next to the emulator fixes it immediately: ``` <emulator dir>\3rdparty\tracy\profiler\src\font\ Roboto-Regular.ttf Roboto-Bold.ttf Roboto-Italic.ttf Roboto-BoldItalic.ttf ``` (it's the same set bundled at `3rdparty/tracy/profiler/src/font` in the source tree — the search path is hard-coded, so only those exact names/locations work). Would be nice to either ship those four files in the release zip or at least log a visible warning once when every fallback candidate is missing — the silent `??????` looks exactly like a game bug and sends people chasing the wrong problem.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:40:14 +00:00
Author
Owner

@⁠Str1ct-android on GitHub · 2026-10-03 17:17 UTC · original

Withdrawn for now — with the 01.018.000 offsets the rendering/GI part is fixed, but level loading still fails (the known #745 problem), so the full flow is not working yet. Will repost a complete write-up once level loading is sorted.

**@⁠Str1ct-android** on GitHub · 2026-10-03 17:17 UTC · [original](https://github.com/KytyPS5/KytyPS5/issues/1011#issuecomment-5971566894) Withdrawn for now — with the 01.018.000 offsets the rendering/GI part is fixed, but level loading still fails (the known #745 problem), so the full flow is not working yet. Will repost a complete write-up once level loading is sorted.
This discussion has been locked. Commenting is limited to contributors.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
github/KytyPS5--KytyPS5#1011
No description provided.