Sign in to follow this  
Nem

VTF Plug-In (1.1.0)

Recommended Posts

I still can't save as a VTF file...

Yeah, since 3.36 it does not work anymore... :(

I would be soooooo glad, if it would be updated or somebody could make a new one. It was so usefull and made work faster than exporting files in another programm, then editing the exported file, then saving it somewhere, then create a new vtf in the other programm, then importing the file from PDN, then looking at the flags and settings of the original, then saving and overwriting it...and if you wanted to create an animated vtf, you could use the layers instead of different files for every frame...it was just a great plugin, even better than the PhotoShop one!

Share this post


Link to post
Share on other sites
I've released a new update (v1.0.4) that supports version 7.4 of the VTF format.

Still no 64-bit support? :(

You can run Paint.NET in 32 bit mode by using a tool from Microsoft called corflags.exe

It comes with the .NET SDK

run it like this in the Paint.NET folder (command line prompt):

corflags paintdotnet.exe /32BIT+

to revert to 64 bit mode do:

corflags paintdotnet.exe /32BIT-

I figured out this after reading this blog post.

I'm not sure about the Licensing so I can't provide a package with corflags.exe.

On my system it is located in the folder "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\x64\".

It would be nice if Paint.net was provided with a 32bit launcher that basically just launches the app in 32 bit mode on 64 bit OS. To be useful for those legacy plugins that has no 64 bit support (or depend on 32 bit only third party libraries).

I copied Paintdotnet.exe to paintdotnet_32.exe and then reverted to 64 bit on the original paintdotnet.exe

Share this post


Link to post
Share on other sites

It would be nice if Paint.net was provided with a 32bit launcher that basically just launches the app in 32 bit mode on 64 bit OS. To be useful for those legacy plugins that has no 64 bit support (or depend on 32 bit only third party libraries).

There's exactly 1 plugin that needs this. You've already figured out how to solve it. There's no reason for me to go do anything for Paint.NET itself.

I am not going to encourage plugin authors to ship 32-bit only plugins by making it easy to launch Paint.NET in that mode. It will only confuse people and add more mystical things to troubleshooting lists full of "did you try _____" runarounds.

Share this post


Link to post
Share on other sites

Apologies to everyone for leaving this so long. There is a laundry list of other things that need to be done to properly support x64 in VTFLib. I started last weekend with the conversion of HLLib and I will continue with VTFLib this weekend. Unfortunately it will have to stay with the Visual C++ 2005 SP1 x64 libraries as nVIDIA scrapped nxDXT in favor of a newer version which is missing many features VTFLib relies on (and they don't supply VS 2008 .libs).

Once VTFLib is up to speed, I'm hoping this plug-in won't take too long.

Share this post


Link to post
Share on other sites

Have you tried static linking to the runtimes? That would get rid of the installation issue completely.

Suppose I could, but I've been trying to adhere to the LGPL (even though I've released the source code to the plug-in).

Anyhow, version 1.1.0 adds x64 support. Thanks Rick for all your help. :beer:

Share this post


Link to post
Share on other sites

I wanted to make my own background for Garry's Mod. I tried it tons of times, no avail. But on one try, I accidently chose P8 (not avaliable) and now I can't save any VTF things. When I chose where to put it, it goes to the thing after the "where to put it" thing, it freezes and doesn't respond. No matter how many times I try, I can't switch P8 to something else. How do I switch it? Sorry for HUGE bump. It's just kind of urgent.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this