MME Runtime Debugging
Overview
Diagnose runtime behavior from symptoms and local framework rules. Change one variable at a time and prefer minimal reproduction scenes.
Debug Flow
- Capture exact symptom:
- error text, black screen, blank buffer, wrong object, missing shadow, flicker, crash, extreme slowness.
- Identify environment:
- MMD+MME or MMM, GPU/VRAM if known, output size, framework loaded.
- Verify load/assignment:
- effects attached to correct MME tabs, controllers loaded, draw order, self-shadow state.
- Reduce:
- minimal model/stage, default material, no optional post effects.
- Isolate pipeline:
- draw intermediate target to screen, bypass blur, bypass framework extras.
- Fix the smallest proven cause.
- Re-test the original scene.
Symptom Map
some techniques cannot run on this hardware: shader model, target format, instruction count, sampler limit, or GPU float texture support.- Black/blank post effect: missing
ScriptExternal=Color, wrongDraw=Buffer, wrong final target reset, uninitialized RT, bad full-screen VS/UV. - Object unaffected: wrong MME tab, missing
object_ss, wrongUseTexture/UseSphereMap/UseToon, technique selection mismatch. - Missing framework output: missing controller/accessory, wrong draw order, missing generated config/resource, stale MME cache.
- Crash/very slow: VRAM pressure from high-resolution RTs, Omni/volume lights, large G-buffer, MSAA, high shadow cascades, output size.
Framework Checks
ray-mmd:
- Confirm
ray.x,ray_controller.pmx, materials, lights/fog/skybox assets, and required textures exist. - Check
ray.conffeature switches and refresh all after edits.
ExcellentShadow2:
- Confirm
ExcellentShadow.xis loaded near subjects. - Confirm all models/accessories use
full_ES.fxorfull_ES_pmx.fx. - Confirm self-shadow is enabled.
- Lower
EXSHADOW_QUALITYif performance or format support is suspect.
sdPBR480:
- Confirm
sdPBR.pmxandsdPBRGBuffer.xare loaded. - Put
sdPBRGBuffer.xearly/high in draw order. - Follow quick-start order if output is black.
- Increase preview panel size if very small; reduce extra lights and volume/Omni features under VRAM pressure.
Output Format
Diagnosis:
- Symptom:
- Most likely cause:
- Evidence:
- Next test:
- Fix:
- Remaining risks:
References
Always read when the symptom is not trivial:
../mmd-mme-workflow/references/debug-checklist.md
Read as needed:
../mmd-mme-workflow/references/framework-notes.md../mmd-mme-workflow/references/mme-core-reference.md