OpenXcom Forum

Modding => Tools => Topic started by: humax on December 11, 2015, 10:41:34 pm

Title: XCOM IMAGE EXTRACTOR
Post by: humax on December 11, 2015, 10:41:34 pm
XCOM IMAGE EXTRACTOR
http://www.openxcom.com/mod/xcom-image-extractor (http://www.openxcom.com/mod/xcom-image-extractor)

Discription:
XCOM IMAGE EXTRACTOR is a simple GUI for some tools of Bomb Bloke's X-Com toolkit.

You can extract the images from XCOM1 and XCOM2 to .gif format and back to gamefiles

Maybe coming soon...

CHANGELOG:

Version 0.1.0.0
Version 0.2.0.0
Version 0.3.0.0
Version 0.4.0.0
Title: Re: XCOM IMAGE EXTRACTOR
Post by: Solarius Scorch on December 12, 2015, 12:23:25 pm
Sadly, the download doesn't work.
Title: Re: XCOM IMAGE EXTRACTOR
Post by: humax on December 13, 2015, 02:15:49 pm
Hmm, at the moment i've uploaded v0.2.0.0 but still no download possible???
Any one a solution for the problem?

I add the file here.
Title: Re: XCOM IMAGE EXTRACTOR
Post by: Solarius Scorch on December 13, 2015, 03:55:11 pm
Hmm, at the moment i've uploaded v0.2.0.0 but still no download possible???

Nope, file not found. Thanks for attaching it here.
Title: Re: XCOM IMAGE EXTRACTOR
Post by: humax on December 13, 2015, 04:02:24 pm
Done, now the upload works...
Title: Re: XCOM IMAGE EXTRACTOR
Post by: Solarius Scorch on September 17, 2017, 04:43:54 pm
Humax, not sure if you still maintain this, but the xtractor stopped working. It wants Java, but Java is installed. Can you please advise?
Your Extractor is the best I've seen, so I'd very much like to have it back.
Title: Re: XCOM IMAGE EXTRACTOR
Post by: humax on September 17, 2017, 07:37:04 pm
Hi!
A long time ago, i worked on 0.3.0.0 but stopped it, becouse i had not enough time to work on. So i've only an unfinished 0.3.0.0 Version, but the 0.2.0.0 is still downloadable here. I've just tested it on windows 10 (x64) and it worked.

Do you get en error message by my programm? --> "It seems that JAVA is not installed!..."
Have you made a new installation of windows or occurs the error without any modification on your system?

I add version 0.3.0.0 here , but i think its not complete, but should work also fine. If i remember correctly all things written in the changelog of 0.3.0.0 should work, except the function "choosing the correct palette automaticly"... So give it a try. The java error should also occur in this version, but i've added a function, that copies the errormessage to the clipboard, so you can paste the message here to help me finding a solution.
Title: Re: XCOM IMAGE EXTRACTOR
Post by: Solarius Scorch on September 17, 2017, 09:01:01 pm
Thanks!

No, it's not working yet, but I suppose it might be a problem with .net.
Title: Re: XCOM IMAGE EXTRACTOR
Post by: humax on September 17, 2017, 10:42:08 pm
I don't think its .net.
What error message is shown?
Title: Re: XCOM IMAGE EXTRACTOR
Post by: Solarius Scorch on September 18, 2017, 01:10:21 am
What error message is shown?
Title: Re: XCOM IMAGE EXTRACTOR
Post by: humax on September 18, 2017, 10:24:42 am
OK, that means, that java is not installed or your system doesnt know where to find it.
Do you have Windows (x64) or (x32) system? Maybe you have windows x64 and javax32...
You can try to deinstall java and install it again from here: (choose the version that be ment for your windows version
http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html (http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html)

Here are some other tipps:
1) http://www.oracle.com/technetwork/java/javase/install-windows-64-142952.html (http://www.oracle.com/technetwork/java/javase/install-windows-64-142952.html)
2) http://docs.oracle.com/javase/tutorial/essential/environment/paths.html (http://docs.oracle.com/javase/tutorial/essential/environment/paths.html)
Title: Re: XCOM IMAGE EXTRACTOR
Post by: Solarius Scorch on September 18, 2017, 01:16:01 pm
I am running Windows 7, 64 bit. I have experimented with various Java versions - so far, nothing.
However, the program runs well on my laptop with the same system, so I'm sure it's a problem on my end.
Does this extractor require service packs? I only have the first one.
Title: Re: XCOM IMAGE EXTRACTOR
Post by: humax on September 18, 2017, 09:43:55 pm
My programm is only a gui for Bomb Bloke's XCOM Toolkit, which needs JAVA. My Programm only needs .net framework, but when my programm shows the error message you postet, i'm 100% sure, that my programm works and the XCOM Toolkit doesn't find your Java installation. You can check this by yourself:

