gimp-vtf icon indicating copy to clipboard operation
gimp-vtf copied to clipboard

gimp-vtf is only usable on windows, not on linux and mac

Open GoogleCodeExporter opened this issue 10 years ago • 15 comments
trafficstars

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

GoogleCodeExporter avatar Mar 28 '15 19:03 GoogleCodeExporter

VTFLib is Windows-only.

Original comment by [email protected] on 5 May 2013 at 9:42

  • Changed state: WontFix
  • Added labels: ****
  • Removed labels: ****

GoogleCodeExporter avatar Mar 28 '15 19:03 GoogleCodeExporter

(And so is the Source SDK.)

Original comment by [email protected] on 5 May 2013 at 9:57

  • Added labels: ****
  • Removed labels: ****

GoogleCodeExporter avatar Mar 28 '15 19:03 GoogleCodeExporter

Valve are porting the Source Engine to linux and they should maybe port the 
Source SDK later ...

I've seen addons for Gnome to let see VTF thumb and support of rendering in EOG.
There is the open-source VTF-Lib here : 
http://nemesis.thewavelength.net/index.php?p=40

So why not porting it on linux, it could have more potential now ?

Original comment by [email protected] on 6 May 2013 at 3:33

  • Added labels: ****
  • Removed labels: ****

GoogleCodeExporter avatar Mar 28 '15 19:03 GoogleCodeExporter

OK, I wasn't aware that VTFLib had been ported. However I don't have a Mac and 
I don't have a Linux partition, so I won't be making any builds myself. If you 
can get everything running for those platforms send the binaries to me and I'll 
add them as downloads.

VTFLib-posix is here: https://github.com/impiaaa/vtflib-posix

Original comment by [email protected] on 6 May 2013 at 7:55

  • Changed state: Accepted
  • Added labels: Priority-Low, Type-Enhancement
  • Removed labels: Priority-Medium, Type-Defect

GoogleCodeExporter avatar Mar 28 '15 19:03 GoogleCodeExporter

Successfully build VTFLib-posix

but I can't finish for a unknow reason :

gcc -o bin/filevtf gimp-vtf/file-vtf.o gimp-vtf/file-vtf-load.o 
gimp-vtf/file-vtf-save.o gimp-vtf/winstuff.o -Llibs/ -I/libs -lvtf -lgimpui-2.0 
-lgimpwidgets-2.0 -lgimpmodule-2.0 -lgimp-2.0 -lgimpmath-2.0 -lgimpconfig-2.0 
-lgimpcolor-2.0 -lgimpbase-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 
-lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype 
-lfontconfig -lgobject-2.0 -lglib-2.0 -lc -lstdc++ -lm

gimp-vtf/file-vtf-load.o: in function « load »:
/home/utilisateur/Temp/gimp-vtf-read-only/gimp-vtf/file-vtf-load.c:140: 
undefined reference to « strcpy_s »

gimp-vtf/file-vtf-save.o: in function « vtf_get_data »:
/home/utilisateur/Temp/gimp-vtf-read-only/gimp-vtf/file-vtf-save.c:1482: 
undefined reference to « min »

collect2: error: ld return execution code 1
make: *** [bin/filevtf] Error 1

Original comment by [email protected] on 7 May 2013 at 6:19

  • Added labels: ****
  • Removed labels: ****

GoogleCodeExporter avatar Mar 28 '15 19:03 GoogleCodeExporter

Get latest and try again.

Original comment by [email protected] on 8 May 2013 at 8:20

  • Added labels: ****
  • Removed labels: ****

GoogleCodeExporter avatar Mar 28 '15 19:03 GoogleCodeExporter

Thanks for the latest fix ...

There is somes errors I've tryed to fix by myself ...

in file-vtf.h :
gimp-vtf/file-vtf.h:19:26: fatal error: config.h.win32 : No such file or 
directory
removed config.h.win32 inclusion
>>> I think we need to put platform clause.

in file-vtf-save.c :
gimp-vtf/file-vtf-save.c:955:17: error: static declaration of 
‘show_options’ follows non-static declaration
Changed declaration because it says:
static gboolean show_options(const gint32 image_ID)
to
gboolean show_options(const gint32 image_ID)

With these changes, I can build it, I can load VTF files, but I can't export 
them.
When I export over, it says : #error_layergroup_wrapper
When I export to another file : Procedure 'file-vtf-save' returned no return 
values

Original comment by [email protected] on 10 May 2013 at 1:53

  • Added labels: ****
  • Removed labels: ****

GoogleCodeExporter avatar Mar 28 '15 19:03 GoogleCodeExporter

Since VTFLib is written in C++.NET, it should be able to be ported to Mono.

However, it would be more ideal to port it to support both standard C++ and 
Mono/.NET.  This would provide the most options for porting.

Original comment by [email protected] on 28 Oct 2013 at 5:54

  • Added labels: ****
  • Removed labels: ****

GoogleCodeExporter avatar Mar 28 '15 19:03 GoogleCodeExporter

VTFEdit is .NET, VTFLib is native.

Original comment by [email protected] on 28 Oct 2013 at 6:23

  • Added labels: ****
  • Removed labels: ****

GoogleCodeExporter avatar Mar 28 '15 19:03 GoogleCodeExporter

To [email protected]

VTFLib compilation on mac and linux is not a problem and VTFEdit is not needed 
for gimp-vtf.

The problem here is the compilation of gimp-vtf on linux and mac is the problem 
since, as I think, it's only possible to use native modules (or python), not in 
.NET.

Original comment by [email protected] on 29 Oct 2013 at 6:19

  • Added labels: ****
  • Removed labels: ****

GoogleCodeExporter avatar Mar 28 '15 19:03 GoogleCodeExporter

It's ridiculous that this plugin is still not on Linux. Especially considering 
the plugin was made for a program that started on Linux...

Original comment by [email protected] on 24 Feb 2014 at 7:35

  • Added labels: ****
  • Removed labels: ****

GoogleCodeExporter avatar Mar 28 '15 19:03 GoogleCodeExporter

I'm entirely open to someone fixing that. In the meantime, I don't use Linux, 
demand for Source Engine tools on Linux is very low, and 90% of visits to this 
site are from Windows computers.

Original comment by [email protected] on 24 Feb 2014 at 11:07

  • Changed title: gimp-vtf is only usable on windows, not on linux and mac
  • Added labels: ****
  • Removed labels: ****

GoogleCodeExporter avatar Mar 28 '15 19:03 GoogleCodeExporter

Respectfully, that is a good approach to keep the traffic for this site 
dominated by windows-users.  It's a self-fulfilling prophesy.

Original comment by [email protected] on 18 Jan 2015 at 9:39

  • Added labels: ****
  • Removed labels: ****

GoogleCodeExporter avatar Mar 28 '15 19:03 GoogleCodeExporter

We definitely need a Linux version...

Original comment by [email protected] on 1 Mar 2015 at 7:34

  • Added labels: ****
  • Removed labels: ****

GoogleCodeExporter avatar Mar 28 '15 19:03 GoogleCodeExporter

https://github.com/linux-source-tools/gimp-plugin-vtf is the linux version of this program, i have installed it an it works resim

nottux avatar Apr 08 '18 15:04 nottux