PsxVram-SDL icon indicating copy to clipboard operation
PsxVram-SDL copied to clipboard

Request: Ability to manually enter a tPage and clut in the context of PsyQ

Open AesirHod opened this issue 2 years ago • 1 comments

In PsyQ used by many (all?) PSX games, a short integer for tPage and clut can be used to specify which section of the vram to produce the image from. I'd like to have a way to see not only the result of using those to query the vram, but the offset in bytes they produce as well. It should just be a matter of unpacking the bits that contain the modes and offsets from those two parameters and then outputting the offsets and modes to the console. I'm trying to do the same thing for a model viewer I'm working on, but my knowledge of both the PSX's vram and PsyQ is limited, so I need things to compare my results against.

AesirHod avatar Jul 31 '22 12:07 AesirHod

I'm not sure, that have understood you correctly: AFAIK, both texture page IDs and CLUT IDs are generated in runtime by LoadTPage() and LoadClut(). Can you specify functions, which accept parameters, you've mentioned?

romhack avatar Aug 02 '22 19:08 romhack