TL;DR: I got OpenGL 4.6 apps (Minecraft) running on macOS by translating OpenGL → Vulkan → Metal using Mesa's Zink driver and the KosmicKrisp Vulkan implementation.
Minecraft (OpenGL 4.6) → Zink → Vulkan → KosmicKrisp → Metal → GPU
| <div style="position:absolute;top:-999px;left:-999px"> | |
| <svg | |
| id="effectSvg" | |
| width="200" | |
| height="200" | |
| viewBox="0 0 200 200" | |
| xmlns="http://www.w3.org/2000/svg"> | |
| <filter id="displacementFilter4"> |
| // | |
| // IntelligenceLightView.swift | |
| // | |
| // Created by Stephan Casas on 2/12/25. | |
| // | |
| import SwiftUI | |
| import AppKit | |
| struct IntelligenceLightView: NSViewRepresentable { |
by the time you're reading this, this probably no longer works since the policy has been removed. I reccomend you to check out https://github.com/r58Playz/uBlock-mv3 instead
webRequestBlocking API, which is neccesary for (effective) adblockers to workExtensionManifestV2Availability key was added and will presumably stay forever after enterprises complain enoughYou can use this as a regular user, which will let you keep your mv2 extensions even after they're supposed to stop working
Short guide on how to bypass this:
If you haven't disabled rootfs verification, switch to vt-2 and run /usr/libexec/debugd/helpers/dev_features_rootfs_verification. Then reboot.
Inside crostini, download minioverride.c and compile it with gcc minioverride.c -o minioverride.so -shared (make sure gcc is installed)
In the files app, move minioverride.so into your downloads folder.
| Also see https://github.com/zhuowei/CoreTrustDemo/blob/main/littlemis.txt for my previous notes | |
| first time X509ChainCheckPathWithOptions, param3 (options) is null | |
| second time X509ChainCheckPathWithOptions, param3 (options) is set | |
| -> This is the call out of CTEvaluateAMFICodeSignatureCMS_MaxDigestType, and is the one that sets the flags | |
| struct ContentInfoSignedData { | |
| int always4; // 0x0 | |
| void* someBufferFromCTParseContentInfoSignedDataArg6; // 0x8 | |
| // ? |
| #!/bin/bash | |
| echo "Please make sure GPTK dmg is mounted" | |
| read -p "Press enter to continue" | |
| # Install GPTK | |
| ditto /Volumes/Game\ Porting\ Toolkit-1.0/lib/ ~/Library/Application\ Support/Whisky/Libraries/Wine/lib | |
| cd ~/Library/Application\ Support/Whisky/Libraries/Wine/lib |
| // written by https://talk.objc.io/episodes/S01E211-simple-fuzzy-matching | |
| // credits should go to obj.io | |
| import SwiftUI | |
| import Cocoa | |
| struct ContentView: View { | |
| @State var needle: String = "" | |
| var filtered: [(string: String, indices: [String.Index])] { |
| # Based on: | |
| # https://stackoverflow.com/a/21957017 | |
| # https://gist.github.com/HaiyangXu/ec88cbdce3cdbac7b8d5 | |
| from http.server import SimpleHTTPRequestHandler | |
| import socketserver | |
| import sys | |
| class Handler(SimpleHTTPRequestHandler): | |
| extensions_map = { |
If you have not played OneShot yet, go do that RIGHT NOW. It's available on Steam and itch.io, and it's one of my favorite games of all time.
This puzzle appears in the Factory in the Refuge, and is a variant of the game Mastermind. You have 5 lights that you can toggle to either orange, blue, green or red. There's a correct pattern of 5 colors that you're supposed to guess. After you set each light, you can pull a lever, and it will tell you how many lights you got correct. You get 10 attempts before the puzzle resets itself. Depending on the pattern, it can be quite easy or fairly tricky to guess the right pattern.