Skip to content

Commit d0bd95c

Browse files
committed
initial commit
1 parent 244301f commit d0bd95c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+176764
-1
lines changed

README.md

Lines changed: 48 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,49 @@
1-
# Hardware
1+
# C91 GameKit
2+
23
TechBooster's original hardware (Arduino Compatible / Pro mini ATMEGA 328T 3.3V/8MHz)
4+
5+
# C91 GameKit
6+
7+
## ディレクトリ構造
8+
9+
* c91-gamekit-hardware-design 基板各種DXFデータ
10+
* c91-gamekit-software プリインストールソフトウェア「落とさない新刊」サンプルソースコード
11+
12+
## 開発環境
13+
14+
* ハードウェア
15+
* SeeedStudio Arduino Pro Mini 3.3V/8MHz
16+
* 1.44" SPI LCD
17+
* FT232RLボード(書き込み用)
18+
* ソフトウェア
19+
* Visual Studio 2015 Professional(Communityでも可、Express不可)
20+
* [VisualMicro](https://marketplace.visualstudio.com/items?itemName=VisualMicro.ArduinoIDEforVisualStudio)拡張が必須
21+
* Arduino IDEは1.6.12で動作確認済み
22+
23+
## タイトル画面ほか画像データ(xbm_*.h)のビルド方法(自分で画像を変更するときに必要な手順)
24+
25+
1. artworkディレクトリ以下にPNGフォーマットで処理対象ファイルを格納
26+
27+
2. artwork/dimension.csv ファイルにファイル名(.pngを除く)と寸法を記入(ほかのファイルの記述に倣う)
28+
29+
3. ImageMagickを導入したMac上(Bash on Windowsでも可)で次のコマンドを実行
30+
31+
```
32+
$ ./generate_artwork_headers.sh
33+
```
34+
35+
次のように実行結果が出力されれば成功。
36+
37+
```
38+
INFO: Input image "body.png" need to be 20 x 42
39+
INFO: Successfully written xbm_body.h
40+
INFO: Input image "hand-left-1.png" need to be 22 x 25
41+
INFO: Successfully written xbm_hand_left_1.h
42+
INFO: Input image "hand-left-2.png" need to be 22 x 34
43+
INFO: Successfully written xbm_hand_left_2.h
44+
...
45+
INFO: Input image "title.png" need to be 64 x 64
46+
INFO: Successfully written xbm_title.h
47+
```
48+
49+
4. Arduino IDEやVisual Studio上でプロジェクトをビルドし直せばゲーム本体に反映される(はず)

0 commit comments

Comments
 (0)