無料版

2.12

新機能

印刷・印刷プレビュー

  • 印刷と印刷プレビューを追加しました。「印刷…」(Ctrl+P)から、ファイル全体または選択範囲のアドレス・16進ダンプ・ASCIIを印刷できます。用紙・余白・フォントを設定でき、プレビューの拡大縮小・スクロールと印刷キューの確認にも対応します。文字欄は本体のエンコーディング設定にかかわらずASCII固定で、0x20~0x7E以外は「.」で表示します。
  • 「設定 → 配色…」にシステム設定への追従を追加し、新規設定の既定にしました。ダーク配色に「神秘の森」「ジューシープラム」を追加し、ダーク時の既定を神秘の森にしました。保存済みの配色は維持します。
  • 「16進(不一致)」検索を追加しました。繰り返しパターンと異なる連続範囲を検出し、区間単位の移動・件数確認・一覧表示・マークに対応します。
  • ファイルを開く --open と、版・バージョンと使用方法を表示する --help を追加しました。

改善

  • データインスペクタと構造体ビューをツールメニュー直下へ移動しました。新規設定ではデータインスペクタを非表示にし、保存済みの表示状態は維持します。

バグ修正

配色・表示

  • ダークモードでも「最近使ったファイル」「表示言語」「高速化設定」「フォント」などの画面がライト配色のままになる問題を修正しました。ダンプとブックマーク一覧の右クリックメニューも、ダークモードに合わせた暗い配色で表示するようにしました。

ローカライズ

  • 一部の表示言語で、項目名や説明文が英語のまま表示される問題を修正しました。
2.11

新機能

  • 「ヘルプ → フィードバック…」を追加しました。既定のメールアプリに、使用中の版・バージョンを含む件名と英語の記入用テンプレートを設定し、不具合や要望を開発者へ送れます。メールは自動送信されず、内容を確認してから送信できます。
  • 「設定 → 更新設定…」に、自動更新チェックを追加しました。既定で1日1回、配布元へ確認し、更新がある場合に通知します。自動確認の無効化と手動確認ができ、通知のリンクから配布ページを開けます。

バグ修正

メモリ管理

  • データインスペクタの解析中にメモリが不足すると、アプリが終了する問題を修正しました。
  • Shift_JISなどの文字境界を解析する際、補助キャッシュ用のメモリが不足するとアプリが終了する問題を修正しました。
  • ファイル比較の開始時などにメモリが不足すると、複製したスレッドハンドルが解放されない問題を修正しました。
2.10

改善

  • トップに「検索」メニューを追加し、検索・検索結果一覧・移動をまとめました。ブックマーク操作も同メニュー内のサブメニューに統合しました。Ctrl+F・Ctrl+G・Ctrl+Bは従来どおり使えます。

バグ修正

脆弱性

  • RTLの検索ヘルプを開く際に、アプリの配置先などから意図しない同名DLLを読み込むおそれがあったため、Windows標準DLLの検索先をSystem32に限定しました。

メモリ管理

  • 終了時に、インスペクタ・構造体解析の未受信データが解放されない問題を修正しました。

設定・履歴

  • 設定ファイルの保存先が長いパスにある場合に、設定や履歴の保存に失敗する問題を修正しました。

ファイル比較

  • 一時フォルダー(TMP)のパスが長い場合に、比較を開始できない、または差分をコピーできない問題を修正しました。

検索

  • 選択内検索で、直前の一致と同じ位置を選び直しても前の広い範囲が使われる問題を修正しました。検索結果一覧から移動した場合は一覧の元の範囲・条件を保持し、次の一致へ進めます。

文字表示・操作

  • Shift_JIS、Windows-949、EUC-KR、Big5、GBKで、長い2バイト文字列の末尾への移動や編集後の再描画時に操作が待たされる問題を修正しました。文字境界の判定をバックグラウンドで行い、文字表示の準備中もダンプのスクロール・選択・編集を継続できます。確定済みの境界を再利用し、LTR・RTLの両方に対応します。
2.09

新機能

  • バイナリの比較・マージを追加しました。各ファイル1 MiB(1,048,576バイト)以下・1スレッドで比較でき、サイズが異なる場合は長い側の残りも差分として扱います。差分の色分け・前後移動・ロケーションペイン・RTL配置に対応し、比較中も全範囲のスクロール・選択、進捗確認・停止が可能です。比較完了後は、両ファイルに存在する現在の連続差分区間を左右へコピーし、左右を個別に保存できます。解消した差分は色表示・差分数・ロケーションペインから取り除きます。保存は進捗表示・キャンセルと操作ガードに対応し、未保存の変更は終了前に確認します。サイズ変更とマージのUndo/Redoは対象外です。比較は保存済みファイルが対象で、通常編集画面の未保存編集は含みません。上限を超える場合は比較を開始しません。
  • ファイルメニューに「ファイルの場所」を追加しました。開いているファイルのフルパスの確認、パス全体のコピー、エクスプローラーで親フォルダを開いて対象ファイルを選択する操作ができます。タイトルバーはファイル名だけの表示を維持します。

改善

  • 未保存の変更を赤字の「*変更あり」で表示するようにしました。通常編集画面のステータスバーと、比較画面の変更がある側の見出しに表示します。保存に成功すると表示が消え、保存失敗時は残ります。RTL配置と各テーマにも対応しています。
  • メイン画面のタイトルバーに「YuHex Free Edition」と表示し、無料版であることを見分けやすくしました。ファイルを開いたときのファイル名と、未保存を示す*の表示は維持します。

バグ修正

