Code Monkey home page Code Monkey logo

gimp-vtf's Introduction

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

gimp-vtf's People

Contributors

artfunkel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

gimp-vtf's Issues

"Image is not 4bpp"

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

I can't get this to work with gimp 2.8...

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

g_malloc_n not found in libglib-2.0-0.dll

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

Issues calling VTF save from Python script

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

When trying to open a VTF file it gives me the error "File is corrupt; file too small for its header."

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

GIFs convert to 1 frame VTF (solved for now, just dropping a warning)

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

gimp-vtf 1.1 does not work with Gimp 2.2.11

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

Needs a major update.

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.

"Entry Point Not Found"

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:

Feature Request

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.