Skip to content

Instantly share code, notes, and snippets.

View terrehbyte's full-sized avatar
Keqing Story Quest When?

Terry Nguyen terrehbyte

Keqing Story Quest When?
View GitHub Profile
About Locale Emulator and the concept of locale emulation itself

I came across this program a while ago myself, and was just as amazed by its premise. I looked at the source code, and saw lots of involved low-level NT kernel voodoo I don't understand, instead of the code I tend to use to solve this kind of problem. Truly, this must be an amazing piece of software, I thought... until I tested it with th135 and noticed that it rendered the Music Room text as exactly the same garbage you see when running the game without any locale emulation. Yeah, it did display 東方心綺楼 in the title bar and correctly referenced the 御首頂戴帳 folder, but overall I'd consider this to be a worse alternative to AppLocale.

So I did some research, and it turns out that this thing merely implements the bare minimum of functionality necessary (namely, changing the system ANSI code page in memory) to purportedly keep games from crashing. Anything just a bit more involved

@terrehbyte
terrehbyte / U3D-AND.md
Last active November 19, 2016 04:59
Unity3D-Android Debugging

Debugging Your Unity3D Application on Android

Listening for Debug.XXX Events from Unity3D

Assuming you've got the Android SDK installed and your device is attached via ADB to your computer, we should be able to filter out the output from 'logcat' to only show logs from your Unity application! This works seamlessly with all of your existing "Debug.Log("hotdog");" calls!

Open up a terminal and type:

adb logcat -s Unity

Now watch your Unity-related debug messages pour into your terminal!

@nickbudi
nickbudi / README.md
Last active August 15, 2024 19:54
Budi's Counter-Strike: Global Offensive config

Budi's CS:GO Config

This is my constantly updated CS:GO autoexec config. Changelogs can be found under revisions here

Put autoexec.cfg in ...\Steam\steamapps\common\Counter-Strike Global Offensive\csgo\cfg or take what you want from it and add to your autoexec config!

After the Wild West Simulator 2015 update, video.txt needs to be put in ...\Steam\userdata\<Steam3 ID>\730\local\cfg

Launch Options

@Azolo
Azolo / Travis-CI-Windows.md
Created May 24, 2012 17:46
Travis-CI on Windows stuff

Travis CI on Windows (Box Building)

Why not use Vagrant?

  • Bare Box takes 20 minutes to Build
  • While licensing itself is not an issue, [activation is][1]
    • Boxes would require maintiance every 30 days and rebuilding every 120 days
  • No easy remote commands
    • ssh is through cygwin and cygwin doesn't present a clean environment
  • winrm is a [HUGE PAIN][2] if you're not on an Active Directory Domain
@masak
masak / explanation.md
Last active April 10, 2025 16:42
How is git commit sha1 formed

Ok, I geeked out, and this is probably more information than you need. But it completely answers the question. Sorry. ☺

Locally, I'm at this commit:

$ git show
commit d6cd1e2bd19e03a81132a23b2025920577f84e37
Author: jnthn <[email protected]>
Date:   Sun Apr 15 16:35:03 2012 +0200

When I added FIRST/NEXT/LAST, it was idiomatic but not quite so fast. This makes it faster. Another little bit of masak++'s program.

<!doctype html>
<!-- http://taylor.fausak.me/2015/01/27/ios-8-web-apps/ -->
<html>
<head>
<title>iOS 8 web app</title>
<!-- CONFIGURATION -->