-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add how to use this program in README.md
- Loading branch information
Showing
5 changed files
with
26 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,26 @@ | ||
# CLIP Timer | ||
|
||
CLIP STUDIO PAINTでお絵かきのタイムを測るプログラムです。 | ||
CLIP STUDIO PAINTでお絵かきのタイムを計測するためのソフトウェアです. | ||
|
||
本プログラムはコンパイラはMingw gcc 8.2.0、UIなどにはDXライブラリを使用しています。 | ||
## # 使い方 | ||
|
||
1. releaseからCLIPTimer.zipをダウンロードして解凍 | ||
2. setting.txtの1行目にCLIPStudioPaint.exeへのフルパスを記述 | ||
3. setting.txtの2行目に.clipファイルを格納しているフォルダへのフルパスを記述 | ||
4. CLIPTimer.exeを実行すると,タイマーウインドウとCLIP STUDIO PAINTが開きます | ||
|
||
## # 使用コンパイラとライブラリ | ||
|
||
本プログラムはコンパイラはMinGW gcc 8.2.0, UIなどにはDXライブラリを使用しています. | ||
|
||
## # コンパイルコマンド | ||
|
||
コンパイルには、MinGW内のincludeにDxLib/DxLib.hが格納されている必要があります。 | ||
``` | ||
> windres -o src/resource.o src/resource.rc | ||
> g++ -mwindows -static-libstdc++ -static-libgcc -o release/CLIPTimer.exe src/*.cpp src/resource.o --exec-charset=cp932 --input-charset=utf-8 "-LC:\MinGW\lib\DxLib" -DDX_GCC_COMPILE -DDX_NON_INLINE_ASM -lDxLib -lDxUseCLib -lDxDrawFunc -ljpeg -lpng -lzlib -ltiff -ltheora_static -lvorbis_static -lvorbisfile_static -logg_static -lbulletdynamics -lbulletcollision -lbulletmath -lopusfile -lopus -lsilk_common -lcelt -lpsapi | ||
``` | ||
cpl.ps1に上記のコマンドを書きました。powershellにてプロジェクト直下で以下のコマンドを打つことでコンパイル出来ます。 | ||
``` | ||
> ./cpl.ps1 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
windres -o src/resource.o src/resource.rc | ||
g++ -mwindows -static-libstdc++ -static-libgcc -o release/CLIPTimer.exe src/*.cpp src/resource.o --exec-charset=cp932 --input-charset=utf-8 "-LC:\MinGW\lib\DxLib" -DDX_GCC_COMPILE -DDX_NON_INLINE_ASM -lDxLib -lDxLib -lDxUseCLib -lDxDrawFunc -ljpeg -lpng -lzlib -ltiff -ltheora_static -lvorbis_static -lvorbisfile_static -logg_static -lbulletdynamics -lbulletcollision -lbulletmath -lopusfile -lopus -lsilk_common -lcelt -lpsapi | ||
g++ -mwindows -static-libstdc++ -static-libgcc -o release/CLIPTimer.exe src/*.cpp src/resource.o --exec-charset=cp932 --input-charset=utf-8 "-LC:\MinGW\lib\DxLib" -DDX_GCC_COMPILE -DDX_NON_INLINE_ASM -lDxLib -lDxUseCLib -lDxDrawFunc -ljpeg -lpng -lzlib -ltiff -ltheora_static -lvorbis_static -lvorbisfile_static -logg_static -lbulletdynamics -lbulletcollision -lbulletmath -lopusfile -lopus -lsilk_common -lcelt -lpsapi |
Binary file not shown.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters