Skip to content

Instantly share code, notes, and snippets.

Alex Page anpage

Block or report user

Report or block anpage

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View TagTool_Documentation_WIP.txt
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 / AdventureTime.csv
Last active Sep 8, 2018 — forked from CharlieScarver/AdventureTime.csv
List of important adventure time episodes
View AdventureTime.csv
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
@anpage
anpage / snescheaders.md
Last active Oct 8, 2017
Description of the headers used in the SNES Classic ROM files (.sfrom)
View snescheaders.md

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
@anpage
anpage / sfc2sfrom.py
Last active Jul 16, 2019
Scripts to convert SNES ROMs to SNES Classic (.sfrom) format and to read .sfrom headers
View sfc2sfrom.py
#!/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 / mmlc_extract.py
Last active Aug 29, 2019
Mega Man Legacy Collection ROM Extractor
View mmlc_extract.py
#!/usr/bin/env python
# Program for extracting the NES roms of each game in the Mega Man Legacy
# Collection for PC
# iNES Headers for Mega Man 1-6
HEADERS = [b'\x4E\x45\x53\x1A\x08\x00\x21\x00\x00\x00\x00\x00\x00\x00\x00\x00',
b'\x4E\x45\x53\x1A\x10\x00\x10\x00\x00\x00\x00\x00\x00\x00\x00\x00',
b'\x4E\x45\x53\x1A\x10\x10\x40\x00\x00\x00\x00\x00\x00\x00\x00\x00',
b'\x4E\x45\x53\x1A\x20\x00\x40\x00\x00\x00\x00\x00\x00\x00\x00\x00',
@anpage
anpage / audigysb16.md
Last active Oct 4, 2017
Audigy 2 SB16 Emulation in Windows 9x
View audigysb16.md

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]
@anpage
anpage / duke-nukem-dosbox.conf
Last active Dec 7, 2016
Config for Duke Nukem with DOSBox Daum in Windows
View duke-nukem-dosbox.conf
[sdl]
fullscreen=true
fullresolution=desktop
output=direct3d
[render]
aspect=true
scaler=none
[autoexec]
View HC 2.7 Errors
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"
View HydroCraft Exceptions and Errors
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
View grouper-f2fs
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/
You can’t perform that action at this time.