-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Script not working #1
Comments
Hi, I've tested but have not been able to reproduce the error you describe. Can you let me know what version of Photoshop do you use? If not sure Open Photoshop, go to the menu Since you mention ScriptingListener, you could try recording the action of saving with the Intel Works plugin as DDS and compare the listener output to that on the script, which you can find near the end of the file. If there are any other relevant details you can provide feel free to do so. Thanks. |
Thanks for your reply. In fact, I have tested the following versions: PS cs6, PS cc2015, PS cc2019,
I tried to export DDS using PhotoShop action record and it worked, |
Added a message, I used IntelTextureWorks' version is 1.0.4 |
Hi, That's really odd, and makes me think something is off with the Intel DDS plugin, my first suggestion if you haven't tried already is to reinstall that plugin. I also use v1.0.4 (it hasn't received any updates since I wrote this script). You could also try:
If none of that helps then I'm afraid I can't really tell what might be wrong, maybe google searches regarding this issue with scripting listener might help. If nothing helps, it's worth mentioning I have another tool for Fallout texture conversion called FalloutTextureWatcher. This one has a different workflow, as it expects you to save TGA files in a source folder and then it will convert them to DDS on the output path you select. Instead of the Intel plugin, this uses TexConv, a commandline tool from Microsoft. Not sure if that will be useful in your workflow but feel free to give it a look. I'll see about publishing a release soon, but you can compile it yourself if you have VS. |
PS: Here's the compiled version of the other tool, in case it helps: https://github.com/yogensia/FalloutTextureWatcher/releases/tag/1.0 It's an early version from last year that I didn't have time to test and document enough. I've re-tested it before releasing it though, and have had no issues. An important thing to mention though is that it will only detect files ending in |
Thanks for your help, I will try to turn off the firewall or run PhotoShop as an administrator.If there are any new developments, I will let you know here. |
Regarding TexConv, you can find all the details of the command line tool in the wiki link I posted earlier. As you'll see there it is very flexible and does support BC7, GPU compression, and has many alpha and color settings... I'd say it's more complete than Intel's plugin, but harder to use due to being a command line tool, and to get all those features you'd have to run the tool manually or make a custom script. My watcher tool just uses the best compression settings I found for _d _s and _n files. I'm not sure about its lossless support though, I've never needed that in DDS formats. In that repository from Microsoft you can also find https://github.com/microsoft/DirectXTex/wiki/Texdiag. Again this one is also a command line tool, but used to get detailed info from existing DDS files, which can be very useful at times, as well. So If you have very specific needs regarding DDS, I strongly recommend you take a look at those tools. Good luck! |
I believe that the script has been correctly installed, including Intel texture work, but the PS will prompt "Error 8800: the general photoshop Error occurred. This functionality may not be available in this version of photoshop.
-the parameters for command "save"are not currently valid.
The line: 266
ExecuteAction (idsave, des135, DialogModes.NO);
The script was terminated at the last line, and I recorded the saving process with scriptinglistener. I found that the script could not correctly use intelTextureWork, but it worked well when I recorded with scripts like "TGA" "JPG". I am looking forward to your answer, thank you
The text was updated successfully, but these errors were encountered: