monkeyman192 / MBINCompiler

A tool for decompiling No Man's Sky .MBIN files to XML format
https://monkeyman192.github.io/MBINCompiler
Other
250 stars 49 forks source link

V4.40.0 pre1 linux #567

Closed SplinterGU closed 1 year ago

SplinterGU commented 1 year ago

add linux support

monkeyman192 commented 1 year ago

You can't remove the windows targets and replace with Linux ones, you need to add Linux as well as windows

SplinterGU commented 1 year ago

I don't remove windows target... look again... it generate windows and linux... but, only net6.0.... it works... look... image out.txt

monkeyman192 commented 1 year ago

In terms of the target frameworks we specify, I am not sure if it's best to always specify the operating system in the target frameworks, or whether if we just have net6.0;net7.0 as the target frameworks and then we have both linux and windows as the runtimes we target whether that will work just fine.

SplinterGU commented 1 year ago

I already added net7.0

you can do a merge (with fixes) if you want

SplinterGU commented 1 year ago

yes, only net6.0 and net7.0 is enough... I'll change it... wait...

monkeyman192 commented 1 year ago

One final thing before I allow the CI to run, you need to modify the pipeline.yml file to provide the correct framework. You can also add a separate step to build linux if you want, or leave that to me.

SplinterGU commented 1 year ago

One final thing before I allow the CI to run, you need to modify the pipeline.yml file to provide the correct framework. You can also add a separate step to build linux if you want, or leave that to me.

I'm ignorant about this, I don't know how to do it... that's why I wanted to send you the changes through Discord... but well, undoubtedly this branching thing saves you much more work than passing it through Discord...

monkeyman192 commented 1 year ago

I'm ignorant about this, I don't know how to do it... that's why I wanted to send you the changes through Discord... but well, undoubtedly this branching thing saves you much more work than passing it through Discord...

It's just a text file. Have a look at lines 26 - 30. They need to have the frameworks changes so that they are just net6.0 and net7.0 instead of ...-windows

SplinterGU commented 1 year ago

I'm ignorant about this, I don't know how to do it... that's why I wanted to send you the changes through Discord... but well, undoubtedly this branching thing saves you much more work than passing it through Discord...

It's just a text file. Have a look at lines 26 - 30. They need to have the frameworks changes so that they are just net6.0 and net7.0 instead of ...-windows

ok, let me check... question, is possible add a zip and a tgz for download all binaries files in a click?

monkeyman192 commented 1 year ago

I'm ignorant about this, I don't know how to do it... that's why I wanted to send you the changes through Discord... but well, undoubtedly this branching thing saves you much more work than passing it through Discord...

It's just a text file. Have a look at lines 26 - 30. They need to have the frameworks changes so that they are just net6.0 and net7.0 instead of ...-windows

ok, let me check... question, is possible add a zip and a tgz for download all binaries files in a click?

yes, but I can do that for you as I think I'll need to rejig the pipeline a bit to add the linux build, and if you don't know how to do that it will be easier for me to just do that once we have the build profiles set up at least for local building.

SplinterGU commented 1 year ago

I'm ignorant about this, I don't know how to do it... that's why I wanted to send you the changes through Discord... but well, undoubtedly this branching thing saves you much more work than passing it through Discord...

It's just a text file. Have a look at lines 26 - 30. They need to have the frameworks changes so that they are just net6.0 and net7.0 instead of ...-windows

ok, let me check... question, is possible add a zip and a tgz for download all binaries files in a click?

yes, but I can do that for you as I think I'll need to rejig the pipeline a bit to add the linux build, and if you don't know how to do that it will be easier for me to just do that once we have the build profiles set up at least for local building.

I didn't need to install anything cross-platform; simply installing dotnet-sdk-6.0 and dotnet-sdk-7.0 was enough for me.