Hello, I am having an issue getting the playtest function to work.
I recently switched from windows to Linux Mint and this problem only appeared after the switch.
Both the button in the engine and doable tapping the index file failed to load anything, though there was no error message or other indicator.
This has held true for projects created before and after the switch.
Launching from steam.
Aight I'ma need you to clarify a few of those words, I apologize for my ignorance
When you say to unpack the files are you referring to something like a zip file? Or are you saying I should take all the stuff in the folders and put it in one folder?
Does executable nw mean the "index.html" file?
Regarding step 2.
is it that I should create a www folder and stick the entire project in there?
Sorry, I'm really new to this stuff, I don't understand most of what I need to do.
Well just see the screenshot, your project files should be inside that www folder and nw and other nw.js files outside of it.
Yes, for now you need to do that for every project. Unless you write a shell script that run nw.js from another directory. But I'm not proficient in that territory so I just use the easy way.
Just a little confusion left. Do I also unpack the zip outside the www folder, or just in the project file?
It'd be nice to learn both ways, but I definitely think the easy way matches my skill level atm. Maybe I'll do that at some point later ;D
edit: okay no I downloaded the zip and understand that I don't put it outside the www file. I went and copied the package.json from the nwjs-win to the file, and I'm assuming I let it replace the old one? I wasn't sure and I didn't want to spam so I just renamed the old one and let them both be there until I could ask.
Okay so the one I'm testing with looks just like that (except it's "Game.desktop~" for some reason) and it isn't loading when I try to run nw.
Do my projects need to be in the original rmmv project folder to work? I've had them in a file on my desktop for ease of access but that might be an issue.
Just to make sure, there should now be another layer in the specific projects file of these and then the original files in the www?
Okay so I did the ./nw command and got this message:
Fontconfig warning: "/etc/fonts/fonts.conf", line 5: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/10-hinting-slight.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/10-sub-pixel-rgb.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/10-yes-antialias.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/11-lcdfilter-default.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/20-unhint-small-vera.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/30-metric-aliases.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/40-nonlatin.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/45-generic.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/45-latin.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/48-spacing.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/49-sansserif.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/51-local.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/60-generic.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/60-latin.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/65-nonlatin.conf", line 4: unknown element "description"
Fontconfig warning: "/etc/fonts/conf.d/70-no-bitmaps-except-emoji.conf", line 4: unknown element "description"
[3214:3214:0905/112915.800788:FATAL😛latform_font_linux.cc(83)] Check failed: InitDefaultFont(). Could not find the default font
#0 0x76b9e831c36c <unknown>
[3248:3248:0905/112915.849042:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
Aborted (core dumped)
I hope this helps identifying what went wrong. It looks like the fonts are bugging out, but I don't know what that last one means.
Can you post a screenshot of your folder? The font is not an issue but it appears sandbox is the problem. So I suspect your package.json is not right.
No, it doesn't seem to want to pop up. My task manager gets a little blip of activity then goes back to normal. Maybe I can check if it is running but just isn't showing a window? What should it have as a name? The projects name or nw?
Hmm, what if you deploy the game? Cau you run it?