stealth_dorf [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=61617 Procrastination Simulator 3000 <p> <table><tr><td> <a href="/bbs/?pid=106645#p"> <img src="/bbs/thumbs/pico8_procrastinator_3k-0.png" style="height:256px"></a> </td><td width=10></td><td valign=top> <a href="/bbs/?pid=106645#p"> procrastinator_3k</a><br><br> by <a href="/bbs/?uid=61617"> stealth_dorf</a> <br><br><br> <a href="/bbs/?pid=106645#p"> [Click to Play]</a> </td></tr></table> </p> <h1>Procraftination Simulator 3000</h1> <h2>Ever want to surf the web <em>AND</em> use PICO-8?</h2> <h2>Not wasting <em>enough</em> of your time?</h2> <p>Welcome to <em>Procrastination Simulator 3000!</em></p> <p>This WIP is my attempt to learn how to use LUA and PICO-8 in a more or less unconventional manner.</p> <h2>Controles</h2> <p>-Up scrolls up.<br /> -Down scrolls down.</p> <p>-more to come later.</p> <h3>Currently I am trying to:</h3> <p>-Get everything to display correctly<br /> -Get text to generate in appropriate places</p> <h3>Next up:</h3> <p>-Refine the art<br /> -Make the pages<br /> -SFX<br /> -BGM<br /> -Art that allows for the drinking of soda and laughing (+SFX)<br /> -Ideas for the initial 8 web pages</p> <h3>After that:</h3> <p>-Add in some more humor and counters<br /> -Maybe more web pages</p> <h3>Feel free to fix/edit/steal anything here. Seeing how others with more exp do the same thing will be useful for me to see.</h3> https://www.lexaloffle.com/bbs/?tid=46522 https://www.lexaloffle.com/bbs/?tid=46522 Thu, 10 Feb 2022 05:32:52 UTC PiCOnsole-8 <h1>PiCOnsole-8</h1> <h3><strong>UPDATE:</strong> Added a concept using pico-cad. not very specific but it was a lot of fun</h3> <img style="margin-bottom:16px" border=0 src="/media/61617/piconsole8_2.gif" alt="" /> <p>===========</p> <img style="margin-bottom:16px" border=0 src="/media/61617/PiConsole-8.jpg" alt="" /> <h2>The purpose of this physical console is to:</h2> <p><strong>1.</strong> Capture the retro-inspired essence of the Pico-8 software in a physical form, while re-imagining what it means to have a <em>physical cartridge</em> </p> <p><strong>2.</strong> Have old meet new with a sleek yet elegant 30x65mm body. </p> <p><strong>3.</strong> Reduce e-waste and create something that can be used as it is, or gut /hack it for different projects. This is achieved via the following concepts:</p> <p><strong>3.1.</strong> Doing away with the idea that a &ldquo;physical cartridge&rdquo; needs to be a separate part printed every time. However, it is important to capture the essence of a physical cartridge in a newly inspired way. The 33mm IPS 240x240p display on the front of the console has the sole purpose of displaying the art of the cart being played; not the game play itself. This is intentional because despite the console's small form-factor, it is meant to be plugged into a power source and a TV, just like in the old days.</p> <h3>(Later this display might be replaced with an e-ink screen, and the case re-formed as to be worn like a necklace. One could show everyone the cart you&rsquo;re rocking! This is because e-ink doesn&rsquo;t need power to maintain the image. This will also reduce power consumption.)</h3> <p><strong>3.2.</strong> Although a micro USB port is present for the purpose of plugging in peripherals for development (such as a keyboard, mouse, controller, etc), a start button, d-pad, and two buttons are included to maximize real estate of the console. My idea was to reduce the <em>need</em> to buy an extra controller, further reducing the footprint of the hardware. Including a small control scheme also allows for the cartridge-art to be better noticed while in use. </p> <p><strong>3.3.</strong> Use of multi-purpose components. The console is powered by a Raspberry pi zero W and a 4-8gb micro SD. all the components can be completely repurposed (such as the screen, buttons, etc). Ideally the Pi will load pico-8 on boot with a very lite version of raspbian in order to reduce power consumption. A physical on/ off button will be included to initiate a safe-shutdown. The code used will also be visible for those who wish to repurpose the console as it is.</p> <p><strong>4.</strong> Intentional exclusion of a dedicated battery. This is to fully emulate that old-school feel and further reduce waste.</p> <p><strong>5.</strong> Quality DAC audio out for high quality music development or playing games in otherwise quite environments. </p> <p>===========</p> <h2>What is done? What needs to be done?</h2> <p><strong>1.</strong> The initial concept and measurements have been made, the DAC, screen, software, and hardware have been measured and initially chosen.</p> <p><strong>2.</strong> The final hardware is yet to be chosen: chances are I may polish the design and change out some parts to make it more beautiful. </p> <p><strong>3.</strong> The software is in early stages. I'm trying to get all the hardware to talk with each other correctly and have images displayed when I want them to be. I have a lot of learning to do here. But a lot of it seems very straightforward. </p> <p><strong>4.</strong> Creating the CAD concept file and the printable CAD file. This will likely be the last step, since it shouldn&rsquo;t be <em>too</em> hard, but measurements might need to change. When I am back home on my regular computer, I will organize my notes into a nice image and diagram for you all to see (instead of my somewhat free-hand drawing I have uploaded).</p> <p>===========</p> <h2>Why?</h2> <p>I love the idea of having a console that really captures the old school vibe, but is convenient and good looking. I&rsquo;ve seen a lot of really cool consoles being made for pico-8 and a lot of people are really into having &ldquo;realia&rdquo; of the carts. However, although I think it&rsquo;s cool, I keep feeling really bad about the amount of plastic and throw-away parts being created. When I had a NES, I really loved having cartridges poking out, adding to my imagination of the game I was playing. As time went on and I began traveling more, I found real cartridges to be inconvenient. I couldn't even see the art when plugged it in anymore (like with the 3DS or PSP)! I wanted old technology to meet new standards, much like how the pico-8 is a new &quot;console&quot; with old school restrictions. </p> <p>===========</p> <h2>When?</h2> <p>I have no idea. I will do a little bit every day. I am a student with a full time job so I&rsquo;m going to do my best, especially during weekends and holidays.</p> <p>If you like this idea and you think I am too slow to put-out, steal all my work! Make it yourself! I&rsquo;d love to see someone make this before I do and share the ideas they have. </p> <p>===========</p> <h2>Open Source Hardware:</h2> <p>I&rsquo;m using this term a little wrong, but I will share and document everything as it comes along. This includes CAD files and all the software I come up with. Ideally, this will be something you can make at home or hack to be better. <em>It&rsquo;s a project of love.</em> </p> <p>===========</p> <h3>Update #1: 1/28/2022</h3> <p>I made a rough concept in PicoCAD! I put it at the top of this page. Further schematics and CAD progress will be added as I go on.</p> <h3>Update #2: 1/28/2022</h3> <p>I spent some time really looking at the kinds of hardware I want, and the end-result. Got my components picked. More importantly, I've come up with a timeline:</p> <p><strong>1.</strong> Picking out the hardware <strong>--FINISHED--</strong></p> <p><strong>2.</strong> Next will be getting the breadboard + components and piecing everything together. I plan on using a EEPROM CAT24C32 to configure the buttons. Although my component list is solid (and well documented) right now, I'm toying with the idea of what kind of directional pad to use (either the traditional d-pad, or using an analogue stick similar to the PSP system. Results will be determined by ease/availability.) Thankfully living in China has the perks of everything being easy to get.</p> <p><strong>3.</strong> Software V, 1.0 This is essentially getting everything hooked up and working. Not working 100% how I want it to work, but working as in the screen is synched with the pi, buttons do what they need to, etc.</p> <p><strong>4.</strong> Using KiCAD to create a PiHAT. I want this project to be very slim, so streamlining everything into a circuit board is important for the final design. There will be a lot of design choices, like most comfortable place to put the buttons (I kind of like the way they are placed when the games are played on the Iphone 13 Mini).</p> <p><strong>5.</strong> Software 2.0 This is getting my software to do everything I want it to do perfectly: the machine boots into SPLORE, the screen now serves the purpose of only displaying cartridge art (or working standalone if not hooked into an HDMI), buttons aren't wonky. basically a functional machine.</p> <p><strong>6.</strong> Print the circuit board and soldier. At this point everything should be in the final stages. Further testing will ensue.</p> <p><strong>7.</strong> Design the case in CAD and get it 3D printed. This will take some time, but it's important to do last since I will know how to house everything. I have initial written schematics right now but I will need to do a final measurement when paper becomes reality. Also needs some art direction and the like. Choosing materials and colors. Not too worried about this yet though.</p> <p><strong>8.</strong> Put it all together, check all documentation, make it available. The heart of this project is to make it available to anyone who will want to do it themselves. I don't have a real desire to go around selling my work. Too much effort. I'd rather make something cool and then let others take the wheel. Chances are if I document it well and easy enough, even a novice could do something really cool with it.</p> <h3>Update #3: 1/29/2022</h3> <p>After a while, I decided I wanted more of an x/y input nub to save me a headache of cutting out and measuring a d-pad. Then I came across the PSP1000 nub. I thought would be perfect, but then I figured I could reduce to a cheaper smaller nub for use. As a result I came across this:</p> <img style="margin-bottom:16px" border=0 src="/media/61617/WeChat Image_20220129130301.jpg" alt="" /> <p>Basically the thing I want to make, but not 100% the same as mine. Okay, bit of a letdown, but this is <em>my</em> learning project dammit! So I will still work on that. In the meantime, I wondered to myself if it would be better to do away with all unnecessary buttons. stick to the roots of a home console, and not a gameboy. after all, why go through all the trouble to make a pico-8 <em>Arduboy?</em></p> <p>I have made a minor re-design. It's an early concept. It will save me a little time and money on version 1, while I work out the kinks for the gameboy like device. Possibly, I could make this a little clam-shell rectangular prism that could easily fit in one's pocket. Only a power button and screen (and outputs of course). make it really minimalistic - which would give me a chance to really stress the art designs for it after. Here is my sketch up so far. let's see where it goes!</p> <img style="margin-bottom:16px" border=0 src="/media/61617/5_PiConsole-8-rev-2.jpg" alt="" /> <img style="margin-bottom:16px" border=0 src="/media/61617/piconsole8v2_0.gif" alt="" /> https://www.lexaloffle.com/bbs/?tid=46331 https://www.lexaloffle.com/bbs/?tid=46331 Thu, 27 Jan 2022 10:56:16 UTC How to Set Up Pico-8 + Controller on GAMEPI20 (Retropie + Raspberry Pi Zero WH) <p>First time posting! I just finished setting up Pico-8 on my Raspberry Pi Zero WH. Took me a long time but I want to pass on my experience incase someone else wants to try this.</p> <p>I wanted to have a portable console, so I bought the Game Pi 20 (GAMEPI20) case to use as my initial build. (because it was cheap and I am still tinkering with this system).</p> <p>I chose Retropie because it's an app running on top of Raspbian Lite, and I wanted to keep using this as a functional terminal-based computer when not gaming.</p> <ol> <li>First off, I flashed the image for Retropie 4.7.1 found here to a 16gb SD card:</li> </ol> <p><a href="https://www.waveshare.com/wiki/GamePi20#Hardware_connection">https://www.waveshare.com/wiki/GamePi20#Hardware_connection</a></p> <ol start="2"> <li>Then I followed the hardware instructions here:</li> </ol> <p><a href="https://www.waveshare.com/wiki/GamePi20_Assembly">https://www.waveshare.com/wiki/GamePi20_Assembly</a></p> <ol start="3"> <li>I followed the tutorial at this youtube link to get retropie set up with Pico-8, but read my <strong>step 4</strong> before you watch it:</li> </ol> <p><a href="https://www.youtube.com/watch?v=lEECUe_t51o">https://www.youtube.com/watch?v=lEECUe_t51o</a></p> <ol start="4"> <li>The Controller:</li> </ol> <p><strong>4.1</strong> In the video, the creator doesn't make it very clear, but the -SPLORE.sh file should be put in the ROMS folder for the pico-8.</p> <p><strong>4.2</strong> The file he supplies, &quot;sdl_controllers.txt&quot; ,will not work with the GAMEPI20. I had to make my own. Here is how you do it:</p> <p><strong>4.3</strong> Make a file called &quot;sdl_controllers.txt&quot; and paste the following code into it:</p> <hr /> <p>15000000010000000500000000010000,GPIO Controller 1,platform:Linux,a:b7,b:b1,x:b4,y:b0,back:-a1,start:+a1,leftshoulder:b3,rightshoulder:b6,dpup:-a0,dpdown:b11,dpleft:b10,dpright:+a0,</p> <hr /> <p>Save, then exit.</p> <ol start="5"> <li> <p>place this file you just made into the pico-8 directory instead of the one supplied in the youtube video. Then watch the rest of the video to get everything running.</p> </li> <li> <p>I switched my theme to Super Retro Boy because it looks nicer on the tiny screen.</p> </li> <li>Enjoy! It took me a long time to figure out how to map the buttons. I hope I save someone my headache!</li> </ol> https://www.lexaloffle.com/bbs/?tid=45964 https://www.lexaloffle.com/bbs/?tid=45964 Sun, 02 Jan 2022 03:47:08 UTC