ViolentBeetle Posted February 27, 2021 (edited) I don't know why. It just does. I managed to convert one batch of flats, but not another. The lump size is 4096 but does not register as graphics anymore. (It started working again between me posting and submitting, seems entirely random) Update: It seems problem is not conversion per se, but saving. Any save risks breaking the lump type. Edited February 27, 2021 by ViolentBeetle 0 Quote Share this post Link to post
1 Gez Posted February 27, 2021 Flats are identified only by their filesize (exactly 4096 bytes normally) so the identification heuristics for them isn't very "assertive". Notably, if they aren't inside a flat namespace, the identification will fail. If your flats are between F_START (or FF_START) and F_END, they should be identified correctly, though. You may also try selecting your "unknown" flats, opening the console (ctrl-2), and typing "type gfx_flat". That'll force SLADE to consider the selected lumps to be typified as flats. 0 Quote Share this post Link to post
0 Scypek2 Posted February 27, 2021 Did it work any differently in game, or was it only weird in slade? The latter happened to me plenty often. To be fair, a flat is just a raw lump of data with no headers or metadata of any kind, so it can be hard for a program to always tell what it is. If I recall correctly, this bug can be avoided by converting a png into a doom texture, and then converting the texture to flat. 0 Quote Share this post Link to post
0 ViolentBeetle Posted February 27, 2021 (edited) It didn't occur to me to try. I will try it the next time it happens. Problem is, I also used SLADE to colorize the grayscale flats to get a consistent color. And button was not available when identification failed. Edited February 27, 2021 by ViolentBeetle 0 Quote Share this post Link to post
Question
ViolentBeetle
I don't know why. It just does. I managed to convert one batch of flats, but not another.
The lump size is 4096 but does not register as graphics anymore.
(It started working again between me posting and submitting, seems entirely random)
Update: It seems problem is not conversion per se, but saving. Any save risks breaking the lump type.
Edited by ViolentBeetleShare this post
Link to post
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.