able72 Wrote:Sweet. I'd love that photoshop script, only I run the game at 1600x1200 (I still use a 22" CRT)
Easy enough.. You just change the resize step to size to what you want. In my case, I run wide screen with the widescreen GUI mod, so all my screenshots and GUI screens happen to be 1680x1050, but can do at 1600x1200 just as easy. If you have PS, here's a guide to do it.
Starting conditions:
Have a folder of the images you want to process
Build a .PSD template of the text and images that you want to overlay the target images. Make sure the image size is the SAME as your target resolution of your load screen and GUI . The template should have an empty layer to paste your target images into.
Steps to recreate:
Show the actions window
Create a new action, Name it whatever you want - mine is "Create IL2 Load Screens"
Hit the record button
Navigate to the folder where your .PSD overlay image is and select it
Open the PSD file
Navigate to the folder of your images to be processed
Pick one of the images to be processed (it doesn't matter which one, because we will be overriding this in the batch process anyway)
At this point, you are still in action record mode and have one of your images open, and the PSD overlay image open, both at your target resolution
Select the image you picked to process
Select all the image
Copy
Close the image
Paste the image (in the copy buffer) into the blank background in the PSD image
Resize to 1024x768, with the option to save aspect ratio OFF (when it gets stretched back out in game, it will look right again)
Save as Targa to wherever you want the completed images to go.
When the options come up, save as 24 bit as normal. You can name it whatever you want, because we are going to override this with the batch process too.
Close the image
Stop the recording of the action
** This is important **
Uncheck the first open command in your action script. This will allow us to use the batch command to feed it all the files. Otherwise you will get the same image every time!
At this point PS is still open, but the files are all closed. In the actions window, you will have something that looks like this:
Now its time to run the batch from under the file menu:
On the batch screen, it should look just like this:
There are two folders. The first is where the images to be processed are, and the second is where you want to put them. Once you click ok, it will build your IL2 ready .tga files, in this case all named Background with a sequence number appended.
Voila!
I just created 300 splash screens in about 5 min
If you want to be clever, you have have multiple PSD overlay screens, build a whole mess of them, then just hand delete the ones you don't like the look of.
Hope this makes easy work for you... I also did a variant of this that simply resizes and saves as .tga for my mission load screens.