This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // https://go.dev/play/p/Y0L8GFSCmZX | |
| // https://go.dev/play/p/JeZf_WHAqy0 (earlier version without hash) | |
| // https://mit6875.github.io/PAPERS/Schnorr-POK-DLOG.pdf | |
| package main | |
| import ( | |
| "bytes" | |
| "encoding/binary" | |
| "fmt" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python3 | |
| # Copyright (C) 2021 Andrew Ekstedt (magical) | |
| # | |
| # Borrows a small amount of code from mastodon-backup, | |
| # Copyright (C) 2017-2018 Alex Schroeder <[email protected]> | |
| # This program is free software: you can redistribute it and/or modify it under | |
| # the terms of the GNU General Public License as published by the Free Software | |
| # Foundation, either version 3 of the License, or (at your option) any later | |
| # version. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 01 (1) = Floor Tile | |
| 02 (2) = Wall | |
| 03 (3) = Ice | |
| 04 (4) = Ice Corner | |
| 05 (5) = Ice Corner | |
| 06 (6) = Ice Corner | |
| 07 (7) = Ice Corner | |
| 08 (8) = Water | |
| 09 (9) = Fire | |
| 0a (10) = Force floor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 01 (1) = Floor Tile | |
| 02 (2) = Wall | |
| 03 (3) = Ice | |
| 04 (4) = Ice Corner | |
| 05 (5) = Ice Corner | |
| 06 (6) = Ice Corner | |
| 07 (7) = Ice Corner | |
| 08 (8) = Water | |
| 09 (9) = Fire | |
| 0a (10) = Force floor |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package main | |
| import ( | |
| "bytes" | |
| "flag" | |
| "fmt" | |
| "image" | |
| "image/color" | |
| "io" | |
| "os" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # http://bjoern.spruck.net/lynx/blog/chips.xhtml | |
| # UnpackgenerateCode_L1D08: | |
| # LDX #$00 | |
| # STZ $44 | |
| # STZ $45 | |
| # LoopGenerateCode_L1D0E: | |
| # JSR GenerateCodeFunk1_L1D3C | |
| # STA $1280,X | |
| # JSR GenerateCodeFunk1_L1D3C |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Venusaur: ability, exp, height, pokeathlon, stats, weight | |
| Charizard: ability, exp, pokeathlon, stats, type, weight | |
| Blastoise: ability, exp, pokeathlon, stats, weight | |
| Beedrill: ability, exp, height, items, pokeathlon, stats, weight | |
| Pidgeot: ability, exp, height, pokeathlon, stats, weight | |
| Rattata: ability, items, pokeathlon, type, weight, moves (egg, machine, tutor) | |
| Raticate: ability, height, items, pokeathlon, stats, type, weight, moves (machine, tutor) | |
| Pichu: pokeathlon | |
| Pikachu: exp, items, pokeathlon, stats, moves (egg, form-change, tutor) | |
| Raichu: ability, height, items, pokeathlon, stats, type, weight, moves (level-up, machine, tutor) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pokemon β version_group β pokemon_id β version_group_id β level β order | |
| βββββββββββββββββΌββββββββββββββββββββΌβββββββββββββΌβββββββββββββββββββΌββββββββΌββββββββββββββ | |
| ivysaur β gold-silver β 2 β 3 β 15 β {4,NULL} | |
| venusaur β gold-silver β 3 β 3 β 15 β {5,NULL} | |
| muk β gold-silver β 89 β 3 β 45 β {NULL,NULL} | |
| ledian β gold-silver β 166 β 3 β 24 β {3,4,NULL} | |
| wooper β gold-silver β 194 β 3 β 51 β {3,NULL} | |
| quagsire β gold-silver β 195 β 3 β 59 β {3,NULL} | |
| qwilfish β gold-silver β 211 β 3 β 10 β {3,NULL} | |
| ivysaur β crystal β 2 β 4 β 15 β {4,NULL} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Notes on CC2's checksum scheme | |
| ============================== | |
| Background | |
| ---------- | |
| The "KEY " chunk in C2M files stores a 128-bit hash. This | |
| was originally part of a scheme to prevent users from playing | |
| levels not made with the official editor, but was ripped out | |
| before the public release.[1] |
NewerOlder