From 65bceb6812f691f23b0331d0dc92fb0813451b56 Mon Sep 17 00:00:00 2001 From: Vince Weaver Date: Sun, 7 Jul 2024 23:55:50 -0400 Subject: [PATCH] utils: add various gimp files to a centralized location --- .../graphics_cho/cho_overlay041.png | Bin 0 -> 731 bytes .../graphics_cho/cho_overlay042.png | Bin 0 -> 741 bytes .../graphics_cho/cho_overlay043.png | Bin 0 -> 732 bytes .../graphics_cho/cho_overlay044.png | Bin 0 -> 734 bytes .../graphics_cho/cho_overlay045.png | Bin 0 -> 729 bytes .../graphics_cho/cho_overlay046.png | Bin 0 -> 721 bytes .../graphics_cho/cho_overlay047.png | Bin 0 -> 731 bytes .../graphics_cho/cho_overlay048.png | Bin 0 -> 730 bytes .../graphics_cho/cho_overlay049.png | Bin 0 -> 720 bytes .../graphics_cho/cho_overlay050.png | Bin 0 -> 738 bytes utils/gimp/Apple II Lores.gpl | 20 ++++++ utils/gimp/README | 5 ++ utils/gimp/hgr.pal | 10 +++ .../gimp}/hgr_gimp_palette/Makefile | 0 .../gimp}/hgr_gimp_palette/make_pal.c | 0 .../gimp}/hgr_gimp_palette/orange_blue.gpl | 0 .../hgr_gimp_palette/orange_blue_half.gpl | 0 utils/gimp/roto.scm | 66 ++++++++++++++++++ 18 files changed, 101 insertions(+) create mode 100644 games/riven_hgr/disk00_files/graphics_cho/cho_overlay041.png create mode 100644 games/riven_hgr/disk00_files/graphics_cho/cho_overlay042.png create mode 100644 games/riven_hgr/disk00_files/graphics_cho/cho_overlay043.png create mode 100644 games/riven_hgr/disk00_files/graphics_cho/cho_overlay044.png create mode 100644 games/riven_hgr/disk00_files/graphics_cho/cho_overlay045.png create mode 100644 games/riven_hgr/disk00_files/graphics_cho/cho_overlay046.png create mode 100644 games/riven_hgr/disk00_files/graphics_cho/cho_overlay047.png create mode 100644 games/riven_hgr/disk00_files/graphics_cho/cho_overlay048.png create mode 100644 games/riven_hgr/disk00_files/graphics_cho/cho_overlay049.png create mode 100644 games/riven_hgr/disk00_files/graphics_cho/cho_overlay050.png create mode 100644 utils/gimp/Apple II Lores.gpl create mode 100644 utils/gimp/README create mode 100644 utils/gimp/hgr.pal rename {graphics => utils/gimp}/hgr_gimp_palette/Makefile (100%) rename {graphics => utils/gimp}/hgr_gimp_palette/make_pal.c (100%) rename {graphics => utils/gimp}/hgr_gimp_palette/orange_blue.gpl (100%) rename {graphics => utils/gimp}/hgr_gimp_palette/orange_blue_half.gpl (100%) create mode 100644 utils/gimp/roto.scm 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 0000000000000000000000000000000000000000..69ac2c329f57db14d0a20cae98c1f2f30a0f3169 GIT binary patch literal 731 zcmV<10wn#3P)EX>4Tx04R}tkv&MmKpe$iQ?()$2P=v=WT@g`7ZnkwT7@E12(?114knj=2u&K2 z6cPp;t;WzZ(*f{S;5qZCyB$Vrc=I< zuCvN{i?dcNv&KF73xipGd5P;ZhY-gC79l}|f-*KxgpCNTIw=;Cv>)^E54wJdTnf21 zz{oL=5;VxJAN&t~cWdP)#_LJJ7|{OWI3L46U>B%W9OwJkacU=k{~5T_oBmQ2nEoWa z($vC7K+iUCaoyCEJ>YT&7TkpwJZcJkZ^Za{ti(|Nj600G*G9fB*mh32;bRa{vG?BLDy{ zBLR4&KXw2B00(qQO+^Rj2L}WMB{5ZQc>n+a8FWQhbVF}#ZDnqB07G(RVRU6=Aa`kW zXdp*PO;A^X4i^9b0E9_IK~zY`?bg8xfFKZr;Sn#=9(@0|%_#_?ZvBGL&OthT47sA( z;3&Za6MUqPpkNuflR!fdlww3$88iulwPIi?2E9UHzp^gqq4w%;xM70dKyL~EX>4Tx04R}tkv&MmKpe$iQ?()$2P=v=WT@g`7ZnkwT7@E12(?114knj=2u&K2 z6cPp;t;WzZ(*f{S;5qZCyB$Vrc=I< zuCvN{i?dcNv&KF73xipGd5P;ZhY-gC79l}|f-*KxgpCNTIw=;Cv>)^E54wJdTnf21 zz{oL=5;VxJAN&t~cWdP)#_LJJ7|{OWI3L46U>B%W9OwJkacU=k{~5T_oBmQ2nEoWa z($vC7K+iUCaoyCEJ>YT&7TkpwJZcJkZ^Za{ti(|Nj600G*G9fB*mh32;bRa{vG?BLDy{ zBLR4&KXw2B00(qQO+^Rj2L}WN5efRMjQ{`u8FWQhbVF}#ZDnqB07G(RVRU6=Aa`kW zXdp*PO;A^X4i^9b0FFsSK~zY`?bf>rz#t5T;Uir_Gx+{*TZ4tt%jRFmkTW=bM311_ z;i$j@3w))IpkN!xJfY+xQf^Sfz}}^8lkTUem4;)wXDwQ5cm@MogTa}&+7}9Kxxn>O zpq9-7bcev;%wk2rxYTAK=njMP3{lX|U{64S6bODr; literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..90c4bcbeb34d744c036961ffaf89b41990984557 GIT binary patch literal 732 zcmV<20wev2P)EX>4Tx04R}tkv&MmKpe$iQ?()$2P=v=WT@g`7ZnkwT7@E12(?114knj=2u&K2 z6cPp;t;WzZ(*f{S;5qZCyB$Vrc=I< zuCvN{i?dcNv&KF73xipGd5P;ZhY-gC79l}|f-*KxgpCNTIw=;Cv>)^E54wJdTnf21 zz{oL=5;VxJAN&t~cWdP)#_LJJ7|{OWI3L46U>B%W9OwJkacU=k{~5T_oBmQ2nEoWa z($vC7K+iUCaoyCEJ>YT&7TkpwJZcJkZ^Za{ti(|Nj600G*G9fB*mh32;bRa{vG?BLDy{ zBLR4&KXw2B00(qQO+^Rj2L}WO07z%pyZ`_I8FWQhbVF}#ZDnqB07G(RVRU6=Aa`kW zXdp*PO;A^X4i^9b0EJ0JK~zY`?bfjhz#t5S;S(3BgYW;gHI@u*M}I*uH#mMADj~Yy zD8K*%{G^S5U>X5I32s<>B(&k)U~5v&F!=vCn*D_kXh=#h_+ZAOAl~p8&}NKt?|Cx? zmV$z11Okn-hIZDvI|xmi1)x95F`$#+=3txzg6aVq`W*(i5g1GRI`9U843-)EiUR2X O0000NZpW literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..a96ed97eb61e094b825c9d07056df212e10d9a80 GIT binary patch literal 734 zcmV<40wMj0P)EX>4Tx04R}tkv&MmKpe$iQ?()$2P=v=WT@g`7ZnkwT7@E12(?114knj=2u&K2 z6cPp;t;WzZ(*f{S;5qZCyB$Vrc=I< zuCvN{i?dcNv&KF73xipGd5P;ZhY-gC79l}|f-*KxgpCNTIw=;Cv>)^E54wJdTnf21 zz{oL=5;VxJAN&t~cWdP)#_LJJ7|{OWI3L46U>B%W9OwJkacU=k{~5T_oBmQ2nEoWa z($vC7K+iUCaoyCEJ>YT&7TkpwJZcJkZ^Za{ti(|Nj600G*G9fB*mh32;bRa{vG?BLDy{ zBLR4&KXw2B00(qQO+^Rj2L}W@FNt2QTL1t68FWQhbVF}#ZDnqB07G(RVRU6=Aa`kW zXdp*PO;A^X4i^9b0EbCLK~zY`?bfjlz#s?&&~qbo;Q#-&Qrd-XdL|@tgK>Jn7*Jf~ zpuhqP4ABuP*hZ*eA0dK(fk0-^Lk8nLFM;}o02-o723y-wp|M$yyb1JuW-v~i1yIDm z-YK9V@+1zh>DIIA45an4a~nXBV?dE3!EdF2{@z7yxk7*n{tsMW{jqa^Hv$xu!8V7; Q0ssI207*qoM6N<$g3;$WEC2ui literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..12e6fa70c4d777da1f0ffcffa25ed8b6b33b24ac GIT binary patch literal 729 zcmV;~0w(>5P)EX>4Tx04R}tkv&MmKpe$iQ?()$2P=v=WT@g`7ZnkwT7@E12(?114knj=2u&K2 z6cPp;t;WzZ(*f{S;5qZCyB$Vrc=I< zuCvN{i?dcNv&KF73xipGd5P;ZhY-gC79l}|f-*KxgpCNTIw=;Cv>)^E54wJdTnf21 zz{oL=5;VxJAN&t~cWdP)#_LJJ7|{OWI3L46U>B%W9OwJkacU=k{~5T_oBmQ2nEoWa z($vC7K+iUCaoyCEJ>YT&7TkpwJZcJkZ^Za{ti(|Nj600G*G9fB*mh32;bRa{vG?BLDy{ zBLR4&KXw2B00(qQO+^Rj2L}ZJEm|N+cmMzZ8FWQhbVF}#ZDnqB07G(RVRU6=Aa`kW zXdp*PO;A^X4i^9b0D?(GK~zY`?bf{tz#tF<;J6(+`2KHOQ=w4lq$%8x3^#scIDb&Z zfkA@?m-G=SSndeHHnMg+00DwPW{{*9WP~8shEoLgCt1N#h;a%)BGQHiwcz^#!|uw| z8YAQ+;A}~ literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..0986abb200fb2858a7fd4d1a2fa35a5f1dbfd0f0 GIT binary patch literal 721 zcmV;?0xtcDP)EX>4Tx04R}tkv&MmKpe$iQ?()$2P=v=WT@g`7ZnkwT7@E12(?114knj=2u&K2 z6cPp;t;WzZ(*f{S;5qZCyB$Vrc=I< zuCvN{i?dcNv&KF73xipGd5P;ZhY-gC79l}|f-*KxgpCNTIw=;Cv>)^E54wJdTnf21 zz{oL=5;VxJAN&t~cWdP)#_LJJ7|{OWI3L46U>B%W9OwJkacU=k{~5T_oBmQ2nEoWa z($vC7K+iUCaoyCEJ>YT&7TkpwJZcJkZ^Za{ti(|Nj600G*G9fB*mh32;bRa{vG?BLDy{ zBLR4&KXw2B00(qQO+^Rj2L}ZKF4{6Fg8%>k8FWQhbVF}#ZDnqB07G(RVRU6=Aa`kW zXdp*PO;A^X4i^9b0D4J8K~zY`?bgc*z#t4n(aBDlMgIS9>jPWVrL&NBE_8bcG!Su- zgFt}-mm)_6Ek^_a&jCLJ0U8*A+W4P0!S>O>-npPz;l|Y_P54eJ@LQl+s?qkagS0(# zZ=gE`j7U$XgQO!Ra35?3iU<~JKA{9~o=>3O*k^z@n7oy3ToQpv00000NkvXXu0mjf DbssT3 literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..f6fd58f9c12826a79b0e863ead275bda4fc1e1f6 GIT binary patch literal 731 zcmV<10wn#3P)EX>4Tx04R}tkv&MmKpe$iQ?()$2P=v=WT@g`7ZnkwT7@E12(?114knj=2u&K2 z6cPp;t;WzZ(*f{S;5qZCyB$Vrc=I< zuCvN{i?dcNv&KF73xipGd5P;ZhY-gC79l}|f-*KxgpCNTIw=;Cv>)^E54wJdTnf21 zz{oL=5;VxJAN&t~cWdP)#_LJJ7|{OWI3L46U>B%W9OwJkacU=k{~5T_oBmQ2nEoWa z($vC7K+iUCaoyCEJ>YT&7TkpwJZcJkZ^Za{ti(|Nj600G*G9fB*mh32;bRa{vG?BLDy{ zBLR4&KXw2B00(qQO+^Rj2L}Zi2#O>$CjbBd8FWQhbVF}#ZDnqB07G(RVRU6=Aa`kW zXdp*PO;A^X4i^9b0E9_IK~zY`?bfjlz#s?&&|@QI;Q#-&Qqr2Xqvr%SIKEs&qd3Sx zgAF$Li;qx28F`b0h5!*X14@Che?(9Opbo{KYyc;^1jeC`l?KuqmIKW;f-&i3P_HCt zMgiTEB;6F%yJHbB_b)C^RtMk}tOaW;cKe0_29p!2Y!F15ZSqmIK0mXrTZA N002ovPDHLkV1jw-Glu{G literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..3b871e2c2fdec731f7f911568c9aa1a4ae04f475 GIT binary patch literal 730 zcmV<00ww*4P)EX>4Tx04R}tkv&MmKpe$iQ?()$2P=v=WT@g`7ZnkwT7@E12(?114knj=2u&K2 z6cPp;t;WzZ(*f{S;5qZCyB$Vrc=I< zuCvN{i?dcNv&KF73xipGd5P;ZhY-gC79l}|f-*KxgpCNTIw=;Cv>)^E54wJdTnf21 zz{oL=5;VxJAN&t~cWdP)#_LJJ7|{OWI3L46U>B%W9OwJkacU=k{~5T_oBmQ2nEoWa z($vC7K+iUCaoyCEJ>YT&7TkpwJZcJkZ^Za{ti(|Nj600G*G9fB*mh32;bRa{vG?BLDy{ zBLR4&KXw2B00(qQO+^Rj2L}ZiHcLe*i~s-t8FWQhbVF}#ZDnqB07G(RVRU6=Aa`kW zXdp*PO;A^X4i^9b0E0n&KC0k?-3gQ^{l z5==0`x53f^f?Ev^N+9SpD}$v-0p7bf3HF77BM|70gE58ANz}{~!WCY7c%r`m-LW2; zp`f*3r)-9UvE@!8;NZRhLKp1%;20e6p~peBU|>`yffXj0U*eU)16G-q0TCFQdH?_b M07*qoM6N<$f?c;ZYXATM literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..d5e4b1d7592285a4219519cd0d8a083489e4153b GIT binary patch literal 720 zcmV;>0x$iEP)EX>4Tx04R}tkv&MmKpe$iQ?()$2P=v=WT@g`7ZnkwT7@E12(?114knj=2u&K2 z6cPp;t;WzZ(*f{S;5qZCyB$Vrc=I< zuCvN{i?dcNv&KF73xipGd5P;ZhY-gC79l}|f-*KxgpCNTIw=;Cv>)^E54wJdTnf21 zz{oL=5;VxJAN&t~cWdP)#_LJJ7|{OWI3L46U>B%W9OwJkacU=k{~5T_oBmQ2nEoWa z($vC7K+iUCaoyCEJ>YT&7TkpwJZcJkZ^Za{ti(|Nj600G*G9fB*mh32;bRa{vG?BLDy{ zBLR4&KXw2B00(qQO+^Rj2L}ZjBMr5lqyPW_8FWQhbVF}#ZDnqB07G(RVRU6=Aa`kW zXdp*PO;A^X4i^9b0C`D7K~zY`?bb0003i%S(XkV^$o+4-MpB7kK*)aS+@b_K$*r-cAA=7Fa8BX7B|h3zfx{N2fXf0000EX>4Tx04R}tkv&MmKpe$iQ?()$2P=v=WT@g`7ZnkwT7@E12(?114knj=2u&K2 z6cPp;t;WzZ(*f{S;5qZCyB$Vrc=I< zuCvN{i?dcNv&KF73xipGd5P;ZhY-gC79l}|f-*KxgpCNTIw=;Cv>)^E54wJdTnf21 zz{oL=5;VxJAN&t~cWdP)#_LJJ7|{OWI3L46U>B%W9OwJkacU=k{~5T_oBmQ2nEoWa z($vC7K+iUCaoyCEJ>YT&7TkpwJZcJkZ^Za{ti(|Nj600G*G9fB*mh32;bRa{vG?BLDy{ zBLR4&KXw2B00(qQO+^Rj2L}Zk5!`wHWdHyG8FWQhbVF}#ZDnqB07G(RVRU6=Aa`kW zXdp*PO;A^X4i^9b0E|JmdjuJ1_H+b!9*g=vdn%bW(xeSa2mXy zVXhJbYi3{&Z5t4DM?pV=fk~lYaen~a8(aoF`*3Zr3Ie5kKqU-(-*AKd$6f>60LDR; U=g94;H2?qr07*qoM6N<$f}BP;qW}N^ literal 0 HcmV?d00001 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 +)