SpaceCadetPinball
SpaceCadetPinball copied to clipboard
Custom Texture Packs?
Could there be a way to use the extracted files from pinball.dat/cadet.dat and replace the BMPs with custom images, such as hi-res BMPs or even support PNG?
Yes, that is technically possible. I will probably do it as some point. Even if I don’t need myself, it is a thing that one does in a project like this. I already made some of the groundwork to facilitate this.
Replacing sprites with the same res sprites is simple, reading PNG should also be simple. The way I see it done: extend bitmap entry in partout format, add new formats such as un-indexed BMP, PNG. Then use a tool (that I need to provide) to pack new sprites into DAT. Or just load the files from a folder, however unexciting that may be.
Adding new table resolutions is not so simple. BL is tied to table resolution via projection matrix and some other stuff. A lot of values in DAT will have to be modified; I am not prepared for such endeavor just yet. Maybe this could be solved with some BL hacks.
Can't wait to see this feature :D
This feature would be pretty cool because it would allow using AI-upscaled graphics.