VinnyRules [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=70108 Mod Manager for Picotron Workstation OS <p> <table><tr><td> <a href="/bbs/?pid=150249#p"> <img src="/bbs/thumbs/pico64_modman-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=150249#p"> modman</a><br><br> by <a href="/bbs/?uid=70108"> VinnyRules</a> <br><br><br> <a href="/bbs/?pid=150249#p"> [Click to Play]</a> </td></tr></table> </p> <h1>Mod Manager</h1> <p>Mod Manager is a simple tool for modifying your system!</p> <h2>Installation</h2> <p>Simply install the cart to your system and run it! The first time you run, you will be prompted<br /> to select a mod path. This is where Mod Manager will look for &quot;.mod&quot; files to load.</p> <p>Next time you run, if there are any &quot;.mod&quot; files in that directory, they will load it!</p> <h2>Command Line Usage</h2> <p><code>modman</code> - Starts Mod Manager and loads mods<br /> <code>modman --config</code> - Opens Mod Manager Configurator<br /> <code>modman --force</code> - Reloads Mod Manager even after running for the first time in the session<br /> <code>modman --compile [path/to/uncompiledmod.txt]</code> - Compiles mod and stores it in &quot;compiled.mod&quot;</p> <h2>.mod File</h2> <p>The specifics of the compiled .mod file are unimportant, as they are just Picotron POD objects as Lua Objects.</p> <h2>UnCompiled Mod File</h2> <p>UnCompiled Mod Files are very simple. It's basically one big list that has multiple entries for mods.</p> <p>Take for example this UCM:</p> <div> <div class=scrollable_with_touch style="width:100%; max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>&gt; line:0 replace:false modfile:false target:/path/to/file/to/modify.lua data:function hello() data: print(&quot;hi!&quot;) data:end &gt; line:0 replace:false modfile:false target:/path/to/file/to/modifyagain.lua data:function hello2() data: print(&quot;hi again!&quot;) data:end</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>Each &quot;mod entry&quot; is separated by a &quot;&gt;&quot; character. Very simple.<br /> Each entry has fields that are in the format of <code>key:value</code><br /> This is case sensitive and spaces aren't allowed (sorry!)</p> <p>The only required fields are <code>target</code> and <code>data</code>.</p> <h3>Fields</h3> <p><code>target:[text]</code> - Sets the file to modify to file at path [text].<br /> <code>data:[text]</code> - Sets the data [text] to write/modify to the target.<br /> <code>modfile:[bool]</code> - Whether or not data is another file, or just text.<br /> <code>line:[number]</code> - Line to insert/replace. If 0, data will overwrite the whole target file.<br /> <code>replace:[bool]</code> - Whether or not to insert the data, or write over by line.</p> <h2>Example</h2> <p>This is an example of Mod Manager and it's compiler with my <a href="https://www.lexaloffle.com/bbs/?tid=142796">Open in Terminal Mod</a>!</p> <p>Uncompiled Mod: Create a txt file in Picotron and write this:</p> <div> <div class=scrollable_with_touch style="width:100%; max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>&gt; replace:false line:69 modfile:false targetpath:/system/apps/filenav.p64/main.lua data: menuitem{ data: id=&quot;open_in_terminal&quot;, data: label = &quot;\^:7f7d7b7d7f083e00 Open in Terminal&quot;, data: action = function() data: create_process(&quot;/system/apps/terminal.lua&quot;, {path = pwd()}) data: end data: } &gt; replace:false line:26 modfile:false targetpath:/system/apps/terminal.lua data:cd(env().path) data:local path0 = env().argv[1] or &quot;.&quot; data:path = fullpath(path0) data:cd(path) data:if (pwd() == &quot;/system/apps&quot;) cd(&quot;/&quot;)</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>Then, in your terminal:<br /> <code>modman --compile /path/to/mod.txt</code></p> <p>This will compile it and store &quot;compiled.mod&quot; in your current directory!<br /> Now move this to your mod folder, and when you run <code>modman</code>, this mod will load!</p> <h1>NOTE</h1> <h2>Sorry that these docs are kinda trash... i'm really tired and can't think straight..</h2> https://www.lexaloffle.com/bbs/?tid=142806 https://www.lexaloffle.com/bbs/?tid=142806 Sat, 22 Jun 2024 04:31:37 UTC Custom &quot;Open in Terminal&quot; option in FileNav! <h1>&quot;Open in Terminal&quot; in FileNav!</h1> <img style="margin-bottom:16px" border=0 src="/media/70108/9_ezgif-7-49ae5b8115.gif" alt="" /> <p>Here, you can see it big and clear, a &quot;Open in Terminal&quot; option in FileNav!</p> <h2>How did I do this?</h2> <p>By modifying &quot;/system/apps/terminal.lua&quot; and &quot;/system/apps/filenav.p64&quot;, you can do this yourself!</p> <p>Before modifying anything in &quot;/system&quot;, if you want it to stay after reboot, check out my <a href="https://www.lexaloffle.com/bbs/?pid=150211#p">Localize System Tool</a>!</p> <p><strong>NOTE: <em>Localizing your system folder can be very dangerous. It can brick your Picotron installation, and even allow malicious carts to install themselves and harm your actual OS drive. This demonstration wont do as such, but be careful when installing untrusted carts. This will also keep your system at the same version that it was localized at, and you will need to unlocalize your system to update, and you will lose all of your changes</em></strong></p> <p>An alternative to localizing your system is <a href="https://www.lexaloffle.com/bbs/?tid=140847">sedish</a>.<br /> I don't have any experience with it and don't know how to go about using my Terminal and FileNav mods with it, but it seems like a much more safe (and slightly more update-friendly) way of installing my mods.</p> <h2>Terminal.lua</h2> <p>You can simply double-click this in FileNav, or manually open it in code editor to modify it.</p> <p>Around Line 25 of terminal.lua, replace:<br /> <code>if (pwd() == &quot;/system/apps&quot;) cd(&quot;/&quot;)</code><br /> with:</p> <div> <div class=scrollable_with_touch style="width:100%; max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>cd(env().path) local path0 = env().argv[1] or &quot;.&quot; path = fullpath(path0) cd(path) if (pwd() == &quot;/system/apps&quot;) cd(&quot;/&quot;)</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>This simply allows the terminal command to either launch in the current directory, or the directory specified in argv! This is what my FileNav mod uses for &quot;Open in Terminal&quot;</p> <h2>FileNav.p64</h2> <p>FileNav is not as easy to modify. Open terminal, and use: <code>load /system/apps/filenav.p64</code><br /> Then, go to the code editor, and open it's &quot;main.lua&quot;</p> <p>Around Line 69, (nice), insert:</p> <div> <div class=scrollable_with_touch style="width:100%; max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>menuitem{ id=&quot;open_in_terminal&quot;, label = &quot;\^:7f7d7b7d7f083e00 Open in Terminal&quot;, action = function() create_process(&quot;/system/apps/terminal.lua&quot;, {path = pwd()}) end }</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>right under the other &quot;menuitems&quot;</p> <p>Make sure to save your FileNav mod!</p> <p>When you're done, you'll see the new option when you launch a new FileNav instance, or after you reboot.</p> https://www.lexaloffle.com/bbs/?tid=142796 https://www.lexaloffle.com/bbs/?tid=142796 Fri, 21 Jun 2024 15:25:49 UTC Localize System <h2>Localize System - A small tool for managing and saving your /system folder!</h2> <p> <table><tr><td> <a href="/bbs/?pid=150211#p"> <img src="/bbs/thumbs/pico64_localsys-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=150211#p"> localsys</a><br><br> by <a href="/bbs/?uid=70108"> VinnyRules</a> <br><br><br> <a href="/bbs/?pid=150211#p"> [Click to Play]</a> </td></tr></table> </p> <p>Normally in Picotron, when you make changes to /system, they go away on reboot. This is fine, and actually ideal, because any errors could easily brick your Picotron installation, or even allow malicious programs to gain kernel permissions (THIS IS VERY BAD. THEY COULD ACCESS YOUR ACTUAL OS).</p> <p><strong>NOTE: <em>Localizing your system folder can be very dangerous. It can brick your Picotron installation, and even allow malicious carts to install themselves and harm your actual OS drive. This program wont do as such, but be careful when installing untrusted carts. This will also keep your system at the same version that it was localized at, and you will need to unlocalize your system to update, and you will lose all of your changes</em></strong></p> <p><strong>NOTE 2: <em>This is very overkill for making small edits to your Picotron system. This isn't update-friendly and can damage your system as previously stated. I'd only really recommend this if you're trying to make your OWN OS for Picotron. I would recommend <a href="https://www.lexaloffle.com/bbs/?tid=140847">sedish</a> for making small edits and fixes.</em></strong></p> <p>However, some of us are willing to take a risk, and must tinker with the system, so I've made this simple tool to allow you to &quot;localize&quot; your system, and also &quot;unlocalize&quot; it.</p> <p>The process of localizing used by localsys is the same as described <a href="https://www.lexaloffle.com/bbs/?pid=149181#p">here</a>:</p> <p>&quot;I don't know if this is a well known thing, but you can just copy the /system folder to a different location (cp /system /tmp), delete original /system and rename previously copied directory to /system. Then it will be a real folder, not stored in RAM.&quot;</p> <h2>Usage:</h2> <p>In order to use Localize System, it must be installed in Picotron, much like other system-using cartridges.<br /> You can do this by downloading the PNG of this cart and putting it in your Picotron drive.</p> <p>When you run it, it will show a menu, and it is pretty self explanatory. Follow the prompts, type your option, and you get what you want! Note: This must be run in desktop, it won't run in fullscreen terminal </p> https://www.lexaloffle.com/bbs/?tid=142794 https://www.lexaloffle.com/bbs/?tid=142794 Fri, 21 Jun 2024 15:00:50 UTC Robolution Prototype v1 <p> <table><tr><td> <a href="/bbs/?pid=135172#p"> <img src="/bbs/thumbs/pico8_robolutionproto-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=135172#p"> Robolution Prototype v1</a><br><br> by <a href="/bbs/?uid=70108"> VinnyRules</a> <br><br><br> <a href="/bbs/?pid=135172#p"> [Click to Play]</a> </td></tr></table> </p> <p>This is a game I think I want to continue making.<br /> You're a robot with a gun.<br /> I'll leave out the story details for now..</p> <p>Press X to shoot<br /> Press O to interact with things (like doors)</p> <p>Let me know what you think and if you have any cool ideas!</p> https://www.lexaloffle.com/bbs/?tid=54383 https://www.lexaloffle.com/bbs/?tid=54383 Sat, 30 Sep 2023 20:32:36 UTC Airspace Defender <p> <table><tr><td> <a href="/bbs/?pid=131448#p"> <img src="/bbs/thumbs/pico8_airspacedefense-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=131448#p"> airspacedefense</a><br><br> by <a href="/bbs/?uid=70108"> VinnyRules</a> <br><br><br> <a href="/bbs/?pid=131448#p"> [Click to Play]</a> </td></tr></table> </p> <p>Welcome to Airspace Defender! You're stationed at Area 51, and you have to shoot down them aliens!</p> <p>How long can you last?</p> <p>CONTROLS:<br /> Use left and right buttons to aim the cannon<br /> Use X to shoot</p> https://www.lexaloffle.com/bbs/?tid=53269 https://www.lexaloffle.com/bbs/?tid=53269 Wed, 28 Jun 2023 22:05:50 UTC wheatleycrab <p> <table><tr><td> <a href="/bbs/?pid=131410#p"> <img src="/bbs/thumbs/pico8_wheatleycrab-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=131410#p"> wheatleycrab</a><br><br> by <a href="/bbs/?uid=70108"> VinnyRules</a> <br><br><br> <a href="/bbs/?pid=131410#p"> [Click to Play]</a> </td></tr></table> </p> <p>This is my first attempt at recreating a song, let me know what you think!<br /> Based off of the Wheatley Crab Meme.</p> https://www.lexaloffle.com/bbs/?tid=53250 https://www.lexaloffle.com/bbs/?tid=53250 Wed, 28 Jun 2023 02:46:11 UTC bananasnail <p> <table><tr><td> <a href="/bbs/?pid=131404#p"> <img src="/bbs/thumbs/pico8_bananasnail-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=131404#p"> bananasnail</a><br><br> by <a href="/bbs/?uid=70108"> VinnyRules</a> <br><br><br> <a href="/bbs/?pid=131404#p"> [Click to Play]</a> </td></tr></table> </p> <p>This is Banana Snail. It isn't a game, it's an experience.</p> <p>CONTROLS:<br /> Use your eyeballs to watch the snail.<br /> Use your ears to listen to the sounds.</p> <p>HOW TO WIN:<br /> Watch the snail until the end.</p> <p>HAVE FUN!!!</p> https://www.lexaloffle.com/bbs/?tid=53249 https://www.lexaloffle.com/bbs/?tid=53249 Tue, 27 Jun 2023 19:16:13 UTC Vinny's Lemonade Stand <p> <table><tr><td> <a href="/bbs/?pid=131143#p"> <img src="/bbs/thumbs/pico8_vinnyslemonadestand-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=131143#p"> vinnyslemonadestand</a><br><br> by <a href="/bbs/?uid=70108"> VinnyRules</a> <br><br><br> <a href="/bbs/?pid=131143#p"> [Click to Play]</a> </td></tr></table> </p> <p>Welcome to the Lemonade Stand!<br /> Get Money, Upgrade your stand, and win!</p> <p>You win when you fully upgrade everything</p> <p>CONTROLS:<br /> X - Open Upgrade Menu or Buy Upgrade<br /> O - Close Upgrade Menu<br /> Up/Down - Change Upgrade Selection</p> <p>NOTE:<br /> I know this game has been done before, and way better, but I wanted to make this anyway.</p> https://www.lexaloffle.com/bbs/?tid=53174 https://www.lexaloffle.com/bbs/?tid=53174 Mon, 19 Jun 2023 16:02:13 UTC Rolly Guy v1.2 <p> <table><tr><td> <a href="/bbs/?pid=130983#p"> <img src="/bbs/thumbs/pico8_rollyguy2-1.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=130983#p"> rollyguy2</a><br><br> by <a href="/bbs/?uid=70108"> VinnyRules</a> <br><br><br> <a href="/bbs/?pid=130983#p"> [Click to Play]</a> </td></tr></table> </p> <p>Welcome to Rolly Guy! You are a sphere and need to get your shoes from the store! Survive through all of the levels and get your new shoes!</p> <p>Controls:<br /> up: Jump<br /> left/right: Move Left or Right<br /> x: Jump (for mobile)</p> <p>Stand on the yellow pad at the end of the level to advance to the next one</p> <p>Watch out for spikes! You have 3 lives!</p> <p>It's pretty easy? Right?</p> https://www.lexaloffle.com/bbs/?tid=53105 https://www.lexaloffle.com/bbs/?tid=53105 Thu, 15 Jun 2023 18:07:13 UTC Lawn Mowing Mayhem v3.0.0 <p> <table><tr><td> <a href="/bbs/?pid=128945#p"> <img src="/bbs/thumbs/pico8_lawnmowingmayhem3-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=128945#p"> lawnmowingmayhem3</a><br><br> by <a href="/bbs/?uid=70108"> VinnyRules</a> <br><br><br> <a href="/bbs/?pid=128945#p"> [Click to Play]</a> </td></tr></table> </p> <p>LAWNMOWING MAYHEM 3.0.0</p> <p>In this game, you need to cut your grass, and QUICK!<br /> Avoid mowing over the flowers, get all the grass, and get the highest score possible!<br /> If you run out of time, you lose.</p> <p>Controls and scoring information are in the game, but here are the controls and scoring information anyway ;)</p> <p>Controls:<br /> Up/Down/Left/Right: Move<br /> X: Turn around<br /> O: Turn lawn mower on and off</p> <p>Scoring:<br /> Mow tall grass: +10<br /> Mow already cut grass: -5<br /> Mow flowers: -20<br /> Remaining time gets added to score at end.</p> <p>Rocks:<br /> If you put your mower on rocks without turning it of, it's game over!</p> <p>Water:<br /> You can't walk on water, but if you try to push your mower into the water, its also game over!</p> <p>CHANGELOG::<br /> 2.0.0:<br /> Optimized winning and losing textures, no longer takes up 1/4 of sprite data! (whoops)<br /> 4 brand new and fun levels for a total of 5 levels!<br /> New victory music!</p> <p>2.1.0:<br /> Changed lose texture and fixed lose screen<br /> Made score center automatically</p> <p>3.0.0:<br /> Added 5 new, challenging levels for a total of 10 whole levels!<br /> Different songs for each level!<br /> New game mechanics and obstacles-- rocks and water!</p> <p>UPDATES FOR FUTURE:<br /> 3 or 5 lives system (So you dont immediately lose when you go over rocks or water)<br /> EVEN MORE levels<br /> Multiplayer - 1v1, Minigames, etc.<br /> EVEN MORE gameplay mechanics</p> https://www.lexaloffle.com/bbs/?tid=52500 https://www.lexaloffle.com/bbs/?tid=52500 Sun, 23 Apr 2023 23:36:43 UTC picoksp <p> <table><tr><td> <a href="/bbs/?pid=118261#p"> <img src="/bbs/thumbs/pico8_picoksp-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=118261#p"> picoksp</a><br><br> by <a href="/bbs/?uid=70108"> VinnyRules</a> <br><br><br> <a href="/bbs/?pid=118261#p"> [Click to Play]</a> </td></tr></table> <br /> Kerbal Space Program in KSP!</p> <p>Up Arrow to Increase Throttle<br /> Down Arrow to Decrease Throttle</p> <p>Check out the tips menu for more help.</p> <p>This is the first thing I made in Pico 8.<br /> I literally just learned how to use this fantasy console and I'm already<br /> doing physics.</p> https://www.lexaloffle.com/bbs/?tid=49564 https://www.lexaloffle.com/bbs/?tid=49564 Sat, 01 Oct 2022 07:24:51 UTC