Author Topic: OpenXcom Modding Tools by Falko  (Read 2867 times)

Offline Pandemonium

  • Sergeant
  • **
  • Posts: 26
  • Evil round every corner Careful not to step in any
    • View Profile
OpenXcom Modding Tools by Falko
« on: August 31, 2021, 03:00:14 am »
When I trying to use the sprite combiner it splits my sprites into multiple sheets. Even if they follow the same name convention. Is there a way to stop it from doing that? There's fewer than 64 and they all have the same file format etc. Also is there an offline version somewhere? Like a github?

Offline The Martian

  • Commander
  • *****
  • Posts: 754
  • "It implores you to listen to its arguments..."
    • View Profile
Re: OpenXcom Modding Tools by Falko
« Reply #1 on: August 31, 2021, 06:03:37 am »
When I trying to use the sprite combiner it splits my sprites into multiple sheets. Even if they follow the same name convention. Is there a way to stop it from doing that? There's fewer than 64 and they all have the same file format etc.

I haven't seen it do that before.

Usually it just combines the images into the number of rows you select.

Could you post a screenshot of the site with your images loaded? Perhaps someone will spot something.

Spoiler:

Also is there an offline version somewhere? Like a github?
That would be great.

I'd love to have that excellent tool kit backed up on a disc.
(Just in case)
« Last Edit: August 31, 2021, 06:11:52 am by The Martian »

Offline Pandemonium

  • Sergeant
  • **
  • Posts: 26
  • Evil round every corner Careful not to step in any
    • View Profile
Re: OpenXcom Modding Tools by Falko
« Reply #2 on: August 31, 2021, 04:12:50 pm »
Blur is intentional

Spoiler:

Edit: I don't guess I know how to embed my image under the spoiler.

« Last Edit: August 31, 2021, 04:24:07 pm by Pandemonium »

Offline The Martian

  • Commander
  • *****
  • Posts: 754
  • "It implores you to listen to its arguments..."
    • View Profile
Re: OpenXcom Modding Tools by Falko
« Reply #3 on: August 31, 2021, 05:45:37 pm »
Have you tried clicking "Convert".

The images are loaded in but not merged until that button is pressed.

The "Download" button remains grayed out until the "Convert" operation is finished.



Edit:
I looked at your screenshot again and now I think I see what you mean.

The 2 images in the second set should should be in the above 62 image set right?

I tried to duplicate it using 64 images but it all combined into one sprite sheet correctly when I tried.

Spoiler:

Perhaps try naming the files differently. For example when I tried to reproduce the error I named each file v_001.png, v_002.png, v_003.png, etc.

Spoiler:



Edit (Again):
A while ago The Reaver of Darkness uploaded a all of the image data from X-COM: UFO Defense & X-COM: Terror From The Deep.

Spoiler:

The files all had a three digit number after them before they were combined, so if you have not already try using names like "imagename_001.png - imagename_064.png" instead of "imagename_1.png - imagename_64.png"

« Last Edit: August 31, 2021, 06:45:18 pm by The Martian »

Offline Pandemonium

  • Sergeant
  • **
  • Posts: 26
  • Evil round every corner Careful not to step in any
    • View Profile
Re: OpenXcom Modding Tools by Falko
« Reply #4 on: August 31, 2021, 08:03:55 pm »
First: I figured it out. The file extention for the rouge two files was in caps (PNG). The rest were lowercase (png).

Second: Thanks for the link and thanks to The Reaver of Darkness for his work.

Third: How do I embed an image under the spoiler [spoiler ][ /spoiler]? And how do I link one directly into my post instead of under everything?

Offline The Martian

  • Commander
  • *****
  • Posts: 754
  • "It implores you to listen to its arguments..."
    • View Profile
Re: OpenXcom Modding Tools by Falko
« Reply #5 on: September 01, 2021, 10:16:15 pm »
First: I figured it out. The file extention for the rouge two files was in caps (PNG). The rest were lowercase (png).

Glad to hear you got it working.

Third: How do I embed an image under the spoiler [spoiler ][ /spoiler]? And how do I link one directly into my post instead of under everything?

This is how I do it. (If someone has a better method please let me know.)

(1) Attach an image to your post.

(2) Post that post to the forum.

(3) Copy the url of the image you just attached to the post.

(4) Edit / Modify the post.

(5) Paste the attached image file's url into the forum post you are editing.

(6) Encapsulate it with the image code brackets:
Code: [Select]
[img][/img]
Example with the image URL inside: (Don't worry that the address doesn't end in .png, .jpg, gif, etc.)
Code: [Select]
[img]https://openxcom.org/forum/index.php?action=dlattach;topic=10092.0;attach=54836[/img]
(7) Encapsulate the image brackets inside the spoiler code brackets:
Code: [Select]
[spoiler][/spoiler]
Example with the image URL inside:
Code: [Select]
[spoiler][img]https://openxcom.org/forum/index.php?action=dlattach;topic=10092.0;attach=54836[/img][/spoiler]


Having to link the images after first posting it by editing the post is a bit strange but it works.