Skip to content

Adult titles

The games this site covers are adult titles. Their data, pictures and text include sexual content.

Continue only if you are an adult where you live.

0x24f queue-patterned-surface-transition

Opcode 0x24f (591), draw. Investigated by OME, with high confidence (from investigation).

(command_key)(target_slot)(range_a_start)(range_a_count)(range_b_start)(range_b_count)(mode)(pattern_thickness)(delay_ms)(duration_ms) — queue a type-2 timed wipe/strip replacement of retained range A by range B.

Operands

#RoleTypes seenAccess
1command object handle and command-map keyl-intread
2target surface slot (an index into surface, 1000 entries, not bounds-checked)l-ptrread
3range A start handlel-intread
4range A countimmread
5range B start handlel-ptrread
6range B countimmread
7wipe/strip mode 0..11g-intread
8pattern thickness in pixelsg-intread
9start delay in millisecondsg-intread
10duration in millisecondsg-intread

It works with 0x21c, 0x222.

In the port

OME’s port implements it. It never waits: a wait parks the engine until input, a sleep, a transition, a dialog or a movie ends. What it can do with control besides waiting:

  • falls: it returns to the next instruction

OME derives these facts from the port’s handler (its tools/opcode_flow.py), and they over-approximate: a fact some path can reach is given.

By build

Whether each build’s scripts use it, as OME’s survey of the game’s scripts saw them, and how many evidence items name the build.

BuildGameUsed by its scriptsEvidence
4.24J (SYS4422)Himegari Dungeon Meisterno1
4.33G (SYS4433)Kamidori Alchemy Meisteryes1
4.38D (SYS4438)Soukoku no Arterialyes—

Evidence

  • native-re on SYS4422, SYS4433, high confidence; Himegari SYS4422 Ghidra /v2 and Kamidori SYS4433 Ghidra /kamidori/SYS4433 (4.33F), addresses given for /kamidori/4.33G (vm-map/opcodes.toml opcode 0x24f): SYS4422 handler op_0x24f_queue_patterned_surface_transition@0x425460 calls gfx_queue_patterned_surface_transition@0x47f7e0; SYS4433 equivalents are @0x422f00 and @0x486800. Both validate thickness/mode and write the same type-2 command record. retained_gfx_surface_command_composite@0x47fbc0 captures the two ranges, derives bounds from the command object, advances delay/duration, and implements modes 0..11 as four directional wipes plus parallel and staggered strip variants. Kamidori has ten copies of the same helper in SC0010, SC0050, SC0100, SC0110, SC0150, SC0200, SC0250, SC0300, SC0350, and SC0400; all share operand types l-int/l-ptr/l-int/imm/l-ptr/imm/g-int/g-int/g-int/g-int.

Details

OME’s notes on it, as the registry keeps them.

At the next retained presentation boundary, native renders both ranges to scratch surfaces 0x24/0x25, takes the command object's retained rectangle as the effect bounds, clears target_slot, and composites the two captures through mode 0..11. Modes 0..3 are left/right/top/bottom quantized wipes; 4..7 reveal equal vertical/horizontal strips in parallel; 8..11 stagger those strips. pattern_thickness is the pixel quantum used by the consumer. A positive thickness with an out-of-range mode reports an error and queues nothing. A nonpositive thickness reports an error but queues an immediate mode -1 fallback. Kamidori's ten sites are identical copies of one story-portrait helper and calculate the thickness from a nominal 64-way division of the clipped 1024x576 canvas before calling this opcode. The portable host preserves the exact command, timing, mode, and thickness; its current GPU/software presentation is a timed crossfade approximation pending native clip-mask drawing.