Closed EmpressFiona closed 7 years ago
You should be able to run the "windows" build directly on linux with mono, since all the dependencies on the program are dependencies for the .net framework itself, and not some windows API. Just running "mono SPICA.WinForms.exe" should be enough, but you'll need to have mono winforms lib installed aswell.
About the compilation error, I'm not sure either, since it doesn't output actual error messages, just warnings, but peharps the problem is that it seems to be targeting .net framework 4.5, but the project currently target 4.6 (due to the System.Numerics.Vector dependency). I'll try building it with xbuild later and try to figure out what is broken.
About running it on linux, I was thinking in using .net core since it is actually open and supports Linux and Mac natively, but then there's the issue that it doesn't supports winforms (obviously), and I'll need to redo all the UI work, which I don't want to for now, I want to keep working to improve the currently supported formats.
Just tried to compile with xbuild under linux. On Linux Mint with pre-installed version (same as ubuntu) it gave me basically the same output you pasted here. So I updated mono to the lastest stable version (5.0.1.1) and it worked (had to make minor fixes to the source that I'll push soon). Anyway here is it running under linux with mono:
Edit: Just pushed the fixes I said earlier. You should be able to compile it with the lastest stable version of mono on linux now. Let me know if you have any further problems.
Success!
After getting your latest push, I had to install mono-complete and/or use msbuild instead of xbuild (not sure which was the issue), but it worked just fine after that.
The only issue I have left is that overworld models are both lit very strangely and don't appear to have any attached material animations, but that might just be an issue with the files I'm using or my inexperience in the subject. Right now, Lusamine looks less like she's throwing a tantrum and more like she's in the middle of squatting for a sprint:
Glad it worked!
The lighting on the overworld model is due to the way the model configures the fragment lighting parameters. It's like phong shading, maybe the game configures the lights in a way that doesn't make the darker shades so dark. I'll add controls to configure the light later, atm light colors are hardcoded.
About the facial animation, yea they aren't included with the overworld models. Maybe they are all on a single file, since overworld characters faces follows a pattern, and the animation itself just translates the texture to change the character face.
Thanks for your prompt help on all of this! 💜 I'll check in with VG Resource for help with the animations.
For various reasons, I left the Windows world behind a while back...before I got a chance to try SPICA's automated builds. While I am considering setting up a Windows To Go environment for this and other reasons, I figured I may as well ask about this.
I'm used to building from makefiles and other Linux-typical methods, but Mono's completely different. I've got no clue what could be wrong here, so here's the terminal dump:
There's probably just something really obvious that I've missed, given that I'm not a dev and I've never compiled anything with Mono before. I did install the OpenTK dependencies, but that doesn't appear to be the issue itself.
Any ideas how to build this? And could we perhaps see automated Linux builds alongside the Windows builds? I need to take glamour shots of Lusamine...