{"id":16222708,"url":"https://github.com/segararai/entisgls4build","last_synced_at":"2026-02-28T16:31:03.930Z","repository":{"id":127282644,"uuid":"207738366","full_name":"SegaraRai/EntisGLS4Build","owner":"SegaraRai","description":"EntisGLS4を最新のVisual Studio 2019でビルドするためのパッチ、ツール、プロジェクトファイル等を置いた非公式なリポジトリです。","archived":false,"fork":false,"pushed_at":"2019-09-11T10:17:03.000Z","size":1506,"stargazers_count":10,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-20T09:19:32.755Z","etag":null,"topics":["visual-novel"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SegaraRai.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-11T06:22:58.000Z","updated_at":"2024-07-12T10:20:57.000Z","dependencies_parsed_at":"2023-04-11T16:46:47.652Z","dependency_job_id":null,"html_url":"https://github.com/SegaraRai/EntisGLS4Build","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SegaraRai/EntisGLS4Build","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SegaraRai%2FEntisGLS4Build","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SegaraRai%2FEntisGLS4Build/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SegaraRai%2FEntisGLS4Build/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SegaraRai%2FEntisGLS4Build/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SegaraRai","download_url":"https://codeload.github.com/SegaraRai/EntisGLS4Build/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SegaraRai%2FEntisGLS4Build/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29942786,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-28T13:49:17.081Z","status":"ssl_error","status_checked_at":"2026-02-28T13:48:50.396Z","response_time":90,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["visual-novel"],"created_at":"2024-10-10T12:14:59.337Z","updated_at":"2026-02-28T16:31:03.850Z","avatar_url":"https://github.com/SegaraRai.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# EntisGLS4Build\n\n[EntisGLS4](https://www.entis.jp/gls/)を最新のVisual Studio 2019でビルドするためのパッチ、ツール、プロジェクトファイル等を置いた非公式なリポジトリです。  \n\n## オリジナルとの違い\n\n個人的に都合が良い様にビルド方法をカスタマイズしているため、いくつか様式がオリジナルとは異なります。  \n基本的にはEntisGLS4をフレームワークというよりライブラリとして用いる方向で作成しています。  \n\n以下はオリジナルとの違いです。  \n\n- 出力されるライブラリファイル名が異なる\n  - よってlinkgls.hは使用できません\n- MFCを用いるビルドは作成していない\n  - 確認はしていませんがMFCを用いるものもビルドできるかもしれません\n- 常に`DISABLE_ENTIS_GLS4_EXPORTS`を定義している\n  - 適宜変更可能です\n- sakuragl_startup_win.cppもsakuragl_startup_con.cppも含めていないため、ライブラリを使用するプロジェクト側にそれらを含めるか、自分で`main`関数を記述する必要がある\n\n組み込み方の章も参照してください。  \n\n## ビルド手順\n\nWindowsとVisual Studio 2019での動作を前提としています。  \n（それ以外でもビルドできる可能性はあります。）  \n\n### 1. このリポジトリをクローンする\n\n改行コードはLFで（gitconfigにて`core.autocrlf=input`にして）クローンしてください。  \n\n### 2. EntisGLS4のソースを配置する\n\n1. [EntisGLS site](https://www.entis.jp/gls/)からEntisGLS ver.4s.05（gls4s.05.2015.04.18.zip）をダウンロードし\n2. リポジトリの直下にgls4s.05.2015.04.18ディレクトリを作成して\n3. そのディレクトリ以下に（gls4s.05.2015.04.18/readme.txtが存在するように）展開してください\n\n### 3. EntisGLS4にパッチを適用する\n\nリポジトリのルートで以下のコマンドを実行し、EntisGLS4にパッチを適用してください。  \n\n```text\ngit apply --ignore-whitespace --directory=gls4s.05.2015.04.18 gls4s.05.2015.04.18.patch\n```\n\n### 4. ビルドする\n\nVisual Studio 2019でEntisGLS4.slnを開いてビルドします。  \n\nEntisGLS4_woはx86とx64、EntisGLS4_woeはx86のみ対応しています。  \n\n## 組み込み方\n\n使用するプロジェクトにて行う必要がある設定は以下の通りです。  \n\n- EntisGLS4_wo.libまたはEntisGLS4_woe.libのリンク\n- include_wo（EntisGLS4_woの場合）またはinclude_woe（EntisGLS4_woeの場合）へのインクルードパスの追加\n- ライブラリとプロジェクトでランタイムライブラリを合わせる\n  - デフォルトではライブラリは`/MT`（Releaseの場合）と`/MTd`（Debugの場合）ですが、ライブラリの方を変更することも可能です\n- `main`関数の記述、またはsakuragl_startup_win.cppないしsakuragl_startup_con.cppをプロジェクトに含める\n  - ライブラリにはいずれも含めていないため\n  - 自前でmain関数を記述する場合はsakuragl_startup_win.cppやsakuragl_startup_con.cppが参考になります\n- Releaseビルドを用いる場合、プリプロセッサマクロに`NDEBUG`を定義する\n  - ライブラリの方を変更することも可能です\n- EntisGLS4_woeを用いる場合、`/permissive`（準拠モードの無効化）の設定\n  - EntisGLS3のヘッダファイルに非準拠の記述が含まれるため\n- 文字セットをマルチバイト文字セットを使用するに設定する（リンクエラーが生じる場合）\n\nなお、使用するプロジェクトのソリューションにEntisGLS4_wo.vcxprojやEntisGLS4_woe.vcxprojを追加して依存関係を設定しておくと可搬性が高まります。  \n\n## ライセンス\n\n本リポジトリ内の私に著作権が帰属するものについては[CC0](https://creativecommons.org/publicdomain/zero/1.0/deed.ja)または[Unlicense](https://unlicense.org/)が適用されるものとします。  \n利用者はいずれか好きな方のライセンスを選択できます。  \n\nTo the extent possible under law, SegaraRai has waived all copyright and related or neighboring rights to EntisGLS4Build. This work is published from: 日本.  \n\nEntisGLS4については、[そのライセンス](https://www.entis.jp/gls/license.txt)が適用されます。  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsegararai%2Fentisgls4build","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsegararai%2Fentisgls4build","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsegararai%2Fentisgls4build/lists"}