ファイル保存

  • 保存や「名前を付けて保存」の後、カーソルが表示されていても矢印キーや文字入力が編集領域に届かなくなる問題を修正しました。保存失敗や保存先選択のキャンセル後も入力先を適切に戻し、他の画面やアプリを操作中はフォーカスを奪いません。
  • 長いパスのファイルを開いて編集できても保存に失敗する問題を修正しました。保存用一時ファイルの名前が長くなる場合にも対応し、パス長による失敗を外部変更と誤って案内する問題も解消しました。
  • ハードリンクの別名を「名前を付けて保存」の保存先に選んだ場合、指定先が更新されず、元のパスだけが更新される問題を修正しました。指定した保存先へ編集内容を保存し、その後の保存も同じ保存先に反映します。

表示言語

  • 表示言語をフィリピノ語にした場合、言語名やRTLの説明、再起動・設定保存失敗の案内などの一部が英語のまま表示される問題を修正しました。
2.08

新機能

  • 移動(Ctrl+G)で、先頭からの絶対アドレス・現在位置からの相対移動・末尾から戻る移動に対応しました。数値は10進、0x/0X付きは16進として、四則演算と括弧を使った式を入力できます。移動先を16進・10進で確認してから確定でき、範囲外や不正な式では移動しません。
  • 移動に成功した入力式・基準位置を最大16件の履歴として保存します。同じ設定ファイルを使うアプリ間で共有し、開いたままの移動ダイアログにも約1秒で反映します。履歴を選ぶと条件を復元し、相対移動は今回の位置で再計算します。編集中の入力は維持し、IME変換中や候補の展開中は候補更新を保留します。
  • ファイルごとに最後に選んだ文字コードを履歴へ保存し、次に開いたときに復元するようにしました。アプリを再起動しても記憶され、履歴メニュー以外から開いた場合にも適用されます。従来の履歴はASCIIとして引き継ぎます。未対応の文字コード名は保存したまま、ファイルを開くときだけASCIIで表示・検索します。
  • ファイルメニューに「最近使ったファイル一覧…」を追加しました。文字コードとフルパスを確認でき、一覧からファイルを開いたり、「パスをコピー」で省略しないフルパスをコピーしたりできます。

改善

  • 履歴メニューを「番号 [文字コード] パス」の表示に変更しました。RTLでは画面左から「パス [文字コード] 番号」の順に並びます。長いパスはファイル名を優先して中間を省略し、画面の幅に収まるようにしました。
  • 同じ設定ファイルを使う複数のアプリ間で、ファイル履歴と検索履歴を共有するようにしました。起動中の画面にも約1秒で反映します。別のポータブル配置や、設定先が異なる無料版・Store版の履歴は統合しません。
  • 履歴メニューの項目にマウスを重ねるか、キーボードで項目を選ぶと、文字コードとパスをツールチップで確認できます。長いパスは画面内に収まる幅で折り返し、RTLでは案内文を右寄せします。特に長いパスはツールチップでも省略し、全文を確認できる履歴一覧へ案内します。
  • 「最近使ったファイル一覧…」は個別履歴の上へ配置し、一覧の初期サイズを件数に合わせてコンパクトにしました。ウィンドウのサイズ変更と高DPI表示に対応しています。フルパスはスクロール・選択・コピーでき、右から左へ読む画面配置(RTL)でもパスと文字コードは左から読めるようにしました。

バグ修正

ファイル入出力

  • 「ファイルを開く」のファイル名欄に、長いローカルパスやWSLのファイル・フォルダのフルパスを貼り付けると、パスが途中で切れたり、ファイル名が無効として拒否されたりする問題を修正しました。フォルダのパスは移動先として扱い、移動後にファイルを選択できます。通常形式・拡張形式と、Explorerでコピーした引用符付きのパスに対応しました。
  • Explorerから長いパスのファイルをドラッグ&ドロップしても開かれない問題を修正しました。ローカルファイルとWSL上のファイルに対応し、Windowsの長いパスを有効にする設定(LongPathsEnabled)の変更は不要です。ファイルを開いている場合は、従来どおり別ウィンドウで開きます。
  • 長いローカルパスやWSLのUNCパスを通常形式で受け取った場合に、ファイルを開けない問題を修正しました。起動引数・履歴・ドラッグ&ドロップの受信・ファイル選択後の読込に適用し、再読込と外部変更の検知にも対応しました。長いパスやWSLへの保存の制限は今回の修正対象に含みません。

画面表示

  • 構造体画面で、ヘブライ語・ウルドゥー語・ソラニー語などのボタン幅が表示文字列に対して不足する問題を修正しました。翻訳文と表示フォントに合わせてボタン幅を調整します。
  • RTL配置で表示言語設定を開いたとき、タイトルバーだけが左から右の配置になる問題を修正しました。アイコン・タイトルを右側、閉じるボタンを左側に表示します。
  • ダイアログや補助画面のタイトルバーで標準のアイコンが表示される問題を修正し、YuHexのアイコンに統一しました。右から左へ読む画面配置(RTL)にも対応しています。
  • RTL表示でダンプのアドレスの桁順とコロンが反転する問題を修正しました。アドレス欄は右側に配置したまま、数値とコロンは「00000010:」のように左から右へ表示し、ステータスバーのオフセット表記と統一しました。
2.07

新機能

  • アラビア語、ヘブライ語、ペルシャ語、ウルドゥー語、ソラニー系クルド語、ウイグル語(アラビア文字)、ディベヒ語の表示と検索ヘルプに対応しました。合計100言語表記・107地域設定で利用できます。対応言語一覧
  • 右から左へ読む言語に合わせた画面配置(RTL)に対応しました。言語設定で書字方向を選び、再起動すると反映されます。
  • 編集領域の左右の配置を、表示メニューやCtrl+Alt+R(RTL)/Ctrl+Alt+L(LTR)で切り替えられるようにしました。再起動は不要で、アプリを終了すると元に戻ります。

改善

  • バージョン情報をEscキーで閉じられるようにしました。
2.06

