This is a post processor for normal maps.
It adds a normal map coloring to an image.
Usage here is for taking the AVP default normals and converting back into a correct normal without the grain effect of most other programs.
- CREDITS
1) Special thanks to GECO, they provided the information and such making this possible
2) P_Normal Python script by trolop
3) CMD Prompt Version , Tutorial and other python scripts by vhetration (Currently 2 scripts, one for normals, one for greyscale, im adding more in the future)
- INFORMATION
1) Your post-processed image should be saved in the same directory that the input image was found. It will carry over the same name as you had it, but with "_processed" at the end.
2) You may edit the python script to your liking3) You may also use other python scripts with this. you may have to edit them to use either this CMD format or set it up so their/your image can be found. The P_Normal.py will derive the file from a certain argument location in CMD prompt.
4) If you don't already have the python packages i.e. the "python" command , windows should prompt you with a Microsoft store to install the packages if you enter the command, you may also install by other means if you want.
5) I would put the CMD.exe in the folder for you, but it thinks it's a virus when you download it and open it. You'll have to either create your own CMD.exe into the folder or simply use windows + R and open the CMD prompt that way. Either way will work for this.
- INSTALLATION
1) Open CMD (Windows Key + R , then type CMD , press ENTER)
2) type
python
3) press "ENTER"
if the python console loads, you may continue.
Else, you must install the python packages.
Easiest way this is done is through the Microsoft store.
- USAGE (For P_Normal.py)
1) Open CMD Prompt, you may also put your own CMD.exe in the folder if you wish. (I cant for you because it thinks its a virus )
2) type in
python
press 'SPACE' 3) Drag and drop the P_Normals.py into the opened CMD.exe then press 'SPACE' 4) Drag and drop a .DDS or .TGA File into the CMD prompt that was opened. .PNG and other formats also work from my experience. 5) Press 'ENTER' 6) The CMD will now be running the python script. It will output its resolution in the CMD. Wait for the image to be processed. 7) Once processed, the image will be opened automatically for view in your default image program It will also be saved in the same directory as the input image. NOTES: To solve PIL error: 1) Windows Key + R , type "CMD" , press enter
2) type
pip uninstall Pillow
press enter
3) Open CMD again because it closes sometimes lol
4) type
pip install Pillow
press enter
OR
1) In the file, there is an "Install" folder. Just use the two batch files to do this.
=========================================================================
To solve PIP error:
1) Open CMD
2) type
curl Bootstrap.pypa.io -o get-pip.py
Press Enter
3) after done type
python get-pip.py
Press enter
4) after that's over, you should be done.