diff --git a/games/riven_hgr/disk00_files/graphics_cho/cho_overlay041.png b/games/riven_hgr/disk00_files/graphics_cho/cho_overlay041.png new file mode 100644 index 00000000..69ac2c32 Binary files /dev/null and b/games/riven_hgr/disk00_files/graphics_cho/cho_overlay041.png differ diff --git a/games/riven_hgr/disk00_files/graphics_cho/cho_overlay042.png b/games/riven_hgr/disk00_files/graphics_cho/cho_overlay042.png new file mode 100644 index 00000000..15a6447c Binary files /dev/null and b/games/riven_hgr/disk00_files/graphics_cho/cho_overlay042.png differ diff --git a/games/riven_hgr/disk00_files/graphics_cho/cho_overlay043.png b/games/riven_hgr/disk00_files/graphics_cho/cho_overlay043.png new file mode 100644 index 00000000..90c4bcbe Binary files /dev/null and b/games/riven_hgr/disk00_files/graphics_cho/cho_overlay043.png differ diff --git a/games/riven_hgr/disk00_files/graphics_cho/cho_overlay044.png b/games/riven_hgr/disk00_files/graphics_cho/cho_overlay044.png new file mode 100644 index 00000000..a96ed97e Binary files /dev/null and b/games/riven_hgr/disk00_files/graphics_cho/cho_overlay044.png differ diff --git a/games/riven_hgr/disk00_files/graphics_cho/cho_overlay045.png b/games/riven_hgr/disk00_files/graphics_cho/cho_overlay045.png new file mode 100644 index 00000000..12e6fa70 Binary files /dev/null and b/games/riven_hgr/disk00_files/graphics_cho/cho_overlay045.png differ diff --git a/games/riven_hgr/disk00_files/graphics_cho/cho_overlay046.png b/games/riven_hgr/disk00_files/graphics_cho/cho_overlay046.png new file mode 100644 index 00000000..0986abb2 Binary files /dev/null and b/games/riven_hgr/disk00_files/graphics_cho/cho_overlay046.png differ diff --git a/games/riven_hgr/disk00_files/graphics_cho/cho_overlay047.png b/games/riven_hgr/disk00_files/graphics_cho/cho_overlay047.png new file mode 100644 index 00000000..f6fd58f9 Binary files /dev/null and b/games/riven_hgr/disk00_files/graphics_cho/cho_overlay047.png differ diff --git a/games/riven_hgr/disk00_files/graphics_cho/cho_overlay048.png b/games/riven_hgr/disk00_files/graphics_cho/cho_overlay048.png new file mode 100644 index 00000000..3b871e2c Binary files /dev/null and b/games/riven_hgr/disk00_files/graphics_cho/cho_overlay048.png differ diff --git a/games/riven_hgr/disk00_files/graphics_cho/cho_overlay049.png b/games/riven_hgr/disk00_files/graphics_cho/cho_overlay049.png new file mode 100644 index 00000000..d5e4b1d7 Binary files /dev/null and b/games/riven_hgr/disk00_files/graphics_cho/cho_overlay049.png differ diff --git a/games/riven_hgr/disk00_files/graphics_cho/cho_overlay050.png b/games/riven_hgr/disk00_files/graphics_cho/cho_overlay050.png new file mode 100644 index 00000000..01ecdda9 Binary files /dev/null and b/games/riven_hgr/disk00_files/graphics_cho/cho_overlay050.png differ diff --git a/utils/gimp/Apple II Lores.gpl b/utils/gimp/Apple II Lores.gpl new file mode 100644 index 00000000..1646f62c --- /dev/null +++ b/utils/gimp/Apple II Lores.gpl @@ -0,0 +1,20 @@ +GIMP Palette +Name: Apple II Lores +Columns: 0 +# + 0 0 0 Untitled +227 30 96 Untitled + 96 78 189 Untitled +255 68 253 Untitled + 0 163 96 Untitled +156 156 156 Untitled + 20 207 253 Untitled +208 195 255 Untitled +255 106 60 Untitled +157 157 157 Untitled +255 160 208 Untitled + 20 245 60 Untitled +208 221 141 Untitled +114 255 208 Untitled +255 255 255 Untitled + diff --git a/utils/gimp/README b/utils/gimp/README new file mode 100644 index 00000000..46223805 --- /dev/null +++ b/utils/gimp/README @@ -0,0 +1,5 @@ + +roto.scm: script-fu for rotoscoping Riven files + copy to ~/.config/GIMP/2.10/scripts or equivalent + + diff --git a/utils/gimp/hgr.pal b/utils/gimp/hgr.pal new file mode 100644 index 00000000..1579ecac --- /dev/null +++ b/utils/gimp/hgr.pal @@ -0,0 +1,10 @@ +GIMP Palette +Name: Apple II HGR +Columns: 0 +# + 0 0 0 Black + 27 203 1 Green +228 52 254 Purple +255 255 255 White +205 91 1 Orange + 27 154 254 Blue diff --git a/graphics/hgr_gimp_palette/Makefile b/utils/gimp/hgr_gimp_palette/Makefile similarity index 100% rename from graphics/hgr_gimp_palette/Makefile rename to utils/gimp/hgr_gimp_palette/Makefile diff --git a/graphics/hgr_gimp_palette/make_pal.c b/utils/gimp/hgr_gimp_palette/make_pal.c similarity index 100% rename from graphics/hgr_gimp_palette/make_pal.c rename to utils/gimp/hgr_gimp_palette/make_pal.c diff --git a/graphics/hgr_gimp_palette/orange_blue.gpl b/utils/gimp/hgr_gimp_palette/orange_blue.gpl similarity index 100% rename from graphics/hgr_gimp_palette/orange_blue.gpl rename to utils/gimp/hgr_gimp_palette/orange_blue.gpl diff --git a/graphics/hgr_gimp_palette/orange_blue_half.gpl b/utils/gimp/hgr_gimp_palette/orange_blue_half.gpl similarity index 100% rename from graphics/hgr_gimp_palette/orange_blue_half.gpl rename to utils/gimp/hgr_gimp_palette/orange_blue_half.gpl diff --git a/utils/gimp/roto.scm b/utils/gimp/roto.scm new file mode 100644 index 00000000..75cc5828 --- /dev/null +++ b/utils/gimp/roto.scm @@ -0,0 +1,66 @@ +;; Basic script-fu template. +;; +;; This program is free software; you can redistribute it and/or modify +;; it under the terms of the GNU General Public License. + +(define (script-fu-roto img drawable) + (gimp-image-undo-group-start img) + (gimp-context-push) + + ;; Do stuff here + + (gimp-image-scale img 280 201) + (gimp-image-crop img 280 192 0 0) + (gimp-image-grid-set-spacing img 7 4) + (gimp-image-grid-set-foreground-color img '(54 5 5)) + + (gimp-floating-sel-anchor + (car (gimp-edit-paste drawable TRUE))) + + ; create a new image: + + ; car returns first item of list + +; (theImage (car + ; (gimp-image-new + ; 280 + ; 192 + ; RGB + ; ) + ; ) +; ) + + ;create a new layer for the image: +; (theLayer + ; (car + ; (gimp-layer-new + ; img + ; 280 + ; 192 + ; RGB-IMAGE + ; "layer 1" + ; 100 + ; LAYER-MODE-NORMAL + ; ) + ; ) +; ) + + ; (gimp-image-insert-layer img theLayer 0 0) + + (gimp-context-pop) + (gimp-image-undo-group-end img) + (gimp-displays-flush) +) + +(script-fu-register "script-fu-roto" + _"/Filters/Generic/vmw-roto" + _"rotoscoping" + "Vince Weaver" + "Copyright Owner" + "2024" + "*" ; type of image, e.g. "RGB*", or "" for Xtns + ; List all parameters here, starting with + ; image and drawable if this script takes them: + SF-IMAGE "Image" 0 + SF-DRAWABLE "Drawable" 0 +)