新機能

  • 前リリースから表示言語に78言語表記・85地域設定を追加し、検索ヘルプを含めて合計93言語表記・100地域設定に対応しました。対応言語一覧をご覧ください。
  • 英語にオーストラリア、ドイツ語・フランス語・イタリア語にスイス、スペイン語にメキシコの地域設定を追加しました。数値の桁区切り・小数点は選択した地域に従います。
  • 従来の次/前検索に加え、「数える」と「現在の文書内で検索」を追加しました。検索結果を一覧で確認し、クリックやEnterで一致箇所へ移動できます。結果ウィンドウの分離にも対応しました。
  • 検索画面を「検索」「ブックマーク」の2タブに変更し、一致箇所をまとめてブックマークへ登録できるようにしました。
  • 選択範囲内の検索、単語単位、大小文字の区別に対応しました。文字列検索には拡張モードと正規表現を追加しました。
  • 検索画面内に、各検索モードや操作を説明するヘルプを追加しました。
  • 「設定 → 検索設定…」を追加しました。無料版は1スレッド固定で、入力欄はグレーアウトします。スレッド数の変更と並列検索はMicrosoft Store版で利用できます。
  • 「次へ」「前へ」「数える」「現在の文書内で検索」の終了時に、検索時間と実際に使用したスレッド数を表示するようにしました。

改善

  • ステータスバーの標準文字サイズを12ポイントに拡大し、ファイルサイズ・選択サイズを表示する2段目を編集画面のズームに連動させました。Ctrl+マウスホイールやズームメニューで拡大・縮小できます。1段目の文字サイズと高さは固定し、拡大率などの表示がズームによって隠れにくくしました。
  • 「設定 → 言語…」を検索付きの表示言語ダイアログに変更しました。母語名・表示言語に翻訳した言語名・コードで候補を探せます。現在の言語を先頭に表示し、反映予定の言語を太字で示します。「システムの設定に従う」も選択できます。閉じる・×・Escで閉じた後に選択を反映・保存し、ダブルクリックでは閉じません。
  • フォント設定を変更すると、文字の種類・サイズ・太字・斜体をその場で反映・保存するようにしました。OK・キャンセルを「閉じる」に統一しました。
  • 検索設定のOK・キャンセルを「閉じる」に統一しました。無料版の検索スレッド数は従来どおり1固定です。
  • エンコードメニューで、選択中の文字コードが属する分類にもチェックを表示するようにしました。サブメニューを開かずに、現在の分類を確認できます。

バグ修正

文字表示

  • UTF-16LE/BEの正常なサロゲートペアが「.」2個になる問題を修正しました。絵文字や補助漢字を表示し、行をまたぐ文字も正しく扱います。
  • CP932の不正な2バイト列を1バイトずつ回復するよう修正しました。直後の有効な半角文字などが文字欄から消え、検索結果と表示が食い違う問題を解消しました。
  • Big5・GBK・CP949・EUC-KRの長い連続文字列で、末尾への移動や再描画のたびに画面が長時間応答しなくなる問題を修正しました。

検索

  • ISCIIの文字列検索で、表現できない文字が「?」に変換されて別の文字列へ一致する問題を修正しました。表現できない検索語はエラーとして通知します。

検索時の注意事項

  • 検索・ブックマーク登録中と中止待ち中は、本体と補助画面を操作できません。検索画面の中止・閉じる・Escを使用できます。
  • 正規表現は1行4,096 UTF-16コード単位までを対象とし、長い行は行全体を除外して除外行数を表示します。CRLF・CR・LF・NUL・不正なデータを行の区切りとして扱い、ゼロ長一致は数えません。1回の正規表現処理を途中で止めることはできないため、「中止待ち」が続く場合があります。
無料版のブックマーク上限:手動登録と検索によるブックマークを合計3件まで。 空き枠に先頭から登録し、上限に達するとブックマーク登録を停止します。この3件制限は検索結果一覧や件数検索には適用しません。Microsoft Store版はブックマークの登録件数に制限がありません。
2.05

新機能

  • ブックマーク機能を追加した。Ctrl+Bで選択範囲またはカーソル位置の1byteを登録し、両欄の着色、一覧からのジャンプ、名前・色変更、表示切替に対応します。無料版では3件まで登録できます。 ファイルを閉じると消え、ファイルや設定には保存しません。
  • 編集メニューと右クリックメニューに「すべて選択 Ctrl+A」を追加した。
  • ステータスバー二段目のファイルサイズ左隣に、選択したbyte数を表示する欄を追加した。数値の区切りは表示言語に合わせ、警告や進捗と同時に表示します。
  • ステータスバーの二段目の右端に、縦の仕切りで区切った現在のバッファサイズ欄を追加した。正確なbyte数と、1024単位で換算したKB・MB・GBを表示し、数値の区切りは表示言語に合わせます。
  • Shift+クリックによる選択範囲の延長・縮小に対応した。既存の固定側、または未選択時の現在byteを基点として、クリックしたbyteを含めて選択します。
  • ドラッグ選択中の上下・左右自動スクロールに対応した。表示領域の外で50msごとに縦1行・横1byteセル分をスクロールし、表示領域に戻る・ボタンを離す・キャプチャやフォーカスを失うと停止します。

改善

  • ステータスバーを横線で区切った二段表示にし、位置・文字コード・編集状態などの通常情報を表示したまま、警告や処理の進捗を別の行に表示します。
  • 編集禁止の警告表示を0.9秒から5秒に延長し、解除方法を読み取りやすくしました。警告の表示中も操作できます。
  • 空ファイルで上書き入力を行った際、挿入モードへの切替方法をステータスバーに5秒間表示します。上書きモードではファイルサイズを変更しません。

バグ修正

