Skip to content

Instantly share code, notes, and snippets.

View dogtopus's full-sized avatar
🦄
Unicorn!

dogtopus

🦄
Unicorn!
View GitHub Profile
@lazydogP
lazydogP / eCDP_keygen.py
Last active May 4, 2024 21:13
Keygen for eCDP
#!/usr/bin/env python3
# Keygen for McDonald's eCDP(eCrew Development Program),
# a Nintendo DS software to train employees.
# This keygen is for the only dumped Japanese version of eCDP.
# ROM: https://archive.org/details/mcdonalds-japan-ecdp-rom-training-nintendo-ds-cartridge-dump
# Usage: Select the third option in main menu, enter two 6-digit numbers as you like,
# and use this script to calculate the third code.
@stecman
stecman / _readme.md
Last active May 11, 2024 17:42
Brother P-Touch PT-P300BT bluetooth driver python

Controlling the Brother P-Touch Cube label maker from a computer

The Brother PTP300BT label maker is intended to be controlled using the official Brother P-Touch Design & Print iOS/Android app. The app has arbitrary limits on what you can print (1 text object and up to 3 preset icons), so I thought it would be a fun challenge to reverse engineer the protocol to print whatever I wanted.

Python code at the bottom if you want to skip the fine details.

Process

Intitially I had a quick peek at the Android APK to see if there was any useful information inside. The code that handles the communication with the printer in Print&Design turned out to be a native library, but the app clearly prepares a bitmap image and passes it to this native library for printing. Bitmaps are definitely something we can work with.

@mizucoffee
mizucoffee / Ground Slider.md
Last active December 15, 2023 23:12
スライダー規格 v0.3 by Mizucoffee

スライダー資料

公式スライダー

パーツ 内容
タッチパネル 縦2分割x横16分割=32タッチ判定
ライティング メインパネル16個+ボーダーパネル(区切り)15個=31個

| ロゴ | パネル分離 |