Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ginger] #packopt icon などに対応する #1

Open
vain0x opened this issue Jan 11, 2020 · 1 comment
Open

[ginger] #packopt icon などに対応する #1

vain0x opened this issue Jan 11, 2020 · 1 comment
Labels
area:ginger hsp3-ginger (ginger.exe, ビルドツール) idea アイデア
Projects

Comments

@vain0x
Copy link
Owner

vain0x commented Jan 11, 2020

ginger build では #packopt icon が処理されません。これはコンパイラではなくスクリプトエディタによって処理されるものだからです。

HSP3 のインストールディレクトリにある iconins.exe を使えばよさそうです。例えば以下のコマンドを使うことで実行ファイルのアイコンの変更ができます。(絶対パスはソースコードから抽出している模様。version などはさらに他の引数が必要。)

iconins -e"実行ファイルへの絶対パス" -i"アイコンファイルへの絶対パス"

参考: http://dev.onionsoft.net/trac/openhsp/browser/trunk/tools/win32/hsed3_footy2/PackIconResource.cpp

@vain0x vain0x added this to TODOs in hsp3-ginger Jun 24, 2020
@vain0x vain0x added the area:ginger hsp3-ginger (ginger.exe, ビルドツール) label Jan 24, 2024
@vain0x
Copy link
Owner Author

vain0x commented Jan 24, 2024

hsp3.7b7のコンパイラのコードにiconinsの機能があるので、何か状況が変わったかもしれません (未検証)

参考: http://dev.onionsoft.net/trac/openhsp/browser/tags/3.7b7/hspcmp/win32dll/hspcmp3.cpp?rev=1429#L672

@vain0x vain0x added the idea アイデア label Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:ginger hsp3-ginger (ginger.exe, ビルドツール) idea アイデア
Projects
No open projects
hsp3-ginger
  
TODOs
Development

No branches or pull requests

1 participant