ファイル・保存

  • 別ファイルを開けなかった際、元のファイルまで閉じてしまう問題を修正した。新しいファイルのオープンに成功するまで、元の文書と未保存の編集を保持します。
  • 別のプログラムがファイルに追記・変更した後に保存すると、外部の変更を切り捨てる問題を修正した。外部変更を検知すると、編集内容を破棄して再読み込みするかを問い合わせます。再読み込みしない場合は未保存の編集を保持し、保存を中止します。
  • 相対パスで開いた後に作業フォルダが変わると、別フォルダの同名ファイルへ保存する問題を修正した。開く時と別名保存の開始時に保存先を絶対パスで確定します。

選択・スクロール

  • 32GiBを超えるファイルで、縦スクロールバーのつまみを最下端へ戻してもファイル末尾を表示できない問題を修正した。矢印・ページ操作の移動量は維持し、全体をスクロールできるようにしました。
  • マウスで範囲選択した後にShiftキーで延長・縮小すると、元の開始点を失う問題を修正した。マウスを離した後も固定側を維持します。
  • Shift+上下・Home・PageUp/PageDownで選択byte数が移動量と一致しない問題を修正した。Shift+Endは行末byte、Ctrl+Shift+Endはファイル末尾のbyteまで選択します。
  • Shift+左右で移動量より1byte多く選択される問題を修正した。未選択の状態からShift+右を1回で現在の1byte、Shift+左を1回で直前の1byteを選択します。コピー・切り取り・削除もこの範囲を使用します。
  • Shift選択を開始位置まで戻しても1byteの選択が残る問題を修正した。開始境界へ戻ると選択を解除し、越えると逆方向に選択します。
  • 移動できない方向へShiftキーと移動キーを押すと、選択が発生したり変化したりする問題を修正した。選択用の先頭・末尾境界で停止します。
  • 挿入モードで末尾直後からShift選択した際、最終byteを誤って選択する問題を修正した。

編集・クリップボード

  • 上書きモードの貼り付けでファイルサイズが変わり、選択した元データが失われる問題を修正した。選択範囲と貼り付けデータのbyte数が異なる場合や、ファイル末尾を超える場合は、内容を変更せず理由を表示します。長さを変える貼り付けは挿入モードで行えます。
  • 貼り付けや編集履歴の復元で置換処理のメモリ確保に失敗した際、削除だけが残って編集内容を失う問題を修正した。失敗時は置換前の編集内容を保持します。
  • 大きな範囲の削除で、削除バイト数に比例する大量のメモリを要求する問題を修正した。削除を区間で保持し、削除前のメモリ確保に失敗した場合も編集内容を保持します。
  • 大範囲のコピー・切り取りで長時間操作できなくなる問題を改善した。16進数への変換を高速化し、準備中の進捗表示とEscによるキャンセルに対応しました。切り取りはクリップボードへの転送が成功してから削除します。
  • 大範囲の貼り付け中に進捗がなく操作できなくなる問題を改善した。準備中の進捗表示・Escキャンセル・画面応答の維持に対応し、解析後に必要なメモリを一度だけ確保します。内容を反映する段階はキャンセルできません。
  • 編集禁止中にCtrl+X/Ctrl+Vを押しても操作できない理由が表示されない問題を修正した。DELキーと同様に、ステータスバーに編集禁止の警告を表示します。

文字表示

  • Big5・GBK・CP949・EUC-KRで、長い2byte文字列の途中を表示すると行頭の文字境界がずれる問題を修正した。行頭が文字の後続byteの場合も、全体の解析と一致するようにしました。
  • Shift-JIS表示で前行の後続バイトを文字の先頭と誤認し、次行の文字がずれたり別の文字に化けたりする問題を修正した。

構造体ビュー

  • 過度に深い構造体定義の読み込みでスタックオーバーフローにより終了する問題を修正した。構造体の入れ子は128段までとし、上限を超える定義は読み込みエラーとして通知します。
  • 循環した typedef を含む構造体定義を読み込むとアプリが終了する問題を修正した。循環を検出して読み込みエラーにし、長い型別名の連鎖も再帰を使わずに解決します。
  • 大きな構造体のプレビューで全体サイズ分のデータを読み込み、応答停止やメモリ不足を招く問題を修正した。表示項目に必要な先頭部分のみを読み取り、巨大な配列の後続項目も表示します。解析中のメモリ確保失敗も処理するようにしました。
  • 構造体ビューの float/double の数値表示がエンディアン設定を無視する問題を修正した。指定したバイト順で浮動小数点値を解釈します。
  • 構造体ビューで符号付き整数を10進表示すると、負数が符号なしの値になる問題を修正した。型の符号情報を反映し、typedef 経由の型にも対応します。
  • 構造体ビューの解析結果を更新すると、ウィンドウや操作ボタンがちらつく問題を修正した。

画面表示・編集履歴

  • Ctrl+R で編集禁止を切り替えると、編集画面がちらつく問題を修正した。

配布構成の変更

  • ZIP には実行ファイル、resources フォルダ、ポータブル設定用マーカーを含みます。patterns と license.txt は同梱せず、サンプルとライセンスはこのサイトで確認できます。
  • 元の未変更 ZIP の再配布に関するライセンスファイル同梱条件を削除しました。
2.04

改善

  • 16進ダンプ領域に右クリック編集メニューを追加し、切り取り・コピー・貼り付け・削除・編集禁止を操作できるようにした。メニューキー/Shift+F10でも表示できます。
  • 「名前を付けて保存」を追加し、編集内容を別のファイルに保存できるようにした。
  • 編集メニューに切り取り(Ctrl+X)・コピー(Ctrl+C)・貼り付け(Ctrl+V)・削除(Del)を追加した。貼り付けは16進数テキストに対応し、選択範囲がある場合は置き換え、ない場合は現在の挿入・上書きモードに従います。
  • Microsoft Store版とメニュー構成をそろえ、無料版では利用できない機能をグレーアウトして表示するようにした。
  • Shiftキーと矢印・PageUp/Down・Home/End・Ctrl+Home/Endを組み合わせた範囲選択に対応した。
  • 左マウスボタンを押したまま移動キーを操作すると、マウスを動かさなくても選択範囲が更新されるようにした。

