From e40a16d5d65fdfcd39ae00b4aa66fc8816dde33e Mon Sep 17 00:00:00 2001 From: McHorse Date: Thu, 2 May 2024 20:25:03 +0100 Subject: [PATCH 1/3] BBS model exporter: Fixed cube faces not exporting in one texture formats --- plugins.json | 7 ++++--- plugins/bbs_exporter/about.md | 3 +++ plugins/{ => bbs_exporter}/bbs_exporter.js | 5 +++-- plugins/bbs_exporter/changelog.json | 15 +++++++++++++++ plugins/bbs_exporter/icon.png | Bin 0 -> 7299 bytes 5 files changed, 25 insertions(+), 5 deletions(-) create mode 100644 plugins/bbs_exporter/about.md rename plugins/{ => bbs_exporter}/bbs_exporter.js (99%) create mode 100644 plugins/bbs_exporter/changelog.json create mode 100644 plugins/bbs_exporter/icon.png diff --git a/plugins.json b/plugins.json index 1e93784a..35ed403c 100644 --- a/plugins.json +++ b/plugins.json @@ -758,12 +758,13 @@ }, "bbs_exporter": { "title": "BBS Model Ex/importer", - "icon": "fa-file-export", + "icon": "icon.png", "author": "McHorse", "description": "Adds actions to export/import models in BBS format, which is used by BBS machinima studio.", - "version": "1.2.1", + "version": "1.2.2", "variant": "both", - "tags": ["Exporter"] + "tags": ["Exporter", "Importer"], + "has_changelog": true }, "highlight_generator": { "title": "Highlight Mod Shape Generator", diff --git a/plugins/bbs_exporter/about.md b/plugins/bbs_exporter/about.md new file mode 100644 index 00000000..3af3b0e1 --- /dev/null +++ b/plugins/bbs_exporter/about.md @@ -0,0 +1,3 @@ +
+

BBS Model Ex/importer is a plugin to export models in BBS model format, which can be imported by BBS Studio dedicated application, and BBS mod.

+
\ No newline at end of file diff --git a/plugins/bbs_exporter.js b/plugins/bbs_exporter/bbs_exporter.js similarity index 99% rename from plugins/bbs_exporter.js rename to plugins/bbs_exporter/bbs_exporter.js index 6d3578f7..81cb27b8 100644 --- a/plugins/bbs_exporter.js +++ b/plugins/bbs_exporter/bbs_exporter.js @@ -109,7 +109,7 @@ { var face = c.faces[key]; - if (face && face.texture) + if (face && face.texture !== null) { var uv = face.uv.slice(); @@ -585,8 +585,9 @@ author: "McHorse", description: "Adds actions to export/import models in BBS format, which is used by BBS machinima studio.", icon: "fa-file-export", - version: "1.2.1", + version: "1.2.2", variant: "both", + has_changelog: true, onload() { exportAction = new Action("bbs_exporter", { name: "Export BBS model", diff --git a/plugins/bbs_exporter/changelog.json b/plugins/bbs_exporter/changelog.json new file mode 100644 index 00000000..5ec802ed --- /dev/null +++ b/plugins/bbs_exporter/changelog.json @@ -0,0 +1,15 @@ +{ + "1.2.2": { + "title": "1.2.2", + "date": "2024-05-02", + "author": "McHorse", + "categories": [ + { + "title": "Bug fixes", + "list": [ + "Fixed " + ] + } + ] + } +} \ No newline at end of file diff --git a/plugins/bbs_exporter/icon.png b/plugins/bbs_exporter/icon.png new file mode 100644 index 0000000000000000000000000000000000000000..e37821635744c52fc9c0e0ffbfc88f4fb090f5be GIT binary patch literal 7299 zcmeHrWl$7=xBarf(!J8%E#2L@l#-Itsj!5EOG`IMcS?tdu)@-%ba%-jox&3O{Qdv) zzP^v|)0;c@+?g|TKb zqEA=TmOXwo*WTMZsuE+|ofD!AU%yyH7=sjlZKThNjJ#>wnsiesd z&)%L*T_O9MHrubB{7p{ZYao$xMSuA-ZQLE?Mwu8iNjKg8tZ6=4r}lPrFXqduW4*rq zHr6xr{1JcM8si*UB|rGQ;p{EyS<h@_{c zyg;q<7yLGpT$>lQHx@Jz|Lne*UGx@?4P)kdtju#u;kTeRGqZ$I zuP#L~#MaaO%>XLL&h`GK#pNZh0lKpGosBWOw3IOC3}_43Z9$_q(SMb))Hmp|3kcMnZih!GRFpLDLC2IWIJD~yuprEl71Cp+d=GA$ac zx^CK6&+c+Qdl~=D{w(iw3Y#>)cjW6)L3P~oxY0J;41-6vRb-v)c|WQQ)jEZSPZYK; z8FDQPBPHWywTY*{bI+%@raL9zXQj7nTnqd62;Iu>^AWGZ#Jy0BLKHH-e;IP{3OhH2 zZX4e{#Mhl%Y#CdH!|`Idu({e8&>=Km36K>%H}ro_qyFk#PpZHqr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JOrV2H!JAd^NqY0bwPgF3*wf>bwBb_Bj=!}w!TU=P zH$*`Hy>VoiTU>zHLx0#~m0#fdo=`ntn_fYh5IH5YF;I;b0@VA1ay7b>rpbE$kCO`PZli40~`38~P*W zXGdag<o)m@m@fdQ1gT1u&J< zqQb*a)lVpomLRcXg+zgo^n0mAfAt%Juc+29WfzX*D)v=G!Ih5lo^MU_Heg+$H)8PB zQu#NJ|IF`=s@Hv*KKil+5zIq%cpb=~z#r`dT_%Q+ZpB2zaSmhpfH-U;CT6K0aXKyD z)$x`!fTd4CYt>23bXiL{vaUaV<)AT$i*FT(J?=8X=c5wCeUO)Du}ahbkjd1xL>m7B%o z!i?+SBliW>vqgB3w%Gw=-l7ea^iw;`7T@Dwy;T)W1SltftUsf1))FQVlDd6JAXxYK zd9V_?!n2r_G}SOfTTfdc(3gu_S5;q=cOZfFQBOF1WD+kYWw9o-)$g5ML@Qy(^OwU0 zhuJ4g_)2rj3F@Lomx9!N#$yWA-jv8CQgd|EmCI{CEfMZ77M2Su+NK0`b6F7D^uait zw5YZT#=Tg0tPgM>Q@15O$s~KF@hrE#X6Sd^UCMgMLe+HfTXrRXBZ@Rro1v8C;#L|7 ziRyz4-}~iEq7 z1PK=llYA0lYZRnw{g#7qe7dt?#zMoh+%W8!j3eEJKjz^%EZz2<*h|Y#XRz0Fb~@KL z_)w%%S-edFIG_pISsxYum$JC%GGGN9_B?W-df>N5gaO^CtrDV(Dg_KHH|nt9kst== u&fRYcVe-J9SC7wI|NF4;o|6pq05XmiL=2n+e*C+C08LehN`sP3_ Date: Thu, 2 May 2024 20:31:14 +0100 Subject: [PATCH 2/3] BBS model exporter: Fix changelog.json --- plugins/bbs_exporter/changelog.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/bbs_exporter/changelog.json b/plugins/bbs_exporter/changelog.json index 5ec802ed..6d940922 100644 --- a/plugins/bbs_exporter/changelog.json +++ b/plugins/bbs_exporter/changelog.json @@ -7,7 +7,7 @@ { "title": "Bug fixes", "list": [ - "Fixed " + "Fixed cube faces not exporting in one texture formats" ] } ] From 110f999b10ac2d94f08641e5c1f673e162be219f Mon Sep 17 00:00:00 2001 From: McHorse Date: Wed, 8 May 2024 20:01:52 +0100 Subject: [PATCH 3/3] BBS model exporter: change min_version and convert about.md to Markdown --- plugins.json | 1 + plugins/bbs_exporter/about.md | 4 +--- plugins/bbs_exporter/bbs_exporter.js | 1 + 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins.json b/plugins.json index 35ed403c..183f94ea 100644 --- a/plugins.json +++ b/plugins.json @@ -764,6 +764,7 @@ "version": "1.2.2", "variant": "both", "tags": ["Exporter", "Importer"], + "min_version": "4.8.0", "has_changelog": true }, "highlight_generator": { diff --git a/plugins/bbs_exporter/about.md b/plugins/bbs_exporter/about.md index 3af3b0e1..80b9b098 100644 --- a/plugins/bbs_exporter/about.md +++ b/plugins/bbs_exporter/about.md @@ -1,3 +1 @@ -
-

BBS Model Ex/importer is a plugin to export models in BBS model format, which can be imported by BBS Studio dedicated application, and BBS mod.

-
\ No newline at end of file +**BBS Model Ex/importer** is a plugin to export models in BBS model format, which can be imported by BBS Studio dedicated application, and BBS mod. \ No newline at end of file diff --git a/plugins/bbs_exporter/bbs_exporter.js b/plugins/bbs_exporter/bbs_exporter.js index 81cb27b8..cfd27daa 100644 --- a/plugins/bbs_exporter/bbs_exporter.js +++ b/plugins/bbs_exporter/bbs_exporter.js @@ -586,6 +586,7 @@ description: "Adds actions to export/import models in BBS format, which is used by BBS machinima studio.", icon: "fa-file-export", version: "1.2.2", + min_version: "4.8.0", variant: "both", has_changelog: true, onload() {