Merge branch 'repixture' into 'master'
Support 'Repixture' game Closes #16 See merge request Df458/rpg16!24
47
export.sh
@ -8,6 +8,8 @@ if [ -z "${TMP_DIR}" ]; then
|
||||
TMP_DIR=tmp
|
||||
fi
|
||||
|
||||
# Export textures from a folder to ${EXPORT_DIR},
|
||||
# converting .gif textures to the standard spritesheet format
|
||||
function folderExport() {
|
||||
echo "Exporting folder ${1}..."
|
||||
rsync -r --exclude="*.gif" "${1}" "${EXPORT_DIR}"
|
||||
@ -17,10 +19,31 @@ function folderExport() {
|
||||
montage "${i}" -tile 1x -geometry '1x1+0+0<' -alpha set -background transparent -coalesce -quality 100 "${EXPORT_DIR}/${i%.gif}.png" || { echo "Failed to export ${i}"; exit 1; }
|
||||
done
|
||||
}
|
||||
|
||||
# Copy a file to ${EXPORT_DIR}
|
||||
function copyExport() {
|
||||
rsync "${1}" "${EXPORT_DIR}"
|
||||
}
|
||||
|
||||
# Copy textures from a clone file
|
||||
#
|
||||
# Clone file format:
|
||||
# relative/path/to/source,relative/path/to/destination
|
||||
# # Comment
|
||||
#
|
||||
# Paths from this file are relative to ${EXPORT_DIR}
|
||||
# Empty lines are also allowed
|
||||
function makeClones() {
|
||||
# for i in `cat "${1}"`; do
|
||||
while read i; do
|
||||
if [[ -n ${i} && ${i::1} != '#' ]]; then
|
||||
dest="${EXPORT_DIR}/${i#*,}"
|
||||
mkdir -p `dirname ${dest}`
|
||||
rsync ${EXPORT_DIR}/${i%,*} ${dest}
|
||||
fi
|
||||
done < ${1}
|
||||
}
|
||||
|
||||
# Ensure that the build directory exists
|
||||
mkdir -p "${EXPORT_DIR}"
|
||||
|
||||
@ -94,6 +117,7 @@ folderExport "vessels"
|
||||
folderExport "wool"
|
||||
folderExport "xpanes"
|
||||
|
||||
# CTF
|
||||
folderExport "ctf/ctf_bandages"
|
||||
folderExport "ctf/ctf_colors"
|
||||
folderExport "ctf/ctf_events"
|
||||
@ -102,4 +126,27 @@ folderExport "ctf/ctf_map"
|
||||
folderExport "ctf/ctf_traps"
|
||||
folderExport "ctf/medkits"
|
||||
|
||||
# Repixture
|
||||
folderExport "repixture/armor"
|
||||
folderExport "repixture/bed"
|
||||
folderExport "repixture/default"
|
||||
folderExport "repixture/door"
|
||||
folderExport "repixture/farming"
|
||||
folderExport "repixture/gold"
|
||||
folderExport "repixture/headbars"
|
||||
folderExport "repixture/hunger"
|
||||
folderExport "repixture/jewels"
|
||||
folderExport "repixture/locks"
|
||||
folderExport "repixture/lumien"
|
||||
folderExport "repixture/mobs"
|
||||
folderExport "repixture/music"
|
||||
folderExport "repixture/nav"
|
||||
folderExport "repixture/parachute"
|
||||
folderExport "repixture/partialblocks"
|
||||
folderExport "repixture/player_skins"
|
||||
folderExport "repixture/ui"
|
||||
folderExport "repixture/village"
|
||||
folderExport "repixture/weather"
|
||||
makeClones "repixture-clones.txt"
|
||||
|
||||
echo "Done! Files copied to ${EXPORT_DIR}"
|
||||
|
@ -1,4 +1,3 @@
|
||||
default:apple * default_apple_node.png
|
||||
default:tinblock bottom default_tin_block_top.png
|
||||
default:tinblock top default_tin_block_top.png
|
||||
|
||||
@ -15,3 +14,7 @@ caverealms:glow_obsidian_2 * magma_conduits_glow_obsidian.png
|
||||
caverealms:hot_cobble * magma_conduits_hot_cobble.png
|
||||
caverealms:mushroom_stem bottom caverealms_mushroom_stem_top.png
|
||||
caverealms:mushroom_stem top caverealms_mushroom_stem_top.png
|
||||
|
||||
default:fence * default_fence_wood.png
|
||||
default:fence_birch * default_wood_birch.png
|
||||
default:fence_oak * default_wood_oak.png
|
||||
|
110
repixture-clones.txt
Normal file
@ -0,0 +1,110 @@
|
||||
# Repixture - armor
|
||||
3d_armor/3d_armor_boots_bronze.png,armor/armor_boots_bronze.png
|
||||
3d_armor/3d_armor_inv_boots_bronze.png,armor/armor_boots_bronze_inventory.png
|
||||
3d_armor/3d_armor_boots_steel.png,armor/armor_boots_steel.png
|
||||
3d_armor/3d_armor_inv_boots_steel.png,armor/armor_boots_steel_inventory.png
|
||||
3d_armor/3d_armor_boots_wood.png,armor/armor_boots_wood.png
|
||||
3d_armor/3d_armor_inv_boots_wood.png,armor/armor_boots_wood_inventory.png
|
||||
3d_armor/3d_armor_chestplate_bronze.png,armor/armor_chestplate_bronze.png
|
||||
3d_armor/3d_armor_inv_chestplate_bronze.png,armor/armor_chestplate_bronze_inventory.png
|
||||
3d_armor/3d_armor_chestplate_steel.png,armor/armor_chestplate_steel.png
|
||||
3d_armor/3d_armor_inv_chestplate_steel.png,armor/armor_chestplate_steel_inventory.png
|
||||
3d_armor/3d_armor_chestplate_wood.png,armor/armor_chestplate_wood.png
|
||||
3d_armor/3d_armor_inv_chestplate_wood.png,armor/armor_chestplate_wood_inventory.png
|
||||
3d_armor/3d_armor_helmet_bronze.png,armor/armor_helmet_bronze.png
|
||||
3d_armor/3d_armor_inv_helmet_bronze.png,armor/armor_helmet_bronze_inventory.png
|
||||
3d_armor/3d_armor_helmet_steel.png,armor/armor_helmet_steel.png
|
||||
3d_armor/3d_armor_inv_helmet_steel.png,armor/armor_helmet_steel_inventory.png
|
||||
3d_armor/3d_armor_helmet_wood.png,armor/armor_helmet_wood.png
|
||||
3d_armor/3d_armor_inv_helmet_wood.png,armor/armor_helmet_wood_inventory.png
|
||||
|
||||
# Repixture - default
|
||||
default/default_tool_bronzeaxe.png,default/default_axe_bronze.png
|
||||
default/default_tool_steelaxe.png,default/default_axe_steel.png
|
||||
default/default_tool_stoneaxe.png,default/default_axe_stone.png
|
||||
default/default_tool_woodaxe.png,default/default_axe_wood.png
|
||||
default/default_tool_steelsword.png,default/default_broadsword.png
|
||||
default/default_bronze_block.png,default/default_block_bronze.png
|
||||
default/default_coal_block.png,default/default_block_coal.png
|
||||
default/default_steel_block.png,default/default_block_steel.png
|
||||
default/default_chest_side.png,default/default_chest_sides.png
|
||||
default/default_cobble.png,default/default_cobbles.png
|
||||
default/default_sandstone_block.png,default/default_compressed_sandstone.png
|
||||
default/default_sandstone_block.png,default/default_compressed_sandstone_top.png
|
||||
default/default_dry_grass_3.png,default/default_dry_grass_clump.png
|
||||
default/default_fern_1.png,default/default_fern.png
|
||||
default/default_fern_1.png,default/default_fern_inventory.png
|
||||
fire/fire_flint_steel.png,default/default_flint_and_steel.png
|
||||
default/default_furnace_side.png,default/default_furnace_sides.png
|
||||
default/default_glass.png,default/default_glass_frame.png
|
||||
default/default_grass_3.png,default/default_grass_clump.png
|
||||
default/default_grass_4.png,default/default_grass_clump_tall.png
|
||||
default/default_bronze_ingot.png,default/default_ingot_bronze.png
|
||||
default/default_copper_ingot.png,default/default_ingot_copper.png
|
||||
default/default_steel_ingot.png,default/default_ingot_steel.png
|
||||
default/default_tin_ingot.png,default/default_ingot_tin.png
|
||||
moretrees/moretrees_birch_leaves.png,default/default_leaves_birch.png
|
||||
moretrees/moretrees_oak_leaves.png,default/default_leaves_oak.png
|
||||
default/default_coal_lump.png,default/default_lump_coal.png
|
||||
default/default_copper_lump.png,default/default_lump_copper.png
|
||||
default/default_iron_lump.png,default/default_lump_iron.png
|
||||
default/default_tin_lump.png,default/default_lump_tin.png
|
||||
default/default_tool_bronzepick.png,default/default_pick_bronze.png
|
||||
default/default_tool_steelpick.png,default/default_pick_steel.png
|
||||
default/default_tool_stonepick.png,default/default_pick_stone.png
|
||||
default/default_tool_woodpick.png,default/default_pick_wood.png
|
||||
moretrees/moretrees_birch_sapling.png,default/default_sapling_birch.png
|
||||
moretrees/moretrees_birch_sapling.png,default/default_sapling_birch_inventory.png
|
||||
default/default_sapling.png,default/default_sapling_inventory.png
|
||||
moretrees/moretrees_oak_sapling.png,default/default_sapling_oak.png
|
||||
moretrees/moretrees_oak_sapling.png,default/default_sapling_oak_inventory.png
|
||||
default/default_tool_bronzeshovel.png,default/default_shovel_bronze.png
|
||||
default/default_tool_steelshovel.png,default/default_shovel_steel.png
|
||||
default/default_tool_stoneshovel.png,default/default_shovel_stone.png
|
||||
default/default_tool_woodshovel.png,default/default_shovel_wood.png
|
||||
moretrees/moretrees_birch_trunk.png,default/default_tree_birch.png
|
||||
moretrees/moretrees_birch_trunk_top.png,default/default_tree_birch_top.png
|
||||
moretrees/moretrees_oak_trunk.png,default/default_tree_oak.png
|
||||
moretrees/moretrees_oak_trunk_top.png,default/default_tree_oak_top.png
|
||||
default/default_water_flowing_animated.png,default/default_water_animated.png
|
||||
default/default_river_water_flowing_animated.png,default/default_river_water_animated.png
|
||||
moretrees/moretrees_birch_wood.png,default/default_wood_birch.png
|
||||
moretrees/moretrees_oak_wood.png,default/default_wood_oak.png
|
||||
gui/gui_hotbar.png,ui/ui_hotbar_bg.png
|
||||
gui/gui_hotbar_selected.png,ui/ui_hotbar_selected.png
|
||||
default/default_furnace_fire_bg.png,ui/ui_fire_bg.png
|
||||
default/default_furnace_fire_fg.png,ui/ui_fire.png
|
||||
gui/gui_furnace_arrow_bg.png,ui/ui_arrow_bg.png
|
||||
gui/gui_furnace_arrow_fg.png,ui/ui_arrow.png
|
||||
|
||||
# Repixture - door
|
||||
doors/doors_item_wood.png,door/door_wood.png
|
||||
|
||||
# Repixture - gold
|
||||
default/default_gold_ingot.png,gold/gold_ingot_gold.png
|
||||
default/default_gold_lump.png,gold/gold_lump_gold.png
|
||||
default/default_mineral_gold.png,gold/gold_mineral_gold.png
|
||||
|
||||
# Repixture - jewels
|
||||
default/default_wood.png,jewels/jewels_bench_bottom.png
|
||||
|
||||
# Repixture - locks
|
||||
default/default_chest_lock.png,locks/locks_chest_front.png
|
||||
|
||||
# Repixture - mobs
|
||||
mobs/mobs_blood.png,mobs/mobs_damage.png
|
||||
mobs/mobs_meat.png,mobs/mobs_meat_cooked.png
|
||||
wool/wool_white.png,mobs/mobs_wool.png
|
||||
|
||||
# Repixture - nav
|
||||
map/map_mapping_kit.png,nav/nav_inventory.png
|
||||
|
||||
# Repixture - partialblocks
|
||||
default/default_coal_block.png,partialblocks/partialblocks_block_coal_slab.png
|
||||
default/default_coal_block.png,partialblocks/partialblocks_block_coal_stair.png
|
||||
default/default_cobble.png,partialblocks/partialblocks_reinforced_cobbles_stair.png
|
||||
default/default_sandstone_block.png,default/partialblocks_compressed_sandstone_stair.png
|
||||
|
||||
# Repixture - tnt
|
||||
tnt/tnt_side.png,tnt/tnt_sides.png
|
||||
tnt/tnt_top.png,tnt/tnt_top_disabled.png
|
BIN
repixture/armor/armor_boots_carbon_steel.png
Normal file
After Width: | Height: | Size: 935 B |
BIN
repixture/armor/armor_boots_carbon_steel_inventory.png
Normal file
After Width: | Height: | Size: 963 B |
BIN
repixture/armor/armor_boots_chainmail.png
Normal file
After Width: | Height: | Size: 937 B |
BIN
repixture/armor/armor_boots_chainmail_inventory.png
Normal file
After Width: | Height: | Size: 969 B |
BIN
repixture/armor/armor_chainmail.png
Normal file
After Width: | Height: | Size: 963 B |
BIN
repixture/armor/armor_chestplate_carbon_steel.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
repixture/armor/armor_chestplate_carbon_steel_inventory.png
Normal file
After Width: | Height: | Size: 978 B |
BIN
repixture/armor/armor_chestplate_chainmail.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
repixture/armor/armor_chestplate_chainmail_inventory.png
Normal file
After Width: | Height: | Size: 971 B |
BIN
repixture/armor/armor_helmet_carbon_steel.png
Normal file
After Width: | Height: | Size: 1010 B |
BIN
repixture/armor/armor_helmet_carbon_steel_inventory.png
Normal file
After Width: | Height: | Size: 961 B |
BIN
repixture/armor/armor_helmet_chainmail.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
repixture/armor/armor_helmet_chainmail_inventory.png
Normal file
After Width: | Height: | Size: 955 B |
BIN
repixture/bed/bed_bed_inventory.png
Normal file
After Width: | Height: | Size: 990 B |
BIN
repixture/bed/bed_foot.png
Normal file
After Width: | Height: | Size: 925 B |
BIN
repixture/bed/bed_head.png
Normal file
After Width: | Height: | Size: 948 B |
BIN
repixture/bed/bed_side.png
Normal file
After Width: | Height: | Size: 972 B |
Before Width: | Height: | Size: 953 B After Width: | Height: | Size: 910 B |
BIN
repixture/default/default_apple_side.png
Normal file
After Width: | Height: | Size: 943 B |
BIN
repixture/default/default_apple_top.png
Normal file
After Width: | Height: | Size: 940 B |
BIN
repixture/default/default_axe_carbon_steel.png
Normal file
After Width: | Height: | Size: 975 B |
BIN
repixture/default/default_axe_wrought_iron.png
Normal file
After Width: | Height: | Size: 978 B |
BIN
repixture/default/default_block_carbon_steel.png
Normal file
After Width: | Height: | Size: 932 B |
BIN
repixture/default/default_block_wrought_iron.png
Normal file
After Width: | Height: | Size: 956 B |
BIN
repixture/default/default_bucket.png
Normal file
After Width: | Height: | Size: 983 B |
BIN
repixture/default/default_bucket_river_water.png
Normal file
After Width: | Height: | Size: 990 B |
BIN
repixture/default/default_bucket_swamp_water.png
Normal file
After Width: | Height: | Size: 990 B |
BIN
repixture/default/default_bucket_water.png
Normal file
After Width: | Height: | Size: 990 B |
BIN
repixture/default/default_cactus_sides.png
Normal file
After Width: | Height: | Size: 982 B |
BIN
repixture/default/default_clam.png
Normal file
After Width: | Height: | Size: 1017 B |
BIN
repixture/default/default_clam_inventory.png
Normal file
After Width: | Height: | Size: 1021 B |
BIN
repixture/default/default_creative_tool.png
Normal file
After Width: | Height: | Size: 983 B |
BIN
repixture/default/default_dry_grass_clump_inventory.png
Normal file
After Width: | Height: | Size: 951 B |
BIN
repixture/default/default_dry_leaves.png
Normal file
After Width: | Height: | Size: 1003 B |
BIN
repixture/default/default_fence.png
Normal file
After Width: | Height: | Size: 951 B |
BIN
repixture/default/default_fence_birch.png
Normal file
After Width: | Height: | Size: 956 B |
BIN
repixture/default/default_fence_oak.png
Normal file
After Width: | Height: | Size: 956 B |
BIN
repixture/default/default_fertilizer.png
Normal file
After Width: | Height: | Size: 962 B |
BIN
repixture/default/default_fertilizer_inventory.png
Normal file
After Width: | Height: | Size: 978 B |
BIN
repixture/default/default_fiber.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
repixture/default/default_flowers.png
Normal file
After Width: | Height: | Size: 933 B |
BIN
repixture/default/default_flowers_inventory.png
Normal file
After Width: | Height: | Size: 949 B |
BIN
repixture/default/default_frame.png
Normal file
After Width: | Height: | Size: 952 B |
BIN
repixture/default/default_furnace_flame.png
Normal file
After Width: | Height: | Size: 953 B |
BIN
repixture/default/default_grass_clump_inventory.png
Normal file
After Width: | Height: | Size: 949 B |
BIN
repixture/default/default_grass_clump_tall_inventory.png
Normal file
After Width: | Height: | Size: 962 B |
BIN
repixture/default/default_ingot_carbon_steel.png
Normal file
After Width: | Height: | Size: 931 B |
BIN
repixture/default/default_ingot_wrought_iron.png
Normal file
After Width: | Height: | Size: 934 B |
BIN
repixture/default/default_lump_bronze.png
Normal file
After Width: | Height: | Size: 937 B |
BIN
repixture/default/default_lump_sulfur.png
Normal file
After Width: | Height: | Size: 959 B |
BIN
repixture/default/default_mineral_graphite.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
repixture/default/default_mineral_sulfur.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
repixture/default/default_papyrus_inventory.png
Normal file
After Width: | Height: | Size: 942 B |
BIN
repixture/default/default_papyrus_repixture.png
Normal file
After Width: | Height: | Size: 969 B |
BIN
repixture/default/default_pearl.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
repixture/default/default_pick_carbon_steel.png
Normal file
After Width: | Height: | Size: 982 B |
BIN
repixture/default/default_pick_wrought_iron.png
Normal file
After Width: | Height: | Size: 983 B |
BIN
repixture/default/default_reinforced_cobbles.png
Normal file
After Width: | Height: | Size: 998 B |
BIN
repixture/default/default_reinforced_frame.png
Normal file
After Width: | Height: | Size: 973 B |
BIN
repixture/default/default_rope.png
Normal file
After Width: | Height: | Size: 906 B |
BIN
repixture/default/default_rope_inventory.png
Normal file
After Width: | Height: | Size: 940 B |
BIN
repixture/default/default_shears.png
Normal file
After Width: | Height: | Size: 961 B |
BIN
repixture/default/default_shears_bronze.png
Normal file
After Width: | Height: | Size: 961 B |
BIN
repixture/default/default_shears_carbon_steel.png
Normal file
After Width: | Height: | Size: 961 B |
BIN
repixture/default/default_shears_steel.png
Normal file
After Width: | Height: | Size: 961 B |
BIN
repixture/default/default_sheet_graphite.png
Normal file
After Width: | Height: | Size: 941 B |
BIN
repixture/default/default_shovel_carbon_steel.png
Normal file
After Width: | Height: | Size: 978 B |
BIN
repixture/default/default_shovel_wrought_iron.png
Normal file
After Width: | Height: | Size: 978 B |
BIN
repixture/default/default_sign.png
Normal file
After Width: | Height: | Size: 960 B |
BIN
repixture/default/default_sign_inventory.png
Normal file
After Width: | Height: | Size: 958 B |
BIN
repixture/default/default_spear_bronze.png
Normal file
After Width: | Height: | Size: 966 B |
BIN
repixture/default/default_spear_carbon_steel.png
Normal file
After Width: | Height: | Size: 970 B |
BIN
repixture/default/default_spear_steel.png
Normal file
After Width: | Height: | Size: 971 B |
BIN
repixture/default/default_spear_stone.png
Normal file
After Width: | Height: | Size: 963 B |
BIN
repixture/default/default_spear_wood.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
repixture/default/default_spear_wrought_iron.png
Normal file
After Width: | Height: | Size: 966 B |
BIN
repixture/default/default_swamp_dirt.png
Normal file
After Width: | Height: | Size: 955 B |
BIN
repixture/default/default_swamp_grass.png
Normal file
After Width: | Height: | Size: 965 B |
BIN
repixture/default/default_swamp_grass_clump.png
Normal file
After Width: | Height: | Size: 961 B |
BIN
repixture/default/default_swamp_grass_clump_inventory.png
Normal file
After Width: | Height: | Size: 962 B |
BIN
repixture/default/default_swamp_grass_side.png
Normal file
After Width: | Height: | Size: 947 B |
BIN
repixture/default/default_swamp_water.png
Normal file
After Width: | Height: | Size: 941 B |
BIN
repixture/default/default_swamp_water_animated.gif
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
repixture/default/default_thistle.png
Normal file
After Width: | Height: | Size: 971 B |
BIN
repixture/default/default_thistle_inventory.png
Normal file
After Width: | Height: | Size: 952 B |
BIN
repixture/default/default_torch_base.png
Normal file
After Width: | Height: | Size: 1000 B |
BIN
repixture/default/default_torch_dead_inventory.png
Normal file
After Width: | Height: | Size: 952 B |
BIN
repixture/default/default_torch_ends.png
Normal file
After Width: | Height: | Size: 963 B |
BIN
repixture/default/default_torch_ends_overlay.gif
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
repixture/default/default_torch_inventory.png
Normal file
After Width: | Height: | Size: 971 B |
BIN
repixture/default/default_torch_overlay.gif
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
repixture/default/default_torch_overlayR90.gif
Normal file
After Width: | Height: | Size: 865 B |
BIN
repixture/default/default_torch_weak_ends_overlay.gif
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
repixture/default/default_torch_weak_inventory.png
Normal file
After Width: | Height: | Size: 972 B |
BIN
repixture/default/default_torch_weak_overlay.gif
Normal file
After Width: | Height: | Size: 1005 B |
BIN
repixture/default/default_torch_weak_overlayR90.gif
Normal file
After Width: | Height: | Size: 859 B |
BIN
repixture/default/magicpuff.png
Normal file
After Width: | Height: | Size: 920 B |