artfunkel / gimp-vtf Goto Github PK
View Code? Open in Web Editor NEWAllows the GNU Image Manipulation Program to read and write Valve Texture Format files on Windows.
Allows the GNU Image Manipulation Program to read and write Valve Texture Format files on Windows.
GIMP VTF PLUG-IN 1.2.1 Tom Edwards, 19th May 2012 ******************************* To install, extract both the EXE and DLL to your GIMP plug-ins folder. This is typically at C:\Users\<USER>\.gimp-2.8\plug-ins\. If you prefer, there is also a plug-ins folder in your main GIMP installation. This is at <gimp install dir>\lib\gimp\2.0\plug-ins\. To get the latest version of the plugin and download source code visit <http://code.google.com/p/gimp-vtf/>. Changes ******* 1.2.1 * Fixed errors on Windows XP 1.2 * Upgraded to GIMP 2.8 * Added 64-bit support * Now saves top-level layer groups to separate VTF files. Store albedos, bumps, masks, and anything else in the same XCF! * Export settings are now remembered after GIMP is closed * Now writes I8/IA8 if the image is grayscale and the user wants an uncompressed format * Fixed non-localised layer names when loading animated VTFs * Removed HDR pixel formats. Neither GIMP nor VTFLib support this yet. 1.1 * Upgraded to VTFLib 1.3.2 for VTF 7.5 support * Each open image now has its own save settings * Save settings are now filled in when loading a VTF * Flags not covered by the UI are now preserved when saving an opened file * Added a simplified format selection (do you want compression, do you want alpha) * Added options to save with LOD disabled, Clamping and/or the Bump/SSBump flags * Added a VTF version option when saving * Added LOD Control setting (human-configurable!) * Added explanatory tooltips * Added localisation support (no actual translations, but creating them is now possible) * Fixed errors when saving an image after its designated alpha layer has been removed * Fixed error when alpha layer doesn't fit the image * Graceful out-of-memory handling 1.0.4 * Fixed embarrassing error when saving a single-frame image. It took 300 downloads to get one bug report... 1.0.3 * Fixed errors when saving grayscale or indexed images * Layers are now resized and offset as appropriate when saved as frames/faces/slices 1.0.2 * Fixed GIMP error report on toggling "Use layer as alpha channel" when there are no suitable layers * Further tweaks to format list: wierder options removed, remainder better sorted * Corrected reported alpha bits for BGRA4444 * Renamed "Compression" header to "Pixel format", as only the DXTs are really compressed 1.0.1 * Fixed save failure when using the only layer in the image as the alpha channel (can no longer do this) * Fixed error messages not making it from the file loader to GIMP * Sorted format list so that all the DXTs are at the top * Corrected alpha bit depth for RGBA16161616(F) * Code elegance, and fixed VS post-build event for users not called Tom
What steps will reproduce the problem?
1. I load a GIF I previously made. (Attatched)
2. I press "Save As".
3. I select "Save as Animation Frames"
4. I press "Save"
What is the expected output? What do you see instead?
I expect it to save, but get two simultaneous error message instead.
"Calling error for procedure 'gimp-image-convert-rgb':
Procedure 'gimp-image-convert-rgb' has been called with an
invalid ID for argument 'image'. Most likely a plug-in is trying to work on an
image that doesn't exist any longer."
"Saving 'K:\PICTURE\i (heart) mau5 icon.vtf' failed:
Internal error: image was not 4bpp"
What version of the product are you using? On what operating system?
gimp-vtf-1.0.2
Please provide any additional information below.
I did not see any issues at all, so I can only assume nobody else is having
troubles. Just me.
Original issue reported on code.google.com by [email protected]
on 29 May 2011 at 3:26
What steps will reproduce the problem?
1.I followed instructions and placed the two files in the plug-ins folder
2.I still cannot save my images as a vtf
What is the expected output? What do you see instead?
I should be able to select .vtf as an extension, and I cannot.
What version of the product are you using? On what operating system?
latest. featured from download page
Please provide any additional information below.
using x64 version of gimp and plugin
Original issue reported on code.google.com by [email protected]
on 10 Jun 2012 at 3:49
What is the expected output? What do you see instead?
Have linux and mac builds
What version of the product are you using? On what operating system?
Gimp 2.8 on Ubuntu 13.04
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 5 May 2013 at 3:30
What steps will reproduce the problem?
1. Extract both files in C:\Users\Dani\.gimp-2.6\plug-ins\.
2. Extract both files in C:\Program Files (X86)\GIMP-2.0\lib\gimp\2.0\plug-ins\
3. Run program
What is the expected output? What do you see instead?
When I run the program, when loading scripts and plugins, a windows error
message appear in the middle of the screen saying that "Can not find reference
to the entry g_malloc_n in the library of dynamic links libglib-2.0-0.dll (I
just fast-trasnlate into english, I've got my windows in spanish though...).
What version of the product are you using? On what operating system?
Gimp 2.6, Windows 7 Ultimate
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 24 Apr 2011 at 2:33
Hello!
I'm not sure if this is a bug as much as it is just me misunderstanding how this plugin api works.
Basically I have some repetitive stuff I'm automating with a Python script.
I need to be able to export layer groups as VTF's with the layers as animation frames.
This is the code im testing with:
image = gimp.image_list()[0]
drawable = pdb.gimp_image_get_layer_by_name(image, "test")
file_path = r'C:\Program Files (x86)\Steam\steamapps\common\Team Fortress 2\tf\custom\test\materials\hud'
file_name = os.path.join(file_path, "test.vtf")
pdb.file_vtf_save(image, drawable, file_name, file_name, 0, 0, 1, 8, 0, 1, 1, 0, 0, 0, drawable)
This can be run via the Python console.
The file_vtf_save function is saying there is no data to export. Passing -1 for the last layer argument rejects it as an invalid type.
It would be a huge time saver if I could get this to work. Do you have any thoughts about troubleshooting this?
Thanks
What steps will reproduce the problem?
1. simple extraction of vtf plugin files into the "user\gimp 2.6\plug-ins\"
2. simple extraction of vtf plugin files into the "C:\program files\gimp
2.0\lib\gimp\2.0\plug-ins\" also results in the same error.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Gimp v2.6, on Windows Vista 32bit
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 8 Apr 2011 at 10:39
What steps will reproduce the problem?
1.load Gif, Image>Mode>RBG, add Alpha layer, delete background
2. save as VTF, 8-bit DXT5, nothing (Merge Visible), Generate Mipmaps
3. like it shows in this pic
http://www.gamebanana.com/tuts/screens/10391?screen=5
What is the expected output? What do you see instead?
-- a file of 1-2 kb, with 1 frame
What version of the product are you using? On what operating system?
Gimp 2.6.11
Windows Vista (32 bit, fully updated)
Please provide any additional information below.
the "nothing (Merge Visible)" appears to have been the offending setting,
changing to "Animation Frames" fixes this, you should set this as default...
Original issue reported on code.google.com by [email protected]
on 12 Aug 2011 at 7:00
I'm still using Gimp 2.2.11 on Win Xp 32bit.
After installing gimp-vtf 1.1, Gimp's startup screen throws an error, saying:
file-vtf.exe - Entry point not found
The procedure entry point "g_malloc_n" could not be located in the dynamic link
library "libglib-2.0-0.dll".
Is gimp-vtf 1.1 still designed to work wih Gimp 2.2 or do I have to upgrade?
Thanks in advance and keep up the great work ;-)
Original issue reported on code.google.com by [email protected]
on 31 Aug 2011 at 5:38
This plugin didn't get any update after 2.8, It really needs an update to 2.10, one of the issues is broken labels + a bunch of random folders won't stop appearing.
"LC_MESSAGES", "en" and "locale" are the folders that keep re-appearing in HDDs.
What steps will reproduce the problem?
1. Launching GIMP with the plugin
What is the expected output? What do you see instead?
GIMP working with the plugin.
An error window.
What version of the product are you using? On what operating system?
[GIMP 2.8] VTF Plug-in 1.2 (32-bit).
Win XP Pro 32 bit
Please provide any additional information below.
View attached file.
Original issue reported on code.google.com by [email protected]
on 19 May 2012 at 4:01
Attachments:
First I want to thank you for this wonderful plugin, I use it very often.
However, I find it a bit bothersome having to manually write VMT files to
accompany their VTF images and I would like to suggest adding VMT creation
options on your save dialog.
for example, the texture types "LightmappedGeneric" .... "UnlitGeneric"
the flags $nolod, $translucent, $surfaceprop, etc. and if the VTF is animated,
the associated VMT would contain the animation code:
"Proxies"
{
"AnimatedTexture"
{
"animatedTextureVar" "$basetexture"
"animatedTextureFrameNumVar" "$frame"
"animatedTextureFrameRate" "8"
}
}
with a specifiable frame rate, of course.
Original issue reported on code.google.com by [email protected]
on 29 Dec 2013 at 2:40
VTFs accept any dimension that is a multiple of 4 such as 40x40 or 80x20, and the Source engine is able to load them without issues.
Removing the power of 2 dimension restriction in the VTF exporter and replacing it with a multiple of 4 restriction would be nice.
See this tool which can generate multiple of 4 VTFs: https://cdn.discordapp.com/attachments/208546171155775489/595549951782551552/Spraymaker_5000.rar
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.