Skip to content
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

Implement saving ontop of the cpp version #3

Open
Rahix opened this issue Jun 19, 2018 · 3 comments
Open

Implement saving ontop of the cpp version #3

Rahix opened this issue Jun 19, 2018 · 3 comments

Comments

@Rahix
Copy link

Rahix commented Jun 19, 2018

Currently, this repo is reverted to an old version of the plugin to enable saving
files. This breaks loading of a few vtf files. In the long run, the right way would be to implement saving ontop of the newer cpp version

@AquariusPower
Copy link

AquariusPower commented Apr 20, 2019

just downloaded this plugin,
gimp opened one file and i could edit it properly,
when exporting it shows a button "HI! :)" does nothing clicking on it,
when I click export, the file is not saved and shows no error popup,
there was also no error on the console (running gimp at xterm),

obs.: I also tried just creating a new gimp blank image and export it and the same happened

any tip?

ps.: btw could the new code be put on a new branch ? may be someone could help on letting the new code be able to save too :)

EDIT: the image var is not being used, could be that?

GimpPDBStatusType
file_vtf_save_image (const gchar *fname, gint32 image, gint32 run_mode,
		GError **error)
{
	if (run_mode == GIMP_RUN_INTERACTIVE) {
		if (!file_vtf_save_dialog ())
			return GIMP_PDB_CANCEL;
	}
	
	gimp_progress_init_printf ("Saving '%s'", gimp_filename_to_utf8 (fname));
	
	gimp_progress_update (1.0);
	
	return GIMP_PDB_SUCCESS;
}

@xznhj8129
Copy link

Well? Anything? Anyone? Has literally anybody in the history of linux been able to export a vtf file?

@xDShot
Copy link

xDShot commented Feb 18, 2020

Yeah
wine vtex.exe mytexture.tga

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants