The BDcraft forum has migrated.
You are currently browsing the Archived BDcraft Forum.
To post a new topic, comment or patch, let's go to the new forum: BDcraft Community Forums

Mod Texture Pack Unstitcher

11 replies [Last post]
MetroidMan347's picture
MetroidMan347
Offline
I searched for an answer myselfI like to comment everythingI love to post here
Joined: 27/05/2013

Hey BDCF!

Note: This topic is aimed at patch creators.

I've recently been noticing some Sphax patches haven't been properly updated to the new format of 1.5 As such I've written a program to aid the transition. You're probably aware that when the new format was announced Dinnerbone released an unstitcher for converting texture packs, which is great for Vanilla but will not help with packs for mods (like Sphax patches for example Tongue). The program is not too complicated. It works with simple config files. Every image is assigned a line in a *.names file with the name the file should have once it is unstitched and using the word "blank" for gaps (to avoid the folder being cluttered with 10 million black squares you'd have to delete). Should you choose not to create a config file you can unstitch the files without one but you will have to manually rename them and delete the black squares. I highly recommend you take the time to write a config file and distribute it for other pack creators. Everyone's better off in the long run. You can check the config files I've written for reference. I hope you'll find this program useful and I hope I'll see more patches updated to the new format.

Cheers!

Laterz,
M

MAJOR UPDATE: 9:30pm 6/10/2013
MCUnstitcher v1.21 released
See changelog for new features
MCUnstitcher Config GUI v1.0 released
ComputerCraft Terrain.names Rewritten in the correct format

Downloads
Download MCUnstitcher.exe
Download BuildCraft Configs.zip
The unstitched blocks and
Download ComputerCraft Terrain.names

MCUnstitcher Config GUI Controls:
(When in edit menu)
Mouse Up/Down - Scroll up/down
Shift + Mouse Up/Down - Scroll left/right
R - Configure Row
O - Open new image
L - Load config file
S - Save config file
M - Return to main menu

Known Oddities:
There is currently no way to automatically delete the blank.png file generated by the config files.
In semi-rare cases the program has been known to have issues with transparent images. Some manual modification may be necessary.

To Do:
Make a nice GUI to create config files Done!
Fix blank.png oddity
Write a Vanilla config (Very Low Priority due to Dinnerbone's unstitcher existing)

Changelog:
v1.21 Minor bugfix
v1.2 Major overhaul of saving system. Now can choose directory to save unstitched images.
v1.1 Added functionality to automatically place unstitched images in subdirectories through config files and updated BuildCraft configs to make use of this feature.

Comments

HanFox's picture
HanFox
Offline
I am Forum Lead ModeratorI released a major BDcraft patchI love galleriesI searched for an answer myselfThe Cake is a lieI explored bdcraft websiteI like to comment everythingI love to post here
Joined: 16/04/2012

A program has already been made by the Soartex team which has quite a few configs already:
http://forum.feed-the-beast.com/threads/mod-texture-unstitcher-wip.17460/

MetroidMan347's picture
MetroidMan347
Offline
I searched for an answer myselfI like to comment everythingI love to post here
Joined: 27/05/2013

I did see that. My thinking is that it's always nice to have options. From what I understand mine seems simpler to me but I could be wrong. I just know that I figured if I was making it I might as well release it. It's been very helpful to me so maybe it can be helpful to others.

Additionally I'm working on a GUI to easily make config files with.

HanFox's picture
HanFox
Offline
I am Forum Lead ModeratorI released a major BDcraft patchI love galleriesI searched for an answer myselfThe Cake is a lieI explored bdcraft websiteI like to comment everythingI love to post here
Joined: 16/04/2012

So be it. I am interested in which mods you've seen that are still not updated to 1.5 though?

MetroidMan347's picture
MetroidMan347
Offline
I searched for an answer myselfI like to comment everythingI love to post here
Joined: 27/05/2013

BuildCraft and ComputerCraft. The mods themselves are up to date, it's the patches that aren't. With how tedious it would be to unstitch without some kind of assistance I'm not surprised. I'm sure there are others but these are the ones I've personally encountered.

IAmOmicron's picture
IAmOmicron
Offline
I like to comment everythingI love to post here
Joined: 13/05/2013

Both BC and CC are up to date Happy

MetroidMan347's picture
MetroidMan347
Offline
I searched for an answer myselfI like to comment everythingI love to post here
Joined: 27/05/2013

...
I know CC wasn't up to date 5 minutes ago (I know this because I helped update it) and when I checked BuildCraft a couple of days ago it wasn't either. As a matter of fact I made this for the purpose of unstitching BC and branched out from there. (We *are* talking about the Sphax Patches and not the actual mods right?)

HanFox's picture
HanFox
Offline
I am Forum Lead ModeratorI released a major BDcraft patchI love galleriesI searched for an answer myselfThe Cake is a lieI explored bdcraft websiteI like to comment everythingI love to post here
Joined: 16/04/2012

I'm going to guess you may have downloaded BC and CC from here: http://bdcraft.net/patches-list

However, via the forum both patches have been up-to-date for some time.

http://bdcraft.net/forum/patch-buildcraft-3
http://bdcraft.net/forum/512x-32x-computer-craft-v1481

MetroidMan347's picture
MetroidMan347
Offline
I searched for an answer myselfI like to comment everythingI love to post here
Joined: 27/05/2013

Ah okay! I was talking about the CC patch by francogp. As for BC you are indeed correct.

MetroidMan347's picture
MetroidMan347
Offline
I searched for an answer myselfI like to comment everythingI love to post here
Joined: 27/05/2013

MAJOR UPDATE!
MCUnstitcher v1.21 released: Fixed a small bug.
MCUnstitcher v1.0 Released: Create config files in a simple manner. See OP for details.
ComputerCraft Terrain.names Updated: A complete rewrite of the CC config file. This one was made using the proper format.

All links are in the OP.

Laterz,
M

Blu_Haze's picture
Blu_Haze
Offline
Joined: 17/02/2013

Hey this works perfectly, thanks.

You're right, it does feel a bit easier to use. Didn't need to mess with any config files or zipping anything together. Just tell it where the spritemap is, how big each texture is supposed to be, and off you go.