Skip to content

Instantly share code, notes, and snippets.

View Pokechu22's full-sized avatar

Pokechu22 Pokechu22

View GitHub Profile
@Pokechu22
Pokechu22 / .gitignore
Last active February 2, 2020 10:52
Wii/Gamecube DTK hardware test
build_gc/
build_wii/
*.elf
@Pokechu22
Pokechu22 / .gitignore
Last active February 2, 2020 10:51
Wii/Gamecube DI Inquiry hardware test
build_gc/
build_wii/
*.elf
@Pokechu22
Pokechu22 / Balance board addresses.md
Last active July 15, 2019 00:41
Wii balance board notes, based on Wii Fit (original)

Memory:

  • 80693348 through 8069335f: a bunch of shorts that contain the weight calibration values from 0x24 through 0x3b, as documented on https://wiibrew.org/wiki/Wii_Balance_Board#Calibration_Data.
  • 80693360 through 8069336f: 16 bytes that are used to temporarilly store data extension register stuff.
  • 80693370: the byte at 0x20
  • 80693371: the byte at 0x21
  • 80693372: the byte at 0x60
  • 80693373: the byte at 0x61
  • 80693374: the 4-byte checksum at 0x3c
@Pokechu22
Pokechu22 / !README.md
Last active January 22, 2020 22:20
Sample chunk packets

Some sample chunk data packets.

Format

The *.bin files are complete chunk data packet payloads (however, they do not have a packet length or ID specified, and are neither compressed nor encrypted).

The *.data.bin files are the data arrays within the packets, matching the data structure.

Most of these chunks have data only located in the bottom section, with a few exceptions. All of them have only the void biome set, and no block entities. The dimension is the overworld (skylight is present). All data is based on the format in 1.13.2.

Like most of my posts, this ended up being long and full of details that usually do not matter but may be useful as reference. Feel free to jump to the conclusion and/or to skip information on how I gathered data.

The change that caused this

18w01a fixed MC-122053, which was an issue where the amount that the mouse scrolled by was ignored. This meant that for some mouses, on windows, scrolling would scroll extremely fast and far; note that this issue was not reported for 1.13 but rather 1.12, and actually existed far before then.

Here are the changes relevant to that fix (MCP names):

--- a/src/main/java/net/minecraft/client/gui/GuiSlot.java
@Pokechu22
Pokechu22 / DataVersions.csv
Last active March 3, 2019 03:41
All current Minecraft data versions (values for DataVersion)
Version Name DataVersion
17w50a 1457
17w49b 1455
17w49a 1454
17w48a 1453
17w47b 1452
17w47a 1451
17w46a 1449
17w45b 1448
17w45a 1447

Please use this guide instead, this one was written in a hurry and I forgot I had the older one.

~~Basically, you'll want to start with the MCP 1.12 release (temporarily at http://www.modcoderpack.com/files/mcp940.zip ), and then modify it to work with 1.12.2. This is actually quite simple. First, you need to edit conf/version.cfg and set both versions to 1.12.2. That on its own is not enough, but it's a critical step. Then you need to grab new SRG mappings. Normally you'd get that through the !srg command, but MCPBot doesn't have it for some versions. Instead, you can get it through forge's maven. (normally it's also on the export site but not for 1.12.2). The link is http://files.minecraftforge.net/maven/de/oceanlabs/mcp/mcp/1.12.2/mcp-1.12.2-srg.zip . To set that up, first delete the conf/patches folder (otherwise patches will be merged, breaking things), and then unzip the contents of that ZIP into conf, overwriting files as pr

@Pokechu22
Pokechu22 / Rail Proposal.md
Created July 21, 2017 19:07
Rail line proposal for RocketPig

Intro

First off, if you haven't seen the old skyblock map... you're missing out on a lot of context. But the short version is: I made a lot of rails. Check out this overviewer-powered render of the map here (download and extract the large zip file, and then open index.html, allowing scripts if prompted - it's an interactive render). The skyblock map is also (still) up for download on mediafire (you will need 7-zip or another extractor to open this RAR file); there's access to the nether if you fly behind the windmill (~100 blocks).

I really enjoyed handling this transportation for the community, and I'd like to do something like this again. But, right now the islands are fairly close, so there's no real reason to make it in the nether. Instead, it should be done in the overworld.

The actual proposal

Basically,

@Pokechu22
Pokechu22 / missing.txt
Created February 7, 2017 23:22
Known/unknown versions
A list of missing versions