1
OXCE Support / Re: OXCE+ Graphics Transparency Problem
« on: March 02, 2018, 04:30:21 am »I had the same problem with an added Mod in OXCE+!
The only solution I found was to change the' HandOb' images.
https://openxcom.org/forum/index.php/topic,5982.0.html
The images have a completely broken palette, see attached.
The fact that it works in OXC is either a lucky coincidence, or some additional guesswork that has been either not implemented or removed in OXCE.
Ahh, I see - I didn't know quite enough about image manipulation to recognize that, and messing around in Photoshop trying to convert the original images made it even worse, even though the files looked fine in Photoshop and as Windows thumbnails.
I did actually work out a fix though:
- Open a PNG file of appropriate size from a different mod that is confirmed to work.
- Open the corresponding broken GIF file.
- Select all on the broken file and copy.
- Select all on the working file and delete, then paste and adjust sprite location to match source.
- If the background is not transparent, select background with magic wand: point sample, 0 tolerance, no anti-alias; then delete.
- Save resulting file as a new PNG with the appropriate name.
- Profit!
I used images from Nord's TWoTS mod as a base, and combined the broken handobs into one image with this tool before fixing them.
I'm thinking I should post the fixed mod, though I'm not entirely sure on the etiquette/procedure for editing someone else's mod or incorporating their work into a larger mod (other than, obviously, giving credit).
Since this would be a fix for an existing mod, I'm thinking I should just increment the version number, but then this might cause confusion if the original author updates their mod in some other way. Should I also change the mod ID then? Or something else?
Any advice on that?
Thanks!