バグ修正

  • ベトナム語エンコーディング Windows-1258 で、「Đ」「é」などの文字が正しく表示されない問題を修正した。
  • 挿入・削除を含む編集後に、検索や範囲コピーが極端に遅くなる問題を修正した。
  • 保存途中で書き込みに失敗すると元ファイルが一部書き換わる問題を修正した。変更内容を一時ファイルに書き終えてから保存先を置き換えるようにした。
  • ファイル途中の広い範囲を削除した後、表示の更新に時間がかかり操作できなくなる問題を修正した。

構造体ビュー

  • 大きな配列を含む構造体定義でサイズ計算があふれ、入力データの範囲外を読み取ることがある問題を修正した。サイズ計算の上限を超える定義は、読み込み時にエラーにします。
2.03

改善

  • YuHex のアプリアイコンを更新し、バージョン情報ダイアログにも表示するようにした。

バグ修正

  • ファイル末尾のバイトを削除してから新しいバイトを追加すると、保存後の内容が正しくならない問題を修正した。
2.02

バグ修正

  • 検索結果が選択された状態で検索値を変更すると、選択開始位置にある一致を見落とす問題を修正した。
2.01

注意事項

  • ライセンスの文言を変更しました。引き続き、個人利用および商用利用は無料です。
  • MSIインストーラーのショートカット名を YuHex Free Edition に変更しました。
  • 2.00以前の古いバージョンをインストーラーから導入されている場合、事前にアンインストールすることを推奨します。設定は引き継がれます。アンインストールしない場合、古いショートカットが残ります。

改善

  • 複数起動したときにメインウィンドウが重ならないよう、起動時の表示位置を自動的にずらすようにした。
2.00

サポート

  • ダークモードを追加し、新しいクールスレートテーマを既定にした。
  • ファイルのフルパスの上限を260文字(UTF-16 code unit)から32K文字に拡張した。
  • インストーラー(.msi)の提供を追加した。
  • 表示言語としてベラルーシ語、ドイツ語、スペイン語、フランス語、ハンガリー語、イタリア語、韓国語、ポーランド語、ポルトガル語、ロシア語、ウクライナ語、中国語(簡体字)、中国語(繁体字)を追加した。

改善

  • 起動時のウィンドウ表示位置とサイズを改善し、小さい画面でも作業領域に収まりやすくした。
  • 配布形式に応じてJSON設定ファイルの保存先を切り替えるようにした。ZIP版は実行ファイルと同じフォルダ、MSI版は%LOCALAPPDATA%\YuHex、MSIX版はパッケージのLocalStateに保存する。

バグ修正

  • WSLなどのUNCパス上にあるファイルを保存したとき、編集内容が反映されない場合がある問題を修正した。

Free Edition

2.12

New features

Printing and print preview

  • Added printing and print preview. Print… (Ctrl+P) lets you print addresses, hex bytes and ASCII for the whole file or a selection, adjust paper, margins and font, zoom and scroll the preview, and open the print queue. The character column always uses ASCII, regardless of the encoding selected in the editor; bytes outside 0x20–0x7E appear as dots.
  • Added “Follow system settings” under Settings → Appearance as the default for new settings. Added Mystical Forest and Juicy Plum dark themes, with Mystical Forest as the default dark theme. Existing color choices are preserved.
  • Added Hex (mismatch) search to find contiguous ranges that differ from a repeating pattern, with range navigation, counting, result lists and marking.
  • Added --open to open a file and --help to display edition/version information and usage.

Improvements

  • Moved Data Inspector and Struct View directly under Tools. Data Inspector starts hidden with new settings; existing saved visibility is preserved.

Bug fixes

Appearance

  • Fixed Recent Files, Display Language, Search Acceleration, Font, and other dialogs remaining light in dark mode. Context menus in the hex view and bookmark list now also use dark colors in dark mode.

Localization

  • Fixed labels and explanatory text remaining in English in some display languages.
2.11

New features

  • Added Help → Feedback… to open a draft in your default email app, with a subject identifying your edition and version and an English template for bug reports and feature requests. Review the message before sending; no email is sent automatically.
  • Added automatic update checks in Settings → Update settings…. Enabled by default, checks run once a day and notify you when an update is available. You can disable automatic checking, check manually, and open the download page from the notification.

Bug fixes

Memory management

  • Fixed an application crash when memory allocation failed during data inspector analysis.
  • Fixed an application crash when memory allocation failed while caching character boundaries for Shift_JIS and other double-byte encodings.
  • Fixed a duplicated thread handle leak when memory allocation failed while registering file comparison I/O.
2.10

Improvements

  • Added a top-level Search menu grouping Find, Search results and Go To, with bookmark commands in its Bookmarks submenu. Ctrl+F, Ctrl+G and Ctrl+B remain unchanged.

Bug fixes

Vulnerabilities

  • Restricted the Windows DLL used by RTL search help to System32 to prevent loading an unintended DLL with the same name from locations such as the application folder.

Memory management

  • Fixed unreleased pending Data Inspector and structure-analysis results when closing the application.

Settings and history

  • Fixed failures to save settings and history when the settings file was stored in a long path.

File comparison

  • Fixed failures to start comparison or copy differences when the temporary folder (TMP) had a long path.

Search

  • Fixed selection-only searches reusing an earlier, wider scope when the user explicitly reselected the previous match. Navigation from search results retains that list’s original scope and search options and advances to the next match correctly.

Text display and responsiveness

  • Fixed unresponsive navigation and repainting after edits near the end of long double-byte text sequences in Shift_JIS, Windows-949, EUC-KR, Big5 and GBK. Character boundaries are now determined in the background, so you can continue scrolling, selecting and editing the hex dump while text is loading. Confirmed boundaries are reused in both LTR and RTL layouts.
