Skip to content

Instantly share code, notes, and snippets.

View anatawa12's full-sized avatar
🏃‍♂️
Too Many Projects

anatawa12 anatawa12

🏃‍♂️
Too Many Projects
View GitHub Profile
@anatawa12
anatawa12 / console.txt
Created April 26, 2021 14:05
javap of NPCAIRideTrain in KaizPatchX at 06c1e19
bash-3.2$ git rev-parse --short HEAD
06c1e19
bash-3.2$ unzip -p build/libs/src1.7.10_20200822+KaizPatchX-latest.jar jp/ngt/rtm/entity/npc/NPCAIRideTrain.class > NPCAIRideTrain.class
bash-3.2$ javap -v -private NPCAIRideTrain.class > javap_out.txt
bash-3.2$
@anatawa12
anatawa12 / avatar.1.diff
Created July 11, 2022 08:13
sample commit of `chore: start using git-vrc` in my private project
diff --git a/.gitattributes b/.gitattributes
index bf12937..31415d0 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,10 +1,10 @@
* text=auto
*.meta text eol=lf
-*.asset text eol=lf
-*.unity text eol=lf
+*.asset text eol=lf filter=vrc
@anatawa12
anatawa12 / limit_test_out.txt
Created August 12, 2022 06:54
The test to know which format of texture is accepted by OpenVR
GL_RED: ovr error: VROverlayError_InvalidTexture
GL_RG: ovr error: VROverlayError_InvalidTexture
GL_RGB: ovr error: VROverlayError_InvalidTexture
GL_RGBA: successfull
GL_R8: successfull
GL_R8_SNORM: successfull
GL_R16: successfull
GL_R16_SNORM: successfull
GL_RG8: successfull
GL_RG8_SNORM: successfull
@anatawa12
anatawa12 / 0.thx.svg
Last active August 19, 2022 13:22
:thx: based on twemoji
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@anatawa12
anatawa12 / MainMenu 2.0 OpenBeta Canny一覧.md
Last active September 11, 2022 17:10 — forked from Sayamame-beans/MainMenu 2.0 OpenBeta Canny一覧.md
2022/09 MainMenu 2.0 OpenBeta のCanny一覧

MainMenu 2.0 OpenBeta Canny一覧

OpenBeta Cannyに投稿されているCannyを全て確認し、有用そうなCannyを独断で一覧にしました。 2022/09/12 0:20時点の情報で、Feature Request系、Bug Report系の両方を含みます。

Bug Reportで、未Trackedのものは後に整理し、Bug Report系に統合します。

また、QMとはクイックメニュー、MMとはメインメニューのことです。

目次

@anatawa12
anatawa12 / utf8.h
Created December 8, 2022 05:48
UTF8.h subsituated from clekeyOVR
/// MIT License
///
/// Copyright (c) 2022 anatawa12
///
/// 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:
@anatawa12
anatawa12 / CompileLogger.cs
Last active March 22, 2023 11:49
The .cs file to log compilation to some file. useful with tail -f
// Copyright (c) anatawa12 2022
// Published under CC0 Licesnse or Unlicesnse at your option
// see https://creativecommons.org/publicdomain/zero/1.0/legalcode for CC0
// see https://unlicense.org/ for Unlicense
// The .cs file to log compilation to some file. useful with tail -f
// `tail -f compileLog.txt` to see the compilation progress continuously
// `rm compileLog.txt; touch compileLog.txt; tail -f compileLog.txt` to clear history and see progress
#if UNITY_EDITOR && (!ANATAWA12_GISTS_VPM_PACKAGE || GIST_257fbbebd9b7dab8bf39c0c710a2bfc7)
@anatawa12
anatawa12 / CreateAssemblyDefinitionForUdonSharp.cs
Last active March 22, 2023 12:06
CreateAssemblyDefinitionForUdonSharp
/*
* CreateAssemblyDefinitionForUdonSharp
* https://gist.github.com/anatawa12/5987f6b5357c3c91603fa07f215dfeab
*
* Adds menu to create assembly definition with U# assembly definition
*
* MIT License
*
* Copyright (c) 2023 anatawa12
*
/*
* MIT License
*
* Copyright (c) 2023 anatawa12
*
* 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
@anatawa12
anatawa12 / .README.ja.md
Last active June 16, 2023 12:56
Fake DynamicBone Component class

偽の DynamicBone コンポーネンツ

VRChat SDKのDBからPBへの変換を動くようにするための偽のDynamicBoneコンポーネント

How to use

  1. 右上の Download ZIP からこのプロジェクトをダウンロードする
  2. ZIPをUnityプロジェクトのどこかに展開する
  3. DB -> PB変換を実行する。