Log In  

I can't find any posts talking about this, which may just mean I'm terrible at finding thing in the BBS.

At any rate, I'm doing Windows, macOS(OS X), and Linux executable exports. I've noticed a few things, and I need to know if this is "just how things are," "that sounds broken," or "that is something we can fix."

On Windows:

  • The executable on first launch triggers Windows Defender. I tried codesigning the .exe with signtool to no avail. Is there a way to fix this?
  • On first launch, the exe runs full-screen. I don't want this for my release as it relies on file system interaction via drag-and-drop. Can we default to windowed mode?

On macOS:

  • Like Windows, the unsigned app triggers a security warning. Has anyone successfully done a codesign to fix this?
  • Also, the full-screen mode occurred for one person, but not for another. Does having Pico-8 installed affect how this launches? (person with Pico-8 was windowed mode on first launch; person without Pico-8 was full-screen on first launch)

On Linux:

  • The executable had no icon, but a separate .png file was in the .zip file. Is this normal?
  • The full-screen mode issue occurred on my Linux machine, yet I do have Pico-8 installed.

I thank the community in advance for any assistance in these matters.

P#103671 2021-12-28 13:42 ( Edited 2021-12-28 13:44)

I can answer with my experience on Linux (sorry, I don't have any Windows or macOS machines). This may or may not matter, but I am on the latest Manjaro KDE Plasma distro.

  • The executable (when viewing it in Dolphin) has no icon, but when I run it, the cart label PNG does appear in the dock and in the upper left corner of the application window.

  • Mine launched in windowed mode, but I have "windowed 1" set in my .lexaloffle/pico-8/config.txt file, so I'm not sure if that comes in to play or not.
P#103673 2021-12-28 15:39

binary exports use/create the same config.txt as the pico-8 exe, instead of a local one. So all the settings are shared between the exe and all exports...

P#103677 2021-12-28 16:31

@ultrabrite So a system that does not have pico-8.exe will just get some kind of pico-8 default config.txt file?

P#103698 2021-12-28 22:25

@2bitchuck Thank you for your Linux info. I have an install of Zorin, but didn't notice the behavior you noted on the icon. But then again, I wasn't expecting that behavior, so I may have just missed that.

P#103699 2021-12-28 22:26

@ChristopherD I think what happens is that whatever YOUR config.txt looks like at the time of your export is what gets rolled into the executable. I could be wrong, but that is how it seems to work for me. Just to test, I changed the windowed param in my config.txt from 1 to 0 and exported again, and this time the game launched full screen.

P#103703 2021-12-28 23:44 ( Edited 2021-12-28 23:45)

@2bitchuck ??? But isn't the value of my config.txt reflected by my usage of Pico-8? In other words, if I'm not personally using Pico-8 in fullscreen then my config.txt shouldn't be set to fullscreen... right? I'll give that a shot though.

Update: My config.txt is already set to 1 (windowed) but my testers reported fullscreen on first launch. I dunno...

P#103704 2021-12-29 00:04 ( Edited 2021-12-29 00:13)

@ChristopherD that's interesting, I guess I was wrong about that. I'm not really sure where it would be pulling the value for non-PICO-8 users from then.

P#103705 2021-12-29 00:29

@ChristopherD
Yes, a default one is created in the common dir.
Also, from the changelog: "If config.txt is not found, the same directory as the executable is searched"
Which means you could put a "windowed" config.txt alongside your binary and have it used at first launch on a system that doesn't have pico-8, PROVIDED nobody ever launched another pico-8 binary game...

yes, that's mostly useless and should be the other way round somehow.

one thing you could do is provide a bat/sh file that starts the binary with the "-windowed 1" parameters. (maybe a shortcut for windows)

P#103716 2021-12-29 02:26

@ultrabrite Thanks for digging up that information. Neither solution sounds great to me TBH, so I've opted for "post some information for first-time users on the itch page" for now.

P#103796 2021-12-29 23:56 ( Edited 2021-12-29 23:56)

@ChristopherD, as it sounds like you are looking for configuration in execution, you might be interested in this:

https://www.lexaloffle.com/bbs/?tid=45359

P#103798 2021-12-30 02:16

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-29 05:29:09 | 0.023s | Q:25