Skip to content

Tweaking

TheLX5 edited this page Feb 24, 2021 · 2 revisions

This patch doesn't offer a lot in terms of customization, but you can still change a few things about it.


Contents


!dss_exgfx

This decides which ExGFX range will be used for the graphics. Only the high byte is actually used.

Located in pixi/asm/ExtraDefines/dynamic_spritesets_defines.asm.

To see any changes about this you require to rerun PIXI.

!dss_queue_tiles

How many tiles will be uploaded per frame from the VRAM queue. If you're having issues with black bars at the top of the screen whenever sprites are being loaded, try reducing this number by one each time. Note that reducing the number also affects how fast sprites are loaded into VRAM. Be careful about changing this one, as it may hinder your level design experience!

The default value has been tested to work fine on a regular SMW ROM without extra things going on during the NMI handler. ExAnimations, 32x32 player patch, etc. will require you to keep an eye on this define.

Located in pixi/asm/ExtraDefines/dynamic_spritesets_defines.asm.

To see any changes about this you require to rerun PIXI and UberASMTool.

!dss_time_to_unmark_gfx

How many frames will each ExGFX loaded will remain marked as used by DSS. Sometimes it's useful to keep around the graphics in VRAM in such cases where the sprite would despawn and respawn quickly, this avoids putting tiles into queue.

Located in pixi/asm/ExtraDefines/dynamic_spritesets_defines.asm.

To see any changes about this you require to rerun PIXI and UberASMTool.

!dss_ram

RAM block used by DSS. It's placed after SA-1's MaxTile BW-RAM, so it's fairly safe to leave it untouched.

Located in pixi/asm/ExtraDefines/dynamic_spritesets_defines.asm.

To see any changes about this you require to rerun PIXI and UberASMTool.

Sprite GFX remaps

There are a bunch of defines to remap most of the tiles in the top half of sprite's VRAM (SP1/SP2). These should affect every sprite that requires them.

If I missed anything please give me a fix in patch form!

Located in pixi/asm/ExtraDefines/dynamic_spritesets_defines.asm.

To see any changes about this you require to rerun PIXI.

Clone this wiki locally