This code is for NTSC-U. DO NOT ATTEMPT TO USE THIS ON OTHER VERSIONS
Values are taken from decompiled CTR data. Addresses are guessed from given value patterns of decompiled data into actual memory values.
| // Stable Diffusion WebUI Javascript plugin | |
| // Rei_Fan49 (c) 2022 | |
| // MIT License. | |
| window.addEventListener('DOMContentLoaded', function(){ | |
| const sources = [ | |
| 'https://cdnjs.cloudflare.com/ajax/libs/jszip/3.10.1/jszip.min.js', | |
| 'https://cdnjs.cloudflare.com/ajax/libs/FileSaver.js/2.0.5/FileSaver.min.js', | |
| ]; | |
| sources.forEach(function(src){ |
Some people may have difficulty to resync the beatmap/chart timing after replacing audio. This guide will help you.
As the offset for both version are known, you can play around the delta (Δ) time of it.
All you have to do is perform those in any order:
| function generateWinnerBracket(playerCounts) { | |
| let winnerRounds = Math.ceil(Math.log2(playerCounts)); | |
| const seeds = Array.apply(null, {length: playerCounts}).map((x, i) => i + 1); | |
| const rounds = []; | |
| const expectedNext = []; | |
| const expectedBuffer = []; | |
| for(let seedPower = 1; seedPower <= winnerRounds; seedPower++) { | |
| const round = {round: winnerRounds - seedPower + 1, matches: []}; | |
| const availableSeeds = []; | |
| [].push.apply(availableSeeds, seeds.filter(x => x > (1 << (seedPower - 1)) && x <= (1 << seedPower))); |
I hereby claim:
To claim this, I am signing this object:
| ImageCache = Struct.new(:filename, :data) do | |
| def load | |
| return unless File.exists?(self.filename) | |
| self.data = nil | |
| end | |
| end | |
| TextCache = Struct.new(:image_id, :x, :y, :width, :height, :kerning, :spacing) | |
| module CtC | |
| module SJIS |
Hello, as you can see I want to share on how file importing can be done as some people wonder about custom beatmap or custom skins. In here, I'll share the guide step-by-step as long as you follow the prerequisite, sure things can be done properly.
| # MIT License | |
| # | |
| # Copyright (c) 2018 Rei Hakurei | |
| # | |
| # Permission is hereby granted, free of charge, to any person obtaining a copy | |
| # of this software and associated documentation files (the "Software"), to deal | |
| # in the Software without restriction, including without limitation the rights | |
| # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
| # copies of the Software, and to permit persons to whom the Software is | |
| # furnished to do so, subject to the following conditions: |
| KONAMI = { | |
| SDVX: "SV-5726-1134", | |
| DDR: "51504202", | |
| IIDX: "9738-4180" | |
| } | |
| SEGA = { | |
| maimai: "Not available", # See at https://maimai-log.net/Rei_Fan49 for tracker | |
| } |
| import re | |
| import json | |
| import inspect | |
| from collections import OrderedDict as odict | |
| def neatify(obj,**opts): | |
| """ | |
| Generate the JSON string representation for an object, | |
| with a variety of formatting options. |