93 Commits

Author SHA1 Message Date
Stefan Sauer
a755eb78c2 Cover wall variants for signs.
Fixes #12.
2017-11-26 17:25:55 -08:00
Stefan Sauer
9c6c343454 Use the animated torch image if possible,
Before we only mapped this for torches on the floor.
2017-11-26 17:25:55 -08:00
Stefan Sauer
16c7624120 Crop if target image name does not contain 'animated.png'
Minetest seems to name textures '_animated.png' if they are. If source
textures are animated, but the target isn't named accordingly, crop it.

See #9
2017-11-26 17:25:55 -08:00
Stefan Sauer
fae97ae07f Add new block nodes.
See #24
2017-11-25 14:06:14 -08:00
Stefan Sauer
fafbce1692 Crop the first frame from animated block textures.
For minetest blocks that are not animated crop to the first frame.
See #9
2017-11-25 14:06:14 -08:00
Stefan Sauer
5723db0da8 Crop the first frame from animated item textures.
Item textures are not animated in minetest.
See #9
2017-11-25 14:06:14 -08:00
Stefan Sauer
efe9461d6e Extract conversion for grass and fences into a helpers.
When converting grass, check for image under "blocks/". Handle non-standart
source sizes.
See #18
2017-11-25 14:06:14 -08:00
masrourmouad
594dd9b25b Update mcresconvert.sh 2016-11-15 15:49:42 -08:00
masrourmouad
03daea0d99 Redstone lamp on -> meselamp texture. 2016-11-10 08:49:34 -08:00
Auke Kok
72dd183e3c Merge pull request #15 from ensonic/master
readme and script update
2016-08-08 12:16:47 -07:00
Stefan Sauer
9166e21931 Improve code converting doors.
Extract code into function. Add workarounds for non-standart sizes. Handle
animated textures.

Fixes #16
2016-08-08 13:59:32 +02:00
Stefan Sauer
62cdf5f92a mcresconvert: add more error handling and early exits
Exit when unpacking the zip failed. Also exit if the 'texturepack' has no
textures. There are many resource packs available for download that have no
textures, even though they claim they have.
2016-08-08 10:52:43 +02:00
Stefan Sauer
6f30edda5c mcresconvert: don't assume texture directory exists
Fixes #14
2016-08-08 10:51:53 +02:00
Stefan Sauer
6fd515c342 README: update
add unzip to requirements and tell how to invoke the direct conversion.
2016-07-09 12:15:38 +02:00
Auke Kok
98dbc64781 Make the crack texture transparent. 2016-05-10 07:07:16 -07:00
Auke Kok
ef95f17af1 Fix up license statement. 2016-05-10 07:06:24 -07:00
Auke Kok
c66a91d941 Fix hotbar compositing errors.
Much simpler method.
2016-04-13 21:52:14 -07:00
Auke Kok
84bc2a8a03 Fixed the cactus for 32px and larger packs. 2016-04-13 17:49:36 -07:00
Auke Kok
04cc9b74f3 Don't scale the logo. 2016-04-13 07:21:02 -07:00
Auke Kok
fd343c6865 I think this fixes the sun/moon black border problem on IM6.8 2016-04-13 07:08:03 -07:00
Auke Kok
b0ae3c8102 Convert emerald to Mese with hacks! 2016-04-12 21:42:31 -07:00
Auke Kok
d75722800c Hide gtk warnings due to zenity. 2016-04-12 21:42:17 -07:00
Auke Kok
b4f21df91a Don't use black glass for obsidian glass.
The gray one should be ok.
2016-04-12 19:42:07 -07:00
Auke Kok
cd1309b117 Fix steel sign. 2016-04-12 19:39:49 -07:00
Auke Kok
ca2d8603a0 Fix Jungle grass. 2016-04-12 19:30:04 -07:00
Auke Kok
0054b90a79 Fix diamond hoe. 2016-04-12 19:26:59 -07:00
Auke Kok
2bea63615c Better $1 handling.
make sure we filter "all" and "default" if there is no gui.
2016-04-11 10:07:00 -07:00
Auke Kok
4e770f4cdb Show that zenity should be optional. 2016-04-11 09:51:58 -07:00
Auke Kok
4dcd86a072 Make the UI a bit more sturdy.
This can now run in a console without zenity.

Added -h/--help

Run it with "all" or "default" to convert those. This skips
any questions if you don't have zenity.

Zenity is now entirely optional again.
2016-04-11 09:49:28 -07:00
Auke Kok
21eb183e42 Cladify dependencies: zenity, imagemagick 2016-04-11 07:42:29 -07:00
Auke Kok
bf87aa1de6 Fix conversion of high res character skins. 2016-04-10 23:53:43 -07:00
Auke Kok
705f37dd22 Lots of cleanups, reorg of code. No new textures here. 2016-04-07 21:25:44 -07:00
Auke Kok
bae7c0628a A few minor cleanups. 2016-04-07 16:00:40 -07:00
Auke Kok
b0918ae039 Redid texture finding.
Basically, let's avoid the ambiguity and force searching under
textures no matter what. This avoids the problem of a few
textures that can be in different folders but have the same name.
2016-04-07 15:53:55 -07:00
Auke Kok
7f4e6f8d94 Convert waterlily 2016-04-07 07:11:00 -07:00
Auke Kok
1ba73b5d94 Messed up path searching here. 2016-04-06 22:32:10 -07:00
Auke Kok
406b5f8b65 Resize heart / health bar icons as well. 2016-04-05 22:26:25 -07:00
Auke Kok
17679c6f12 Resize hotbar to proper size for larger px sizes. 2016-04-05 22:23:14 -07:00
Auke Kok
93ec58dbfc Make the sun texture pop out better. 2016-04-05 22:19:11 -07:00
Auke Kok
971eeca693 Fix reeds. 2016-04-05 07:30:13 -07:00
Auke Kok
302d1e11ba Fix snow possibly clashing with particles. 2016-04-05 07:27:09 -07:00
Auke Kok
5ab44fd0e2 Better copper and bronze block. 2016-04-04 22:45:28 -07:00
Auke Kok
e71688c7c2 Convert the default mc v1.9 texture pack! 2016-04-04 20:32:55 -07:00
Auke Kok
74290b0cf5 Steel ladder and steel sign. 2016-04-04 20:06:21 -07:00
Auke Kok
7d87cd9562 Fix wool colors. 2016-04-04 20:06:13 -07:00
Auke Kok
00673613a2 Flint and steel. Make Copper and Bronze block/ingots! 2016-04-04 19:51:53 -07:00
Auke Kok
bf409c088a Obsidian.
Don't bother looking for copper.
2016-04-04 18:04:36 -07:00
Auke Kok
8e98e8a035 Proper Cacti conversion (not ideal, but works) 2016-04-04 16:36:44 -07:00
Auke Kok
bea9fd414d Just point back to the source folder. 2016-04-03 00:43:51 -07:00
Auke Kok
a6ee6537dd Beware of toplevel folders! 2016-04-03 00:43:43 -07:00