@seanp2500 try this fork for switch .
Thanks so much for that link masterchan777! I got the nro running on my switch! Now I just need to use nro-asset-editor to put the icon/picture on it.
@seanp2500, I used that switch build, went through the PC compiling instructions again, but in the switch directory. Skipped the last 1 or 2 steps for compiling the pc version. Then switched to Masterchan's instructions. Not sure i can really help much other than that. Good luck!
Now I just need to use nro-asset-editor to put the icon/picture on it.
Makefile 433: APP_ICON := [path to your icon jpg]
Makefile 806: @elf2nro $< $@ --nacp=$*.nacp --icon=$(APP_ICON)
Simply edit the Makefile in your switch dir and make the following changes :
save, recompile and you're good to go.Code:Makefile 433: APP_ICON := [path to your icon jpg] Makefile 806: @elf2nro $< $@ --nacp=$*.nacp --icon=$(APP_ICON)
I was having a lot of trouble with getting the APP_ICON path to work (editing makefile), no matter what I set as the path. I tried for about an hour (or more), trying different locations, path formats, etc. And lots of googling with no luck. Kept saying "Failed to open input icon!"
So I just put it into nro2nsp instead. Set the icon that way and now It's got a nice looking icon right on the home screen. Thanks to everyone in this thread. <3
I thought I made it clear. If you use git clone, you are cloning everything, every branch, and you are looking at the MASTER branch by default. you MUST be on that branch to build the PC version (following the wiki). In practice, it isn't good to download the .zip file. Many projects (not this one, I guess) use submodules from other places, and you won't be able to build properly without those specific modules, in the specific state they were in, the last time the author compiled his/her project. To ensure this is always the case, you should "git clone --recursive https://github.... "
Then you change to the switch branch by entering the command "git checkout switch".
For those having problems with finding the correct binaries. assuming you have mingw64 and mingw32 installed, and if you can't be bothered to add the /bin folders to your path, like I said to in the steps I provided, then you should enter this, before entering the "source $DEVKITPRO/switchvars.sh" command:
PATH=/path/to/mingw64/bin:/path/to/mingw32/bin:$PATH
with that, you should absolutely NOT have to change anything in the makefile, if you're in the correct branch, and have everything installed that is supposed to be installed.
Never played with Docker so I would probably be in for a learning curve, though it says OS level and they are usually similar enough so eh. If there is an option to do virtualbox that might also be a plan -- Docker does look like a nice wrapper but plenty around here are familiar with virtualbox.Honestly a Docker image with the build environment would probably make the most sense. I may look at pulling together a dockerfile tomorrow if work is slow.