Open the windows programm "cmd.exe".
navigate to the directory of the XCOM Toolkit (with command "cd" (change directory) and execute the file "spk2gif.bat"! If then you get a message like this :"unknown command JAVA" then the Toolkit can't find your Java installation.


Title: Re: XCOM IMAGE EXTRACTOR
Post by: Solarius Scorch on September 18, 2017, 09:54:05 pm
No, it didn't show me that message. I got this:

Code: [Select]
SPK to GIF Converter
--------------------
By Jeffrey Alexander (aka Bomb Bloke) 24/01/2008

Usage:

Spk2Gif <spkfile> <palette>

Palettes are:

UFO            TFTD
-----------    -----------
0: GeoScape    0: GeoScape
1: Base        1: Unknown
2: Graphs      2: Graphs
3: Research    3: Not Used
4: Tactical    4: Tactical

Palette is optional, will default
to Tactical if not specified.

For eg:
Spk2Gif ../UFOGraph/MAN_0F0.SPK 4

D:\ufa_zapasowa\XCOMextractor_v0.2.0.0\bb_tact>
Title: Re: XCOM IMAGE EXTRACTOR
Post by: humax on September 18, 2017, 10:23:29 pm
Hmm, now im confussed, becouse thats what the Programm should do, so it finds your Java Installation. So i must think about it...
Title: Re: XCOM IMAGE EXTRACTOR
Post by: humax on September 19, 2017, 07:16:01 pm
I am almost as far to publish the version 0.3.0.0.
Unfortunately, i had no time to continue to care about your problem.

You can try to delete (better rename to .bak) the file "settings.ini" in the folder that contains the file "xcomextractor.exe". That effects that you must set your paths again. Maybe that helps, but i do not think so, but its a try.

Can you post me the line of your settings.ini here, that starts with "PFAD BB-Toolkit: "
Title: Re: XCOM IMAGE EXTRACTOR
Post by: Solarius Scorch on September 19, 2017, 11:17:09 pm
Many thanks for remembering.

I will try to resolve this problem during the weekend, right now I can't really devote enough effort.
Title: Re: XCOM IMAGE EXTRACTOR
Post by: humax on September 20, 2017, 12:07:11 pm
All right!
0.3.0.0 is released.
Title: Re: XCOM IMAGE EXTRACTOR
Post by: Dr.Crowley on September 20, 2017, 10:37:59 pm
Great! But there is a little problem - as I wrote before in another tread, the download link for BB's toolkit in the discription is not working anymore. I know that you should not be bothered about this but it would be nice to fix this issue - at least for newcomers who would like to use your Image Extractor.
Title: Re: XCOM IMAGE EXTRACTOR
Post by: Yataka Shimaoka on September 21, 2017, 04:19:01 am
It works at strategy core, I just downloaded it last night
Title: Re: XCOM IMAGE EXTRACTOR
Post by: humax on September 21, 2017, 09:30:29 am
I Just checked the links, they are working for me...
Title: Re: XCOM IMAGE EXTRACTOR
Post by: Dr.Crowley on September 21, 2017, 10:10:35 pm
Oh well, it seems like ukrainian and russian IPs are banned on StrategyCore ;D I was forced to use french proxy to enter this site... what a bother.
Title: Re: XCOM IMAGE EXTRACTOR
Post by: humax on September 27, 2017, 03:31:02 pm
Done! Version 0.4.0.0 is released now.

Further development is not planned.

If there a still any bugs or any suggestions, let me know...
Title: Re: XCOM IMAGE EXTRACTOR
Post by: humax on January 23, 2018, 10:45:36 am
As i've written in post#1, my Tool is a simple GUI for some tools of Bomb Bloke's X-Com toolkit.
If Bomb Bloke's X-Com toolkit don't provides the features you need, i can't do anything for you, but the description of his tool is:
Converts UFO/TFTD image files to GIF and back (and BMP, in the case of PCKs). Supports every known game file format.
So i think you shoul extract all images / sprites that are in these games.
Title: Re: XCOM IMAGE EXTRACTOR
Post by: humax on January 23, 2018, 10:58:54 am
Which tool you can't download? my XCOM EXTRACTOR or Bomb Bloke's?
For Extracting the XCOM images you have to browse in your XCOM folder and select files or folders which contains the images you want to extract.
Title: Re: XCOM IMAGE EXTRACTOR
Post by: humax on January 23, 2018, 11:06:26 am
The topic contains Bomb Blokes XCOM Toolkit. If the download of my tool does not work on openxcom forum, i upload it here after work (now it's 10.00, i work till 14.00)
Title: Re: XCOM IMAGE EXTRACTOR
Post by: humax on January 23, 2018, 11:09:19 am
Yes, Mod Portal is down...
In reply#3 you can download my tool in version 0.2.0.0 . So you can test its first functions...
Title: Re: XCOM IMAGE EXTRACTOR
Post by: humax on January 23, 2018, 11:28:03 am
Can you extract other files, so that i know my tool ist working?
Maybe in version 0.2.0.0 these files are not supported. ".dat"-files are supported in version 0.3.0.0
Title: Re: XCOM IMAGE EXTRACTOR
Post by: Meridian on January 23, 2018, 11:33:56 am
EDIT: Sorry, i was trying to extract the UFO and TFTD image files like the bigobs, floorobs, handobs and other images to one of my folders on my W10AW17R2 laptop, and it's not working on version 0.2.0.0 for me. :(

I really cannot get the sprites from there. >.<

It works for me (and everybody else I know).

Extracted files can be found here: https://openxcom.org/forum/index.php/topic,2027.msg84198.html#msg84198
(direct: https://openxcom.org/forum/index.php?action=dlattach;topic=2027.0;attach=33251)
Title: Re: XCOM IMAGE EXTRACTOR
Post by: humax on January 23, 2018, 11:34:48 am
Ok, i upload version 0.4.0.0 after work.
Title: Re: XCOM IMAGE EXTRACTOR
Post by: humax on January 23, 2018, 03:53:17 pm
Hi, now in post#1 there is version 0.4.0.1 ready for download