Skip to content

Instantly share code, notes, and snippets.

View chikuchikugonzalez's full-sized avatar

ちくちく(・∀・)ごんざれす chikuchikugonzalez

View GitHub Profile
@chikuchikugonzalez
chikuchikugonzalez / TeleportRoom_english_japanese.xml
Last active December 31, 2016 07:32
Teleport Room Magicの雑日本語訳
Move to https://github.com/chikuchikugonzalez/skyrim-selfish-translations/blob/master/TeleportRoom_english_japanese.xml
@chikuchikugonzalez
chikuchikugonzalez / ECE_humanraces_slider.ini.diff
Last active December 24, 2016 09:13
Enhanced Character Editで女性キャラクターの抜刀時の武器サイズが小さくなるのを防ぐ対応
--- humanraces_slider.ini.default 2016-12-16 00:01:21.238056900 +0900
+++ humanraces_slider.ini 2016-12-16 00:01:35.864761900 +0900
@@ -154,7 +154,7 @@
$CME_HeadUpDown, 903, 203, CME HeadPos, 1, 0, 0, 2
$CME_ShoulderScale, 908, 202, NPC Spine2 [Spn2], 0.2, NPC Head [Head], (1 / x), WeaponBack, (1 / x), WeaponBow, (1 / x), QUIVER, (1 / x), NPC Root [Root], (120.5 / (29.1 * x + 91.4))
-$CME_HandScale, 905, 2, Dummy, 0.2, NPC L Hand [LHnd], (x * 0.8517), NPC R Hand [RHnd], (x * 0.8517), SHIELD, (1 / x), WEAPON, (1 /x)
+$CME_HandScale, 905, 2, Dummy, 0.2, NPC L Hand [LHnd], (x * 0.8517), NPC R Hand [RHnd], (x * 0.8517), SHIELD, (1.1741 / x), WEAPON, (1.1741 /x)
$CME_HandScale, 905, 102, Dummy, 0.2, NPC L Hand [LHnd], x, NPC R Hand [RHnd], x, SHIELD, (1 / x), WEAPON, (1 /x)
$CME_LegScale, 904, 202, NPC L Thigh [LThg], 0.1, NPC R Thigh [RThg], x, NPC L Calf [LClf], ((x - 1) * 0.2 + 1), NPC R Calf [RClf], ((x - 1) * 0.2 + 1), NPC Pelvis [Pelv], (x):(1):(x < 1), WeaponDagger, (x):(1):(x < 1), WeaponA
@chikuchikugonzalez
chikuchikugonzalez / FunctionalHomes - Dragonborn_english_japanese.xml
Last active December 31, 2016 07:31
Functional Homes v2 日本語翻訳ファイル (TESVTranslator用)
Move to https://github.com/chikuchikugonzalez/skyrim-selfish-translations/blob/master/Functional%20Homes/FunctionalHomes%20-%20Dragonborn_english_japanese.xml
@chikuchikugonzalez
chikuchikugonzalez / sharedvector.cpp
Created October 24, 2014 15:10
shared_ptrをvectorに入れる時の初期化方法
#include <cstdio>
#include <iostream>
#include <algorithm>
#include <vector>
#include <memory>
class Color {
public:
int r, g, b, a;
@chikuchikugonzalez
chikuchikugonzalez / file-edge.py
Last active August 29, 2015 14:06
EDGE形式ファイルをGIMPで開くためのGIMPプラグイン (Python-fu)
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# GIMP Plug-in for the EDGE file format.
# http://takabosoft.com/edge
#
# Base on EdgeLIB 1.00
# http://takabosoft.com/edge/tool
#
#----------------------------------- LICENSE -----------------------------------
@chikuchikugonzalez
chikuchikugonzalez / pecd.bat
Created August 5, 2014 15:51
pecoでディレクトリを選択してcdするスクリプト (Windowsバッチファイル)
@echo off
:: pecoってディレクトリ移動をするスクリプト.
::
:: TODO 文字化けしてた('A`)
:init
set _pecocd_flags=
set _pecocd_folder=%CD%
:args
if "%1"=="" goto :peco
@chikuchikugonzalez
chikuchikugonzalez / ヴァンガードプリンセス起動.bat
Created July 11, 2014 16:52
Windows 8でヴァンガードプリンセスがなぜか起動しないので、その対策用バッチファイル
@echo off
setlocal
::
:: ヴァンガードプリンセス 起動用ファイル.
::
:: Windows 8だとなぜかダブルクリックで起動しないので、
:: バッチファイルから作業ディレクトリを移動して、起動を試みます.
::
:: USAGE: 起動.bat [バージョン]
::
@chikuchikugonzalez
chikuchikugonzalez / mugen-release.sh
Last active August 29, 2015 14:00
gitリポジトリ用MUGENキャラクターリリーススクリプト (Jenkinsビルドスクリプト)
#!/bin/bash
# -*- coding: utf-8 -*-
#
# settings
curdate=`date +%Y%m%d`
repo_name=mugen-${char_name,,}
repo=${WORKSPACE}/${repo_name}.git
workdir=${WORKSPACE}/${char_name}
distdir=$(dirname "${WORKSPACE}")/releases
@chikuchikugonzalez
chikuchikugonzalez / rubyshell.bat
Created January 15, 2013 15:42
時分の環境でMinGW RubyとActiveRubyとJRubyを切り替えるために作った簡易バッチファイル
@echo off
:: vim: set sts=4 ts=4 sw=4 expandtab:
setlocal ENABLEDELAYEDEXPANSION
set _rubyhome_ruby=E:\Ruby\Ruby1.9
set _rubyhome_ruby18=E:\Ruby\Ruby1.8
set _rubyhome_ruby19=E:\Ruby\Ruby1.9
set _rubyhome_activeruby=E:\Ruby\ActiveRuby1.9
set _rubyhome_activeruby18=E:\Ruby\ActiveRuby1.8
set _rubyhome_activeruby19=E:\Ruby\ActiveRuby1.9
@chikuchikugonzalez
chikuchikugonzalez / mtags.rb
Created January 13, 2013 16:01
MUGEN用tagsファイル作成スクリプト。 ステート番号をタグ扱いにしてます。
#!ruby
# -*- coding: utf-8 -*-
tags = {
}
tagfile = nil
section_pattern = /\s*\[\s*(statedef)\s+((-+)?\d+)\].*$/i
ARGV.each do |arg|
Dir.glob(arg) do |path|
File.binread(path).split(%r{\r\n|\r|\n}).each_with_index do |line, lineno|