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

+英語版exeditパッチのサポート追加 #105

Open
loongruige opened this issue Apr 12, 2024 · 1 comment
Open

+英語版exeditパッチのサポート追加 #105

loongruige opened this issue Apr 12, 2024 · 1 comment
Labels
duplicate This issue or pull request already exists enhancement New feature or request

Comments

@loongruige
Copy link

背景
この機能追加は、exeditの英語版パッチではバージョン文字列も翻訳されているため、patch.aulが動作しないことから提案されたものです。

概要
提案されている機能は、exeditの英語パッチのサポート追加で、大文字小文字ファイルのコードチェックを変更することです。
このコードでは、exedit上で日本語版にある "拡張編集(exedit) version 0.92 by KENくん" という文字列をチェックしているが、英語版パッチにある "Advanced Editing version 0.92" もチェックすべきだ。
image

没案
?

その他
本号は機械翻訳を使用しています。
コードをいじってみたが、VISUAL STUDIOの内部ライブラリがエラーを出すのでコンパイルできず、修正もできない。
この修正は、init.cppのコードチェックをこのように変更することで簡単にできる:

if (strcmp(filters[0]->information, "拡張編集(exedit) version 0.92 by KENくん") != 0)

を次のように変更するだけだ:

if (strcmp(filters[0]->information, "拡張編集(exedit) version 0.92 by KENくん") + strcmp(filters[0]->information, "Advanced Editing version 0.92") != 1)
@loongruige loongruige added the enhancement New feature or request label Apr 12, 2024
@ePi5131
Copy link
Owner

ePi5131 commented Apr 20, 2024

duplicate #85

どの海外版がどのバージョン文字列にしてくるのかを全部管理するのはやってられないので、決め打ちではなくそもそもバージョン判定をユーザー責任で回避するアプローチが適切と考えます

@ePi5131 ePi5131 added the duplicate This issue or pull request already exists label Apr 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants