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.

0x1f8 create-texture

Opcode 0x1f8 (504), draw. Investigated by OME, with high confidence (from investigation).

Allocate a blank surface in a texture slot: (slot, width, height, kind). e.g. create-texture 0xd 0x190 0x1e 0x0 = slot 13, 400x30, a managed texture. Kind 1 is a render target with an alpha channel and kind 2 a render target; anything else is a managed texture, and 3 makes the mode-1 surface class.

Operands

#RoleTypes seenAccess
1texture slot (an index into surface, 1000 entries, not bounds-checked)imm, g-int, l-int, l-ptrread
2widthimm, g-int, l-int, l-ptrread
3heightimm, g-int, l-int, l-ptrread
4surface kindimmread

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 Meisteryes1
4.33G (SYS4433)Kamidori Alchemy Meisteryes—
4.38D (SYS4438)Soukoku no Arterialyes—

Evidence

  • native-re on SYS4422, high confidence; Himegari AGE.EXE Ghidra /v2 and decoded script corpus (vm-map/opcodes.toml opcode 0x1f8): SC0000 CG/UI-draw path disasm; slot/w/h roles read off the operands (400x30 text bars, etc.). Ghidra /v2 (2026-11-20): gfx_op_0x1f8_create_surface@0x4222d0 passes operand 4 to gfx_surface_create_blank@0x477370, which builds the mode-1 class for 3 and the mode-0 class otherwise; its gfx_surface_texture_create@0x465fa0 keeps the kind at +0x418 (1: D3DUSAGE_RENDERTARGET A8R8G8B8; 2: the same, X8R8G8B8 when display +0x464 is set; else a managed texture). gfx_object_blit_d3d9 copies a colour mode 2 object (ONE/ZERO) into a kind-1 target (docs/engine-re.md, 'Object blend modes'). 4.38D: gfx_surface_texture_create@0x477490, the same.