Post B56WrWIi0Q8wPhVnH6 by lynnesbian@fedi.lynnesbian.space
 (DIR) More posts by lynnesbian@fedi.lynnesbian.space
 (DIR) Post #B56WrWIi0Q8wPhVnH6 by lynnesbian@fedi.lynnesbian.space
       0 likes, 0 repeats
       
       i am currently building software with what future scholars will call "Cruel and Unusual Compilation". i have spent hours trying to get this to work. come on, rustc on bash on cygwin on wine on linux on docker on gitlab CI, don't fail me now 🤞
       
 (DIR) Post #B56auhtLlben31QRxg by lynnesbian@fedi.lynnesbian.space
       0 likes, 0 repeats
       
       🎉 it worked 🎉 i have successfully built a GTK4 windows rust app in linux CI using wine, msys2, and sheer force of willboth windows and linux users can now download my silly minecraft schematic to vintage story converter: https://vintage-schematics-ebbbbb.gitlab.io/downloads.html
       
 (DIR) Post #B56cjU452ClQt4DkQ4 by suetanvil@freeradical.zone
       0 likes, 0 repeats
       
       @lynnesbian Still beats using Windows, tho.
       
 (DIR) Post #B56diA4VyyQUXpMDOS by pixx@merveilles.town
       0 likes, 0 repeats
       
       @lynnesbianCygwin... on wine??? Why even??
       
 (DIR) Post #B56diAGZGA4F9CzqBE by lynnesbian@fedi.lynnesbian.space
       0 likes, 0 repeats
       
       @pixx i know i know, but it really is the best option i could get working for this 😭
       
 (DIR) Post #B57fXeGdln7Y4k6UM4 by NafiTheBear@snaggletooth.life
       0 likes, 0 repeats
       
       @lynnesbian question about the mapping. I convert a Minecraft mod to Vintage Story atm and would benefit from a list which Minecraft blocks match which VS blocks and what blocks don't have matches on either side. Do you have such a list? Do we want to work on one together if not?
       
 (DIR) Post #B57fdYa7p2B4BA2DXU by NafiTheBear@snaggletooth.life
       0 likes, 0 repeats
       
       @lynnesbian overall really cool that it works.
       
 (DIR) Post #B584fN9XmZzoAOZ2Js by lynnesbian@fedi.lynnesbian.space
       0 likes, 0 repeats
       
       @NafiTheBear i kind of do? it's encoded in the program itself. unfortunately there's not a simple list of "this block becomes that block" because there's a bunch of logic involved -- e.g. you can't just convert minecraft:oak_log to game:log_oak or something. you have to read the minecraft properties to find axis: y, and then convert it to game:log-placed-oak-ud (as in "up-down").i can walk you through the file(s) responsible for the conversion if you'd like. most of it lives here, in block.rs.if you want to discuss this further on discord or matrix or whatever, send me a DM with your contact info and we can chat about it 👍
       
 (DIR) Post #B584n25jyKBrA9RCq0 by NafiTheBear@snaggletooth.life
       0 likes, 0 repeats
       
       @lynnesbian thanks I did the same observation. I see if this already helps and will poke you on matrix, when I need more help ~
       
 (DIR) Post #B6MuI4Q1EQO726Qzzs by lynnesbian@fedi.lynnesbian.space
       0 likes, 0 repeats
       
       great news about my windows CI job that uses simulated linux on simulated windows on containerised linux on linux: i found a way to dynamically determine the DLLs the app needs!now instead of for x in [massive list]; do cp $x y; done, it's as simple as msys2 -c "cp $(msys2 -c 'ldd release/gui-win-x86_64.exe' | grep -vi '/c/windows' | awk '{printf "%s ", $3}') release" :)now you might be thinking, "surely there's no need to have the weird msys2 -c "msys2 -c ldd" thing going on, right"? but i assure you it is needed. if i run ldd in the "top" msys2 invocation, it prints everything on one line, breaking the grep/awk logic.