<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Joshua Higgins</title><link>/</link><description>Recent content on Joshua Higgins</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Sun, 03 Nov 2024 00:00:00 +0000</lastBuildDate><atom:link href="/index.xml" rel="self" type="application/rss+xml"/><item><title>Introducing, Realm</title><link>/post/realm-accouncement/</link><pubDate>Sun, 03 Nov 2024 00:00:00 +0000</pubDate><guid>/post/realm-accouncement/</guid><description>&lt;img src="/post/realm-accouncement/featured-image.webp" alt="Featured image of post Introducing, Realm" /&gt;&lt;p&gt;Welcome to Realm, a decentralized, federated forum and messaging platform designed to help empower communities. The app aims to compete with Discord and Reddit in providing easy-to-use, open-source programs anyone can run to host their own communities, as well as to guide the direction of the platform&amp;rsquo;s development.&lt;/p&gt;
&lt;h2 id="why"&gt;Why?&lt;/h2&gt;
&lt;p&gt;Almost 10 months ago, &lt;a class="link" href="https://www.theverge.com/2024/2/22/24080165/google-reddit-ai-training-data" target="_blank" rel="noopener"
&gt;Reddit made a deal with Google&lt;/a&gt; to allow exclusive access to content posted to be used in LLM training, in a shock to the hundreds of thousands of users who contributed their free time and resources to building libraries worth of information. In the two months after this &lt;a class="link" href="https://www.reuters.com/markets/deals/reddit-set-hotly-anticipated-debut-after-pricing-ipo-top-range-2024-03-21/" target="_blank" rel="noopener"
&gt;Reddit went on to announce its IPO on the stock market&lt;/a&gt; and in May &lt;a class="link" href="https://openai.com/index/openai-and-reddit-partnership/" target="_blank" rel="noopener"
&gt;announced a similar deal to Google&amp;rsquo;s with OpenAI&lt;/a&gt;. Then in June, Reddit made waves in the news again for &lt;a class="link" href="https://www.theverge.com/2024/6/25/24185984/reddit-robots-txt-fight-ai-bots-scraping-crawlers" target="_blank" rel="noopener"
&gt;blocking anyone from crawling the site under there robots.txt file&lt;/a&gt;, meaning that search engines like Bing or DuckDuckGo could no longer crawl Reddit for use in search results, only Google and OpenAI could with their deals with the company.&lt;/p&gt;
&lt;p&gt;All of these actions over the course of the last year has shown a clear trend that Reddit&amp;rsquo;s focus is squarely on profit at the expense of its users and is willing to exploit their content by any means necessary, through selling it to other companies without its users seeing a dime. While not inherently being a bad thing alone, Reddit&amp;rsquo;s quest for profit has come at the cost of the usability of the platform and creates a lock in effect, where users feel compelled to stay because the generational wealth of information even as the company grows more user hostile. Content on Reddit on average has also decreased as moderation tools became blocked with &lt;a class="link" href="https://en.wikipedia.org/wiki/2023_Reddit_API_controversy" target="_blank" rel="noopener"
&gt;the API changes that occurred last year&lt;/a&gt;, once again putting monetization and profit over the health of the platform.&lt;/p&gt;
&lt;p&gt;Though, Reddit isn&amp;rsquo;t the only place for communities with many younger people gravitating towards using Discord for this instead. Discord functions similarly to the internet chatrooms of an older era while also offering voice channels like Mumble, all while providing hosting for free. The main issue that occurs from this is the preservation of information. Chat rooms are more ephemeral then forum posts and make it harder to follow a conversation or to jump in on one as the line between start and end are fuzzier. This leads to the same questions being asked over a and over again. The ability to search within a channel is also poorly designed and makes it hard to link back to previous conversations in order to alleviate the above issue. Information is also harder to find from the greater internet, as these chatrooms are unable to be indexed by search engines, leading to users having to join the server for a quick answer and making their quest for information feel clunky overall.&lt;/p&gt;
&lt;h2 id="goals"&gt;Goals&lt;/h2&gt;
&lt;p&gt;Realm plans to solve these issues by proving an open-source, self-hostable platform (so that there is no need for upkeep and finance from a central source) that can provide the pros of forum posts with the ease-of-use of chats as well as being accessible from a website as well as desktop (providing access to indexers).&lt;/p&gt;
&lt;h2 id="early-demo"&gt;Early Demo&lt;/h2&gt;
&lt;p&gt;Windows builds of the client are available here at &lt;a class="link" href="https://realm.abunchofknowitalls.com" target="_blank" rel="noopener"
&gt;realm.abunchofknowitalls.com&lt;/a&gt;. All the source code of the project is available &lt;a class="link" href="https://github.com/joshuafhiggins/realm-chat" target="_blank" rel="noopener"
&gt;on GitHub&lt;/a&gt;, in order to compile for Linux or macOS.&lt;/p&gt;
&lt;h2 id="plans-for-the-future"&gt;Plans for the Future&lt;/h2&gt;
&lt;p&gt;The current demo is a very rough prototype and I plan to redesign the protocol as well as the client in the future. Watch out for future posts that will detail how each application was designed and my plans on how to remake them.&lt;/p&gt;</description></item><item><title>The Ultimate Beeper-iMessage Guide: 2024</title><link>/post/the-ultimate-beeper-guide-2024/</link><pubDate>Sun, 24 Mar 2024 01:00:00 -0400</pubDate><guid>/post/the-ultimate-beeper-guide-2024/</guid><description>&lt;img src="/post/the-ultimate-beeper-guide-2024/featured-image.webp" alt="Featured image of post The Ultimate Beeper-iMessage Guide: 2024" /&gt;&lt;p&gt;Finally at long last, the one guide to iMessage on Android to rule them all, using Beeper Mini, the new Beeper beta app for Android, BlueBubbles, virtual machines, and much more. This guide will take you from the beginning and give you a fully working setup with iMessage with all your other chats in Beeper. This was made in collaboration with the amazing people on Matrix chat rooms (&lt;code&gt;#beepserv:beeper.com&lt;/code&gt; and &lt;code&gt;#imessage:maunium.net&lt;/code&gt;) that have not only contributed to these open source projects but also made guides that have been synthesized, updated, and simplified here for you.&lt;/p&gt;
&lt;h1 id="update-542024"&gt;UPDATE 5/4/2024&lt;/h1&gt;
&lt;p&gt;Previous instructions in this guide surrounding AppleIDs have been revised. I&amp;rsquo;ve personally found 100% stability in having no AppleID on the iPhone running beeperserv-rewrite/the new sideloaded IPA. The previous versions of this page had a work around that is no longer needed, in having a serperate ID for the iPhone and your main one for Beeper Mini. It is now recommened to sign out of your AppleID on the iPhone or factory resetting and go through setup with no ID.&lt;/p&gt;
&lt;h2 id="beeper-mini-phone-number-registration"&gt;Beeper Mini (Phone Number Registration)&lt;/h2&gt;
&lt;p&gt;You may be fine only wanting to use Beeper Mini for iMessage chats and using your other apps for their respective DMs, so we’ll start with that first. There are now two ways of using Beeper Mini: beepserv-rewrite (Jailbreak required) or the new app that can be sideloaded (No Jailbreak!). Beeper no longer provides support for Beeper Mini/Beepserv in general. The new app that can be sideloaded on iPhones is made by &lt;a class="link" href="https://github.com/JJTech0130" target="_blank" rel="noopener"
&gt;jjtech&lt;/a&gt; and no support will be given to users. Ever since Apple&amp;rsquo;s crackdown on Beeper, don&amp;rsquo;t expect any real support as eveything is community maintained.&lt;/p&gt;
&lt;p&gt;Before you get started either option&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;It is recommended to wipe your phone before you begin either option&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;DO NOT SIGN INTO ANY APPLEID IN SETUP&lt;/strong&gt; &amp;ndash; signing in can cause instability in phone number registration. When setting up your iPhone after wiping, select &amp;ldquo;I don&amp;rsquo;t have an AppleID&amp;rdquo; or any equivalent wording to make sure the iPhone has no AppleID after setup.&lt;/li&gt;
&lt;li&gt;Disable your lock screen, there should be no PIN or fingerprint required to unlock the phone&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id="option-1-validationrelay-by-jjtech"&gt;Option 1: &lt;a class="link" href="https://github.com/JJTech0130/ValidationRelay" target="_blank" rel="noopener"
&gt;ValidationRelay&lt;/a&gt; by &lt;a class="link" href="https://github.com/JJTech0130" target="_blank" rel="noopener"
&gt;jjtech&lt;/a&gt;&lt;/h3&gt;
&lt;p&gt;The setup requires another computer, either macOS or Windows, to get working initially. You can use any software that&amp;rsquo;ll use the developer settings on your iPhone to sidelaod an app. Some are AltStore, Sideloadly, and &lt;a class="link" href="https://github.com/Dadoum/Sideloader" target="_blank" rel="noopener"
&gt;Sideloader&lt;/a&gt; (Works on Linux!). For this guide we&amp;rsquo;ll use AltStore.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Follow the appropiate guide &lt;a class="link" href="https://faq.altstore.io/" target="_blank" rel="noopener"
&gt;here&lt;/a&gt; for either macOS or Windows&lt;/li&gt;
&lt;li&gt;On your iPhone, download &lt;a class="link" href="/beepserv_installer_v0.1.ipa" &gt;this installer&lt;/a&gt; and share it to AltStore or open AltStore &amp;ndash;&amp;gt; My Apps &amp;ndash;&amp;gt; and the &amp;ldquo;+&amp;rdquo; icon (note that the installer link is pointing this website, the file was originally posted by Eric Migicovsky in the Beeperserv chatroom and built with &lt;a class="link" href="https://github.com/alfiecg24/Beeper" target="_blank" rel="noopener"
&gt;this repo&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;Open &amp;ldquo;Installer&amp;rdquo; on your homescreen and hit the Install button&lt;/li&gt;
&lt;li&gt;There should then be a new app on your homescreen called &amp;ldquo;Relay&amp;rdquo; open it and get your Beeper Mini code!&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Note: The Relay app uses location permissions always and in the background as a way of always having the registraton relay open, it does not use this location data for anything and can be verified by looking through the code on the ValidationRelay repo. Also, the relay will persist and keep working even if the Installer app or AltStore sideloads expire after 7 days.&lt;/p&gt;
&lt;h3 id="option-2-beepserv-rewrite-by-thatmarcel-jailbreak-method"&gt;Option 2: &lt;a class="link" href="https://github.com/thatmarcel/beepserv-rewrite" target="_blank" rel="noopener"
&gt;Beepserv-rewrite&lt;/a&gt; by &lt;a class="link" href="https://github.com/thatmarcel" target="_blank" rel="noopener"
&gt;thatmarcel&lt;/a&gt; (Jailbreak Method)&lt;/h3&gt;
&lt;p&gt;Let’s get the hard part out of the way&lt;/p&gt;
&lt;p&gt;It is recommended that you follow a guide that matches your iPhone or iOS version at &lt;a class="link" href="https://ios.cfw.guide/get-started/" target="_blank" rel="noopener"
&gt;https://ios.cfw.guide/get-started/&lt;/a&gt;, they maintain updated guides for jailbreaking as projects come and go. &lt;strong&gt;Do not use a video guide for jailbreaking, they are probably outdated!&lt;/strong&gt; Make sure you know the name of the Apple Silicon chip your iPhone has, as the guides will refer to it often (search your phone model on Wikipedia).&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Do your jailbreak&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;You’re done? Good, let’s get Beepserv running.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Go to Settings → Messages → and make sure “iMessage” is toggled off (If it asks to login then ignore this step and back out of the menu)&lt;/li&gt;
&lt;li&gt;Go to &lt;a class="link" href="https://github.com/thatmarcel/beepserv-rewrite/releases" target="_blank" rel="noopener"
&gt;https://github.com/thatmarcel/beepserv-rewrite/releases&lt;/a&gt; and download the latest release deb file on your iPhone. Choose the respective file if you are rootless or rootful (this may have come up during your jailbreak guide, check your guide and come back, it is always recommended to do a rootless jailbreak and is probably what you did)&lt;/li&gt;
&lt;li&gt;Open the file with Safari and select Sileo in the share menu to install it, follow through the prompts&lt;/li&gt;
&lt;li&gt;Open beepserv on your homescreen, that’s your Beeper Mini code! Save it somewhere to copy and paste later&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;It is recommended at this point to prevent your phone from sleeping/the screen from turning off and leave it charging in some corner permanently. This will hopefully prevent any crashes that could occur from the instability caused by the jailbreak and prevent the need to re-jailbreak because of an unexpected reboot. If this does happen, your messages will break.&lt;/p&gt;
&lt;h3 id="create-an-app-password-for-your-main-appleid"&gt;Create an App Password for Your “Main AppleID”&lt;/h3&gt;
&lt;p&gt;If you had tried to login with your AppleID in the past, you would have noticed that often Beeper Mini would require you to sign into your account again after only 30 minutes. This is not ideal and seems to be caused by 2FA on AppleIDs and Beeper Mini not handling it well. Luckily, Apple provides App Passwords for logins, so that 2FA isn’t needed and it would go into the regular password field for sign in. Beeper Mini offered this but If you had attempted to create an App Password inside of Beeper Mini when confirming 2FA, the issue would still occur. The solution is to create an App Password manually in iCloud.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Go to &lt;a class="link" href="https://appleid.apple.com/" target="_blank" rel="noopener"
&gt;https://appleid.apple.com/&lt;/a&gt; and sign in&lt;/li&gt;
&lt;li&gt;Go to Sign-In and Security → App Specific Password → Click the “+” → Give it a name&lt;/li&gt;
&lt;li&gt;Put it in your password manager or note app in case your sign-in breaks, this rarely happens though using this method&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id="using-beeper-mini"&gt;Using Beeper Mini&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Download the APK at &lt;a class="link" href="https://mini.beeper.com/Beeper_Mini_v1.2.58.apk" target="_blank" rel="noopener"
&gt;https://mini.beeper.com/Beeper_Mini_v1.2.58.apk&lt;/a&gt;, latest version at the time of this post is 1.2.58
&lt;ol&gt;
&lt;li&gt;This version is important because it adds the ability to force re-register your phone number. If your phone number deregisters from iMessage, you won’t be able to receive iMessage texts and they will instead go to SMS. Using an App Password this will rarely break and will break less often over time as you re-register.&lt;/li&gt;
&lt;li&gt;Later in this guide we&amp;rsquo;ll set up BlueBubbles which will notify you when your phone number deregisters&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Enter your Beepserv code. If it fails to register your phone number, try again (Beepserv can fail to hook the right functions, doing it again forces it to use the fallback)&lt;/li&gt;
&lt;li&gt;If you are asked to sign into Apple, use your Main AppleID and the App Password you created&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Congrats! You have the ability to send iMessage texts on Android. If you want to continue with BlueBubbles and integration into the greater Beeper app, continue on.&lt;/p&gt;
&lt;h2 id="youll-need-macos"&gt;You&amp;rsquo;ll Need macOS…&lt;/h2&gt;
&lt;p&gt;BlueBubbles is a client-server combo that also provides iMessage texts for any platform. They hook into the Messages app on macOS to provide this functionality. In doing so, their mobile app provides notifications for when an iMessage “alias” is deregistered, for example your phone number from Beeper Mini. With &lt;a class="link" href="https://github.com/mautrix/imessage" target="_blank" rel="noopener"
&gt;mautrix/imessage&lt;/a&gt;, we can have our iMessage chats in Beeper Cloud and even the new Beeper beta app for Android.&lt;/p&gt;
&lt;p&gt;There are two options to do this:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Buy an old Mac Mini/Macbook/Macbook Air or any Mac device, ideally it should be able to run at least macOS Ventura&lt;/li&gt;
&lt;li&gt;Run a virtual machine&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;This guide will continue with option 2, being free if you have an old computer lying around.&lt;/p&gt;
&lt;p&gt;Note: Ventura is not required to use BlueBubbles but is required if you want to be able to receive and send edits as well as unsend messages.&lt;/p&gt;
&lt;h2 id="bluebubbles"&gt;BlueBubbles&lt;/h2&gt;
&lt;h3 id="installing-proxmox-and-running-macos-ventura"&gt;Installing Proxmox and Running macOS Ventura&lt;/h3&gt;
&lt;p&gt;“Why use Proxmox?” We don’t actually need to, anything x86 with Linux should be fine but this makes VM creation more streamlined and if you want the PC to do anything else, and have the cores and memory to do it, you can just spin up another VM. &lt;a class="link" href="https://www.youtube.com/@i12bretro" target="_blank" rel="noopener"
&gt;i12bretro&lt;/a&gt; has easy to follow guides as checklists that I recommend you follow. I’m copying his Ventura one here for your convenience and since Sonoma requires the AVX2 instruction set in order to boot. If you would like to use a different macOS version, you can find it on his website &lt;a class="link" href="https://i12bretro.github.io/tutorials/" target="_blank" rel="noopener"
&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;First install Proxmox Virtual Environment &lt;a class="link" href="https://www.proxmox.com/en/downloads" target="_blank" rel="noopener"
&gt;here&lt;/a&gt; (you don’t need to pay, you can use the free version and ignore the prompts). Make a bootable USB and install the OS, you can then manage it headlessly with the web portal at &lt;code&gt;https://&amp;lt;IP-of-Proxmox-server&amp;gt;:8006&lt;/code&gt; Then follow &lt;a class="link" href="https://i12bretro.github.io/tutorials/0775.html" target="_blank" rel="noopener"
&gt;these&lt;/a&gt; steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Download a MacOS Ventura .iso &lt;a class="link" href="https://archive.org/search.php?query=MacOS%20collection&amp;amp;and[]=mediatype%3A%22software%22" target="_blank" rel="noopener"
&gt;Download&lt;/a&gt; OR create your own &lt;a class="link" href="https://youtu.be/JFMvUpdCMwo" target="_blank" rel="noopener"
&gt;https://youtu.be/JFMvUpdCMwo&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Download KVM OpenCore bootloader &lt;a class="link" href="https://github.com/thenickdude/KVM-Opencore/releases" target="_blank" rel="noopener"
&gt;Download&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Extract the downloaded KVM OpenCore bootloader .gz file&lt;/li&gt;
&lt;li&gt;Upload the Ventura and KVM OpenCore .iso files to the Proxmox ISO library&lt;/li&gt;
&lt;li&gt;Log into the ProxMox web UI&lt;/li&gt;
&lt;li&gt;Right click the ProxMox node name &amp;gt; Create VM&lt;/li&gt;
&lt;li&gt;Type MacOSVentura in the name field, set the VM ID to 1300 (unless 1300 is in use) &amp;gt; Next&lt;/li&gt;
&lt;li&gt;On the OS tab, set the Type field to Other and select the KVM OpenCore .iso in the ISO Image field &amp;gt; Next&lt;/li&gt;
&lt;li&gt;On the System tab, set the Graphic card field to VMware compatible, BIOS field to OVMF (UEFI), Uncheck the Pre-Enroll Keys checkbox, Check the Add EFI Disk checkbox, Machine field to q35 and the SCSI Controller to VirtIO SCSI &amp;gt; Next&lt;/li&gt;
&lt;li&gt;On the Hard Disk tab, set the Bus/Device field to VirtIO Block, Disk size field to 64, Cache field to Write back (unsafe) &amp;gt; Next&lt;/li&gt;
&lt;li&gt;On the CPU tab, set Cores field to 4, Type field to host &amp;gt; Next&lt;/li&gt;
&lt;li&gt;On the Memory tab, set the Memory to 4096 &amp;gt; Next&lt;/li&gt;
&lt;li&gt;On the Network tab, set the Model field to VMware vmxnet3 &amp;gt; Next&lt;/li&gt;
&lt;li&gt;Verify the summary and click Finish&lt;/li&gt;
&lt;li&gt;Click the MacOSVentura VM &amp;gt; Select Hardware from the left sub-navigation menu&lt;/li&gt;
&lt;li&gt;Click Add &amp;gt; CD/DVD Drive&lt;/li&gt;
&lt;li&gt;Select the MacOS Ventura .iso downloaded earlier &amp;gt; Click Create&lt;/li&gt;
&lt;li&gt;Select the MacOSVentura VM &amp;gt; Options &amp;gt; Boot Order&lt;/li&gt;
&lt;li&gt;Set the KVM OpenCore disk as the first boot option &amp;gt; Click OK&lt;/li&gt;
&lt;li&gt;Right click the ProxMox node name &amp;gt; Console&lt;/li&gt;
&lt;li&gt;Run the following commands in the terminal&lt;/li&gt;
&lt;/ol&gt;
&lt;pre&gt;&lt;code&gt;\# edit the VM conf file, change 1300 to the VM ID for the MacOSVentura VM
nano /etc/pve/qemu-server/1300.conf
&lt;/code&gt;&lt;/pre&gt;
&lt;ol start="22"&gt;
&lt;li&gt;If running on an Intel CPU, add the following line to the bottom of the .conf file:&lt;/li&gt;
&lt;/ol&gt;
&lt;pre&gt;&lt;code&gt;args: -device isa-applesmc,osk=&amp;quot;ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc&amp;quot; -smbios type=2 -device usb-kbd,bus=ehci.0,port=2 -global nec-usb-xhci.msi=off -global ICH9-LPC.acpi-pci-hotplug-with-bridge-support=off -cpu host,vendor=GenuineIntel,+invtsc,+hypervisor,kvm=on,vmware-cpuid-freq=on
&lt;/code&gt;&lt;/pre&gt;
&lt;ol start="23"&gt;
&lt;li&gt;If running on an AMD CPU, add the following line to the bottom of the .conf file:&lt;/li&gt;
&lt;/ol&gt;
&lt;pre&gt;&lt;code&gt;args: -device isa-applesmc,osk=&amp;quot;ourhardworkbythesewordsguardedpleasedontsteal(c)AppleComputerInc&amp;quot; -smbios type=2 -device usb-kbd,bus=ehci.0,port=2 -global nec-usb-xhci.msi=off -global ICH9-LPC.acpi-pci-hotplug-with-bridge-support=off -cpu Haswell-noTSX,vendor=GenuineIntel,+invtsc,+hypervisor,kvm=on,vmware-cpuid-freq=on
&lt;/code&gt;&lt;/pre&gt;
&lt;ol start="24"&gt;
&lt;li&gt;Press CTRL+W and search for ,media=cdrom&lt;/li&gt;
&lt;li&gt;Delete the ,media=cdrom from the two attached .iso files (KVM OpenCore and Ventura) and add cache=unsafe&lt;/li&gt;
&lt;li&gt;Press CTRL+O, Enter, CTRL+X to write the changes to the conf file&lt;/li&gt;
&lt;li&gt;Back in the Proxmox web UI, right click the MacOSVentura VM in the left navigation pane &amp;gt; Start&lt;/li&gt;
&lt;li&gt;Click console in the left sub-navigation menu&lt;/li&gt;
&lt;li&gt;At the OpenCore menu, select UEFI Shell &amp;gt; Press Enter&lt;/li&gt;
&lt;li&gt;Type the following in the UEFI shell:&lt;/li&gt;
&lt;/ol&gt;
&lt;pre&gt;&lt;code&gt;\# change to the Ventura.iso, the disk number may be different for you
fs0:\# launch the MacOS installer
System\\Library\\CoreServices\\boot.efi
&lt;/code&gt;&lt;/pre&gt;
&lt;ol start="31"&gt;
&lt;li&gt;After a long initialization sequence the MAC OS Setup should start&lt;/li&gt;
&lt;li&gt;Select Disk Utility&lt;/li&gt;
&lt;li&gt;Select the VIRTIO Block Media &amp;gt; Click Erase&lt;/li&gt;
&lt;li&gt;Name the drive MacOS &amp;gt; Set the Format to APFS &amp;gt; Click Erase&lt;/li&gt;
&lt;li&gt;Click Done &amp;gt; Close Disk Utility&lt;/li&gt;
&lt;li&gt;Click Install macOS Ventura&lt;/li&gt;
&lt;li&gt;Click Continue &amp;gt; Click Agree &amp;gt; Click Agree again&lt;/li&gt;
&lt;li&gt;Select the MacOS disk &amp;gt; Click Install&lt;/li&gt;
&lt;li&gt;Wait while Mac OS installs files, the VM will reboot several times&lt;/li&gt;
&lt;li&gt;Select your Country &amp;gt; Click Continue&lt;/li&gt;
&lt;li&gt;Confirm your languages and keyboard layout &amp;gt; Click Continue&lt;/li&gt;
&lt;li&gt;Click Not Now on the Accessibility screen&lt;/li&gt;
&lt;li&gt;Click Continue on the Data &amp;amp; Privacy screen&lt;/li&gt;
&lt;li&gt;Select Not Now on the Migration Assistant screen&lt;/li&gt;
&lt;li&gt;Select Set Up Later and then Skip on the Apple ID screen&lt;/li&gt;
&lt;li&gt;Click Agree &amp;gt; Agree again&lt;/li&gt;
&lt;li&gt;Enter a name, user name, password &amp;gt; Click Continue&lt;/li&gt;
&lt;li&gt;Click Continue &amp;gt; Select Use or Don&amp;rsquo;t Use for Location Services&lt;/li&gt;
&lt;li&gt;Pick a timezone &amp;gt; Click Continue&lt;/li&gt;
&lt;li&gt;Uncheck Share Mac Analytics with Apple &amp;gt; Click Continue&lt;/li&gt;
&lt;li&gt;Click Set Up Later on the Screen Time screen&lt;/li&gt;
&lt;li&gt;Uncheck the Enable Ask Siri box &amp;gt; Click Continue&lt;/li&gt;
&lt;li&gt;Pick a theme &amp;gt; Click Continue&lt;/li&gt;
&lt;li&gt;Welcome to MacOS 13 Ventura&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;You good? Great, let’s lie to Apple&lt;/p&gt;
&lt;h3 id="activating-imessage-on-macos"&gt;Activating iMessage on macOS&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Follow &lt;a class="link" href="https://dortania.github.io/OpenCore-Post-Install/universal/iservices.html#using-gensmbios" target="_blank" rel="noopener"
&gt;this guide&lt;/a&gt;
&lt;ol&gt;
&lt;li&gt;Make sure the ROM in your config.plist is the MAC address of the NIC you have set in Proxmox, you can go to Settings in macOS to see your MAC address of the NIC, this should still be all lowercase with no colons in your config.plist&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Sign in with your Main AppleID&lt;/li&gt;
&lt;li&gt;Sign into Messages with your Main AppleID&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id="setting-up-bluebubbles"&gt;Setting up BlueBubbles&lt;/h3&gt;
&lt;p&gt;You can also follow their instructions &lt;a class="link" href="https://bluebubbles.app/install/" target="_blank" rel="noopener"
&gt;here&lt;/a&gt; and &lt;a class="link" href="https://docs.bluebubbles.app/private-api/installation" target="_blank" rel="noopener"
&gt;here as well&lt;/a&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Download the latest release at &lt;a class="link" href="https://github.com/BlueBubblesApp/bluebubbles-server/releases" target="_blank" rel="noopener"
&gt;https://github.com/BlueBubblesApp/bluebubbles-server/releases&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Open it and follow it’s instructions&lt;/li&gt;
&lt;li&gt;Make sure you turn on the Private API, “Keep macOS Awake”, and “Startup with macOS”&lt;/li&gt;
&lt;li&gt;Download the &lt;a class="link" href="https://play.google.com/store/apps/details?id=com.bluebubbles.messaging&amp;amp;hl=en_US&amp;amp;gl=US" target="_blank" rel="noopener"
&gt;BlueBubbles app for Android&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Go through the setup and connection to your server&lt;/li&gt;
&lt;li&gt;It is recommended to turn off your notification on Android except for errors, this way you are only notified of deregisters&lt;/li&gt;
&lt;li&gt;Make sure the Private API is enabled in the Android app, if you go to the three dots → Settings → Your name under Profile → you should see all the aliases for your iMessage account, including your phone number from before (if not, force re-register!)&lt;/li&gt;
&lt;li&gt;In the mobile app&amp;rsquo;s settings, scroll to the bottom and sync your contacts to the BlueBubbles Server&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="self-hosting-the-imessage-bridge-for-beeper-cloud"&gt;Self-Hosting the iMessage Bridge for Beeper Cloud&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Download the latest Beeper Bridge Manager &lt;a class="link" href="https://github.com/beeper/bridge-manager/actions" target="_blank" rel="noopener"
&gt;here&lt;/a&gt;, put it into a folder somewhere, run &lt;code&gt;chmod +x bbctl-macos-amd64&lt;/code&gt; in a terminal&lt;/li&gt;
&lt;li&gt;Edit your paths with &lt;code&gt;sudo nano /etc/paths&lt;/code&gt; and add the path to the folder with bbctl&lt;/li&gt;
&lt;li&gt;Run &lt;code&gt;bbctl-macos-amd64 login &amp;lt;your-email-with-Beeper-Cloud&amp;gt;&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;In your home directory, &lt;code&gt;git clone https://github.com/mautrix/imessage.git&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;In the &lt;code&gt;imessage&lt;/code&gt; directory, &lt;code&gt;bbctl-macos-amd64 run --param 'bluebubbles_url=http://localhost:1234' --param 'bluebubbles_password=&amp;lt;your-BlueBubbles-password&amp;gt;' --param 'imessage_platform=bluebubbles' sh-imessage&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;And now finally… we&amp;rsquo;re done.&lt;/p&gt;</description></item><item><title>Site Redesign: 2024</title><link>/post/site-redesigned-2024/</link><pubDate>Sat, 16 Mar 2024 20:10:00 -0400</pubDate><guid>/post/site-redesigned-2024/</guid><description>&lt;img src="/post/site-redesigned-2024/featured-image.webp" alt="Featured image of post Site Redesign: 2024" /&gt;&lt;p&gt;I have switched themes to &lt;a class="link" href="https://stack.jimmycai.com/" target="_blank" rel="noopener"
&gt;&lt;em&gt;Hugo Theme Stack&lt;/em&gt;&lt;/a&gt; by Jimmy Cai, making the site look lovely as a base instead of needing patches to not look plain. This new base also allows for comments, through GitHub issues to be available at the bottom of every post. The color scheme is also new but I&amp;rsquo;m not 100% set on the dark mode colors. The font is &lt;a class="link" href="https://haskoy.ertekinn.com/" target="_blank" rel="noopener"
&gt;&lt;em&gt;Hasköy&lt;/em&gt;&lt;/a&gt; by Ertekin Erdin and has been recently used in &lt;a class="link" href="https://blog.beeper.com/p/new-beeper-android-app-open-beta" target="_blank" rel="noopener"
&gt;Beeper&amp;rsquo;s&lt;/a&gt; new beta client for Android, which inspired me to use it. I do plan on writing more posts, here are some in no particular order: &lt;em&gt;Beeper Mini Adventures and Complete Guide&lt;/em&gt;, a Butter Engine update, and an announcement for an upcoming project sometime in the Summer. This redesign started four months ago and was just waiting on custom CSS and fonts, but expect more posts, updates, and projects at the end of April!&lt;/p&gt;
&lt;p&gt;Also, it seems that Forge is no longer favored/is no longer maintained/there was drama that occurred over the ownership of the project that has caused it to be abandoned. I&amp;rsquo;m willing to accept any pull requests or transfer ownership of Left Click Counter mod to keep it maintained for people and I encourage people to make spin-offs and forks for modern Minecraft versions or other modkits.&lt;/p&gt;</description></item><item><title>Click Counter v2.4.1 Release</title><link>/post/clickcounter-v2.4.1/</link><pubDate>Sat, 24 Jun 2023 12:00:00 -0400</pubDate><guid>/post/clickcounter-v2.4.1/</guid><description>&lt;img src="/post/clickcounter-v2.4.1/featured-image.webp" alt="Featured image of post Click Counter v2.4.1 Release" /&gt;&lt;h2 id="changelog"&gt;Changelog&lt;/h2&gt;
&lt;h3 id="positioning"&gt;Positioning&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Fixed
&lt;ul&gt;
&lt;li&gt;Both lines of text can be moved at the same time, leading to them always being selected together after saving&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="colors"&gt;Colors&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Changes
&lt;ul&gt;
&lt;li&gt;Removed the &amp;ldquo;Refresh Color&amp;rdquo; button and now update the colors on the fly&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="update-checking"&gt;Update Checking&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Fixed
&lt;ul&gt;
&lt;li&gt;Added response for if there are no updates avaible&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="downloads"&gt;Downloads&lt;/h2&gt;
&lt;p&gt;&lt;a class="link" href="https://github.com/joshuafhiggins/clickcounter/releases/tag/v2.4.1" target="_blank" rel="noopener"
&gt;Release Page&lt;/a&gt;
&lt;a class="link" href="https://github.com/joshuafhiggins/clickcounter/releases/download/v2.4.1/Click.Counter.v2.4.1.jar" target="_blank" rel="noopener"
&gt;Click.Counter.v2.4.1.jar&lt;/a&gt; (from GitHub)&lt;/p&gt;
&lt;h2 id="source-code"&gt;Source Code&lt;/h2&gt;
&lt;p&gt;The source code for Click Counter is avaible &lt;a class="link" href="https://github.com/joshuafhiggins/clickcounter/" target="_blank" rel="noopener"
&gt;on GitHub&lt;/a&gt; under the MIT License.&lt;/p&gt;</description></item><item><title>Click Counter v2.4.0 Release</title><link>/post/clickcounter-v2.4.0/</link><pubDate>Fri, 23 Jun 2023 12:00:00 -0400</pubDate><guid>/post/clickcounter-v2.4.0/</guid><description>&lt;img src="/post/clickcounter-v2.4.0/featured-image.webp" alt="Featured image of post Click Counter v2.4.0 Release" /&gt;&lt;p&gt;Formally known as Left Click Counter Mod, Click Counter counts your left and right clicks and displays them on your Minecraft HUD. Version 2.4.0 saw the introduction of right clicks, a general refactor, a more stable/modern codebase, and QOL features. Note: a migration of your previous config is needed (located in &lt;code&gt;.minecraft/config/LeftClickCounter.cfg&lt;/code&gt;). Copy the value in the &lt;code&gt;SHHH...&lt;/code&gt; key to value in &lt;code&gt;Clicks&lt;/code&gt; under the &lt;code&gt;Left&lt;/code&gt; catergory (located in &lt;code&gt;.minecraft/config/Clicks.cfg&lt;/code&gt;).&lt;/p&gt;
&lt;h2 id="changelog"&gt;Changelog&lt;/h2&gt;
&lt;h3 id="general"&gt;General&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;New
&lt;ul&gt;
&lt;li&gt;Added right clicks&lt;/li&gt;
&lt;li&gt;Option to toggle the display of left/right clicks&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Changes
&lt;ul&gt;
&lt;li&gt;Renamed to Click Counter Mod&lt;/li&gt;
&lt;li&gt;Removed unused assets&lt;/li&gt;
&lt;li&gt;Removed support for other Minecraft versions (I welcome pull requests with ports to other versions)&lt;/li&gt;
&lt;li&gt;MIT Open Source License&lt;/li&gt;
&lt;li&gt;Forge 1.8.9 Gradle MDK included&lt;/li&gt;
&lt;li&gt;Note: Java 1.8 is required for this Gradle to work, the Gradle project must not be imported into IntelliJ&lt;/li&gt;
&lt;li&gt;&lt;code&gt;.gitignore&lt;/code&gt; excludes project generated files&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Overhaul
&lt;ul&gt;
&lt;li&gt;Settings/config file has been heavily refactored&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Known Bugs
&lt;ul&gt;
&lt;li&gt;Older configs no longer work (won&amp;rsquo;t fix)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="positioning"&gt;Positioning&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;New
&lt;ul&gt;
&lt;li&gt;Added &amp;ldquo;Go back&amp;rdquo; button to return to the main page&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Overhauls
&lt;ul&gt;
&lt;li&gt;Clicking and dragging the text moves it around and saves its position on release&lt;/li&gt;
&lt;li&gt;Previously: A left click on the text selected it and and right clicked saved it in a new position, no feedback was given to the user on if the text was moving&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Known Bugs
&lt;ul&gt;
&lt;li&gt;Both lines of text can be moved at the same time, leading to them always being selected together after saving (planned for 2.4.1)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="colors"&gt;Colors&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Changes
&lt;ul&gt;
&lt;li&gt;Friendly naming for chroma and shadow options&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Fixes
&lt;ul&gt;
&lt;li&gt;Chroma and shadow options are now reflected in the &amp;ldquo;Test Color&amp;rdquo; text&lt;/li&gt;
&lt;li&gt;The &amp;ldquo;Refresh Color&amp;rdquo; button is more stable and will no longer crash from text input errors&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Planned
&lt;ul&gt;
&lt;li&gt;Remove the &amp;ldquo;Refresh Color&amp;rdquo; button and update the colors on the fly (planned for 2.4.1)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="prefixes"&gt;Prefixes&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Changes
&lt;ul&gt;
&lt;li&gt;Removed the symbol option and merged it with the entire prefix&lt;/li&gt;
&lt;li&gt;Note: a space should be included and must be done so by the user&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id="update-checking"&gt;Update Checking&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Overhauls
&lt;ul&gt;
&lt;li&gt;Updates are now checked through GitHub&amp;rsquo;s REST API&lt;/li&gt;
&lt;li&gt;Removed auto checking for updates on server join (prone to crashes with a race condition if the response from the API was recieved before the game server loaded)&lt;/li&gt;
&lt;li&gt;Failed update checks are sent silently to the console&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Known Bugs
&lt;ul&gt;
&lt;li&gt;No response for if there are no updates avaible (planned for 2.4.1)&lt;/li&gt;
&lt;li&gt;Older users are no longer notified of updates (won&amp;rsquo;t fix)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="downloads"&gt;Downloads&lt;/h2&gt;
&lt;p&gt;&lt;a class="link" href="https://github.com/joshuafhiggins/clickcounter/releases/tag/v2.4.0" target="_blank" rel="noopener"
&gt;Release Page&lt;/a&gt;
&lt;a class="link" href="https://github.com/joshuafhiggins/clickcounter/releases/download/v2.4.0/Click.Counter.v2.4.0.jar" target="_blank" rel="noopener"
&gt;Click.Counter.v2.4.0.jar&lt;/a&gt; (from GitHub)&lt;/p&gt;
&lt;h2 id="source-code"&gt;Source Code&lt;/h2&gt;
&lt;p&gt;The source code for Click Counter is avaible &lt;a class="link" href="https://github.com/joshuafhiggins/clickcounter/" target="_blank" rel="noopener"
&gt;on GitHub&lt;/a&gt; under the MIT License.&lt;/p&gt;</description></item><item><title>TF2 Classic Dedicated Server - Docker Image</title><link>/post/tf2classic-docker/</link><pubDate>Wed, 21 Jun 2023 19:00:00 -0400</pubDate><guid>/post/tf2classic-docker/</guid><description>&lt;img src="/post/tf2classic-docker/featured-image.webp" alt="Featured image of post TF2 Classic Dedicated Server - Docker Image" /&gt;&lt;p&gt;I created this Docker image for my own servers, but have released it for anyone to use.&lt;/p&gt;
&lt;p&gt;&lt;a class="link" href="https://hub.docker.com/r/litltoast/tf2-classic/" target="_blank" rel="noopener"
&gt;&lt;img src="https://img.shields.io/docker/stars/litltoast/tf2-classic.svg"
loading="lazy"
alt="Docker Stars"
&gt;&lt;/a&gt; &lt;a class="link" href="https://hub.docker.com/r/litltoast/tf2-classic/" target="_blank" rel="noopener"
&gt;&lt;img src="https://img.shields.io/docker/pulls/litltoast/tf2-classic.svg"
loading="lazy"
alt="Docker Pulls"
&gt;&lt;/a&gt; &lt;a class="link" href="https://microbadger.com/images/litltoast/tf2-classic" target="_blank" rel="noopener"
&gt;&lt;img src="https://img.shields.io/docker/image-size/litltoast/tf2-classic"
loading="lazy"
&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2 id="supported-tags-and-respective-dockerfile-links"&gt;Supported tags and respective &lt;code&gt;Dockerfile&lt;/code&gt; links&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a class="link" href="https://github.com/joshuafhiggins/TF2-Classic/blob/master/Dockerfile" target="_blank" rel="noopener"
&gt;&lt;code&gt;base&lt;/code&gt;, &lt;code&gt;latest&lt;/code&gt; (&lt;em&gt;Dockerfile&lt;/em&gt;)&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="how-to-use-this-image"&gt;How to use this image&lt;/h2&gt;
&lt;h3 id="hosting-a-simple-game-server"&gt;Hosting a simple game server&lt;/h3&gt;
&lt;p&gt;Running on the &lt;em&gt;host&lt;/em&gt; interface (recommended):&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-console" data-lang="console"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;$ docker run -d -it --net&lt;span style="color:#f92672"&gt;=&lt;/span&gt;host --name&lt;span style="color:#f92672"&gt;=&lt;/span&gt;tf2classic -e SRCDS_TOKEN&lt;span style="color:#f92672"&gt;={&lt;/span&gt;YOURTOKEN&lt;span style="color:#f92672"&gt;}&lt;/span&gt; litltoast/tf2-classic
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Running using a bind mount for data persistence on container recreation:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-console" data-lang="console"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;$ mkdir -p &lt;span style="color:#66d9ef"&gt;$(&lt;/span&gt;pwd&lt;span style="color:#66d9ef"&gt;)&lt;/span&gt;/tf2-data
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;$ chmod &lt;span style="color:#ae81ff"&gt;777&lt;/span&gt; &lt;span style="color:#66d9ef"&gt;$(&lt;/span&gt;pwd&lt;span style="color:#66d9ef"&gt;)&lt;/span&gt;/tf2-data &lt;span style="color:#75715e"&gt;# Makes sure the directory is writeable by the unprivileged container user&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;$ docker run -d -it --net&lt;span style="color:#f92672"&gt;=&lt;/span&gt;host -v &lt;span style="color:#66d9ef"&gt;$(&lt;/span&gt;pwd&lt;span style="color:#66d9ef"&gt;)&lt;/span&gt;/tf2-data:/home/steam/tf2classic-dedicated/ --name&lt;span style="color:#f92672"&gt;=&lt;/span&gt;tf2classic -e SRCDS_TOKEN&lt;span style="color:#f92672"&gt;={&lt;/span&gt;YOURTOKEN&lt;span style="color:#f92672"&gt;}&lt;/span&gt; litltoast/tf2-classic
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;Running multiple instances (increment SRCDS_PORT and SRCDS_TV_PORT):&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-console" data-lang="console"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;$ docker run -d -it --net&lt;span style="color:#f92672"&gt;=&lt;/span&gt;host --name&lt;span style="color:#f92672"&gt;=&lt;/span&gt;tf2classic-2 -e SRCDS_PORT&lt;span style="color:#f92672"&gt;=&lt;/span&gt;&lt;span style="color:#ae81ff"&gt;27016&lt;/span&gt; -e SRCDS_TV_PORT&lt;span style="color:#f92672"&gt;=&lt;/span&gt;&lt;span style="color:#ae81ff"&gt;27021&lt;/span&gt; -e SRCDS_TOKEN&lt;span style="color:#f92672"&gt;={&lt;/span&gt;YOURTOKEN&lt;span style="color:#f92672"&gt;}&lt;/span&gt; litltoast/tf2-classic
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;code&gt;SRCDS_TOKEN&lt;/code&gt; &lt;strong&gt;is required to be listed &amp;amp; reachable. Generate one here using AppID &lt;code&gt;243750&lt;/code&gt;:&lt;/strong&gt;&lt;br&gt;
&lt;a class="link" href="https://steamcommunity.com/dev/managegameservers" target="_blank" rel="noopener"
&gt;https://steamcommunity.com/dev/managegameservers&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;SRCDS_WORKSHOP_AUTHKEY&lt;/code&gt; &lt;strong&gt;is required to use workshop features:&lt;/strong&gt;&lt;br&gt;
&lt;a class="link" href="https://steamcommunity.com/dev/apikey" target="_blank" rel="noopener"
&gt;https://steamcommunity.com/dev/apikey&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;It&amp;rsquo;s also recommended to use &amp;ldquo;&amp;ndash;cpuset-cpus=&amp;rdquo; to limit the game server to a specific core &amp;amp; thread.&lt;/strong&gt;&lt;/p&gt;
&lt;h2 id="configuration"&gt;Configuration&lt;/h2&gt;
&lt;h3 id="environment-variables"&gt;Environment Variables&lt;/h3&gt;
&lt;p&gt;Feel free to overwrite these environment variables, using -e (&amp;ndash;env):&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-dockerfile" data-lang="dockerfile"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;SRCDS_TOKEN&lt;span style="color:#f92672"&gt;=&lt;/span&gt;&lt;span style="color:#e6db74"&gt;&amp;#34;changeme&amp;#34;&lt;/span&gt; &lt;span style="color:#f92672"&gt;(&lt;/span&gt;value is is required to be listed &amp;amp; reachable, retrieve token here &lt;span style="color:#f92672"&gt;(&lt;/span&gt;AppID 440&lt;span style="color:#f92672"&gt;)&lt;/span&gt;: https://steamcommunity.com/dev/managegameservers&lt;span style="color:#f92672"&gt;)&lt;/span&gt;&lt;span style="color:#960050;background-color:#1e0010"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;SRCDS_RCONPW&lt;span style="color:#f92672"&gt;=&lt;/span&gt;&lt;span style="color:#e6db74"&gt;&amp;#34;changeme&amp;#34;&lt;/span&gt; &lt;span style="color:#f92672"&gt;(&lt;/span&gt;value can be overwritten by tf/cfg/server.cfg&lt;span style="color:#f92672"&gt;)&lt;/span&gt; &lt;span style="color:#960050;background-color:#1e0010"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;SRCDS_PW&lt;span style="color:#f92672"&gt;=&lt;/span&gt;&lt;span style="color:#e6db74"&gt;&amp;#34;changeme&amp;#34;&lt;/span&gt; &lt;span style="color:#f92672"&gt;(&lt;/span&gt;value can be overwritten by tf/cfg/server.cfg&lt;span style="color:#f92672"&gt;)&lt;/span&gt; &lt;span style="color:#960050;background-color:#1e0010"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;SRCDS_PORT&lt;span style="color:#f92672"&gt;=&lt;/span&gt;&lt;span style="color:#ae81ff"&gt;27015&lt;/span&gt;&lt;span style="color:#960050;background-color:#1e0010"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;SRCDS_TV_PORT&lt;span style="color:#f92672"&gt;=&lt;/span&gt;&lt;span style="color:#ae81ff"&gt;27020&lt;/span&gt;&lt;span style="color:#960050;background-color:#1e0010"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;SRCDS_IP&lt;span style="color:#f92672"&gt;=&lt;/span&gt;&lt;span style="color:#e6db74"&gt;&amp;#34;0&amp;#34;&lt;/span&gt; &lt;span style="color:#f92672"&gt;(&lt;/span&gt;local ip to bind&lt;span style="color:#f92672"&gt;)&lt;/span&gt;&lt;span style="color:#960050;background-color:#1e0010"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;SRCDS_FPSMAX&lt;span style="color:#f92672"&gt;=&lt;/span&gt;&lt;span style="color:#ae81ff"&gt;300&lt;/span&gt;&lt;span style="color:#960050;background-color:#1e0010"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;SRCDS_TICKRATE&lt;span style="color:#f92672"&gt;=&lt;/span&gt;&lt;span style="color:#ae81ff"&gt;66&lt;/span&gt;&lt;span style="color:#960050;background-color:#1e0010"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;SRCDS_MAXPLAYERS&lt;span style="color:#f92672"&gt;=&lt;/span&gt;&lt;span style="color:#ae81ff"&gt;14&lt;/span&gt;&lt;span style="color:#960050;background-color:#1e0010"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;SRCDS_REGION&lt;span style="color:#f92672"&gt;=&lt;/span&gt;&lt;span style="color:#ae81ff"&gt;3&lt;/span&gt;&lt;span style="color:#960050;background-color:#1e0010"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;SRCDS_STARTMAP&lt;span style="color:#f92672"&gt;=&lt;/span&gt;&lt;span style="color:#e6db74"&gt;&amp;#34;ctf_2fort&amp;#34;&lt;/span&gt;&lt;span style="color:#960050;background-color:#1e0010"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;SRCDS_HOSTNAME&lt;span style="color:#f92672"&gt;=&lt;/span&gt;&lt;span style="color:#e6db74"&gt;&amp;#34;New TF Server&amp;#34;&lt;/span&gt; &lt;span style="color:#f92672"&gt;(&lt;/span&gt;first launch only&lt;span style="color:#f92672"&gt;)&lt;/span&gt;&lt;span style="color:#960050;background-color:#1e0010"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;SRCDS_WORKSHOP_AUTHKEY&lt;span style="color:#f92672"&gt;=&lt;/span&gt;&lt;span style="color:#e6db74"&gt;&amp;#34;&amp;#34;&lt;/span&gt; &lt;span style="color:#f92672"&gt;(&lt;/span&gt;required to load workshop maps&lt;span style="color:#f92672"&gt;)&lt;/span&gt;&lt;span style="color:#960050;background-color:#1e0010"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id="config"&gt;Config&lt;/h3&gt;
&lt;p&gt;TF2 Configs not guarenteed to work in TF2 Classic.&lt;/p&gt;
&lt;p&gt;You can edit the config using this command:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-console" data-lang="console"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;$ docker exec -it tf2classic nano /home/steam/tf2classic-dedicated/tf2classic/cfg/server.cfg
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;If you want to learn more about configuring a TF2 server check this &lt;a class="link" href="https://wiki.teamfortress.com/wiki/Dedicated_server_configuration" target="_blank" rel="noopener"
&gt;documentation&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id="image-variants"&gt;Image Variants&lt;/h2&gt;
&lt;h3 id="tf2-classiclatest"&gt;&lt;code&gt;tf2-classic:latest&lt;/code&gt;&lt;/h3&gt;
&lt;p&gt;This is the only image&lt;/p&gt;
&lt;h2 id="the-making-of-the-image"&gt;The Making of the Image&lt;/h2&gt;
&lt;p&gt;The original image from cm2network used &lt;code&gt;git clone&lt;/code&gt; to pull the &lt;code&gt;entry.sh&lt;/code&gt; script changes into the image. This meant that new containers would not get the entry script changes, unless the whole image was scrapped and rebuilt. Docker doesn&amp;rsquo;t rebuild images if the &lt;code&gt;Dockerfile&lt;/code&gt; hasn&amp;rsquo;t changed, but the image needs to change if the script has changed. The solution was to simply use the &lt;code&gt;COPY&lt;/code&gt; command in the &lt;code&gt;Dockerfile&lt;/code&gt;. Besides that, making the Docker image was smooth. I plan on making one for &lt;a class="link" href="https://discord.gg/b48D4m8jNs" target="_blank" rel="noopener"
&gt;my Discord bot&lt;/a&gt; next and to find other cool services to spin up on my home server.&lt;/p&gt;</description></item><item><title>Prank Suite Release</title><link>/post/prank-suite-release/</link><pubDate>Sat, 08 Apr 2023 22:12:00 -0400</pubDate><guid>/post/prank-suite-release/</guid><description>&lt;img src="/post/prank-suite-release/featured-image.webp" alt="Featured image of post Prank Suite Release" /&gt;&lt;p&gt;NOTE: This software can be used maliciously. I am no way responsible for the use of this software and encourage its use in good faith.&lt;/p&gt;
&lt;h2 id="features"&gt;Features&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;See and close open user&amp;rsquo;s windows&lt;/li&gt;
&lt;li&gt;Trigger popups with custom text&lt;/li&gt;
&lt;li&gt;Trigger HTML popups&lt;/li&gt;
&lt;li&gt;Remotely play sounds&lt;/li&gt;
&lt;li&gt;Remotely change the user&amp;rsquo;s wallpaper&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="changes-since-weeb-detector"&gt;Changes since Weeb Detector&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Trigger HTML popups&lt;/li&gt;
&lt;li&gt;Remotely play sounds&lt;/li&gt;
&lt;li&gt;UI Redesign for ease of pranking&lt;/li&gt;
&lt;li&gt;Ability to transfer files for all pranks&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="setup"&gt;Setup&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;Download the source code from &lt;a class="link" href="https://github.com/joshuafhiggins/PrankSuite" target="_blank" rel="noopener"
&gt;GitHub&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Open the project in IntelliJ and change the &lt;code&gt;SERVER_IP&lt;/code&gt; in &lt;code&gt;PSClient.java&lt;/code&gt; to your computers local IP address&lt;/li&gt;
&lt;li&gt;Build the server and client artifacts&lt;/li&gt;
&lt;li&gt;Download &lt;a class="link" href="https://gluonhq.com/products/javafx/" target="_blank" rel="noopener"
&gt;JavaFX SDK&lt;/a&gt; and extract it somewhere safe&lt;/li&gt;
&lt;li&gt;When running the client and server, add &lt;code&gt;--module-path .\PATH_TO\javafx-sdk-XX.X.X\lib&lt;/code&gt; and &lt;code&gt;--add-modules=javafx.controls,javafx.fxml,javafx.web&lt;/code&gt; to the run command&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id="the-development-path"&gt;The Development Path&lt;/h2&gt;
&lt;p&gt;By default, Kyronet doesn&amp;rsquo;t support sending files across the network. Although this post is being made way after release, I remember this process being hard to debug, but this isn&amp;rsquo;t a fault of Kyronet. Both the client and server are kept in one source file. I never want to design an app like this again, but it was a carryover from Weeb Detector which was smaller in scope. Like most things, I want to remake this in Rust and have an easier way of changing the supplied IP address to the client.&lt;/p&gt;</description></item><item><title>Spring Cleaning: April 2023</title><link>/post/spring-break-redesign/</link><pubDate>Sat, 08 Apr 2023 14:55:00 -0400</pubDate><guid>/post/spring-break-redesign/</guid><description>&lt;img src="/post/spring-break-redesign/featured-image.webp" alt="Featured image of post Spring Cleaning: April 2023" /&gt;&lt;h2 id="updated-website"&gt;Updated Website&lt;/h2&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;Changes:
- Redid color palette for light and dark mode
- New header with translucency
- Rounded scroll bar
- Replaced fonts with Ubuntu, JetBrains Mono, and Stratum 2 (from Counter-Strike 2)
Known Bugs:
- General: Dark mode is too blue
- Mobile: Hamburger menu missing when reading a post, this existed before but really shouldn&amp;#39;t have
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;&lt;img src="/post/spring-break-redesign/april2023-website.webp"
width="1920"
height="1080"
srcset="/post/spring-break-redesign/april2023-website_hu_d51488c5226dcc3c.webp 480w, /post/spring-break-redesign/april2023-website_hu_bb45740a4fb4eca2.webp 1024w"
loading="lazy"
alt="The new design!"
class="gallery-image"
data-flex-grow="177"
data-flex-basis="426px"
&gt;&lt;/p&gt;
&lt;p&gt;Light theme looks better than before, and better than dark mode in my opinion. The new header bar is inspired by Hearthstone&amp;rsquo;s website too, although I kept some of the old design on mobile. Several changes had to be made to the theme itself, at some point I need to find a way to move all changes that were made to &lt;code&gt;_override.scss&lt;/code&gt;. Maybe now I&amp;rsquo;ll make an update post for Prank Suite?&lt;/p&gt;
&lt;h2 id="discord-server"&gt;Discord Server&lt;/h2&gt;
&lt;p&gt;I made a &lt;a class="link" href="https://discord.gg/b48D4m8jNs" target="_blank" rel="noopener"
&gt;Discord server&lt;/a&gt;! There&amp;rsquo;s channels for asking for help with Java, Kotlin, and Rust, as well as helpful resources. I encourage everyone to put your favorite resources for the languages in their respective channels. I often forget cool things I find and this will be my way of having a whole list to revisit anytime I want. You can also showcase your projects as a thread in the &lt;a class="link" href="https://discord.gg/b48D4m8jNs" target="_blank" rel="noopener"
&gt;&lt;code&gt;#showcase&lt;/code&gt;&lt;/a&gt; channel. I look forward to seeing you there!&lt;/p&gt;
&lt;p&gt;&lt;img src="/post/spring-break-redesign/april2023-bard.webp"
width="512"
height="512"
srcset="/post/spring-break-redesign/april2023-bard_hu_a361acc9d983de77.webp 480w, /post/spring-break-redesign/april2023-bard_hu_2e3c89fac523dfc9.webp 1024w"
loading="lazy"
alt="Music Bot"
class="gallery-image"
data-flex-grow="100"
data-flex-basis="240px"
&gt; &lt;img src="/post/spring-break-redesign/april2023-toaster.webp"
width="512"
height="512"
srcset="/post/spring-break-redesign/april2023-toaster_hu_24d43ccbc8329801.webp 480w, /post/spring-break-redesign/april2023-toaster_hu_907cb9be6618d15d.webp 1024w"
loading="lazy"
alt="Server Icon"
class="gallery-image"
data-flex-grow="100"
data-flex-basis="240px"
&gt;&lt;/p&gt;
&lt;h2 id="plans--current-projects"&gt;Plans &amp;amp; Current Projects&lt;/h2&gt;
&lt;p&gt;If you have been following my GitHub while this website was abandoned, I&amp;rsquo;ve been making projects in Rust and loving them. I&amp;rsquo;m going to be moving Butter Engine to Rust and have progressed about as far as the last blog post on the Engine, in terms of rendering. This would be the 3rd time I have redone Butter Engine, and ultimately I don&amp;rsquo;t care! Rust is forcing me to write better code for when I build off of the engine in the future and I felt that moving forward with what I have in Java would be a headache in many ways. I&amp;rsquo;ll make this into it&amp;rsquo;s own post, but for right now I want to move all my workflows to Rust to learn it better. I guess that means I need to find a Hugo alternative but I&amp;rsquo;ll wait another year and no blog posts for that 😉.&lt;/p&gt;
&lt;p&gt;So to recap, I have a new &lt;a class="link" href="https://discord.gg/b48D4m8jNs" target="_blank" rel="noopener"
&gt;Discord server&lt;/a&gt; for programmers, made the website look nice, my life in Rust, two more posts coming next week, and who knows what will happen after this break ends?&lt;/p&gt;</description></item><item><title>I Redesigned the Site</title><link>/post/site-redesigned-2022/</link><pubDate>Tue, 23 Aug 2022 00:09:32 -0400</pubDate><guid>/post/site-redesigned-2022/</guid><description>&lt;img src="/post/site-redesigned-2022/featured-image.webp" alt="Featured image of post I Redesigned the Site" /&gt;&lt;p&gt;Hopefully this will not be a yearly tradition of me updating the site, making one post, and leaving it untouched.&lt;/p&gt;
&lt;p&gt;I wanted to write some posts this summer, &lt;em&gt;(not really this summer more like five days ago)&lt;/em&gt;, and either Jekyll wouldn’t put them into each projects’ feed or they wouldn’t show up. I had recently watched “&lt;em&gt;&lt;a class="link" href="https://www.youtu.be/0RKpf3rK57I" target="_blank" rel="noopener"
&gt;Hugo in 100 seconds&lt;/a&gt;&lt;/em&gt;” by &lt;a class="link" href="https://www.youtube.com/c/Fireship" target="_blank" rel="noopener"
&gt;Fireship&lt;/a&gt; and had been looking at themes for a bit. So then instead of trying to recall what painful, voodoo witchcraft I needed to do to actually get these posts to display, &lt;em&gt;(this was because I made my own theme, Jekyll is actually very cool)&lt;/em&gt; I switched over to Hugo and the LoveIt theme. I’ll probably fork and mess around with a custom color palette, but it’s now way simpler to write a post, just do &lt;code&gt;hugo new content\posts\postname\index.md&lt;/code&gt; and write! Another reason for the move is that I won’t get security alerts for the Gemfile being out of date, Hugo isn’t included in the website repo and everything is just a mostly static webpage anyways. The theme also looks more modern than the old one, and it supports comments. I’m unsure whether or not to allow comments or if I can under GitHub pages. By the way, go check out the video. The guy makes good informational content.&lt;/p&gt;
&lt;div class="video-wrapper"&gt;
&lt;iframe loading="lazy"
src="https://www.youtube.com/embed/0RKpf3rK57I"
allowfullscreen
title="YouTube Video"
&gt;
&lt;/iframe&gt;
&lt;/div&gt;</description></item><item><title>Posts</title><link>/page/archives/</link><pubDate>Sun, 06 Mar 2022 00:00:00 +0000</pubDate><guid>/page/archives/</guid><description/></item><item><title>Getting Deja Vu Right Now</title><link>/post/butter-dejavu/</link><pubDate>Sun, 08 Aug 2021 21:21:30 -0400</pubDate><guid>/post/butter-dejavu/</guid><description>&lt;img src="/post/butter-dejavu/featured-image.webp" alt="Featured image of post Getting Deja Vu Right Now" /&gt;&lt;p&gt;Up until last week, I have been working on the base rendering, textures, and 3D projection which all felt vaguely familiar (&lt;em&gt;cough cough..&lt;a class="link" href="https://github.com/joshuafhiggins/tf2-opengl" target="_blank" rel="noopener"
&gt;TF2 OpenGL &amp;amp; Java&lt;/a&gt;..cough cough&lt;/em&gt;). As well as a basis for mod loading.&lt;/p&gt;
&lt;p&gt;But for this week, I didn&amp;rsquo;t do much (&lt;em&gt;less than I wanted to&lt;/em&gt;) but I did do research into physics, cameras, model loading, and entity component systems/ECS.&lt;/p&gt;
&lt;h2 id="base-rendering"&gt;Base Rendering&lt;/h2&gt;
&lt;p&gt;I&amp;rsquo;m really happy with the way this got done. The mesh class makes a bunch of BufferObjects that hold the OpenGL pointers and have base functions for cleanup. This allows very easy derivatives of the Mesh class for whatever they needed.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-java" data-lang="java"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#66d9ef"&gt;public&lt;/span&gt; &lt;span style="color:#66d9ef"&gt;class&lt;/span&gt; &lt;span style="color:#a6e22e"&gt;FooMesh&lt;/span&gt; &lt;span style="color:#66d9ef"&gt;extends&lt;/span&gt; Mesh {
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#75715e"&gt;//...&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#a6e22e"&gt;@Override&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#66d9ef"&gt;public&lt;/span&gt; &lt;span style="color:#66d9ef"&gt;void&lt;/span&gt; &lt;span style="color:#a6e22e"&gt;Create&lt;/span&gt;() {
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#75715e"&gt;//Make our VAO&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; VAO &lt;span style="color:#f92672"&gt;=&lt;/span&gt; &lt;span style="color:#66d9ef"&gt;new&lt;/span&gt; BufferObject.&lt;span style="color:#a6e22e"&gt;VAO&lt;/span&gt;();
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; VAO.&lt;span style="color:#a6e22e"&gt;Bind&lt;/span&gt;();
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#75715e"&gt;//Array of non specific BufferObjects&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; bufferObjects&lt;span style="color:#f92672"&gt;[&lt;/span&gt;0&lt;span style="color:#f92672"&gt;]&lt;/span&gt; &lt;span style="color:#f92672"&gt;=&lt;/span&gt; &lt;span style="color:#66d9ef"&gt;new&lt;/span&gt; BufferObject.&lt;span style="color:#a6e22e"&gt;VBO&lt;/span&gt;(vertices, 0);
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#75715e"&gt;//Static classes that inherit BufferObject. &lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#75715e"&gt;//These are binded and attached with no intervention&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; bufferObjects&lt;span style="color:#f92672"&gt;[&lt;/span&gt;1&lt;span style="color:#f92672"&gt;]&lt;/span&gt; &lt;span style="color:#f92672"&gt;=&lt;/span&gt; &lt;span style="color:#66d9ef"&gt;new&lt;/span&gt; BufferObject.&lt;span style="color:#a6e22e"&gt;CBO&lt;/span&gt;(vertices, 1);
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; bufferObjects&lt;span style="color:#f92672"&gt;[&lt;/span&gt;2&lt;span style="color:#f92672"&gt;]&lt;/span&gt; &lt;span style="color:#f92672"&gt;=&lt;/span&gt; &lt;span style="color:#66d9ef"&gt;new&lt;/span&gt; BufferObject.&lt;span style="color:#a6e22e"&gt;TBO&lt;/span&gt;(vertices, 2);
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; IBO &lt;span style="color:#f92672"&gt;=&lt;/span&gt; &lt;span style="color:#66d9ef"&gt;new&lt;/span&gt; BufferObject.&lt;span style="color:#a6e22e"&gt;IBO&lt;/span&gt;(indices);
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; VAO.&lt;span style="color:#a6e22e"&gt;Unbind&lt;/span&gt;();
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; }
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#75715e"&gt;//...&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#75715e"&gt;//Rendering, method calls are pretty self explanatory. &lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#75715e"&gt;//Inputs aren&amp;#39;t final.&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#75715e"&gt;//I&amp;#39;m not happy with the Entity being passed in for rendering when Entity&amp;#39;s hold meshes&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#66d9ef"&gt;public&lt;/span&gt; &lt;span style="color:#66d9ef"&gt;void&lt;/span&gt; &lt;span style="color:#a6e22e"&gt;Render&lt;/span&gt;(Entity entity, Camera camera) {
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; VAO.&lt;span style="color:#a6e22e"&gt;Bind&lt;/span&gt;();
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; enableVertexAttrib();
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; IBO.&lt;span style="color:#a6e22e"&gt;Bind&lt;/span&gt;();
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; material.&lt;span style="color:#a6e22e"&gt;Bind&lt;/span&gt;();
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; shader.&lt;span style="color:#a6e22e"&gt;Bind&lt;/span&gt;();
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; SetUniforms(entity, camera);
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; DrawElements();
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; shader.&lt;span style="color:#a6e22e"&gt;Unbind&lt;/span&gt;();
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; material.&lt;span style="color:#a6e22e"&gt;Unbind&lt;/span&gt;();
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; IBO.&lt;span style="color:#a6e22e"&gt;Unbind&lt;/span&gt;();
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; disableVertexAttrib();
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; VAO.&lt;span style="color:#a6e22e"&gt;Unbind&lt;/span&gt;();
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; }
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Derivatives were made when going through the tutorials but were ultimately removed for the approach of having a better base because having a different Mesh for color and then for texture and then color, but color is never used&amp;hellip; It was just a headache for general refactoring and keeping them up to date. A lot of buffer stuff was taken from TF2 in Java &amp;amp; OpenGL.&lt;/p&gt;
&lt;h2 id="textures"&gt;Textures&lt;/h2&gt;
&lt;p&gt;Right now, only Albedo is being used and the Material class is nothing but a holder for SlickUtil Textures. I want the Material class to hold all of the textures without order and you leave it to modders to make their shaders and textures line up. I&amp;rsquo;m only using SlickUtil right now because of the ability to load Textures from class resources rather than the file path. But I&amp;rsquo;m ultimately going to replace it with my one Texture class because of the [model loader](#Model Loading) not using class resources. Supposedly we can load from resources, and call the function to load model from memory or textures from memory with STB, but I have no idea what the size of the buffers should be.&lt;/p&gt;
&lt;p&gt;&lt;img src="/post/butter-dejavu/butter-smiley-streched.webp"
width="1280"
height="720"
srcset="/post/butter-dejavu/butter-smiley-streched_hu_4a5a02da6941b2be.webp 480w, /post/butter-dejavu/butter-smiley-streched_hu_8a9c731f75b6709.webp 1024w"
loading="lazy"
alt="Smiley is rendering but streched!"
class="gallery-image"
data-flex-grow="177"
data-flex-basis="426px"
&gt;&lt;/p&gt;
&lt;h2 id="3d-projection"&gt;3D Projection&lt;/h2&gt;
&lt;p&gt;JOML is being used for math and matrix loading and what not but this may change (see &lt;a class="link" href="#physics" &gt;the physics section&lt;/a&gt;). Once I did this, it kinda made me think about what next. I thought I should focus on an ECS system for holding positions, rotations, etc. which right now is the Entity class that should be derived from but will change (see &lt;a class="link" href="#ecs" &gt;the ECS section&lt;/a&gt;). This was kind of the thing that spun off into the unproductive week. Although this was not easy at all because the shader was originally going from different matrices in the wrong order.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"&gt;&lt;code class="language-glsl" data-lang="glsl"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#75715e"&gt;//...&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#66d9ef"&gt;uniform&lt;/span&gt; mat4 model;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#66d9ef"&gt;uniform&lt;/span&gt; mat4 view;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#66d9ef"&gt;uniform&lt;/span&gt; mat4 projection;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#66d9ef"&gt;void&lt;/span&gt; main() {
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#75715e"&gt;//How it should be: &lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#75715e"&gt;//gl_Position = vec4(position, 1.0) * model * view * projection;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; gl_Position &lt;span style="color:#f92672"&gt;=&lt;/span&gt; projection &lt;span style="color:#f92672"&gt;*&lt;/span&gt; view &lt;span style="color:#f92672"&gt;*&lt;/span&gt; model &lt;span style="color:#f92672"&gt;*&lt;/span&gt; &lt;span style="color:#66d9ef"&gt;vec4&lt;/span&gt;(position, &lt;span style="color:#ae81ff"&gt;1.0&lt;/span&gt;);
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#75715e"&gt;//...&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;But here it is now working just right:&lt;/p&gt;
&lt;p&gt;&lt;img src="/post/butter-dejavu/butter-smiley-projected.webp"
width="1280"
height="720"
srcset="/post/butter-dejavu/butter-smiley-projected_hu_2680bdb936158400.webp 480w, /post/butter-dejavu/butter-smiley-projected_hu_d1d036cbae708796.webp 1024w"
loading="lazy"
alt="Smiley looking better now"
class="gallery-image"
data-flex-grow="177"
data-flex-basis="426px"
&gt;&lt;/p&gt;
&lt;h2 id="mod-loading"&gt;Mod Loading&lt;/h2&gt;
&lt;p&gt;The Main class no longer holds any GLFW and is instead held in the Window class, similar to the Mesh class and BufferObjects. Mods right now hold a lot of control over what&amp;rsquo;s happening. This is still subject to change because while this was going to be a render engine, it quickly became this bigger thing and the order of events right now is: Rendering (v0.1) -&amp;gt; ECS/Physics (v0.2) -&amp;gt; Audio/Sound (v0.3) -&amp;gt; Events/Mod Loading (v0.4). So we aren&amp;rsquo;t even done with v0.1 and shouldn&amp;rsquo;t worry about the specifics of this just yet. I just want to emphasize that this is a render engine before a game engine, no matter how much I want the latter.&lt;/p&gt;
&lt;h2 id="cameras"&gt;Cameras&lt;/h2&gt;
&lt;p&gt;Absolute pain, never again. Jokes aside I just need to do more research because right now it looks like this:&lt;/p&gt;
&lt;div class="video-wrapper"&gt;
&lt;iframe loading="lazy"
src="https://www.youtube.com/embed/anVOEiAujAY"
allowfullscreen
title="YouTube Video"
&gt;
&lt;/iframe&gt;
&lt;/div&gt;
&lt;p&gt;Should just leave it static right now with no movement&amp;hellip;&lt;/p&gt;
&lt;h2 id="physics"&gt;Physics&lt;/h2&gt;
&lt;p&gt;Well, more of the research of it for Java. The best solution would be to use &lt;a class="link" href="http://jbullet.advel.cz/" target="_blank" rel="noopener"
&gt;JBullet&lt;/a&gt;, an outdated port of Bullet. It&amp;rsquo;s the easiest to set up and using LibGDX port while similar, has no real prebuilt support for shapes and has to be done manually. LWJGL has a binding, but with a client-server architecture which is just terrible for doing anything simple. The only problem is, it uses javax.vecmath while right now I&amp;rsquo;m using JOML. Managing both is a pain and javax.vecmath has Transform objects, similar to Unity, so I&amp;rsquo;m gonna need to refractor a lot to use vecmath.&lt;/p&gt;
&lt;h2 id="ecs"&gt;ECS&lt;/h2&gt;
&lt;p&gt;For ECS I&amp;rsquo;m gonna go with &lt;a class="link" href="https://github.com/libgdx/ashley" target="_blank" rel="noopener"
&gt;Ashley&lt;/a&gt;, a LibGDX solution. It seems like the only one used for games but not hard to build from scratch either, as a concept. Of course, I&amp;rsquo;m not going to dump a bunch of hours into custom-made when this is good enough. Although I don&amp;rsquo;t know much in this and it is mainly up to developers on how they should organize this and this may change.&lt;/p&gt;
&lt;h2 id="model-loading"&gt;Model Loading&lt;/h2&gt;
&lt;p&gt;This is in no way finished as it is not grabbing all possible data right now, which is kind of driving me nuts but I&amp;rsquo;m gonna try to ignore it for now until the data being grabbed, like material data, can be used in engine. Here it is so far, using the smiley texture and the dragon model:&lt;/p&gt;
&lt;p&gt;&lt;img src="/post/butter-dejavu/butter-dragon-modelloading.webp"
width="1280"
height="720"
srcset="/post/butter-dejavu/butter-dragon-modelloading_hu_48894f30e2adcaaa.webp 480w, /post/butter-dejavu/butter-dragon-modelloading_hu_45336a2539c9cf4d.webp 1024w"
loading="lazy"
alt="Model loaded!"
class="gallery-image"
data-flex-grow="177"
data-flex-basis="426px"
&gt;&lt;/p&gt;</description></item><item><title>Catching Up &amp; Centralizing</title><link>/post/general-catchingup/</link><pubDate>Sun, 08 Aug 2021 20:29:20 -0400</pubDate><guid>/post/general-catchingup/</guid><description>&lt;img src="/post/general-catchingup/featured-image.webp" alt="Featured image of post Catching Up &amp; Centralizing" /&gt;&lt;h2 id="catching-up"&gt;Catching Up&lt;/h2&gt;
&lt;p&gt;There&amp;rsquo;s a lot that hasn&amp;rsquo;t been covered yet on other projects that would just take way too long to write pages and posts for those pages on projects that were canceled or have seen very little progress. I plan on updating this site every week with what I have been up to.&lt;/p&gt;
&lt;h3 id="left-click-counter-mod"&gt;Left Click Counter Mod&lt;/h3&gt;
&lt;p&gt;The only thing I would change or work on with this is the system detecting left clicks. Which looking back, is not at all accurate. Although this would require me to change the updating system and as explained in &lt;a class="link" href="#centralizing" &gt;the centralizing section&lt;/a&gt;, this probably won&amp;rsquo;t happen.&lt;/p&gt;
&lt;h3 id="game-time-mod"&gt;Game Time Mod&lt;/h3&gt;
&lt;p&gt;I think this would be more suited as a general-purpose desktop app that works similar to the way Steam keeps track of hours. It would also be a general-purpose, statistic-keeping app with a name change.&lt;/p&gt;
&lt;h3 id="sparticus"&gt;Sparticus&lt;/h3&gt;
&lt;p&gt;Yeah ummm&amp;hellip; got a little too ambitious with it. At the time of the announcement, I knew very little about Unity, and because of how Unity works at a very high level, you either use tutorials or sit confused about it, doing nothing. Aside from that, texturing alone took forever and got me burnt out. The networking, which was promising at first, turned into a system that I was making changes to with no idea if anything was working. Essentially a programmer&amp;rsquo;s worst nightmare, being stuck in a pandamonium of whether to continue or not with something that would be a pain to debug later. I&amp;rsquo;m not completely lost on the idea. Sonic Ether&amp;rsquo;s ray tracer for Java Edition is still in early development and doesn&amp;rsquo;t use any of the fancy RTX/DLSS features or the AMD counterparts. Continuum Shaders have similar goals, like redoing the graphics engine with the latest OpenGL and then going to Vulkan later. They also plan on using the new ray tracing and upscaling features too! Google Search Console for the website clearly shows people have an interest in high fidelity, PVP clients.&lt;/p&gt;
&lt;h3 id="underground-duels"&gt;Underground Duels&lt;/h3&gt;
&lt;p&gt;This project started sensibly as a way to play a deathmatch FPS on school Chromebooks and learn how to use Mirror Networking at the same time. One small problem though, FPS games are very mice reliant. The alternative would be to have keys on the keyboard function similar to joysticks. It also always bugged me that the only way people talked about networking movement in Mirror was through always trusting the client. This bugged me a lot. Then I remembered of The Ship. A fun, murdering delight with the remastered &lt;em&gt;(Remasted)&lt;/em&gt; made in Unity! But no progress was made here either as it&amp;rsquo;s extremely hard to decompile and C# out of Unity 2015 due to so many issues with version compatibility that it&amp;rsquo;s not worth the hassle for anyone to do. The remastered version is broken now as no localhost connections will work despite whatever configuration. I sent an email to their support team on the issue and offered my help to fix it, but I haven&amp;rsquo;t gotten a response.&lt;/p&gt;
&lt;h3 id="tf2-opengl--java"&gt;TF2 OpenGL &amp;amp; Java&lt;/h3&gt;
&lt;p&gt;Postponed until Butter Engine is &amp;ldquo;done&amp;rdquo; read &lt;a class="link" href="/butter-dejavu" &gt;here&lt;/a&gt; on my current work with Butter Engine for more info. I followed &lt;a class="link" href="https://learnopengl.com" target="_blank" rel="noopener"
&gt;LearnOpenGL.com&amp;rsquo;s&lt;/a&gt; tutorial to get started on this. This was kind of my deja vu when working on Butter Engine.&lt;/p&gt;
&lt;h3 id="weeb-detector"&gt;Weeb Detector&lt;/h3&gt;
&lt;p&gt;Although just a one-off thing, I may add more prank features or make it Linux/MacOS compatible. It did help me get more familiar with networking in Java.&lt;/p&gt;
&lt;h2 id="centralizing"&gt;Centralizing&lt;/h2&gt;
&lt;p&gt;I would like to merge the Sparticus site into here and update Left Click Counter mod to use this site for updating and whatnot, but seems very easy to over-engineer and mess up the update process. So I&amp;rsquo;m going to leave it like it is for now unless I get bored and run out of projects. I&amp;rsquo;m also working on adding a page on here for every project.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;So when I&amp;rsquo;m old and decrepit, I&amp;rsquo;ll update my first ever Minecraft mod.&lt;/em&gt;&lt;/p&gt;</description></item><item><title>About Me</title><link>/page/aboutme/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/page/aboutme/</guid><description>&lt;p&gt;&lt;img src="/images/banner.avif"
loading="lazy"
alt="Banner"
&gt;&lt;/p&gt;
&lt;p&gt;This site is the best place to catch up on my projects and to get the downloads for my projects when they come out. I work on various things like game development to modding Minecraft. Any project will have its own subdomain and page. If you want to talk to me personally about something, here&amp;rsquo;s my &lt;a class="link" href="mailto:joshuafhiggins@gmail.com" &gt;email&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Search</title><link>/page/search/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>/page/search/</guid><description/></item></channel></rss>