fallout2-ce icon indicating copy to clipboard operation
fallout2-ce copied to clipboard

RFI: Custom sprite packs

Open pksebben opened this issue 9 months ago • 2 comments

I want to upscale this game by a lot. I have the means to do this; I've found the sprite packs online and I'm planning on running them through diffusion, but I'm not sure what the process is to get them back in the game in a functional state after that point. I'm also a little fuzzy on the details of how the engine manages these resources and what the specific requirements for the sprites are; like, do resolutions / aspect ratios have to be preserved? can the engine actually handle sprites 5-10x the size of what's in there? How tricky would it be to get these assets back into the game such that they don't break anything?

Apologies if this is off-topic; I wasn't sure where to go with this, and you seem like you'd probably know. If there are better places to ask this question that you know about, I'd be happy to go there. Thanks in advance for any tips and thanks for creating the CE. It's really solid work.

pksebben avatar May 04 '24 16:05 pksebben

The game deals with graphics in terms of pixels. All drawing is direct copying of pixels from art data into window buffers. There is scaling (for e.g. item sprites) but it has no resampling obviously, simple nearest neighbor algorithm (poor quality).

So if you want to replace all graphics you'd have to rewrite a huge portion of the code base as there are pixel offsets all over the place. That would be a huge undertaking.

phobos2077 avatar May 04 '24 18:05 phobos2077

thanks for that.. Had my suspicions. Guess I best get to reading that before I commit the time to doing the actual scaling.

pksebben avatar May 04 '24 19:05 pksebben