Skip to content

Instantly share code, notes, and snippets.

https://resonanceswavesandfields.blogspot.com/2011/03/understanding-mechanical-clock-part-ii.html
https://www.rab3d.com/tut_blender.php
https://www.tyleo.com/guides/html-glass
@peteristhegreat
peteristhegreat / Game Porting Kit - Read Me.md
Created March 4, 2025 17:36
Wine 2025, MacOS, Ventura, Intel based, Learn Japanese To Survive

Game Porting Toolkit 1.0 README

Overview

The Game Porting Toolkit helps game developers create an environment for evaluating their existing Windows games right on Apple Silicon Macs running macOS 14. Using the included binaries and installation and configuration instructions, you can run your game to get a sense of how it can feel and play right away, even before you begin your porting journey.

Requirements

  • The Game Porting Toolkit currently only runs on Apple Silicon Macs running macOS 14 Sonoma.
  • Translated games require more resources, so developer-focused Macs with 16GB of RAM or more are recommended.
@peteristhegreat
peteristhegreat / cheats-mupen64plus-runcommand.md
Last active February 28, 2025 04:39
Cheats, mupen64plus, retropie, runcommand

Hello internet.

I got cheats working in mupen64plus today, so I am going to tell you the secrets.

First of all I wanted to see all the secrets available for the games I had in my library.

I ran this bit of bash script to list them:

cd ~/RetroPie/roms/n64
@peteristhegreat
peteristhegreat / mupen64plus-2025-rpi-3b+.md
Last active February 8, 2025 05:47
mupen64plus.cfg optimizations 2025 Rpi 3b+ retropie raspberry pi emulation station attractmode retroarch

Introduction

I've had some RPi 3b+ kicking around for a long time now.

And the n64 emulation is pretty meh most of the time.

I fixed it today!

Speed up your N64 Emulation on Arm

@peteristhegreat
peteristhegreat / read_char_star_dll_vba.vbs
Last active October 31, 2024 14:50
Read a char* from a dll in vba
Option Explicit
Declare PtrSafe Function lstrlenA Lib "kernel32" (ByVal lpString As LongPtr) As Long
Declare PtrSafe Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" ( _
ByVal Destination As String, ByVal Source As LongPtr, ByVal length As Long)
Private Declare PtrSafe Function api_get_message Lib "C:\tools\my-api\bin\mydll.dll" () As LongPtr
Function PtrToStringAnsi(ByVal lpString As LongPtr) As String