Skip to main content

Jixun's Blog 填坑还是开坑,这是个好问题。

Tag: Projects

Patch Win32 Disk Imager to work with system has RamDisk

This problem was reported back in 2017: win32diskimager/tickets/47

A quick workaround was to assign drive A or B as the RamDisk, and don’t let Win32DiskImager to access it:

004066CC | C1EB 02     | shr ebx,2                  |
004066CF | 85DB        | test ebx,ebx               |
004066D1 | 74 27       | je win32diskimager.4066FA  |
004066D3 | 90          | nop                        |
004066D4 | BE 43000000 | mov esi,43                 | 43:'C'

Or, use the patcher below to specify the drive you would like to ignore:

Read more »

100% Orange Juice - Resource decryption & extraction (cli)

Expected to work with XP but not tested.

Supported resource type:

  • .dat decryption
  • ZIP archive pretending as a .dat file (e.g. animation.pak)
  • Packed ogg files (e.g. bgm.pak)
  • Packed wav files (e.g. se.pak)

Usage:

100% Orange Pak decryptor v1.1
by: Jixun Moe<https://jixun.moe/>

This tool is provided "AS IS", without warranty of any kind,
  and commercial usage is strictly prohibited.

Usage:
  OrangeDecryptor <input> <output> [mode]

mode is the decryption mode; it can be one of the following:
  dat      Apply dat decryption. Note: Any file not recognised will fallback to this mode.
  zip      Extract file as zip to output(as directory), then apply dat decryption (if ending with .dat).
  ogg      Seperate audio file to different files; name pattern: [output]/[000].ogg
  wav      Extract WAV sound (Sound Effects & Voice) from pak archive.
  auto     Default; it will check the file header and perform action.

Download: Jixun Storage | Yandex

Read more »

Convert JSON data to TypeScript interfaces

An useful tool to quick convert JSON data to TypeScript interfaces.

All you need to do is to paste the data, click 点我转换(Click to Convert), and done!

Sample input:

{
  "url": "https://jixun.moe/",
  "posts": [
    { "title": "日记", "date": "2016.06.08" },
    { "title": "随笔", "date": "2016.06.09" }
  ],
  "last-update": 1465388410306
}

Sample output:

Read more »