![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](/media/91156/51_Schermata 2024-04-12 alle 15.42.17.png)
On fullscreen, sometimes this happens, other times not.
(I'm talking about the red bars)
I'm going crazy trying to understand why but what I noticed is that it always happens when I test this at boot.
![](/media/91156/wtf.png)
Here's a screen of 20 minutes ago when it didn't have red bars:
This is a bug I had with other beta stage software on my MacOS 12.5 intel
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](/bimg/pi/pi2.png)
In my case it is not pixel-perfect on a MacBook with retina screen.
![](/media/94786/Screenshot 2024-04-08 at 16.20.18.png)
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](/media/10783/girl-heart-cat.png)
related to last issue i reported: when i press mod4+F to tell my wm to fullscreen, picotron also responds to that and brings up the search input
besides that, if i press mod4+A (which isn't bound for my wm), it interprets it as both an A key press and a ctrl+A key press at the same time
and ctrl+1 also inputs a 1, but ctrl+A doesn't input an A
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](/media/94632/Untitled.jpg)
On safari (on MacOS 14.4.1) , the embedded web player doesn't lock the arrow keys, so when you're playing a game with the arrow keys the window keeps scrolling up and down
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](/media/91156/51_Schermata 2024-04-12 alle 15.42.17.png)
CMD + W picotron closed unexpectedly...
Also I lost 4 hours of work today... It was all fine when I left it.
Then I came back and my cart's content was empty! I would've lost everything if I didn't have a backup elsewhere... so this is kind of a huge bug I guess, I hope we can bypass this issues with backups in 0.1.0f
EDIT: Again, picotron casually crashed after hitting "right shift"
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](https://www.lexaloffle.com/bbs/files/17205/logo.png)
Just got picotron. I was experiencing with the picotron_config.txt file on linux. I wanted to see what would happen if I mount an empty directory to the system directory.
And it looks like it copied the system directory into that empty directory and in the picotron console it shows two system directories exist:
![](/media/17205/ss.png)
That seems wrong :D...
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](/bimg/pi/pi10.png)
MacOS 14.4.1 (arm), Picotron 0.1.0e
Option-Left/Right to switch the Picotron workspace doesn't do anything in 0.1.0e. It used to work in an earlier version.
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](/bimg/pi/pi10.png)
Also the documentation for the mount config is wrong. The arguments are swapped and ~ doesn't expand to the home dir
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](/media/11897/bunee.png)
Windows 11. Picotron 0.1.0f closes at launch.
Edit: I managed to launch it removing the picotoron_config file, Looks like it has problems with my previous version mounts
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](/media/92434/2_portrait-clover-pico.png)
0.1.0f boots to an empty workspace rather than the desktop. Reboot does the same.
Windows 11
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](/media/91156/51_Schermata 2024-04-12 alle 15.42.17.png)
Thanks for the update @zep! F is finally out!
Screen width is fixed with HIGH dpi on Mac OS 12.5! but fullscreen still has those strange red bars at the top and bottom of the screen...
Another thing worth noticing is the same Empty Workstation everyone is getting at boot. On the toolbar there's 2 desktop icons, and if I click on the deselected one I see the normal desktop with no bugs whatsoever:
![](/media/91156/54_picotrrrron.png)
And once I double click on Picotron's window bar (the one on top where it says Picotron) to have the program in a big window, doubleclicking again to get back to a small windowon doesn't work! I have to close and reopen Picotron to have that nice small window.
But they're not big bugs doe, and the new features I tested seem to work nice! Great work Zep.
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](/bimg/pi/pi2.png)
0.1.0f Windows 10
PNG import leaves a bit to be desired when you're not using something with lots of flat colours. I know there's probably a squillion ways to palletize an image but the current results are quite dodgy.
I'm not asking for auto dithering or anything but something's definitely up here. I'm getting flashbacks to that one horrible time I wrote a BMP parser.
For example...
(Ps. Unless I'm wrong, the BBS doesn't like POD GFX)
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](/media/65920/8_Red Mushroom Avatar.jpg)
0.1.0f running on Windows 10:
The RSHIFT Magnify feature renders black pixels as transparent:
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](/media/93946/beethro.png)
Happy 0.1.0f Day to all those who celebrate.
At any resolution, the top control bar obscures the very first line of the terminal screen. Tried playing with all video settings but same behavior. Fairly certain I wasn't seeing this in prior releases.
Running the Linux build on Arch x64.
![](/media/93946/9_layers.png)
Quick update: seems very intermittent. Switched between desktop environments and having trouble reproducing now.
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](https://www.lexaloffle.com/bbs/files/27275/photo_2017-09-28_00-51-04.jpg)
In the 0.1.0f docs, the mouse_y
is present twice at different places (2 and 5):
mouse() Returns mouse_x, mouse_y, mouse_b, wheel_x, mouse_y
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](/media/91489/icon.png)
Not a bug but annoyingly in the latest update (v0.1.0f) changing the number dialog boxes with the mouse makes it difficult to see the number as it's covered by the cursor and it moves so slow.
![](/media/91489/Screenshot (86).png)
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](/media/33292/4_bubblebubble_icon.png)
Running 0.1.0f under Windows (10) with a dual monitor setup.
When you full-screen on the non-primary monitor (both monitors are 1920x1080 but primary monitor is 125% windows scaling), it truncates the right and bottom parts of the screen (no icons in top-right demonstrates this).
Was fine under 0.1.0e
![](/media/33292/Untitled.png)
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](/media/10783/girl-heart-cat.png)
this became unresolved again as of 0.1.0f: https://www.lexaloffle.com/bbs/?pid=144623#p
edit 2024-07-22: resolved in 0.1.0h
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](/bimg/pi/pi13.png)
0.1.0f Win 11
I checked my game foxrun and pressing cursor up or down seems to register twice whereas pressing "w" or "s" does not. This is using keyp().
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](/bimg/pi/pi1.png)
Not sure if this is the right place, but in the picotron manual, there's a typo in section 5.5 (input).
Button 4 is skipped, and button 12 is listed as both "Buttons (not named yet!)" and "Secondary Stick". Seems to be the case in both the .txt and .html manuals. The buttons are correct if you start from 0 and count them as listed :)
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](https://www.lexaloffle.com/bbs/files/11630/pixelicon.png)
not sure if this is considered a bug, but i am having problems with the view being extremely off centered in the sprite editor, and it is a pain to try and scroll back to the center. what i think might be a bug is that it's different from sprite to sprite... if one sprite is selected and centered the next one is way off center, and if i then scroll back on that one, it is off center in the first.
this happened I think after dragging in a large png.
macOS 14.4.1 (apple chip)
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](/bimg/pi/pi13.png)
I discovered what caused the bug in my game in 0.1.0f
My game was written in 0.1.0e and at first only had keyboard code like this
if keyp("up") then move_fox(-1) end if keyp("down") then move_fox(1) end |
Then I added controller support like this
if keyp("up") or btnp(2) then move_fox(-1) end if keyp("down") or btnp(3) then move_fox(1) end |
this is called in _update() every frame. Now btnp(2) will return true if a controller is pressing up or the "up" key on the keyboard is pressed so I was checking everything twice but in 0.1.0e on the next frame both would return false
if we look at the changelog for 0.1.0f
Fixed: key() / keyp() returns false when received keyup and keydown messages in same frame (should be true for 1 frame) Fixed: keyboard btn() responds to keypress one frame late |
Now the keypress event recorded with keyp() and the keypress event recorded with btnp() are returning true on different frames and it caused my code to receive the event twice.
I fixed it by removing the redundant keyp("up/down") code.
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](/media/93554/0002.png)
Found a bug in 0.1.0f:
mouse clicks in vid(3) don't seem to work as intended. They only register on the top left part of the screen (in a space that's half of the resolution) I wrote the following snippet to demonstrate this. Additionally the cursor is missing. If the option/alt key is held you can see the cursor disappear into the rect I drew in real-time.
function _init() vid(3) end function _draw() cls() rect(0,0,119,67,1) print("\n"..mx.." \n"..my.." \n"..mb,mx,my,7) line(mx,my,mx,my,7) end function _update() mx, my, mb = mouse() end |
EDIT: Good news! Zep said a fix will be in 0.1.0g. Also thanks to nephilim for finding this!
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](/media/93736/4_Wowbagger-809130375.jpg)
After installing 0.1.0f on Windows 11 I get this:
![](/media/93736/clipimage.jpg)
clicking the second of the two desktops does seem to fix it until relaunch, but very odd!
I tried uninstalling and reinstalling a couple of times, rebooting, deleting the appdata, but can't get it to stop.
I'll go back to 0.1.0e for the time being.
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](/media/91156/51_Schermata 2024-04-12 alle 15.42.17.png)
Macbook air MacOS 12.5 intel
Picotron 0.1.0f
Crashed suddently after hitting "CMD+Q" even if I have it turned off in settings (I have this issue since the first picotron release). Also crashed after hitting right shift earlier today.
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](/bimg/pi/pi4.png)
idk if this is a bug, exactly, but file paths can have any number of /'s in between directories
![](/media/96004/fstat.png)
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](https://www.lexaloffle.com/bbs/files/28463/bgelais.png)
when we do i.e.
clip(120,0,240,270)
without specify(add) vid(0) first, #picotron crash and close. Anyway it is important to specify the vid(0) or (3) or (4) at starts of code when do fullscreen.
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](/media/91489/icon.png)
I've also just started getting the dual desktop icons and the cursed pointer (Windows 10) when I start Picotron, clicking any of the icons fixes the problem until reboot
![](/media/91489/Screenshot (93).png)
Also (not sure if this is a bug)
I saved my cart as a .p64.png with edited icon and description/info then edited the code and saved again, the icon and info did not save to the cart on the second save.
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](/bimg/pi/pi28.png)
I've hit upon a bug in gui_ed.lua
(version 0.1.0f).
Setting up key_callback
for "generic keys" causes a runtime error. This code snippet
gui:attach_text_editor { width = 100, height = 100, key_callback = { enter = function() t:set_text("enter was pressed") end, a = function() t:set_text("A was pressed") end } } |
causes the error below when pressing the 'a' key:
![](/media/94076/runtime_error.png)
Line 1070 in gui_ed.lua
is:
1069: if (type(content.key_callback[k]) == "function") then 1070: content.key_callback(k) 1071: else |
Hitting enter works as expected. I guess the fix is quite easy, something along the lines of
- content.key_callback(k) + content.key_callback[k](k, text) |
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](/media/27691/dinnerwashingatsunset.gif)
https://www.lexaloffle.com/bbs/?pid=147549#p I uploaded a cart here (as a reply, not as the start of a thread), but it isn't being played by the BBS web player. it shows the right preview but it's playing a different cart from the same thread instead
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](/bimg/pi/pi12.png)
I am not able to select any layers greater than 7 in the map editor. I looked in the code for map.p64 and see no hotkeys to change the selected layer. This is problematic because you cannot scroll in the layer select window in the map editor. Additionally, you cannot even select layer 8 as it resides under the GUI buttons.
![](/media/62572/Screenshot_2024-05-02_at_8.47.44_AM.png)
I was able to add these hotkeys to map.p64, but my way was very clumsy. Is it possible to get this issue rectified? This is on 0.1.0g on MacOS.
-- in map.p64::update.lua if keyp("l") then if current_item <= 32 then set_current_item(current_item+1) end refresh_gui = true end if keyp("k") then if current_item >= 1 then set_current_item(current_item-1) end refresh_gui = true end |
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](/media/57071/ooooggll minimal square.png)
stop(txt)
doesn't print out the text when called during _update()
, only in _draw()
. It will still stop the program, but without printing out any text that might have been passed in as a parameter. Inside _draw()
, it works as expected.
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](/media/27691/dinnerwashingatsunset.gif)
010g on linux:
notify(123)
freezes the workstation- pressing alt-tab is inserting tab characters into my code; I fixed it by editing
/system/lib/events.lua
, changingif (msg.scancode == name_to_scancodes["enter"][1]) accept = false
toif (msg.scancode == name_to_scancodes["enter"][1] or msg.scancode == name_to_scancodes["tab"][1]) accept = false
- pressing enter when editing a value using podtree crashes b/c of some variable name shadowing (
/system/apps/podtree.p64/main.lua
->if(key("shift")) return true
(key has been overidden)) mget(-1,-1)
returns nil; I think it should return 0 instead. This would mirrormymap[1].bmp:get(-1,-1)
and would also match pico8 behaviorsave /folder/does/not/exist.p64
is misleading -- it looks like it succeedsprint(true,0,0,7)
doesn't work? odd.print(true)
works, andprint(tostr(true),0,0,7)
works too- hitting a runtime error doesn't stop music playback
- when calling ord with 3 params (
ord(str,index,num_results)
), num_results is ignored and index is used instead. for example,foreach({ord("123456789a",5,2)},print)
prints 5 entries starting at index 5, instead of 2 entries starting at index 5
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](https://www.lexaloffle.com/bbs/files/32135/ck.jpg)
Soak test fail: 0.1.0g crashed after launching, sitting on the desktop, and waiting like 30-40 minutes. Was on separate desktop when it crashed.
MacStudio M1,Sonoma 14.4.1 (23E224)
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](/media/91156/51_Schermata 2024-04-12 alle 15.42.17.png)
MacOs 12.5 intel - Picotron 0.1.0g
Sometimes keyboard input doesn't work in music editor.
It has been like this since a couple updates ago but I was waiting to have a hint for better bug reporting. But still I can't understand why.
If I quit Picotron for 20 minutes or so then everything is fixed, but later, it randomly gets broken again
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](/media/91156/51_Schermata 2024-04-12 alle 15.42.17.png)
Picotron becomes bugged out everytime I paste-in more than one (big) pod sprite inside the code editor!
I was working on a dinamic wallpaper (which had to be 480x270)
I copyed it from the sprite editor, pasted it in the code editor and everything all right, then I do the same with a second one and everything gets bugged out as soon as i move around a bit.
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](/media/79935/ellapoly.png)
Strange bug I found with the split function
print(split("123","")[1]) |
prints 65536.0
instead of the expected 1
This happens whenever the separator is an empty string and convert_numbers is true.
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](https://www.lexaloffle.com/bbs/files/10355/girlflash100.gif)
Windows, 0.1.0g:
btnp(4)/btnp(5) return true in the first update if they have been used to select the "Reset Cartridge" option in the cart pause menu.
Not a huge issue but I've got to hack around it so the default item on a game's main menu isn't selected after resetting the cartridge.
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](/media/91156/51_Schermata 2024-04-12 alle 15.42.17.png)
MacOS 12.5
Picotron 0.1.0g crashes when trying to open a ".png" file with the code editor... I know this isn't something you should do, but instead of crashing I think it should print an error message
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](/media/52584/glitchSelf_Apogaea_1000px.jpg)
This is a lot to read through. Is there any place to read a list of reported bugs so I don't make a duplicate report?
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](https://www.lexaloffle.com/bbs/files/10355/girlflash100.gif)
Windows, 0.1.0g:
multiline strings don't get special characters inserted properly.
print([[line a \135 line b \133]].. "\nline c \140") |
will print:
line a \135 line b \133 line c 😀 |
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](/media/65920/8_Red Mushroom Avatar.jpg)
@SophieHoulden It's like that in PICO-8 too, I'm not sure if it's intentional.
@TBMcQueen Eh, you could probably just read the last page or two, the thread is moving slowly enough that anything beyond that was posted months ago and so is either fixed or could use a reminder that the bug is still there.
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](/bimg/pi/pi10.png)
picotron 0.1.0g mac (arm)
The picotron screensaver activates if I'm actively using the gamepad but don't use keyboard or mouse
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](/media/91156/51_Schermata 2024-04-12 alle 15.42.17.png)
Picotron 0.1.0g
I don't know if this can be considered a bug, but I just found out that the load #bbscart
command doesn't immediately work on startup.
If I run it as soon as I open PT, it takes more than 60 seconds to load the cart into ram.
After that minute running the load #
command loads the bbs cart immediately
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](/media/91156/51_Schermata 2024-04-12 alle 15.42.17.png)
I did save /desktop/#cart.p64
in the terminal and instead of telling me that I cannot use symbols in filenames (because of #), it just saved that file but it cannot be managed by picotron's filenav.
I cannot rename nor delete it.
If I try moving it in another path I get attempt to index a nil value (file 'fullpath')
and it glitches the filenav. Everything good if I delete it from OS doe!
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](/bimg/pi/pi4.png)
Picotron 0.1.0g
As pancelor noted "fget(x,num) -- the num arg doesn't do anything, unlike pico8"
The manual states "fget(n, [f])" yet it currently always returns a bitfield even when a flag is supplied.
This seems to be a common issue that people are running into on discord. We can currently work around it with something like fget(spriteNum) & 0b1<<flag!=0
. However parity with pico8 would be ideal.
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](/bimg/pi/pi2.png)
Not exactly a bug but you might want to note in the manual that if your multiline comment includes embedded POD stuff it should be formatted as
--[=[ COMMENT AND POD DATA HERE ]=] |
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](/bimg/pi/pi2.png)
Another "not really a bug but..." post.
I understand why the default music pattern is set up that way but it might be better to only use half (or 3/4 of) the channels by default so that newbies don't get confused why their sound-effects (using note()) keep interrupting the music, especially if they're only using 1 or 2 channels on the left.
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](/media/65920/8_Red Mushroom Avatar.jpg)
@TickedOffJosh I believe that Picotron actually has 16 channels available, so I don't think the 8 that the music channels use will really be that much of an issue.
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
![](https://www.lexaloffle.com/bimg/pi/pi1.png)
In 0.1.0h:
When I tried to add nil
to a vector, I got a crash (Picotron hangs for a just a second or two, then closes).
I can consistently get it to happen by running this:
crash = nil + vec(1) -- crashes
It doesn't happen if I try to run the statement without assigning it to anything:
nil + vec(1) -- syntax error
Or if it's a normal Lua datatype:
crash = nil + 1 -- syntax error
I'm on Linux.
When running from the shell and getting this crash, I see this message:
Picotron Workstation OS 0.1.0h (c) Lexaloffle Games https://www.picotron.net // build: 240720-033214 fish: Job 1, './picotron' terminated by signal SIGSEGV (Address boundary error) |
[Please log in to post a comment]