From: bones_was_here Date: Tue, 4 Feb 2025 11:28:49 +0000 (+1000) Subject: Unzip skins_luminos.zip and use better compression in sunrise.xcf X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=8456d4dc4a1ba52cf306bff963590427fbbc4e5d;p=xonotic%2Fmediasource.git Unzip skins_luminos.zip and use better compression in sunrise.xcf Little space was saved by the zip compression, and it prevents updating files individually which greatly increases the size of any change in the git history: 137 files, 31838419 bytes uncompressed, 29128263 bytes compressed: 8.5% Unzipped into gfx/luminos/ directory. Also extracted menu_background/background.zip (was inside skins_luminos.zip) into menu_background/ 3 files: planet.blend sunrise.xcf texture.png Saved sunrise.xcf with better compression (no other changes) reducing its size from 36M to 16M. Requires gimp 2.10 or later to open. This is DEFLATE compression (like PNG) rather than just RLE. --- diff --git a/gfx/luminos/gimp_files/addborder.scm b/gfx/luminos/gimp_files/addborder.scm new file mode 100644 index 0000000..246c245 --- /dev/null +++ b/gfx/luminos/gimp_files/addborder.scm @@ -0,0 +1,69 @@ +;Adds a border and a faint glow, based on the alpha channel +;In: FilesIn (wildcard * possible) +; Red Green Blue (border color, 0-255) +; GlowBlur (Gauss filter, 0 to deactivate) +; BorderGrow +; BorderFeather +; ObjectShrink +; ObjectFeather +;Out: Processed image files (overwrites input files) + +(define (addborder filesIn red green blue glowBlur borderGrow borderFeather objectShrink objectFeather) + (let* + ( + (fileList (cadr (file-glob filesIn 1))) + (borderColor (list red green blue)) + ) + + (while (not (null? fileList)) + (let* + ( + (file (car fileList)) + (image (car (gimp-file-load 1 file file))) + (bottomLayer (car (gimp-image-get-active-layer image))) + (middleLayer (car (gimp-layer-new-from-drawable bottomLayer image))) + (topLayer (car (gimp-layer-new-from-drawable bottomLayer image))) + ) + + ;Add layers + (gimp-image-add-layer image middleLayer -1) + (gimp-image-add-layer image topLayer -1) + + ;Bottom layer: if glowBlur = 0 clear layer, else create extended glow siluette of the object + (if (= glowBlur 0) + (gimp-edit-clear bottomLayer) + (begin + (gimp-context-set-foreground borderColor) + (gimp-selection-layer-alpha bottomLayer) + (gimp-selection-grow image (- borderGrow 1)) + (gimp-selection-feather image borderFeather) + (gimp-edit-fill bottomLayer 0) + (gimp-selection-none image) + (plug-in-gauss-rle 1 image bottomLayer glowBlur 1 1) + ) + ) + + ;Middle layer: create extended siluette of the object + (gimp-context-set-foreground borderColor) + (gimp-selection-layer-alpha middleLayer) + (gimp-selection-grow image borderGrow) + (gimp-selection-feather image borderFeather) + (gimp-edit-fill middleLayer 0) + + ;Top layer: reduce border of the object on the top layer + (gimp-selection-layer-alpha topLayer) + (gimp-selection-shrink image objectShrink) + (gimp-selection-feather image objectFeather) + (gimp-selection-invert image) + (gimp-edit-clear topLayer) + + ;Save image + (set! bottomLayer (car (gimp-image-merge-visible-layers image 1))) + (gimp-file-save 1 image bottomLayer file file) + (gimp-image-delete image) + + (set! fileList (cdr fileList)) + ) + ) + ) +) diff --git a/gfx/luminos/gimp_files/all2tga.scm b/gfx/luminos/gimp_files/all2tga.scm new file mode 100755 index 0000000..66d0852 --- /dev/null +++ b/gfx/luminos/gimp_files/all2tga.scm @@ -0,0 +1,33 @@ +;Converts image files to .tga +;In: FilesIn (wildcard * possible) +; Compress (using RLE algorithm, 0=no, 1=yes) +;Out: tga files with same name as input (overwrites tga input files) + +(define (all2tga filesIn compress) + (let* + ( + (fileList (cadr (file-glob filesIn 1))) + ) + + (while (not (null? fileList)) + (let* + ( + (file (car fileList)) + (image (car (gimp-file-load 1 file file))) + (drawable (car (gimp-image-get-active-layer image))) + ) + + ;Set extension to .tga + (set! file (car (strbreakup file "."))) + (set! file (string-append file ".tga")) + + ;Save image as RLE compressed tga + (set! drawable (car (gimp-image-merge-visible-layers image 1))) + (file-tga-save 1 image drawable file file compress 0) + (gimp-image-delete image) + + (set! fileList (cdr fileList)) + ) + ) + ) +) diff --git a/gfx/luminos/gimp_files/dbca.scm b/gfx/luminos/gimp_files/dbca.scm new file mode 100755 index 0000000..46b3ee8 --- /dev/null +++ b/gfx/luminos/gimp_files/dbca.scm @@ -0,0 +1,44 @@ +;Adjust Desaturation, Brightness, Contrast and Alpha +;In: FilesIn (wildcard * possible) +; Desaturate (0=no, 1=yes) +; Brightness (-127 to 127) +; Contrast (-127 to 127) +; Alpha (0.0 - 100.0) +;Out: Processed image files (overwrites input files) + +(define (dbca filesIn desaturate brightness contrast alpha) + (let* + ( + (fileList (cadr (file-glob filesIn 1))) + ) + + (while (not (null? fileList)) + (let* + ( + (file (car fileList)) + (image (car (gimp-file-load 1 file file))) + (drawable (car (gimp-image-get-active-layer image))) + ) + + ;Desaturate + (if (= desaturate 1) + (gimp-desaturate-full drawable 0) ) + + ;Adjust brightness and contrast + (gimp-brightness-contrast drawable brightness contrast) + + ;Adjust + (if (not (= alpha 0.0)) + (gimp-layer-set-opacity drawable alpha) + ) + + ;Save image + (set! drawable (car (gimp-image-merge-visible-layers image 1))) + (gimp-file-save 1 image drawable file file) + (gimp-image-delete image) + + (set! fileList (cdr fileList)) + ) + ) + ) +) diff --git a/gfx/luminos/gimp_files/luminos.gpl b/gfx/luminos/gimp_files/luminos.gpl new file mode 100644 index 0000000..65d0533 --- /dev/null +++ b/gfx/luminos/gimp_files/luminos.gpl @@ -0,0 +1,23 @@ +GIMP Palette +Name: Luminos Palette +Columns: 1 +# +175 215 255 n_base +191 223 255 n_border +127 191 255 n_glow + 0 47 95 n_back +223 239 255 f_base +255 255 255 f_border +159 207 255 f_glow + 0 63 127 f_back +255 127 31 c_base +255 159 95 c_border +255 95 0 c_glow + 95 23 0 c_back +255 159 95 cf_base +255 191 159 cf_border +255 127 63 cf_glow +239 239 239 g_base +255 255 255 g_border +223 223 223 g_glow + 0 0 0 g_back diff --git a/gfx/luminos/hud_icons/flags/create b/gfx/luminos/hud_icons/flags/create new file mode 100755 index 0000000..0ec61de --- /dev/null +++ b/gfx/luminos/hud_icons/flags/create @@ -0,0 +1,99 @@ +#!/bin/bash +#Save created files in this subdirectory: +dir="created" + +#Create subdirectory if not already existing +if [ ! -d "$dir" ] +then + mkdir "$dir" +fi + +#Method to render single Blender scene +render_blendscene() +{ + blender -b "${PWD}/${blendfile}.blend" -S "$blendscene" -o "//${dir}/${blendscene}#" -f 1 + rename "${blendscene}1" "$blendscene" "${dir}/${blendscene}1."* +} + +#Method to create all icons of the specified color +create_colorversion() +{ + #Export flagcontent from svg + inkscape -f "flagcontent_${colorversion}.svg" -e "flagcontent.png" + + #Render the Blender scenes + blendfile="flags" + blendscene="flag_color_carrying" + render_blendscene + blendscene="flag_color_lost" + render_blendscene + blendscene="flag_color_taken" + render_blendscene + blendscene="notify_color_carrying" + render_blendscene + blendscene="notify_color_lost" + render_blendscene + blendscene="notify_color_taken" + render_blendscene + + #Assemble notify_captured and notify_returned + cd "$dir" + composite -gravity Center "base_${othercolor}.png" "notify_color_taken.tga" "notify_color_captured.tga" + composite -gravity Center "base_${colorversion}.png" "notify_color_taken.tga" "notify_color_returned.tga" + + #Create temporary files for shield icons + convert "flag_color_taken.tga" -filter Cubic -resize 192x192 "flag_temp.tga" + convert "notify_color_taken.tga" -filter Cubic -resize 192x96 "notify_temp.tga" + + #Add white border to all .tga images of this color + gimp -d -f -i \ + -b '(addborder "flag_color*.tga" 255 255 255 24 3 9 1 3)' \ + -b '(addborder "notify_color*.tga" 255 255 255 16 2 6 1 3)' \ + -b '(gimp-quit 0)' + + #Assemble shielded icons + convert -size 256x256 xc:transparent "flag_color_shielded.tga" + composite -gravity Center -geometry +6+0 "flag_temp.tga" "flag_color_shielded.tga" "flag_color_shielded.tga" + composite -gravity Center "flag_shield.png" "flag_color_shielded.tga" "flag_color_shielded.tga" + + convert -size 256x128 xc:transparent "notify_color_shielded.tga" + composite -gravity Center -geometry +6-1 "notify_temp.tga" "notify_color_shielded.tga" "notify_color_shielded.tga" + composite -gravity Center "notify_shield.png" "notify_color_shielded.tga" "notify_color_shielded.tga" + + #Rename to color version + rename "color" "$colorversion" *".tga" + cd .. +} + +#Export all neutral png images from svg files +inkscape -f "flagcontent_carrying.svg" -e "flagcontent_carrying.png" +inkscape -f "flag_shield.svg" -e "${dir}/flag_shield.png" +inkscape -f "notify_shield.svg" -e "${dir}/notify_shield.png" + +#Create base images (colorize nyx.png) +convert "nyx.png" -fill "#004fff" -tint 75 "${dir}/base_blue.png" +convert "nyx.png" -fill "#ff0000" -tint 75 "${dir}/base_red.png" +cd "$dir" +gimp -d -f -i \ +-b '(addborder "base*.png" 255 255 255 0 1 3 1 2)' \ +-b '(gimp-quit 0)' +cd .. + +#Create color versions +colorversion="blue" +othercolor="red" +create_colorversion +colorversion="red" +othercolor="blue" +create_colorversion + +#Remove unnecessary files +rm flagcontent*.png +cd "$dir" +rm *".png" +rm *"temp.tga" + +#RLE compress tga images +gimp -d -f -i \ +-b '(all2tga "*.tga" 1)' \ +-b '(gimp-quit 0)' diff --git a/gfx/luminos/hud_icons/flags/flag_shield.svg b/gfx/luminos/hud_icons/flags/flag_shield.svg new file mode 100755 index 0000000..c0cba8b --- /dev/null +++ b/gfx/luminos/hud_icons/flags/flag_shield.svg @@ -0,0 +1,124 @@ + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/gfx/luminos/hud_icons/flags/flagcontent_blue.svg b/gfx/luminos/hud_icons/flags/flagcontent_blue.svg new file mode 100755 index 0000000..8ff5814 --- /dev/null +++ b/gfx/luminos/hud_icons/flags/flagcontent_blue.svg @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + diff --git a/gfx/luminos/hud_icons/flags/flagcontent_carrying.svg b/gfx/luminos/hud_icons/flags/flagcontent_carrying.svg new file mode 100755 index 0000000..35b91d8 --- /dev/null +++ b/gfx/luminos/hud_icons/flags/flagcontent_carrying.svg @@ -0,0 +1,145 @@ + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + ! + + + ! + + diff --git a/gfx/luminos/hud_icons/flags/flagcontent_red.svg b/gfx/luminos/hud_icons/flags/flagcontent_red.svg new file mode 100755 index 0000000..7e827c5 --- /dev/null +++ b/gfx/luminos/hud_icons/flags/flagcontent_red.svg @@ -0,0 +1,120 @@ + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + diff --git a/gfx/luminos/hud_icons/flags/flags.blend b/gfx/luminos/hud_icons/flags/flags.blend new file mode 100644 index 0000000..d6a1510 Binary files /dev/null and b/gfx/luminos/hud_icons/flags/flags.blend differ diff --git a/gfx/luminos/hud_icons/flags/notify_shield.svg b/gfx/luminos/hud_icons/flags/notify_shield.svg new file mode 100644 index 0000000..69cc5e4 --- /dev/null +++ b/gfx/luminos/hud_icons/flags/notify_shield.svg @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/gfx/luminos/hud_icons/flags/nyx.png b/gfx/luminos/hud_icons/flags/nyx.png new file mode 100644 index 0000000..d260e66 Binary files /dev/null and b/gfx/luminos/hud_icons/flags/nyx.png differ diff --git a/gfx/luminos/hud_icons/healtharmor/armor.tga b/gfx/luminos/hud_icons/healtharmor/armor.tga new file mode 100644 index 0000000..fce8152 Binary files /dev/null and b/gfx/luminos/hud_icons/healtharmor/armor.tga differ diff --git a/gfx/luminos/hud_icons/healtharmor/create b/gfx/luminos/hud_icons/healtharmor/create new file mode 100755 index 0000000..97a47e8 --- /dev/null +++ b/gfx/luminos/hud_icons/healtharmor/create @@ -0,0 +1,17 @@ +#!/bin/bash +#Save created files in this subdirectory: +dir="created" + +#Create subdirectory, if not already existing +if [ ! -d "$dir" ] +then + mkdir "$dir" +fi + +#Copy images to subdirectory, add white border +cp *".tga" "$dir" +cd "$dir" +gimp -d -f -i \ +-b '(addborder "*.tga" 255 255 255 24 3 9 1 3)' \ +-b '(all2tga "*.tga" 1)' \ +-b '(gimp-quit 0)' diff --git a/gfx/luminos/hud_icons/healtharmor/health.tga b/gfx/luminos/hud_icons/healtharmor/health.tga new file mode 100644 index 0000000..9bb8ba1 Binary files /dev/null and b/gfx/luminos/hud_icons/healtharmor/health.tga differ diff --git a/gfx/luminos/hud_icons/inventory/ammo_bullets.tga b/gfx/luminos/hud_icons/inventory/ammo_bullets.tga new file mode 100644 index 0000000..b313f0c Binary files /dev/null and b/gfx/luminos/hud_icons/inventory/ammo_bullets.tga differ diff --git a/gfx/luminos/hud_icons/inventory/ammo_cells.tga b/gfx/luminos/hud_icons/inventory/ammo_cells.tga new file mode 100644 index 0000000..2f48e95 Binary files /dev/null and b/gfx/luminos/hud_icons/inventory/ammo_cells.tga differ diff --git a/gfx/luminos/hud_icons/inventory/ammo_fuel.tga b/gfx/luminos/hud_icons/inventory/ammo_fuel.tga new file mode 100644 index 0000000..a6731eb Binary files /dev/null and b/gfx/luminos/hud_icons/inventory/ammo_fuel.tga differ diff --git a/gfx/luminos/hud_icons/inventory/ammo_rockets.tga b/gfx/luminos/hud_icons/inventory/ammo_rockets.tga new file mode 100644 index 0000000..bc9611a Binary files /dev/null and b/gfx/luminos/hud_icons/inventory/ammo_rockets.tga differ diff --git a/gfx/luminos/hud_icons/inventory/ammo_shells.tga b/gfx/luminos/hud_icons/inventory/ammo_shells.tga new file mode 100644 index 0000000..b4a2ee8 Binary files /dev/null and b/gfx/luminos/hud_icons/inventory/ammo_shells.tga differ diff --git a/gfx/luminos/hud_icons/inventory/create b/gfx/luminos/hud_icons/inventory/create new file mode 100755 index 0000000..67e1c4a --- /dev/null +++ b/gfx/luminos/hud_icons/inventory/create @@ -0,0 +1,17 @@ +#!/bin/bash +#Save created files in this subdirectory: +dir="created" + +#Create subdirectory, if not already existing +if [ ! -d "$dir" ] +then + mkdir "$dir" +fi + +#Copy images to subdirectory, add white border +cp *".tga" "$dir" +cd "$dir" +gimp -d -f -i \ +-b '(addborder "*.tga" 255 255 255 16 2 6 1 3)' \ +-b '(all2tga "*.tga" 1)' \ +-b '(gimp-quit 0)' diff --git a/gfx/luminos/hud_icons/keys/create b/gfx/luminos/hud_icons/keys/create new file mode 100755 index 0000000..fae73fc --- /dev/null +++ b/gfx/luminos/hud_icons/keys/create @@ -0,0 +1,61 @@ +#!/bin/bash +#Save created files in this subdirectory: +dir="created" + +#Create subdirectory if not already existing +if [ ! -d "$dir" ] +then + mkdir "$dir" +fi + +#Export png from all svg files +for f in *".svg" +do + inkscape -f "$f" -e "`basename $f .svg`.png" +done + +#Method to render single Blender scene +render_blendscene() +{ + blender -b "${PWD}/${blendfile}.blend" -S "$blendscene" -o "//${dir}/${blendscene}#" -f 1 + rename "${blendscene}1" "$blendscene" "${dir}/${blendscene}1."* +} + +#Render the Blender scenes +blendfile="keys" +blendscene="key_forward" +render_blendscene +blendscene="key_forward_inv" +render_blendscene +blendscene="key_backward" +render_blendscene +blendscene="key_backward_inv" +render_blendscene +blendscene="key_left" +render_blendscene +blendscene="key_left_inv" +render_blendscene +blendscene="key_right" +render_blendscene +blendscene="key_right_inv" +render_blendscene +blendscene="key_jump" +render_blendscene +blendscene="key_jump_inv" +render_blendscene +blendscene="key_crouch" +render_blendscene +blendscene="key_crouch_inv" +render_blendscene + +#Delete previously created png files +for f in *".svg" +do + rm "`basename $f .svg`.png" +done + +#RLE compress tga files +cd "$dir" +gimp -d -f -i \ +-b '(all2tga "*.tga" 1)' \ +-b '(gimp-quit 0)' diff --git a/gfx/luminos/hud_icons/keys/keyface_backward.svg b/gfx/luminos/hud_icons/keys/keyface_backward.svg new file mode 100644 index 0000000..6d7d44c --- /dev/null +++ b/gfx/luminos/hud_icons/keys/keyface_backward.svg @@ -0,0 +1,104 @@ + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/gfx/luminos/hud_icons/keys/keyface_crouch.svg b/gfx/luminos/hud_icons/keys/keyface_crouch.svg new file mode 100644 index 0000000..b7e3ea1 --- /dev/null +++ b/gfx/luminos/hud_icons/keys/keyface_crouch.svg @@ -0,0 +1,110 @@ + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/gfx/luminos/hud_icons/keys/keyface_forward.svg b/gfx/luminos/hud_icons/keys/keyface_forward.svg new file mode 100755 index 0000000..50d5bba --- /dev/null +++ b/gfx/luminos/hud_icons/keys/keyface_forward.svg @@ -0,0 +1,102 @@ + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/gfx/luminos/hud_icons/keys/keyface_jump.svg b/gfx/luminos/hud_icons/keys/keyface_jump.svg new file mode 100644 index 0000000..f94e73f --- /dev/null +++ b/gfx/luminos/hud_icons/keys/keyface_jump.svg @@ -0,0 +1,111 @@ + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/gfx/luminos/hud_icons/keys/keyface_left.svg b/gfx/luminos/hud_icons/keys/keyface_left.svg new file mode 100644 index 0000000..2e9d018 --- /dev/null +++ b/gfx/luminos/hud_icons/keys/keyface_left.svg @@ -0,0 +1,104 @@ + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/gfx/luminos/hud_icons/keys/keyface_right.svg b/gfx/luminos/hud_icons/keys/keyface_right.svg new file mode 100644 index 0000000..7ecd037 --- /dev/null +++ b/gfx/luminos/hud_icons/keys/keyface_right.svg @@ -0,0 +1,104 @@ + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + diff --git a/gfx/luminos/hud_icons/keys/keys.blend b/gfx/luminos/hud_icons/keys/keys.blend new file mode 100644 index 0000000..f6c37b1 Binary files /dev/null and b/gfx/luminos/hud_icons/keys/keys.blend differ diff --git a/gfx/luminos/hud_icons/mods/create b/gfx/luminos/hud_icons/mods/create new file mode 100755 index 0000000..97a47e8 --- /dev/null +++ b/gfx/luminos/hud_icons/mods/create @@ -0,0 +1,17 @@ +#!/bin/bash +#Save created files in this subdirectory: +dir="created" + +#Create subdirectory, if not already existing +if [ ! -d "$dir" ] +then + mkdir "$dir" +fi + +#Copy images to subdirectory, add white border +cp *".tga" "$dir" +cd "$dir" +gimp -d -f -i \ +-b '(addborder "*.tga" 255 255 255 24 3 9 1 3)' \ +-b '(all2tga "*.tga" 1)' \ +-b '(gimp-quit 0)' diff --git a/gfx/luminos/hud_icons/mods/nexball_carrying.tga b/gfx/luminos/hud_icons/mods/nexball_carrying.tga new file mode 100644 index 0000000..dc4eff5 Binary files /dev/null and b/gfx/luminos/hud_icons/mods/nexball_carrying.tga differ diff --git a/gfx/luminos/hud_icons/notify/create b/gfx/luminos/hud_icons/notify/create new file mode 100755 index 0000000..53d1da7 --- /dev/null +++ b/gfx/luminos/hud_icons/notify/create @@ -0,0 +1,83 @@ +#!/bin/bash +#Save created files in this subdirectory: +dir="created" + +#Uses this font: +font="DejaVu-Sans-Bold" + +#Create subdirectory if not already existing +if [ ! -d "$dir" ] +then + mkdir "$dir" +fi + +#Method to render single Blender scene +render_blendscene() +{ + blender -b "${PWD}/${blendfile}.blend" -S "$blendscene" -o "//${dir}/${blendscene}#" -f 1 + rename "${blendscene}1" "$blendscene" "${dir}/${blendscene}1."* +} + +#Render the Blender scenes +blendfile="notify" +blendscene="notify_lava" +render_blendscene +blendscene="notify_slime" +render_blendscene +blendscene="notify_water" +render_blendscene + +#Export png from svg, render notify_telefrag +inkscape -f "crosshair.svg" -e "crosshair.png" +blendscene="notify_telefrag" +render_blendscene +rm "crosshair.png" + +#Create death images +convert "splatter.png" -resize 256x128 -fill "#bf0000" -tint 75 "${dir}/notify_death.tga" +convert "splatter.png" -resize 256x128 -fill "#004fff" -tint 100 "${dir}/notify_teamkill_blue.tga" +convert "splatter.png" -resize 256x128 -fill "#ff0000" -tint 100 "${dir}/notify_teamkill_red.tga" + +#Copy notify photos to dir +cp "notify"*".tga" "$dir" + +#Add white border to all tga images +cd "$dir" +gimp -d -f -i \ +-b '(addborder "*.tga" 255 255 255 16 2 6 1 2)' \ +-b '(gimp-quit 0)' + +#Create death related icons +convert -size 256x128 xc:transparent -gravity Center -font "$font" -pointsize 32 -fill "#ffffff" -draw "text -8,0 'SELF'" -channel RGBA -blur 1x1 "temp.tga" +composite -gravity Center "temp.tga" "notify_death.tga" "notify_selfkill.tga" + +convert -size 256x128 xc:transparent -gravity Center -font "$font" -pointsize 32 -fill "#ffffff" -draw "text -8,0 'FALL'" -channel RGBA -blur 1x1 "temp.tga" +composite -gravity Center "temp.tga" "notify_death.tga" "notify_fall.tga" + +convert -size 256x128 xc:transparent -gravity Center -font "$font" -pointsize 28 -fill "#ffffff" -draw "text -6,0 'AMMO'" -channel RGBA -blur 1x1 "temp.tga" +composite -gravity Center "temp.tga" "notify_death.tga" "notify_outofammo.tga" + +convert -size 256x128 xc:transparent -gravity Center -font "$font" -pointsize 32 -fill "#ffffff" -draw "text -5,0 'HEAD'" -channel RGBA -blur 1x1 "temp.tga" +composite -gravity Center "temp.tga" "notify_death.tga" "notify_headshot.tga" + +#Create teamkill icons +convert -size 256x128 xc:transparent -gravity Center -font "$font" -pointsize 32 -fill "#ffffff" -draw "text -6,0 'TEAM'" -channel RGBA -blur 1x1 "temp.tga" +composite -gravity Center "temp.tga" "notify_teamkill_blue.tga" "notify_teamkill_blue.tga" + +convert -size 256x128 xc:transparent -gravity Center -font "$font" -pointsize 32 -fill "#ffffff" -draw "text -6,0 'TEAM'" -channel RGBA -blur 1x1 "temp.tga" +composite -gravity Center "temp.tga" "notify_teamkill_red.tga" "notify_teamkill_red.tga" + +rm "temp.tga" + +#Render shootingstar and void (AFTER running the addborder script on all tga files) +cd .. +blendscene="notify_shootingstar" +render_blendscene +blendscene="notify_void" +render_blendscene + +#RLE compress tga files +cd "$dir" +gimp -d -f -i \ +-b '(all2tga "*.tga" 1)' \ +-b '(gimp-quit 0)' diff --git a/gfx/luminos/hud_icons/notify/crosshair.svg b/gfx/luminos/hud_icons/notify/crosshair.svg new file mode 100755 index 0000000..1e90844 --- /dev/null +++ b/gfx/luminos/hud_icons/notify/crosshair.svg @@ -0,0 +1,104 @@ + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + diff --git a/gfx/luminos/hud_icons/notify/notify.blend b/gfx/luminos/hud_icons/notify/notify.blend new file mode 100644 index 0000000..6d3e6c1 Binary files /dev/null and b/gfx/luminos/hud_icons/notify/notify.blend differ diff --git a/gfx/luminos/hud_icons/notify/notify_camping.tga b/gfx/luminos/hud_icons/notify/notify_camping.tga new file mode 100644 index 0000000..8656a86 Binary files /dev/null and b/gfx/luminos/hud_icons/notify/notify_camping.tga differ diff --git a/gfx/luminos/hud_icons/notify/notify_melee.tga b/gfx/luminos/hud_icons/notify/notify_melee.tga new file mode 100644 index 0000000..ba1ed5e Binary files /dev/null and b/gfx/luminos/hud_icons/notify/notify_melee.tga differ diff --git a/gfx/luminos/hud_icons/notify/splatter.png b/gfx/luminos/hud_icons/notify/splatter.png new file mode 100644 index 0000000..d4c6f17 Binary files /dev/null and b/gfx/luminos/hud_icons/notify/splatter.png differ diff --git a/gfx/luminos/hud_icons/race/create b/gfx/luminos/hud_icons/race/create new file mode 100755 index 0000000..5b33183 --- /dev/null +++ b/gfx/luminos/hud_icons/race/create @@ -0,0 +1,39 @@ +#!/bin/bash +#Save created files in this subdirectory: +dir="created" + +#Create subdirectory if not already existing +if [ ! -d "$dir" ] +then + mkdir "$dir" +fi + +#Method to render single Blender scene +render_blendscene() +{ + blender -b "${PWD}/${blendfile}.blend" -S "$blendscene" -o "//${dir}/${blendscene}#" -f 1 + rename "${blendscene}1" "$blendscene" "${dir}/${blendscene}1."* +} + +#Render the Blender blendscenes +blendfile="race" +blendscene="race_newrecordserver" +render_blendscene +blendscene="race_newrank" +render_blendscene +blendscene="race_newtime" +render_blendscene +blendscene="race_newfail" +render_blendscene + +#Add white border and RLE compress tga files +cd "$dir" +gimp -d -f -i \ +-b '(addborder "*.tga" 255 255 255 24 3 9 0 2)' \ +-b '(all2tga "*.tga" 1)' \ +-b '(gimp-quit 0)' + +#For compatibility with current HUD: +#Copy and rename newrank icons +cp "race_newrank.tga" "race_newrankyellow.tga" +rename "newrank" "newrankgreen" "race_newrank.tga" diff --git a/gfx/luminos/hud_icons/race/dial_raw.svg b/gfx/luminos/hud_icons/race/dial_raw.svg new file mode 100644 index 0000000..70d4c65 --- /dev/null +++ b/gfx/luminos/hud_icons/race/dial_raw.svg @@ -0,0 +1,110 @@ + + + + + + + + + + + + image/svg+xml + + + + + + + + + NEW RECORD + + + diff --git a/gfx/luminos/hud_icons/race/race.blend b/gfx/luminos/hud_icons/race/race.blend new file mode 100644 index 0000000..6ade00d Binary files /dev/null and b/gfx/luminos/hud_icons/race/race.blend differ diff --git a/gfx/luminos/hud_icons/voteprogress/create b/gfx/luminos/hud_icons/voteprogress/create new file mode 100755 index 0000000..710d4c3 --- /dev/null +++ b/gfx/luminos/hud_icons/voteprogress/create @@ -0,0 +1,34 @@ +#!/bin/bash +#Save created files in this subdirectory: +dir="created" + +#Create subdirectory if not already existing +if [ ! -d "$dir" ] +then + mkdir "$dir" +fi + +#Method to render single Blender scene +render_blendscene() +{ + blender -b "${PWD}/${blendfile}.blend" -S "$blendscene" -o "//${dir}/${blendscene}#" -f 1 + rename "${blendscene}1" "$blendscene" "${dir}/${blendscene}1."* +} + +#Render the Blender scenes +blendfile="voteprogress" +blendscene="voteprogress_back" +render_blendscene +blendscene="voteprogress_prog" +render_blendscene +blendscene="voteprogress_voted" +render_blendscene + +#Edit voteprogress_back and RLE compress tga files +cd "$dir" +gimp -d -f -i \ +-b '(dbca "voteprogress_back.tga" 1 127 0 0.0)' \ +-b '(dbca "voteprogress_back.tga" 0 127 0 0.0)' \ +-b '(addborder "voteprogress_back.tga" 255 255 255 16 2 6 0 2)' \ +-b '(all2tga "*.tga" 1)' \ +-b '(gimp-quit 0)' diff --git a/gfx/luminos/hud_icons/voteprogress/voteprogress.blend b/gfx/luminos/hud_icons/voteprogress/voteprogress.blend new file mode 100644 index 0000000..9f90508 Binary files /dev/null and b/gfx/luminos/hud_icons/voteprogress/voteprogress.blend differ diff --git a/gfx/luminos/hud_icons/weapos/create b/gfx/luminos/hud_icons/weapos/create new file mode 100755 index 0000000..4144aa4 --- /dev/null +++ b/gfx/luminos/hud_icons/weapos/create @@ -0,0 +1,18 @@ +#!/bin/bash +#Save created files in this subdirectory: +dir="created" + +#Create subdirectory, if not already existing +if [ ! -d "$dir" ] +then + mkdir "$dir" +fi + +#Copy images to subdirectory, add white border +cp *".tga" "$dir" +cd "$dir" +gimp -d -f -i \ +-b '(dbca "*.tga" 0 15 7 0.0)' \ +-b '(addborder "*.tga" 255 255 255 16 2 6 1 3)' \ +-b '(all2tga "*.tga" 1)' \ +-b '(gimp-quit 0)' diff --git a/gfx/luminos/hud_icons/weapos/weapon_hlacmod_renameit.tga b/gfx/luminos/hud_icons/weapos/weapon_hlacmod_renameit.tga new file mode 100644 index 0000000..503dad9 Binary files /dev/null and b/gfx/luminos/hud_icons/weapos/weapon_hlacmod_renameit.tga differ diff --git a/gfx/luminos/hud_icons/weapos/weaponcampingrifle.tga b/gfx/luminos/hud_icons/weapos/weaponcampingrifle.tga new file mode 100644 index 0000000..09da559 Binary files /dev/null and b/gfx/luminos/hud_icons/weapos/weaponcampingrifle.tga differ diff --git a/gfx/luminos/hud_icons/weapos/weaponcrylink.tga b/gfx/luminos/hud_icons/weapos/weaponcrylink.tga new file mode 100644 index 0000000..1a92967 Binary files /dev/null and b/gfx/luminos/hud_icons/weapos/weaponcrylink.tga differ diff --git a/gfx/luminos/hud_icons/weapos/weaponelectro.tga b/gfx/luminos/hud_icons/weapos/weaponelectro.tga new file mode 100644 index 0000000..b800f0a Binary files /dev/null and b/gfx/luminos/hud_icons/weapos/weaponelectro.tga differ diff --git a/gfx/luminos/hud_icons/weapos/weaponfireball.tga b/gfx/luminos/hud_icons/weapos/weaponfireball.tga new file mode 100644 index 0000000..b90d687 Binary files /dev/null and b/gfx/luminos/hud_icons/weapos/weaponfireball.tga differ diff --git a/gfx/luminos/hud_icons/weapos/weapongrenadelauncher.tga b/gfx/luminos/hud_icons/weapos/weapongrenadelauncher.tga new file mode 100644 index 0000000..91a8ce4 Binary files /dev/null and b/gfx/luminos/hud_icons/weapos/weapongrenadelauncher.tga differ diff --git a/gfx/luminos/hud_icons/weapos/weaponhagar.tga b/gfx/luminos/hud_icons/weapos/weaponhagar.tga new file mode 100644 index 0000000..3803159 Binary files /dev/null and b/gfx/luminos/hud_icons/weapos/weaponhagar.tga differ diff --git a/gfx/luminos/hud_icons/weapos/weaponhlac.tga b/gfx/luminos/hud_icons/weapos/weaponhlac.tga new file mode 100644 index 0000000..b63c2d8 Binary files /dev/null and b/gfx/luminos/hud_icons/weapos/weaponhlac.tga differ diff --git a/gfx/luminos/hud_icons/weapos/weaponhook.tga b/gfx/luminos/hud_icons/weapos/weaponhook.tga new file mode 100644 index 0000000..a1f662e Binary files /dev/null and b/gfx/luminos/hud_icons/weapos/weaponhook.tga differ diff --git a/gfx/luminos/hud_icons/weapos/weaponlaser.tga b/gfx/luminos/hud_icons/weapos/weaponlaser.tga new file mode 100644 index 0000000..b66500b Binary files /dev/null and b/gfx/luminos/hud_icons/weapos/weaponlaser.tga differ diff --git a/gfx/luminos/hud_icons/weapos/weaponminstanex.tga b/gfx/luminos/hud_icons/weapos/weaponminstanex.tga new file mode 100644 index 0000000..ae18113 Binary files /dev/null and b/gfx/luminos/hud_icons/weapos/weaponminstanex.tga differ diff --git a/gfx/luminos/hud_icons/weapos/weaponnex.tga b/gfx/luminos/hud_icons/weapos/weaponnex.tga new file mode 100644 index 0000000..98adbe8 Binary files /dev/null and b/gfx/luminos/hud_icons/weapos/weaponnex.tga differ diff --git a/gfx/luminos/hud_icons/weapos/weaponnex_old.tga b/gfx/luminos/hud_icons/weapos/weaponnex_old.tga new file mode 100644 index 0000000..7523580 Binary files /dev/null and b/gfx/luminos/hud_icons/weapos/weaponnex_old.tga differ diff --git a/gfx/luminos/hud_icons/weapos/weaponporto.tga b/gfx/luminos/hud_icons/weapos/weaponporto.tga new file mode 100644 index 0000000..444247f Binary files /dev/null and b/gfx/luminos/hud_icons/weapos/weaponporto.tga differ diff --git a/gfx/luminos/hud_icons/weapos/weaponrocketlauncher.tga b/gfx/luminos/hud_icons/weapos/weaponrocketlauncher.tga new file mode 100644 index 0000000..bca989f Binary files /dev/null and b/gfx/luminos/hud_icons/weapos/weaponrocketlauncher.tga differ diff --git a/gfx/luminos/hud_icons/weapos/weaponseeker.tga b/gfx/luminos/hud_icons/weapos/weaponseeker.tga new file mode 100644 index 0000000..0a8cf7e Binary files /dev/null and b/gfx/luminos/hud_icons/weapos/weaponseeker.tga differ diff --git a/gfx/luminos/hud_icons/weapos/weaponshotgun.tga b/gfx/luminos/hud_icons/weapos/weaponshotgun.tga new file mode 100644 index 0000000..32f8e20 Binary files /dev/null and b/gfx/luminos/hud_icons/weapos/weaponshotgun.tga differ diff --git a/gfx/luminos/hud_icons/weapos/weapontuba.tga b/gfx/luminos/hud_icons/weapos/weapontuba.tga new file mode 100644 index 0000000..ba59aca Binary files /dev/null and b/gfx/luminos/hud_icons/weapos/weapontuba.tga differ diff --git a/gfx/luminos/hud_icons/weapos/weaponuzi.tga b/gfx/luminos/hud_icons/weapos/weaponuzi.tga new file mode 100644 index 0000000..72ce481 Binary files /dev/null and b/gfx/luminos/hud_icons/weapos/weaponuzi.tga differ diff --git a/gfx/luminos/hud_svg/ammo_current_bg.svg b/gfx/luminos/hud_svg/ammo_current_bg.svg new file mode 100755 index 0000000..7a24af4 --- /dev/null +++ b/gfx/luminos/hud_svg/ammo_current_bg.svg @@ -0,0 +1,134 @@ + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + diff --git a/gfx/luminos/hud_svg/border_default.svg b/gfx/luminos/hud_svg/border_default.svg new file mode 100644 index 0000000..2f2cf95 --- /dev/null +++ b/gfx/luminos/hud_svg/border_default.svg @@ -0,0 +1,166 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + diff --git a/gfx/luminos/hud_svg/create b/gfx/luminos/hud_svg/create new file mode 100755 index 0000000..451f4db --- /dev/null +++ b/gfx/luminos/hud_svg/create @@ -0,0 +1,20 @@ +#!/bin/bash +#Save created files in this subdirectory: +dir="created" + +#Create subdirectory if not already existing +if [ ! -d "$dir" ] +then + mkdir "$dir" +fi + +#Export png from svg files (to subdirectory) +for f in *".svg" +do + inkscape -f "$f" -e "${dir}/`basename $f .svg`.png" +done + +#Convert from png to tga (RLE compressed), remove png +cd "$dir" +gimp -d -f -i -b '(all2tga "*.png" 1)' -b '(gimp-quit 0)' +rm *".png" diff --git a/gfx/luminos/hud_svg/dock_medium.svg b/gfx/luminos/hud_svg/dock_medium.svg new file mode 100755 index 0000000..b122a33 --- /dev/null +++ b/gfx/luminos/hud_svg/dock_medium.svg @@ -0,0 +1,224 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + diff --git a/gfx/luminos/hud_svg/num_leading.svg b/gfx/luminos/hud_svg/num_leading.svg new file mode 100755 index 0000000..d080d90 --- /dev/null +++ b/gfx/luminos/hud_svg/num_leading.svg @@ -0,0 +1,105 @@ + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/gfx/luminos/hud_svg/statusbar.svg b/gfx/luminos/hud_svg/statusbar.svg new file mode 100755 index 0000000..b2e3a0e --- /dev/null +++ b/gfx/luminos/hud_svg/statusbar.svg @@ -0,0 +1,100 @@ + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/gfx/luminos/hud_svg/statusbar_vertical.svg b/gfx/luminos/hud_svg/statusbar_vertical.svg new file mode 100644 index 0000000..817f3ff --- /dev/null +++ b/gfx/luminos/hud_svg/statusbar_vertical.svg @@ -0,0 +1,101 @@ + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + diff --git a/gfx/luminos/hud_svg/weapon_accuracy.svg b/gfx/luminos/hud_svg/weapon_accuracy.svg new file mode 100644 index 0000000..e2120f5 --- /dev/null +++ b/gfx/luminos/hud_svg/weapon_accuracy.svg @@ -0,0 +1,110 @@ + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/gfx/luminos/hud_svg/weapon_ammo.svg b/gfx/luminos/hud_svg/weapon_ammo.svg new file mode 100644 index 0000000..1d3df08 --- /dev/null +++ b/gfx/luminos/hud_svg/weapon_ammo.svg @@ -0,0 +1,110 @@ + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/gfx/luminos/hud_svg/weapon_complainbubble.svg b/gfx/luminos/hud_svg/weapon_complainbubble.svg new file mode 100755 index 0000000..a3afd5f --- /dev/null +++ b/gfx/luminos/hud_svg/weapon_complainbubble.svg @@ -0,0 +1,118 @@ + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + diff --git a/gfx/luminos/hud_svg/weapon_current_bg.svg b/gfx/luminos/hud_svg/weapon_current_bg.svg new file mode 100755 index 0000000..366851e --- /dev/null +++ b/gfx/luminos/hud_svg/weapon_current_bg.svg @@ -0,0 +1,118 @@ + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + diff --git a/gfx/luminos/menu_background/background_l2.svg b/gfx/luminos/menu_background/background_l2.svg new file mode 100644 index 0000000..0674a04 --- /dev/null +++ b/gfx/luminos/menu_background/background_l2.svg @@ -0,0 +1,689 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + Xonotic Logo + 2010 + + + Xonotic Community + + + + + + + + + + Xonotic Community + + + + + + + + + + + Xonotic + Phoenix + Logo + + + + The logo of the Xonotic project. + + + + + + + VERSIONPLACEHOLDER + + + + + + + + + diff --git a/gfx/luminos/menu_background/planet.blend b/gfx/luminos/menu_background/planet.blend new file mode 100644 index 0000000..3ea88fe Binary files /dev/null and b/gfx/luminos/menu_background/planet.blend differ diff --git a/gfx/luminos/menu_background/sunrise.xcf b/gfx/luminos/menu_background/sunrise.xcf new file mode 100644 index 0000000..df93c63 Binary files /dev/null and b/gfx/luminos/menu_background/sunrise.xcf differ diff --git a/gfx/luminos/menu_background/texture.png b/gfx/luminos/menu_background/texture.png new file mode 100644 index 0000000..83a36b1 Binary files /dev/null and b/gfx/luminos/menu_background/texture.png differ diff --git a/gfx/luminos/menu_background/versionbuilder b/gfx/luminos/menu_background/versionbuilder new file mode 100755 index 0000000..c7e6c46 --- /dev/null +++ b/gfx/luminos/menu_background/versionbuilder @@ -0,0 +1,29 @@ +#!/bin/bash +#Uses Inkscape, Gimp and sed. +#Requires the provided Gimp script (all2tga.scm) to be present in ~/.gimp*/scripts/. + +#Creates the background_(ingame_)l2.tga images, with a given version string argument. + +#The appearance of the string is defined by the master element in background_l2.svg: +#BlurAll > Version > VersionMaster +#The visible parts (Fill, Border, Glow) are duplicates of the master element. +#If the font or its size is changed, the gradients of the duplicates may need adjustment. + +#Check for valid argument +if [ -z "$1" ] +then + echo "Usage:" + echo "$0 [Version String]" + echo "" + exit 3 +fi + +#Create tmp.svg with version string according to argument +sed -e "s/VERSIONPLACEHOLDER/$1/" background_l2.svg > tmp.svg + +#Create tga files +inkscape -f "tmp.svg" -d 90 -e "background_l2.png" +gimp -d -f -i -b '(all2tga "background_l2.png" 1)' -b '(gimp-quit 0)' +cp background_l2.tga background_ingame_l2.tga +rm tmp.svg +rm background_l2.png diff --git a/gfx/luminos/menu_svg/bigbutton_c.svg b/gfx/luminos/menu_svg/bigbutton_c.svg new file mode 100644 index 0000000..f66eee7 --- /dev/null +++ b/gfx/luminos/menu_svg/bigbutton_c.svg @@ -0,0 +1,132 @@ + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + diff --git a/gfx/luminos/menu_svg/bigbutton_f.svg b/gfx/luminos/menu_svg/bigbutton_f.svg new file mode 100644 index 0000000..9664932 --- /dev/null +++ b/gfx/luminos/menu_svg/bigbutton_f.svg @@ -0,0 +1,129 @@ + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + diff --git a/gfx/luminos/menu_svg/bigbutton_n.svg b/gfx/luminos/menu_svg/bigbutton_n.svg new file mode 100755 index 0000000..3c9ce2a --- /dev/null +++ b/gfx/luminos/menu_svg/bigbutton_n.svg @@ -0,0 +1,129 @@ + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + diff --git a/gfx/luminos/menu_svg/border.svg b/gfx/luminos/menu_svg/border.svg new file mode 100755 index 0000000..050d2f8 --- /dev/null +++ b/gfx/luminos/menu_svg/border.svg @@ -0,0 +1,221 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + diff --git a/gfx/luminos/menu_svg/button_c.svg b/gfx/luminos/menu_svg/button_c.svg new file mode 100755 index 0000000..802265d --- /dev/null +++ b/gfx/luminos/menu_svg/button_c.svg @@ -0,0 +1,137 @@ + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + diff --git a/gfx/luminos/menu_svg/button_f.svg b/gfx/luminos/menu_svg/button_f.svg new file mode 100755 index 0000000..e783052 --- /dev/null +++ b/gfx/luminos/menu_svg/button_f.svg @@ -0,0 +1,141 @@ + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + diff --git a/gfx/luminos/menu_svg/button_n.svg b/gfx/luminos/menu_svg/button_n.svg new file mode 100755 index 0000000..b86069a --- /dev/null +++ b/gfx/luminos/menu_svg/button_n.svg @@ -0,0 +1,140 @@ + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + diff --git a/gfx/luminos/menu_svg/charmapbutton.svg b/gfx/luminos/menu_svg/charmapbutton.svg new file mode 100755 index 0000000..480889b --- /dev/null +++ b/gfx/luminos/menu_svg/charmapbutton.svg @@ -0,0 +1,97 @@ + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/gfx/luminos/menu_svg/checkbox_c0.svg b/gfx/luminos/menu_svg/checkbox_c0.svg new file mode 100644 index 0000000..5557dd3 --- /dev/null +++ b/gfx/luminos/menu_svg/checkbox_c0.svg @@ -0,0 +1,114 @@ + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/gfx/luminos/menu_svg/checkbox_f0.svg b/gfx/luminos/menu_svg/checkbox_f0.svg new file mode 100644 index 0000000..93da9d5 --- /dev/null +++ b/gfx/luminos/menu_svg/checkbox_f0.svg @@ -0,0 +1,114 @@ + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/gfx/luminos/menu_svg/checkbox_f1.svg b/gfx/luminos/menu_svg/checkbox_f1.svg new file mode 100644 index 0000000..22976a2 --- /dev/null +++ b/gfx/luminos/menu_svg/checkbox_f1.svg @@ -0,0 +1,114 @@ + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/gfx/luminos/menu_svg/checkbox_n0.svg b/gfx/luminos/menu_svg/checkbox_n0.svg new file mode 100755 index 0000000..2f6b650 --- /dev/null +++ b/gfx/luminos/menu_svg/checkbox_n0.svg @@ -0,0 +1,114 @@ + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/gfx/luminos/menu_svg/checkmark.svg b/gfx/luminos/menu_svg/checkmark.svg new file mode 100755 index 0000000..106784c --- /dev/null +++ b/gfx/luminos/menu_svg/checkmark.svg @@ -0,0 +1,127 @@ + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/gfx/luminos/menu_svg/closebutton_c.svg b/gfx/luminos/menu_svg/closebutton_c.svg new file mode 100755 index 0000000..e29cd15 --- /dev/null +++ b/gfx/luminos/menu_svg/closebutton_c.svg @@ -0,0 +1,115 @@ + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + diff --git a/gfx/luminos/menu_svg/closebutton_f.svg b/gfx/luminos/menu_svg/closebutton_f.svg new file mode 100755 index 0000000..8b5dd9d --- /dev/null +++ b/gfx/luminos/menu_svg/closebutton_f.svg @@ -0,0 +1,119 @@ + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + diff --git a/gfx/luminos/menu_svg/closebutton_n.svg b/gfx/luminos/menu_svg/closebutton_n.svg new file mode 100755 index 0000000..d82a5cf --- /dev/null +++ b/gfx/luminos/menu_svg/closebutton_n.svg @@ -0,0 +1,119 @@ + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + diff --git a/gfx/luminos/menu_svg/color.svg b/gfx/luminos/menu_svg/color.svg new file mode 100755 index 0000000..2cc1c78 --- /dev/null +++ b/gfx/luminos/menu_svg/color.svg @@ -0,0 +1,96 @@ + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/gfx/luminos/menu_svg/create b/gfx/luminos/menu_svg/create new file mode 100755 index 0000000..233e32c --- /dev/null +++ b/gfx/luminos/menu_svg/create @@ -0,0 +1,55 @@ +#!/bin/bash +#Save created files in this subdirectory: +dir="created" + +#Create subdirectory if not already existing +if [ ! -d "$dir" ] +then + mkdir "$dir" +fi + +#Export png from svg files (to subdirectory) +for f in *".svg" +do + inkscape -f "$f" -d 90 -e "${dir}/`basename $f .svg`.png" +done + +#Create bigbuttons +for f in "bigbutton"*".svg" +do + inkscape -f "$f" -d 180 -e "${dir}/`basename $f .svg`.png" +done + +#Copy identical images +cd "$dir" +cp bigbutton_n.png bigbutton_d.png +cp bigbutton_c.png bigbuttongray_c.png +cp bigbutton_n.png bigbuttongray_d.png +cp bigbutton_f.png bigbuttongray_f.png +cp bigbutton_n.png bigbuttongray_n.png +cp button_n.png button_d.png +cp button_c.png buttongray_c.png +cp button_n.png buttongray_d.png +cp button_f.png buttongray_f.png +cp button_n.png buttongray_n.png +cp checkbox_c0.png checkbox_c1.png +cp checkbox_c0.png checkbox_n1.png +cp checkbox_n0.png checkbox_d0.png +cp checkbox_n1.png checkbox_d1.png +cp radiobutton_c0.png radiobutton_c1.png +cp radiobutton_c0.png radiobutton_n1.png +cp radiobutton_n0.png radiobutton_d0.png +cp radiobutton_n1.png radiobutton_d1.png +cp slider_n.png slider_d.png +cp crosshairbutton_c.png colorbutton_c.png +cp crosshairbutton_f.png colorbutton_f.png + +#Edit and convert files +gimp -d -f -i \ +-b '(dbca "*gray*" 1 0 0 0.0)' \ +-b '(dbca "*_d*" 0 0 0 50.0)' \ +-b '(all2tga "*.png" 1)' \ +-b '(gimp-quit 0)' + +#remove png files +rm *".png" diff --git a/gfx/luminos/menu_svg/crosshairbutton_c.svg b/gfx/luminos/menu_svg/crosshairbutton_c.svg new file mode 100755 index 0000000..783e338 --- /dev/null +++ b/gfx/luminos/menu_svg/crosshairbutton_c.svg @@ -0,0 +1,99 @@ + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/gfx/luminos/menu_svg/crosshairbutton_f.svg b/gfx/luminos/menu_svg/crosshairbutton_f.svg new file mode 100755 index 0000000..559f856 --- /dev/null +++ b/gfx/luminos/menu_svg/crosshairbutton_f.svg @@ -0,0 +1,99 @@ + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/gfx/luminos/menu_svg/cursor.svg b/gfx/luminos/menu_svg/cursor.svg new file mode 100755 index 0000000..3e536ac --- /dev/null +++ b/gfx/luminos/menu_svg/cursor.svg @@ -0,0 +1,110 @@ + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/gfx/luminos/menu_svg/cursor_move.svg b/gfx/luminos/menu_svg/cursor_move.svg new file mode 100755 index 0000000..488ea5f --- /dev/null +++ b/gfx/luminos/menu_svg/cursor_move.svg @@ -0,0 +1,122 @@ + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + diff --git a/gfx/luminos/menu_svg/cursor_resize.svg b/gfx/luminos/menu_svg/cursor_resize.svg new file mode 100644 index 0000000..968ae61 --- /dev/null +++ b/gfx/luminos/menu_svg/cursor_resize.svg @@ -0,0 +1,110 @@ + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/gfx/luminos/menu_svg/cursor_resize2.svg b/gfx/luminos/menu_svg/cursor_resize2.svg new file mode 100644 index 0000000..7e704ce --- /dev/null +++ b/gfx/luminos/menu_svg/cursor_resize2.svg @@ -0,0 +1,110 @@ + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/gfx/luminos/menu_svg/inputbox_f.svg b/gfx/luminos/menu_svg/inputbox_f.svg new file mode 100644 index 0000000..b73e68c --- /dev/null +++ b/gfx/luminos/menu_svg/inputbox_f.svg @@ -0,0 +1,158 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + diff --git a/gfx/luminos/menu_svg/inputbox_n.svg b/gfx/luminos/menu_svg/inputbox_n.svg new file mode 100755 index 0000000..d5e57c1 --- /dev/null +++ b/gfx/luminos/menu_svg/inputbox_n.svg @@ -0,0 +1,158 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + diff --git a/gfx/luminos/menu_svg/radiobutton_c0.svg b/gfx/luminos/menu_svg/radiobutton_c0.svg new file mode 100644 index 0000000..5b3659c --- /dev/null +++ b/gfx/luminos/menu_svg/radiobutton_c0.svg @@ -0,0 +1,122 @@ + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + diff --git a/gfx/luminos/menu_svg/radiobutton_f0.svg b/gfx/luminos/menu_svg/radiobutton_f0.svg new file mode 100644 index 0000000..0545042 --- /dev/null +++ b/gfx/luminos/menu_svg/radiobutton_f0.svg @@ -0,0 +1,122 @@ + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + diff --git a/gfx/luminos/menu_svg/radiobutton_f1.svg b/gfx/luminos/menu_svg/radiobutton_f1.svg new file mode 100644 index 0000000..be69ba4 --- /dev/null +++ b/gfx/luminos/menu_svg/radiobutton_f1.svg @@ -0,0 +1,122 @@ + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + diff --git a/gfx/luminos/menu_svg/radiobutton_n0.svg b/gfx/luminos/menu_svg/radiobutton_n0.svg new file mode 100755 index 0000000..b4e9389 --- /dev/null +++ b/gfx/luminos/menu_svg/radiobutton_n0.svg @@ -0,0 +1,122 @@ + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + diff --git a/gfx/luminos/menu_svg/scrollbar_c.svg b/gfx/luminos/menu_svg/scrollbar_c.svg new file mode 100644 index 0000000..6da3af2 --- /dev/null +++ b/gfx/luminos/menu_svg/scrollbar_c.svg @@ -0,0 +1,122 @@ + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + diff --git a/gfx/luminos/menu_svg/scrollbar_f.svg b/gfx/luminos/menu_svg/scrollbar_f.svg new file mode 100644 index 0000000..d8cbe9a --- /dev/null +++ b/gfx/luminos/menu_svg/scrollbar_f.svg @@ -0,0 +1,122 @@ + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + diff --git a/gfx/luminos/menu_svg/scrollbar_n.svg b/gfx/luminos/menu_svg/scrollbar_n.svg new file mode 100644 index 0000000..69da263 --- /dev/null +++ b/gfx/luminos/menu_svg/scrollbar_n.svg @@ -0,0 +1,122 @@ + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + diff --git a/gfx/luminos/menu_svg/scrollbar_s.svg b/gfx/luminos/menu_svg/scrollbar_s.svg new file mode 100644 index 0000000..a346734 --- /dev/null +++ b/gfx/luminos/menu_svg/scrollbar_s.svg @@ -0,0 +1,130 @@ + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + diff --git a/gfx/luminos/menu_svg/slider_c.svg b/gfx/luminos/menu_svg/slider_c.svg new file mode 100644 index 0000000..59f0609 --- /dev/null +++ b/gfx/luminos/menu_svg/slider_c.svg @@ -0,0 +1,110 @@ + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/gfx/luminos/menu_svg/slider_f.svg b/gfx/luminos/menu_svg/slider_f.svg new file mode 100644 index 0000000..1cd42a2 --- /dev/null +++ b/gfx/luminos/menu_svg/slider_f.svg @@ -0,0 +1,110 @@ + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/gfx/luminos/menu_svg/slider_n.svg b/gfx/luminos/menu_svg/slider_n.svg new file mode 100644 index 0000000..1475e86 --- /dev/null +++ b/gfx/luminos/menu_svg/slider_n.svg @@ -0,0 +1,110 @@ + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/gfx/luminos/menu_svg/slider_s.svg b/gfx/luminos/menu_svg/slider_s.svg new file mode 100644 index 0000000..c6b70fe --- /dev/null +++ b/gfx/luminos/menu_svg/slider_s.svg @@ -0,0 +1,125 @@ + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + diff --git a/gfx/luminos/menu_svg/tooltip.svg b/gfx/luminos/menu_svg/tooltip.svg new file mode 100644 index 0000000..04bafe9 --- /dev/null +++ b/gfx/luminos/menu_svg/tooltip.svg @@ -0,0 +1,203 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + diff --git a/gfx/luminos/readme.txt b/gfx/luminos/readme.txt new file mode 100755 index 0000000..52790d0 --- /dev/null +++ b/gfx/luminos/readme.txt @@ -0,0 +1,50 @@ +========================== +Luminos - Xonotic Skin(s) +========================== + +Released : 2010 +Author : Severin "sev" Meyer +EMail : sev.ch(at)web.de + +Programs used: Inkscape 0.48, Gimp 2.6.8, Blender 2.49a, ImageMagick 6.5.4-8 + +========================== +./create scripts (Linux) +========================== + +The ./create shell scripts batch-export, render and +convert the final images from various sourcefiles. + +They use Inkscape, Gimp, Blender and ImageMagick, and require the provided +Gimp scripts (gimp_files/*.scm) to be present in ~/.gimp*/scripts/. + +========================== +Foreign Sourcefiles +========================== + +All foreign images and Blender materials I used for the +HUD skin have been released into the Public Domain. + +For some of the notify icons, I used the following Blender materials from the +Blender Open Material Repository, found at http://www.blender-materials.org: +alien_egg.blend by sypher7 +hard_lava.blend by madnux +ocean_water.blend by Paratron + +The original photography of the tent (notify_camping) can be found here: +http://commons.wikimedia.org/wiki/File:NEMO_Moki.jpg + +The original photography of the trout (notify_melee) can be found here: +http://commons.wikimedia.org/wiki/File:Brown_Trout_19_10_08.JPG + +========================== +GNU General Public License +========================== + +I release the files, that I created for this project, under the terms of the +GNU General Public License as published by the Free Software Foundation, either +version 2 of the License, or any later version. + +All the files that are part of this project are distributed in the hope +that they will be useful, but WITHOUT ANY WARRANTY; without even the +implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. diff --git a/gfx/luminos/scoreboard_svg/create b/gfx/luminos/scoreboard_svg/create new file mode 100755 index 0000000..f4810b7 --- /dev/null +++ b/gfx/luminos/scoreboard_svg/create @@ -0,0 +1,24 @@ +#!/bin/bash +#Save created files in this subdirectory: +dir="created" + +#Create subdirectory if not already existing +if [ ! -d "$dir" ] +then + mkdir "$dir" +fi + +#Export png from svg files (to subdirectory) +for f in *".svg" +do + inkscape -f "$f" -d 90 -e "${dir}/`basename $f .svg`.png" +done + +#Cconvert files +cd "$dir" +gimp -d -f -i \ +-b '(all2tga "*.png" 1)' \ +-b '(gimp-quit 0)' + +#remove png files +rm *".png" diff --git a/gfx/luminos/scoreboard_svg/player_ready.svg b/gfx/luminos/scoreboard_svg/player_ready.svg new file mode 100755 index 0000000..3b42d9e --- /dev/null +++ b/gfx/luminos/scoreboard_svg/player_ready.svg @@ -0,0 +1,105 @@ + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/gfx/luminos/scoreboard_svg/playercolor_base.svg b/gfx/luminos/scoreboard_svg/playercolor_base.svg new file mode 100644 index 0000000..58331d9 --- /dev/null +++ b/gfx/luminos/scoreboard_svg/playercolor_base.svg @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + diff --git a/gfx/luminos/scoreboard_svg/playercolor_pants.svg b/gfx/luminos/scoreboard_svg/playercolor_pants.svg new file mode 100644 index 0000000..98df25f --- /dev/null +++ b/gfx/luminos/scoreboard_svg/playercolor_pants.svg @@ -0,0 +1,109 @@ + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/gfx/luminos/scoreboard_svg/playercolor_shirt.svg b/gfx/luminos/scoreboard_svg/playercolor_shirt.svg new file mode 100644 index 0000000..8af52b7 --- /dev/null +++ b/gfx/luminos/scoreboard_svg/playercolor_shirt.svg @@ -0,0 +1,109 @@ + + + + + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/gfx/luminos/scoreboard_svg/scoreboard_bg.svg b/gfx/luminos/scoreboard_svg/scoreboard_bg.svg new file mode 100755 index 0000000..137013e --- /dev/null +++ b/gfx/luminos/scoreboard_svg/scoreboard_bg.svg @@ -0,0 +1,92 @@ + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/gfx/skins_luminos.zip b/gfx/skins_luminos.zip deleted file mode 100644 index 421898b..0000000 Binary files a/gfx/skins_luminos.zip and /dev/null differ