12 Jan 2024 |
duron27 | hey everyone | 05:02:11 |
zackhasacat | wazabear
https://gitlab.com/zackhasacat/zackscripts/-/tree/master/Switchable%20Scriptures?ref_type=heads
https://gitlab.com/zackhasacat/zackscripts/-/blob/master/Switchable%20Scriptures/mwse/mods/Switchable%20Scriptures/openmw.lua?ref_type=heads
Just modify to actually use the right funcs | 05:40:37 |
duron27 | is there a linux commandline decompressor for zip, tar.xz, tar.gz tar.bz2? | 05:50:48 |
duron27 | or do I need both tar and unzip | 05:51:06 |
abdu7944 | Why do you need that? | 05:58:55 |
abdu7944 | Is it a problem with extracting boost? | 05:59:11 |
S3ctor | You need both. Tar is not a compressed format | 06:01:12 |
duron27 | no I'm building a script kinda like the cmakelists in and android build, but how does it decompress the files when they arew all different? | 06:01:44 |
S3ctor | It kind of depends on what you're talking about, exactly? | 06:04:54 |
S3ctor | Most of the contents of openmw-deps are packaged as .zip, except for some on windows. In those cases, they just toss 7zip at everything: https://gitlab.com/OpenMW/openmw/-/blob/master/CI/before_script.msvc.sh?ref_type=heads#L754 | 06:05:22 |
S3ctor | every platform has a before_script like this that sets up dependencies accordingly | 06:06:32 |
duron27 | I'm going down a rabbit hole of learning | 06:06:41 |
S3ctor | Query: Why are you forced to handle .tar anyway? | 06:07:13 |
S3ctor | If you're building everything yourself you can use whatever format. | 06:07:27 |
duron27 | https://gist.github.com/Duron27/d4ae64d9c8a0bd8d11d53e4e0d844fae | 06:07:36 |
duron27 | having fun even if its pointless | 06:07:49 |
S3ctor | oh, I see | 06:08:42 |
S3ctor | you can't download releases, though. At least not from the original source | 06:09:06 |
S3ctor | so wget is not what you want here | 06:09:11 |
S3ctor | you want the source from this specific version, which is also going to be a tag on the repo | 06:10:02 |
S3ctor | or, should be anyway, I make no promises about how all of them are set up 😄 | 06:10:20 |
duron27 | it downloads the same files the build script does? and I can build them during the docker build | 06:10:32 |
duron27 | but idk I'm just messing around | 06:11:06 |
S3ctor | oh, cool, sorry. I just misunderstood what these were, they are source | 06:13:01 |
S3ctor | There's a couple ways you could deal with this, but I would still just use git clone and switch to the specific tag or commit needed | 06:15:50 |
S3ctor | You can use 7zip on any of these formats as well, but doing a compressed tarball is two steps with 7z and one with tar | 06:17:55 |
S3ctor | So probably, just keep track of what's a zip or not | 06:18:06 |
wazabear | zackhasacat how do I use the mod? | 06:18:25 |
zackhasacat | Activate the omwscripts, download the folder I linked to first, make your changes to the function to make it work with your switch node api | 06:20:36 |
duron27 | hmm | 06:20:47 |