2.09

New features

  • Added binary comparison and merging for files up to 1 MiB (1,048,576 bytes) each, using one worker. Unequal file sizes are supported, with the longer file’s remainder treated as differences. Includes highlighted differences, previous/next navigation, a location pane and RTL layouts; browse and select anywhere, monitor progress or stop during comparison. After comparison completes, copy the current contiguous difference region present in both files in either direction and save each side separately. Resolved differences are removed from highlights, difference counts and the location pane. Saving supports progress, cancellation and interaction guards, with an unsaved-changes check before closing. File resizing and merge Undo/Redo are not supported. Comparison uses saved files and excludes unsaved edits in the normal editor; files exceeding the limit are rejected before comparison starts.
  • Added File → File location to view the open file’s full path, copy the entire path, or request Explorer to open its parent folder and select the file. The title bar continues to show only the file name.

Improvements

  • Unsaved changes now appear as a red “*Modified” indicator in the status bar of the main editor and beside the heading of each modified side in the comparison window. The indicator clears after a successful save and remains if saving fails. Supports RTL layouts and all themes.
  • The main title bar now displays “YuHex Free Edition” to distinguish the free edition. The name of the open file and the asterisk marking unsaved changes are retained.

Bug fixes

File saving

  • Fixed the editor losing keyboard focus after Save or Save As even though the cursor remained visible. Keyboard focus is restored appropriately after save failures or cancelling the destination chooser, without interrupting another active window or application.
  • Fixed saving failures for files that could be opened and edited through long paths, including cases where the temporary save filename exceeded the path limit. Such failures are no longer incorrectly reported as external file changes.
  • Fixed Save As updating the original path instead of the selected destination when that destination was another hard link to the same file. Edits and subsequent saves now use the selected destination.

Localization

  • Fixed untranslated text in the Filipino interface, including language names, RTL descriptions, and messages about restarting the app and settings save failures.
2.08

New features

  • Go To (Ctrl+G) now supports absolute offsets from the start, relative offsets from the current cursor, and backward offsets from the last byte. Numbers are decimal by default; use a 0x or 0X prefix for hexadecimal. Expressions support arithmetic operators and parentheses. Preview the destination in both bases before moving; invalid expressions and out-of-range destinations are rejected.
  • Successful Go To expressions are saved with their origin in a history of up to 16 entries. Instances using the same settings file share this history, with open Go To dialogs updating in about one second. Selecting an entry restores its conditions; relative destinations are recalculated for the current dialog. Typed input is preserved, and suggestion updates are deferred during IME composition or while the dropdown is open.
  • File history now remembers the last encoding selected for each file and restores it when the file is reopened, including after restarting the application. This also works when opening a file outside the history menu. Existing history entries are migrated with ASCII as their encoding. Unsupported encoding identifiers are preserved; only display and search fall back to ASCII when the file is opened.
  • Added “Recent files…” to the File menu. View each file’s encoding and full path, open a selected file, or use “Copy path” to copy its complete path without abbreviation.

Improvements

  • History menu entries now show “number [encoding] path.” In RTL layouts, their visual order from left to right is “path [encoding] number.” Long paths are shortened in the middle, prioritizing the filename and keeping menu entries within the available screen width.
  • Instances using the same settings file now share file and search histories, with updates appearing in about one second. Separate portable installations and Free/Store editions using different settings locations remain independent.
  • Hover over a history menu entry or select it with the keyboard to see its encoding and path in a tooltip. Long paths wrap within the available screen area, and the explanatory notice is right-aligned in RTL layouts. Very long paths are also shortened in the tooltip, with a notice directing you to the recent files list for the complete path.
  • “Recent files…” is placed above individual history entries. Its initial size fits the number of entries, with up to ten visible rows and a compact details area. The window supports resizing and high-DPI displays. Full paths can be scrolled, selected, and copied. Paths and encoding names remain readable from left to right in RTL layouts.

Bug fixes

File input/output

  • Fixed long local and WSL file or folder paths being truncated or rejected as invalid filenames when pasted into the Open dialog. Folder paths navigate to the folder so a file can then be selected. Ordinary and extended paths, including quoted paths copied from Explorer, are supported.
  • Fixed files with long paths not opening when dragged from Explorer. This applies to local files and files on WSL, without requiring a change to the Windows LongPathsEnabled setting. If a file is already open, dropped files continue to open in separate windows.
  • Fixed failures to open long local paths and WSL UNC paths received in ordinary path syntax. This covers startup arguments, recent files, received drag-and-drop paths, and paths returned by the file picker, as well as reloading and external-change detection. Limitations on saving to long paths or WSL are outside this fix.

Display

  • Fixed insufficient button widths for translated labels in the structure view, including Hebrew, Urdu, and Sorani. Button widths now adapt to the translated text and display font.
  • Fixed the display-language dialog retaining a left-to-right title bar in RTL layouts. The icon and title now appear on the right, with the close button on the left.
  • Fixed dialogs and auxiliary windows showing the default title-bar icon instead of the YuHex icon, including right-to-left (RTL) layouts.
  • Fixed reversed address digits and punctuation in the RTL dump view. The address column remains on the right, while each address retains left-to-right order, such as “00000010:”, consistent with offsets in the status bar.
2.07

New features

  • Added Arabic, Hebrew, Persian, Urdu, Sorani Kurdish, Uyghur (Arabic script), and Divehi interface translations and search help. YuHex now supports 100 language variants and 107 regional choices. See the language list.
  • Added right-to-left (RTL) screen layouts. Choose the writing direction in Language settings and restart to apply it.
  • Switch the editor layout using the View menu or Ctrl+Alt+R (RTL) / Ctrl+Alt+L (LTR). No restart is needed, and the layout resets when you exit the application.

