Darch Posted July 30, 2020 Can I resize multiple textures at once at the TEXTURE1 lump? For example, I have tons of textures sized 90x45 that need to be resized 128x64 (just the texture sizes, not the graphics) and apparently I have change them one by one. I'm using Slade 3.3 0 Quote Share this post Link to post
1 esselfortium Posted July 30, 2020 I don't think there's a way to do this directly, but.... kind of. It's a gross hack. Create a new texture lump in Slade, and tell it to use ZDoom's text-based TEXTURES format. Copy and paste the textures you want to batch-edit into there. Save the lump and open it in a text editor of your choice, then use find/replace or regular expressions to make the desired batch changes. Then re-import the modified TEXTURES lump, select its contents, and paste them back into your binary TEXTURE1 lump. 1 Quote Share this post Link to post
1 Kappes Buur Posted July 31, 2020 6 hours ago, Darch said: Can I resize multiple textures at once at the TEXTURE1 lump? For example, I have tons of textures sized 90x45 that need to be resized 128x64 (just the texture sizes, not the graphics) and apparently I have change them one by one. I'm using Slade 3.3 It would be a lot easier if you used the batch conversion tool in either IrfanView or XnView to resize the textures. 0 Quote Share this post Link to post
1 Gez Posted July 31, 2020 (edited) You can export TEXTURE1 as a lump and use a hex editor (I recommend HxD if you don't have one already) to do some search & replace. You'll want to look for 5A 00 2D 00 and replace it with 80 00 40 00. Edited July 31, 2020 by Gez 2 Quote Share this post Link to post
0 Kappes Buur Posted August 1, 2020 20 hours ago, Gez said: You can export TEXTURE1 as a lump and use a hex editor (I recommend HxD if you don't have one already) to do some search & replace. You'll want to look for 5A 00 2D 00 and replace it with 80 00 40 00. Oh, that's a neat trick. 0 Quote Share this post Link to post
Question
Darch
Can I resize multiple textures at once at the TEXTURE1 lump? For example, I have tons of textures sized 90x45 that need to be resized 128x64 (just the texture sizes, not the graphics) and apparently I have change them one by one.
I'm using Slade 3.3
Share this post
Link to post
4 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.