Skip to content

Instantly share code, notes, and snippets.

From ed4e8a4bcc0370deeffeae3b5d8fc9feece54ae2 Mon Sep 17 00:00:00 2001
From: Alex Page <alex@apage.me>
Date: Fri, 31 Jan 2014 21:47:22 -0500
Subject: [PATCH] Implemented F2FS for use on /data
Based on commit 4776c688c705b46925f9c9e1e6daf09692519fcf of Google's
Tegra 3 kernel for the 2012 Nexus 7.
Patches thanks to Now Computing's f2fs-backports repo:
https://github.com/nowcomputing/f2fs-backports/
MOD: failed to load poster C:\Users\Valter\Zomboid\mods\Hydrocraft\poster.png
ERROR: ItemContainer.AddItem: can't find Hydrocraft.HCJarHoney
-------------------------------------------------------------
attempted index: getType of non-table: null
-----------------------------------------
STACK TRACE
-----------------------------------------
function: rollItem -- file: ItemPicker.lua line # 180
function: fillContainerType -- file: ItemPicker.lua line # 117
ERROR: can't find recipe source "DHCDucttapepouch" in recipe "Add Duct Tape Pouches to Normal Hiking Bag"
ERROR: can't find recipe source "Strawberry" in recipe "Dry Some Strawberry Slices"
ERROR: can't find recipe source "HCBunchOfberries" in recipe "Dry Some Berries"
ERROR: can't find recipe source "Coco" in recipe "Make Cup of Hot Chocolate"
ERROR: can't find recipe source "WhiskeyHalf" in recipe "Brew Irish Coffee"
ERROR: can't find recipe source "Wildeggs" in recipe "Make Homemade Pancake Batter"
ERROR: can't find recipe source "Pear" in recipe "Prepare Pear Jam"
ERROR: can't find recipe source "HCSlicedApple" in recipe "Prepare Jarred Apples"
ERROR: can't find recipe source "Pumpkin" in recipe "Make Pumpkin Pie"
ERROR: can't find recipe source "Frogmeat" in recipe "Make Tasty Pizza"
@anpage
anpage / duke-nukem-dosbox.conf
Last active December 7, 2016 04:08
Config for Duke Nukem with DOSBox Daum in Windows
[sdl]
fullscreen=true
fullresolution=desktop
output=direct3d
[render]
aspect=true
scaler=none
[autoexec]
@anpage
anpage / audigysb16.md
Last active October 4, 2017 09:14
Audigy 2 SB16 Emulation in Windows 9x

When using the WDM drivers, Windows itself will emulate a Sound Blaster Pro. Nothing needs to be done and nothing special will show up in Device Manager.

SB16 emulation requires the .vxd driver set. Additionally, a change to the registry is needed and the driver needs to be installed twice.

The Creative inf files do not install SB16.inf and can’t correctly install it by any method until you add an entry to the registry.

REGEDIT4

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\CreativeTech\Emu10kx\Emulation]
void MovableObject::update()
{
Time newTime = Clock::now();
double frameTime = toSeconds(newTime-currentTime).count();
currentTime = Clock::now();
accumulator += frameTime;
while (accumulator >= dt)
{
@anpage
anpage / snescheaders.md
Last active October 8, 2017 10:32
Description of the headers used in the SNES Classic ROM files (.sfrom)

Header

Start Size Description Notes
0x00 0x4 0x00000100
0x04 0x4 File size Includes the header and footer
0x08 0x4 Location of ROM Always 0x00000030 in official files
0x0C 0x4 Location of PCM samples Comes after end of ROM in official files
0x10 0x4 Location of PCM footer Equals file size if PCM data missing
0x14 0x4 Location of footer (below) Same as New 3DS's SNES VC header starting from 0x30
0x18 0x4 Lo
TagTool Documentation, probably correct for TagTool_Public_x86_Release_Aug-04-2017.
TagTool must be executed from ElDewrito/maps folder. Or drag and drop tags.dat on it to load it.
Use "help" command to get a list of all available commands.
Use "help" command within EditTag to get a list of new commands for that tag class. Example: "SetString" only appears when editing a multilingual_unicode_string_list (unic) tag.
// General info about tags:
- Tags are "files" that tell the game which object does what. How fast a weapon can fire, how to display a texture, what text lines should say, groups of materials, map objects etc. They are stored in tags.dat.
@anpage
anpage / sfc2sfrom.py
Last active April 27, 2023 06:58
Scripts to convert SNES ROMs to SNES Classic (.sfrom) format and to read .sfrom headers
#!/usr/bin/env python
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
# AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
@anpage
anpage / AdventureTime.csv
Last active September 30, 2023 12:04 — forked from CharlieScarver/AdventureTime.csv
List of important adventure time episodes
Season Episode Title Reason
1 5 The Enchiridion A good intro to the series, plus introduces the important Enchiridion
1 8 Business Time* First mention of Ooo being post-apocalyptic
1 9 My Two Favorite People Intros the Jake and LR plotline
1 10 Memories of Boom Boom Mountain A look at how Finn was adopted into Jake's Family
1 12 Evicted! Intros Marceline
1 16 Ocean of Fear Introduces Finn's phobia
1 22 Henchman* Establishes Finn and Marceline as friends
1 23 Rainy Day Daydream* good episode to show someone who’s never seen the show before
1 25 His Hero introduces the Lich and Billy