Creating an Entirely New Patch

Want hints or tips about creating textures or other resources? This is the place for you.
Post Reply 
User avatar
5 Posts
 x 0

Post 11 Oct 2013, 10:07

When creating a patch for a mod, how does one determine the proper file structure? Is it just trial and error or are there specific tools and techniques one can use to get started?
If you like our work please consider becoming a Supporter and get an ad-free experience.
User avatar
BDcraft Web Admin
6615 Posts
 x 437

Post 11 Oct 2013, 12:56

You open the mod zip or jar and copy the structure for textures.

Generally they'll start in the assets folder in MC1.6.
Profile pic by TsaoShin: https://www.deviantart.com/tsaoshin
User avatar
5 Posts
 x 0

Post 11 Oct 2013, 13:26

What about with earlier versions? Are there circumstances where the patch structure won't match the mod structure?
User avatar
62 Posts
 x 0

Post 11 Oct 2013, 15:47

To know the correct file structures, you must open up each of the mod versions jar or zip file, as previously stated above.

The best you can do it extract the entire archive into an area, set the view to medium or above, set preview thumbnails to ON, and examine each file to see if it is a picture or not.

Maybe there is a simpler solution, but I do not know of one yet.
I come and go like the wind. I comfort and punish like the fire.
User avatar
Former Staff
1033 Posts
 x 0

Post 11 Oct 2013, 16:53

CtimeRUN wrote:
What about with earlier versions? Are there circumstances where the patch structure won't match the mod structure?
Like has already been stated, within the zip or jar (which can be opened using winrar or 7zip), you'll find the structure of all the mod files. Most mods will have a "textures" folder and that will be the only one you need to worry about.

Here's an example of how the structure looks in the latest Industrialcraft Build:
Image

So if you were creating a patch for IndustrialCraft, you would need to create the folder structure:

Code: Select all

assets\ic2\textures
And of course, within the textures folder, you'll notice other folders like armor, items, and blocks. Every folder inside of the textures folder must be created exactly like it is in the mod structure. So to answer your question directly: The texture patch structure will always be exactly like the mod structure.

In older versions, like 1.5 and below, there would just be no assets folder, so the structure would be:

Code: Select all

ic2\sprites
This is because they used sprite sheets before 1.6. However that also isn't entirely accurate because mods used their own naming scheme for the folder where they placed their textures. For forestry it would look like this:

Code: Select all

gfx\forestry
Thanks to the evolution of the file structure of minecraft, most mods now comply with a standard textures folder. Forestry, like IndustrialCraft, now also has a textures folder for 1.6 or higher:

Code: Select all

assets\forestry\textures
User avatar
5 Posts
 x 0

Post 12 Oct 2013, 00:15

Thank you very much for all your responses and sorry for asking questions that were ultimately redundant. I just wanted to be sure there wasn't something I was overlooking.
User avatar
62 Posts
 x 0

Post 12 Oct 2013, 01:23

"There are no wrong questions, only unasked ones"

Besides, it is best you know for sure, before you start ripping your hair out thinking why your patches aren't work for 3 hours.

Best of luck to ya. :D
I come and go like the wind. I comfort and punish like the fire.
Post Reply