You are not logged in.

IC2 Experimental builds (jenkins):
v2.0/2.1/2.2 / 2.3 / 2.5 / 2.6 (For Minecraft 1.6.4/1.7.2/1.7.10 / 1.8.9 / 1.9.4 / 1.10)
IndustrialCraft² recent version: v1.117! (For Minecraft 1.5.2 → topic)

Dear visitor, welcome to IC² Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Tuesday, September 9th 2014, 10:04pm

Textures

As of build 641 IC2 can dump textures from inside the game into png files.

The command is /ic2 debug dumpTextures <name> <size>.
- name: Game registry name, e.g. IC2:blockMachine.
The name can be optionally followed by @meta-data specification, e.g. IC2:blockMachine@0. If it isn't specified IC2 will try all consecutive meta data values until either the item yields no translated name, one it has already seen or an error occurs.
There's also support for wildcards (*) when specifying the name, e.g. IC2:* will dump (almost) everything from IC2.
- size: Size of the output texture, in pixels. This can be arbitrary as long as it's not exceeding your mc window resolution, but I assume sizes somewhat related to the original texture size look better.

The name format is Sprite_<modid>:<translated name>_size.png. This way you can set your language to en_US and should get well organized names for use with wiki templates.

For the sizes I'd suggest trying something more suited for modern higher resolution displays, instead of keeping to the old ones, e.g.:
- 192-256 px in the block/item page
- 48-64 px in recipes
- 16-24 px in the menu

Blockmaster139

Cute and fluffy

Posts: 627

Location: IC2 Forums, duh

  • Send private message

2

Tuesday, September 9th 2014, 10:12pm

Jenkins says failed build :L
Now you see me, now you don't...

Chocohead

Drowning in mods.

  • "Chocohead" is male
  • Korea, Democratic People's Republic of United Kingdom

Posts: 5,983

Location: Badly generated chunks.

  • Send private message

3

Tuesday, September 9th 2014, 11:09pm

Thanks Player, this will make my life so much easier ;) Would there be anyway to just get the blocks from a mod, or would I just have to get everything and go through and delete all the items?

And sizing wise, right now the menu is 16x16, crafting 32x32 and it seems to vary for block pages.

How does it deal with things like grass and leaves which have a grey texture, and have the colour added depending on biome?
145 Mods isn't too many. 9 types of copper and 8 types of tin aren't too many. 3 types of coffee though?

I know that you believe that you understood what you think I said, but I am not sure you realise that what you read was not what I meant.


---- Minecraft Crash Report ----
// I just don't know what went wrong :(

I see this too much.

4

Tuesday, September 9th 2014, 11:33pm

It renders using the normal mc inventory item renderer as used by all the gui slots. Thus even the "blocks" are really just items. For most of IC2's blocks, which commonly have a name like blockElectric, specifying IC2:block* should catch most.

Regarding the sizes, as I said previously, I'd be quite nice to go a good bit higher resolution on everything. We have plenty of screen space and esp. the 3d blocks are much easier to see if they are larger. Larger textures also look better of course.