We all know that .jpgs, went unsupported a while ago, but a lot of the files we download today are still jpeg, and when we have jpeg, they don't appear in the test or build game. I, have a fix.
First, download Notepad++ (I use the portable version for no installation!) We'll use that later on.
Go to your FPS Creator/files
Hold Shift, and right click on entity bank, click Open CMD Here
Copy this code.
for /r %a in (*.jpg) do ren "%a" "%~na.png"
Now in the cmd, right click, and paste. This should convert all current .jpg(s) to .png(s).
But we're not done. We have to modify the .fpe files to use the new .png texture. This is where notepad ++ comes in.
Open up Notepad++, mouse over the Search tab, and hit find in files. Make it look like this:
Find what: jpg
Replace with: png
Filters: *.fpe
Search Mode: Extended
Yes, it has the *.fpe, that is not a mistake. It makes it search for .fpe. Now, the directory, you should direct to your entitiy bank, and make sure 'In all sub-folders' is checked, under the close button to the right.
Click Find All. It should find all the fpe files telling them to get the jpg instead of png.
Go down the the box on the bottom.
CRTL+A or Select all.
Right click and open all. Now go to the search tab again. Click find.
Hit the replace tab and make it look like this.
Find what: jpg
Replace with: png
Now hit 'Replace All in All Opened Documents'
-----------------------------------------------
EDIT: Never do the stuff in the code snippet. It crashes your PC by opening too many files. I need to find a way to only edit recently edited files. My best advice is to search for another solution, or manually do it. -----|
| Do not do!
|
V
Next, we're going to have to open all the images and save them.
Right click your entity bank folder (NOTE: MUST HAVE PAINT SET AS DEFAULT IMAGE EDITING FOR .PNG OR SOME OTHER PROGRAM THAT EASILY CLOSES OUT.)
Also, it's advised not to interrupt this, as it requires some manual work.
Paste this in the cmd by right clicking.
for /r %a in (*.png) do "%a"
This should open every single .png texture you have.
Put your mouse on the X in the corner.
Rapidly press CRTL + S, then press the X button. This should rapidly save your image, and then you close it.
You're done!
Meh