Improvements

  • The About dialog can now be closed with Esc.
2.06

New features

  • Added 78 language variants and 85 regional choices since the previous release, bringing the total to 93 language variants with 100 regional choices, including search help. See the supported language list.
  • Added regional settings for English (Australia), German, French and Italian (Switzerland), and Spanish (Mexico). Number grouping and decimal separators follow the selected region.
  • Added Count and Find all in current document alongside Next and Previous. View matches in a results list and click or press Enter to jump to them. The results window can also be detached.
  • Reorganized the search window into Find and Bookmark tabs. Matching ranges can now be added as bookmarks in one operation.
  • Added selection-only, whole-word, and case-sensitive options, plus Extended and Regular expression modes for text searches.
  • Added in-app help explaining search modes and controls.
  • Added Settings → Search settings… . The Free Edition is fixed at one thread, with the input field disabled. Changing the thread count and parallel search are available in the Microsoft Store Edition.
  • Next, Previous, Count and Find all in current document now show the elapsed search time and actual thread count on completion.

Improvements

  • Increased the default status bar font size to 12 points. The second row, which shows file and selection sizes, now follows the editor zoom using Ctrl + mouse wheel or the zoom menu. The first row keeps a fixed font size and height so that details such as the zoom percentage remain easier to see when zooming.
  • Replaced Settings → Language… with a searchable display language dialog. Find choices by native name, translated language name, or code. The current language appears first, and the pending language is bold. You can also follow system settings. The selection is applied and saved after closing with Close, ×, or Esc; double-clicking keeps the dialog open.
  • Font family, size, bold, and italic changes are now applied and saved immediately. Replaced OK and Cancel with Close.
  • Replaced OK and Cancel in search settings with Close. The Free Edition continues to use one search thread.
  • The encoding menu now also checks the category containing the selected encoding, so you can identify its category without opening the submenu.

Bug Fixes

Character Display

  • Fixed valid UTF-16LE/BE surrogate pairs being displayed as two dots. Emoji and supplementary ideographs are now displayed correctly, including across row boundaries.
  • Fixed CP932 recovery from invalid byte pairs to consume one byte at a time, keeping subsequent valid single-byte characters visible and consistent with text search results.
  • Fixed prolonged UI stalls when moving to the end of, or repeatedly repainting, long continuous Big5, GBK, CP949, and EUC-KR text.

Search

  • Fixed ISCII text searches silently replacing unrepresentable characters with question marks and matching different text. Unrepresentable queries now report an input error.

Search notes

  • The editor and auxiliary windows are disabled during search, bookmark registration, and cancellation. Stop, Close, and Esc remain available in the search window.
  • Regular expressions search lines of up to 4,096 UTF-16 code units. Longer lines are excluded in full, and the skipped-line count is shown. CRLF, CR, LF, NUL, and invalid data delimit lines; zero-length matches are not counted. An individual regular expression operation cannot be interrupted, so cancellation may remain pending.
Free Edition bookmark limit: three bookmarks in total, including manual and search bookmarks. Matches fill available slots in order, and bookmark registration stops at the limit. This limit does not apply to search results or Count. The Microsoft Store Edition has no bookmark count limit.
2.05

New Features

  • Added bookmarks. Ctrl+B marks the selection or the byte at the cursor, with highlighting in both columns, jumps from the list, name and color changes, and visibility control. The Free Edition supports up to three bookmarks. Bookmarks are cleared when the file is closed and are never saved to files or settings.
  • Added Select all (Ctrl+A) to the Edit and context menus.
  • Added a selected byte count immediately to the left of the file size in the second status-bar row. Number separators follow the display language, and the count remains visible alongside warnings and progress.
  • Added a separate current buffer size field at the right end of the second status row with a vertical divider, showing the exact byte count and KB, MB, or GB using 1024-based conversion. Number separators follow the display language.
  • Added Shift+Click to extend or shrink a selection. It keeps the existing fixed endpoint, or uses the current byte when nothing is selected, and includes the clicked byte.
  • Added vertical and horizontal autoscroll during drag selection. Outside the data viewport, it scrolls one row and one byte cell every 50 ms, stopping when the pointer returns, the button is released, or capture or focus is lost.

Improvements

  • Changed the status bar to two rows separated by a horizontal divider so position, encoding, and editing state remain visible while warnings and progress are shown on a separate row.
  • Extended the read-only warning from 0.9 to 5 seconds to make the instructions easier to read. Operations remain available while the warning is displayed.
  • Typing in overwrite mode in an empty file now shows a five-second status warning explaining how to switch to insert mode. Overwrite mode keeps the file size unchanged.

Bug Fixes

Files and Saving

  • Fixed the current document being closed when opening another file failed. The original document and unsaved edits are retained until the new file opens successfully.
  • Fixed a problem where saving after another program appended to or modified the file could discard the external changes. When external changes are detected, a prompt asks whether to discard edits and reload the file. If you decline, unsaved edits are retained and saving is blocked.
  • Fixed saving to a same-named file in another folder after opening a relative path and changing the working directory. File paths are now resolved to absolute paths when opening or starting Save As.

Selection and Scrolling

  • Fixed the vertical scrollbar failing to return to the end of files larger than 32 GiB when the thumb was dragged to the bottom. The scrollbar now covers the full file while retaining line and page movement distances.
  • Fixed losing the original anchor when extending or shrinking a mouse selection with Shift. The fixed endpoint is retained after releasing the mouse button.
  • Fixed selection lengths not matching movement with Shift+Up/Down, Home, and PageUp/PageDown. Shift+End includes the last byte of the row, and Ctrl+Shift+End includes the last byte of the file.
  • Fixed Shift+Left/Right selecting one extra byte. With no selection, Shift+Right selects the current byte and Shift+Left selects the preceding byte. Copy, Cut, and Delete use this corrected range.
  • Fixed a one-byte selection remaining after returning to the starting position with Shift. Returning to the anchor clears the selection; crossing it selects in the opposite direction.
  • Fixed selection being created or changed by Shift navigation that cannot move further. Selection now stops at the start and end boundaries.
  • Fixed incorrectly selecting the last byte when starting a Shift selection after the end of the file in insert mode.

Editing and Clipboard

  • Fixed overwrite-mode paste changing the file size and discarding selected bytes. Paste is rejected without changing the document when the selected and pasted byte counts differ or the data extends past the end of the file, with an explanation shown. Use insert mode to change the length.
  • Fixed data loss when memory allocation failed during replacement in paste or edit history restoration. Failed replacements now retain the previous edits.
  • Fixed excessive memory allocation proportional to the number of deleted bytes when deleting large ranges. Deletions are now stored as intervals, and allocation failures before deletion retain the edits.
  • Improved responsiveness when copying or cutting large selections. Hexadecimal conversion is faster, preparation progress is displayed, and Esc cancels preparation. Cut deletes the selection only after successful transfer to the clipboard.
  • Improved responsiveness during large pastes by adding preparation progress, Esc cancellation, and UI message processing. The decoded buffer is allocated once after validation. Applying the prepared edit cannot be cancelled.
  • Fixed missing feedback when Ctrl+X or Ctrl+V is pressed in read-only mode. The status bar now displays the same read-only warning as the Delete key.

Character Display

  • Fixed incorrect row boundaries in long two-byte sequences displayed as Big5, GBK, CP949, or EUC-KR. Rows beginning with a trailing byte now match parsing from the start of the document.
  • Fixed shifted or incorrect Shift-JIS characters at row boundaries caused by interpreting a trailing byte from the previous row as a leading byte.

Struct View

  • Fixed a stack overflow when loading excessively nested struct definitions. Struct embedding is limited to 128 levels, and deeper definitions now return a load error.
  • Fixed application termination when loading structure definitions with cyclic typedef aliases. Cycles now produce a loading error, and long alias chains are resolved without recursion.
  • Fixed excessive memory use when previewing large structures. Only the leading bytes needed for displayed fields are read, including fields after large arrays. Memory allocation failures during analysis are also handled.
  • Fixed float and double values in the structure view ignoring the endian setting. Floating-point values are now interpreted using the selected byte order.
  • Fixed negative signed integers appearing as unsigned values in decimal mode in the structure view. Type signedness is now respected, including typedef aliases.
  • Fixed flickering in the Struct View window and its buttons when updating analysis results.

Display and Edit History

  • Fixed flickering in the editor when toggling read-only mode with Ctrl+R.

Distribution Changes

  • The ZIP contains the executable, the resources folder, and a portable settings marker. It does not include patterns or license.txt. Samples and the license are available on this site.
  • Removed the requirement to include a license file when redistributing the original, unmodified ZIP.
2.04

Improvements

  • Added a right-click editing menu in the hex dump area for Cut, Copy, Paste, Delete, and Read-only mode. The menu can also be opened with the Menu key or Shift+F10.
  • Added Save As to save the current contents to a different file.
  • Added Cut (Ctrl+X), Copy (Ctrl+C), Paste (Ctrl+V), and Delete (Del) to the Edit menu. Paste accepts hexadecimal text and replaces the selected range, or follows the current insert or overwrite mode when no range is selected.
  • Aligned the menus with the Microsoft Store edition. Features unavailable in the free edition are shown disabled.
  • Added range selection using Shift with arrow keys, PageUp/Down, Home/End, and Ctrl+Home/End.
  • Selection now updates immediately when using navigation keys while holding the left mouse button, without moving the mouse.

Bug Fixes

  • Fixed incorrect display of characters such as Đ and é in Vietnamese encoding Windows-1258.
  • Fixed severe slowdowns in searching and copying ranges after edits involving byte insertions or deletions.
  • Fixed an issue where a failed write during saving could partially overwrite the original file. Edited contents are now fully written to a temporary file before replacing the destination.
  • Fixed long delays and an unresponsive editor when refreshing the display after deleting a large range in the middle of a file.

Struct View

  • Fixed a size calculation overflow in structure definitions containing large arrays that could cause reads outside the input data. Definitions that exceed the size calculation limit are now rejected when loaded.
2.03

Improvements

  • Updated the YuHex app icon and added it to the About dialog.

Bug Fixes

  • Fixed an issue where deleting bytes from the end of a file and then adding new bytes could save the wrong content.
2.02

Bug Fixes

  • Fixed an issue where changing the search value while a previous result was selected could miss a match beginning at the selected position.
2.01

Notes

  • The license wording has been changed. Personal and commercial use remain free.
  • The MSI installer shortcut name has been changed to YuHex Free Edition.
  • If you installed version 2.00 or earlier using the installer, uninstalling the old version first is recommended. Settings will be carried over. If you do not uninstall the old version first, the old shortcut will remain.

Improvements

  • Offset the initial main window position automatically so multiple YuHex instances do not open directly on top of each other.
2.00

Support

  • Added dark mode and made the new Cool Slate theme the default.
  • Expanded the maximum full file path length from 260 characters (UTF-16 code units) to 32K characters.
  • Added the installer (.msi) distribution.
  • Added display language support for Belarusian, German, Spanish, French, Hungarian, Italian, Korean, Polish, Portuguese, Russian, Ukrainian, Simplified Chinese, and Traditional Chinese.

Improvements

  • Improved the initial window position and size so the application fits better within the monitor work area on smaller screens.
  • Changed the JSON settings file location based on the distribution format. The ZIP version stores settings next to the executable, the MSI version stores them under %LOCALAPPDATA%\YuHex, and the MSIX version stores them in the package LocalState folder.

Bug Fixes

  • Fixed an issue where edits might not be reflected when saving files on UNC paths such as WSL paths.