Microsoft Store版

3.12

新機能

印刷・印刷プレビュー

  • 印刷と印刷プレビューを追加しました。「印刷…」(Ctrl+P)から、ファイル全体または選択範囲のアドレス・16進ダンプ・ASCIIを印刷できます。用紙・余白・フォントを設定でき、プレビューの拡大縮小・スクロールと印刷キューの確認にも対応します。文字欄は本体のエンコーディング設定にかかわらずASCII固定で、0x20~0x7E以外は「.」で表示します。

配色

  • 「設定 → 配色…」にシステム設定への追従を追加し、新規設定の既定にしました。ダーク配色に「神秘の森」「ジューシープラム」を追加し、ダーク時の既定を神秘の森にしました。保存済みの配色は維持します。
  • 「16進(不一致)」検索を追加しました。繰り返しパターンと異なる連続範囲を検出し、区間単位の移動・件数確認・一覧表示・マークに対応します。

コマンドラインオプション

  • コマンドラインオプション --open、--offset、--grep、--folder、--hex、--recursive、--include、--exclude、--parallel、--save-log、--log-dir、--format、--script、--help を追加しました。詳細はコマンドラインオプションと横断検索の使い方をご覧ください。

インストール時に専用リンク yuhex-store: とアプリ実行エイリアス yuhex-store.exe をWindowsへ登録します。設定場所・保存先・削除についてはインストールによる変更をご覧ください。

Microsoft Store版限定:ミラービュー

  • 読み取り専用のダンプを最大3個追加でき、離れた位置を並べて確認できます。オフセットの一括同期、個別検索、サイズを維持した整列に対応し、リサイズ・配置の復元・画面外からの呼び戻しも行えます。番号ごとの識別色で区別できます。使い方 →

Microsoft Store版限定:バイトマップ表示

  • 1バイトを1画素として256色などで表示し、データの分布や繰り返しを目視できます。LTRでは本体の左側、RTLでは右側でダンプと同じ高さに揃え、自由に移動・サイズ変更できます。横幅・拡大率・配色はメニューから変更でき、画素のクリックで対応するバイトへ移動できます。未保存の編集内容と大容量ファイルにも対応します。

Microsoft Store版限定:パターン充填

  • 選択範囲を16進パターンの繰り返しで上書きできます。大容量の範囲と操作全体のUndo/Redoに対応します。

Microsoft Store版限定:横断検索

  • サブフォルダーも含む複数のバイナリファイルを横断検索できます。マルチスレッドで高速検索が可能です。

改善

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

バグ修正

配色・表示

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

インストールパッケージ

  • MSIXのマニフェストで、デスクトップ以外のデバイスも対象に含まれていた指定を修正しました。対象をWindowsデスクトップのみに限定しました。

ローカライズ

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

新機能

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

バグ修正

メモリ管理

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

新機能

Microsoft Store版限定:16進置換

  • 「検索 → 置換…」(Ctrl+H)で、ファイル全体や選択範囲の同じバイト数の16進データを個別・一括置換できます。
  • 変更一覧と着色で置換箇所を確認でき、Undo/Redoに対応します。

改善

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

バグ修正

脆弱性

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

メモリ管理

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

設定・履歴

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

ファイル比較

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

検索

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

文字表示・操作

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

新機能

  • 【Microsoft Store版の拡張機能】巨大ファイルの比較・マージを追加しました。アプリ独自のファイルサイズ上限を設けず、最大32スレッドの並列処理と分割読込に対応します。64 GiBで全量比較、1 TiBの疎ファイルで比較中の操作を検証済みです。サイズが異なるファイル、差分の色分け・前後移動、ロケーションペイン、ファイル指定欄の折りたたみ、RTL配置に対応し、比較中も全範囲をスクロール・選択して進捗確認・停止ができます。比較完了後は、両ファイルに存在する現在の連続差分区間を左右へコピーし、左右を個別に保存できます。解消した差分は色表示・差分数・ロケーションペインから取り除きます。保存は進捗表示・キャンセルと操作ガードに対応し、未保存の変更は終了前に確認します。サイズ変更とマージのUndo/Redoは対象外です。通常編集とは独立した画面で保存済みファイルを比較し、比較だけでは元ファイルを変更せず、マージした内容は保存時に反映します。
  • ファイルメニューに「ファイルの場所」を追加しました。開いているファイルのフルパスの確認、パス全体のコピー、エクスプローラーで親フォルダを開いて対象ファイルを選択する操作ができます。タイトルバーはファイル名だけの表示を維持します。

改善

  • 未保存の変更を赤字の「*変更あり」で表示するようにしました。通常編集画面のステータスバーと、比較画面の変更がある側の見出しに表示します。保存に成功すると表示が消え、保存失敗時は残ります。RTL配置と各テーマにも対応しています。

バグ修正

ファイル保存

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

エクスポート(Microsoft Store版限定)

  • RTL表示時も進捗バーが左から右へ進んでいた問題を修正し、右から左へ進むようにしました。
  • エクスポート開始時にキーボードフォーカスが失われる問題を修正しました。中止・失敗後は入力先を復帰し、別の画面やアプリを操作中に出力が完了しても、本体へフォーカスを移さないようにしました。
  • エクスポート中に他のプログラムが元ファイルを書き換えると、更新前後のデータが混ざった出力を成功扱いする問題を修正しました。他のプログラムが書き込み用に開いている場合や、元ファイルが差し替えられた場合は出力先を更新せず中止します。

表示言語

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

新機能

Microsoft Store版限定

  • 【Microsoft Store版限定】「ファイル → エクスポート」に、ダンプのテキスト保存とC言語配列の出力を追加しました。ファイル全体または選択部分を指定でき、テキスト保存ではアドレスの有無を選べます。未保存の編集も反映し、RTLでも出力内容は左から右の順序になります。大容量データはバックグラウンドで処理し、進捗表示とキャンセルに対応します。
  • アラビア語向けのISO 8859-6・OEM 720、ヘブライ語向けのWindows-1255・ISO 8859-8・OEM 862を追加し、計22種類の文字コードに対応しました。文字の表示・検索、設定・お気に入り・ファイルごとの文字コード履歴に対応します。

無料版・Microsoft Store版共通

  • 移動(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:」のように左から右へ表示し、ステータスバーのオフセット表記と統一しました。
3.06

新機能

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

Microsoft Store版のみ

  • アラビア語の文字コードWindows-1256を追加しました。アラビア文字の表示と文字列検索に対応し、設定やお気に入りにも保存できます。

改善

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

新機能

  • 前リリースから表示言語に78言語表記・85地域設定を追加し、検索ヘルプを含めて合計93言語表記・100地域設定に対応しました。対応言語一覧をご覧ください。
  • 英語にオーストラリア、ドイツ語・フランス語・イタリア語にスイス、スペイン語にメキシコの地域設定を追加しました。数値の桁区切り・小数点は選択した地域に従います。
  • Microsoft Store版のみ:西ヨーロッパ語圏のエンコーディング Windows-1252 を追加しました。アクセント付きの西欧文字や€記号などの表示・文字列検索に対応し、設定やお気に入りにも保存できます。
  • 従来の次/前検索に加え、「数える」と「現在の文書内で検索」を追加しました。検索結果を一覧で確認し、クリックやEnterで一致箇所へ移動できます。結果ウィンドウの分離にも対応しました。
  • 検索画面を「検索」「ブックマーク」の2タブに変更し、一致箇所をまとめてブックマークへ登録できるようにしました。
  • 選択範囲内の検索、単語単位、大小文字の区別に対応しました。文字列検索には拡張モードと正規表現を追加しました。
  • 検索画面内に、各検索モードや操作を説明するヘルプを追加しました。
  • Microsoft Store版のみ:「設定 → 検索設定…」で検索スレッド数を1~32に設定できるようにしました(初期値8)。16進数の「次へ」「前へ」「数える」「現在の文書内で検索」を並列化し、大きなファイルの検索を高速化します。次へ・前へは近くの一致をまず1スレッドで探します。32MiB未満の範囲は1スレッドで検索します。実際のスレッド数はCPU数と処理区間数にも制限されます。
  • 「次へ」「前へ」「数える」「現在の文書内で検索」の終了時に、検索時間と実際に使用したスレッド数を表示するようにしました。

改善

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

バグ修正

文字表示

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

検索

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

検索時の注意事項

  • 検索・ブックマーク登録中と中止待ち中は、本体と補助画面を操作できません。検索画面の中止・閉じる・Escを使用できます。
  • 正規表現は1行4,096 UTF-16コード単位までを対象とし、長い行は行全体を除外して除外行数を表示します。CRLF・CR・LF・NUL・不正なデータを行の区切りとして扱い、ゼロ長一致は数えません。1回の正規表現処理を途中で止めることはできないため、「中止待ち」が続く場合があります。

Microsoft Store版のブックマーク件数

Store版は手動登録・検索によるブックマークともに登録件数の制限がありません。 検索で見つかった範囲を3件を超えてまとめて登録できます(無料版は手動登録と検索によるブックマークを合計3件まで)。検索結果一覧の保存上限は両版共通の10万件です。ブックマーク数に応じてメモリを使用し、メモリ不足時は登録済み分を残して停止します。
3.04

新機能

Microsoft Store版のみ

  • 編集履歴に「ここまで戻す」「ここまで進める」ボタンを追加した。行を選択してボタンを押すと、その操作を適用した直後の状態までまとめて Undo/Redo できます。「最初の状態」を選ぶと、保持している履歴の開始状態まで戻ります。

無料版・Microsoft Store版共通

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

改善

  • ステータスバーを横線で区切った二段表示にし、位置・文字コード・編集状態などの通常情報を表示したまま、警告や処理の進捗を別の行に表示します。
  • 編集禁止の警告表示を0.9秒から5秒に延長し、解除方法を読み取りやすくしました。警告の表示中も操作できます。
  • 空ファイルで上書き入力を行った際、挿入モードへの切替方法をステータスバーに5秒間表示します。上書きモードではファイルサイズを変更しません。
  • Undo履歴の上限16 MiBを超える範囲を選択した際、削除・切り取りがUndoできないことや古い履歴への影響をステータスバーで案内します。操作後も履歴の消去を通知し、保持できる最新の履歴は残します。
  • 行のクリック・上下キーは選択のみとし、「詳細」ボタンまたは Enter によるダンプ詳細表示を維持した。履歴位置への移動後も選択行を保持します。

バグ修正

ファイル・保存

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

選択・スクロール

  • 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 経由の型にも対応します。
  • Undo/Redo を行うと、構造体ビューのウィンドウや操作ボタンがちらつく問題を修正した。

画面表示・編集履歴

  • Ctrl+R で編集禁止を切り替えると、編集画面がちらつく問題を修正した。
  • 編集履歴ウィンドウの初回自動表示に伴い、最初の切り取り・削除などで編集画面がちらつく問題を修正した。

配布構成の変更

3.03

改善

  • 編集履歴を「操作」「データ」の2列表示にし、編集画面と同じ0始まりの16進アドレスと、削除・挿入・変更したデータを確認できるようにした。長いデータは先頭16バイトを表示し、残りを省略します。
  • 編集履歴の行を選んで「詳細」ボタンまたはEnterを押すと、変更前・変更後の全データをアドレス・16進数・ASCIIで確認できるようにした。画面幅に合わせて左右または上下に並べて表示します。
  • 16進ダンプ領域に右クリック編集メニューを追加し、Undo/Redo・切り取り・コピー・貼り付け・削除・編集禁止を操作できるようにした。メニューキー/Shift+F10でも表示できます。
  • 「名前を付けて保存」を追加し、編集内容を別のファイルに保存できるようにした。
  • 編集メニューに切り取り(Ctrl+X)・コピー(Ctrl+C)・貼り付け(Ctrl+V)・削除(Del)を追加した。貼り付けは16進数テキストに対応し、選択範囲がある場合は置き換え、ない場合は現在の挿入・上書きモードに従います。
  • Shiftキーと矢印・PageUp/Down・Home/End・Ctrl+Home/Endを組み合わせた範囲選択に対応した。
  • 左マウスボタンを押したまま移動キーを操作すると、マウスを動かさなくても選択範囲が更新されるようにした。

バグ修正

  • ベトナム語エンコーディング Windows-1258 で、「Đ」「é」などの文字が正しく表示されない問題を修正した。
  • 挿入・削除を含む編集後に、検索や範囲コピーが極端に遅くなる問題を修正した。
  • 保存途中で書き込みに失敗すると元ファイルが一部書き換わり、その後すべてUndoしても元に戻らず未変更扱いになる問題を修正した。変更内容を一時ファイルに書き終えてから保存先を置き換えるようにした。
  • 中央ヨーロッパ語圏・キリル文字・ギリシャ語のエンコーディングメニュー名が、日本語・英語以外の表示言語でも正しく翻訳されるようにした。
  • ファイル途中の広い範囲を削除した後、表示の更新に時間がかかり操作できなくなる問題を修正した。
  • 広い範囲を削除した後のUndo/Redoを高速化した。

構造体ビュー

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

新機能

  • 編集画面でのバイトの変更・挿入・削除に、取り消し(Undo:Ctrl+Z)とやり直し(Redo:Ctrl+Y)を追加した。
  • 編集した操作の一覧と、取り消し・やり直しの現在位置を確認できる「編集履歴」ウィンドウを追加した。

注意事項

  • 編集履歴は保存後やファイルの切り替え時に消去されます。履歴のメモリ使用量は16 MiBまでで、上限に達すると古い操作から削除されます。
  • 編集を開始すると、編集履歴ウィンドウを自動表示します。閉じた場合は履歴が消去されるまで非表示を維持し、「表示」メニューから再表示できます。履歴を消去したときはウィンドウも非表示になります。

改善

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

バグ修正

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

バグ修正

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

注意事項

  • 2.00以前の古いバージョンをインストーラーから導入されている場合、事前にアンインストールすることを推奨します。
    アンインストールしない場合、古いショートカットが残ります。
    設定ファイルは次の場所に残ります。
    %LOCALAPPDATA%\YuHex\yuhex.settings.json

    Microsoft Store 版に設定を引き継ぐ場合は、先に Microsoft Store 版をインストールします。次に古い YuHex を終了した状態で、上記のファイルを次の場所へコピーしてください。
    %LOCALAPPDATA%\Packages\<PackageFamilyName>\LocalState\yuhex.settings.json

    設定を引き継がない場合は、%LOCALAPPDATA%\YuHex\yuhex.settings.json を手動で削除してください。
    ※ <PackageFamilyName> は実際のパッケージファミリ名に置き換えてください。
    エクスプローラーのアドレスバーに%LOCALAPPDATA%\Packagesをいれて、YutakaHirata.YuHex_77476kca3sfnwのようなフォルダを探します。
    ※ AppData フォルダ(%LOCALAPPDATA%)は通常非表示ですが、上記のパスをエクスプローラーのアドレスバーに貼り付ければ開けます。

サポート

  • Microsoft Store版の初回リリース。
  • 2.00ベース。
  • 中央ヨーロッパ語圏エンコーディング Windows-1250 を追加した。
  • キリル文字エンコーディング Windows-1251 を追加した。
  • ギリシャ語エンコーディング Windows-1253 を追加した。

改善

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

Microsoft Store Edition

3.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.

Appearance

  • 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.

Command-line options

  • Added command-line options: --open, --offset, --grep, --folder, --hex, --recursive, --include, --exclude, --parallel, --save-log, --log-dir, --format, --script, --help. See Command-line options and Using cross-file search for details.

Installation registers the yuhex-store: protocol and yuhex-store.exe app execution alias with Windows. See installation changes for settings, locations and removal.

Microsoft Store edition only: Mirror views

  • Open up to three read-only dumps to inspect distant offsets side by side. Supports one-shot offset synchronization, independent searches, size-preserving arrangements, optional resizing, layout restoration, and bringing offscreen mirrors back. Number-specific colors distinguish each mirror. Usage →

Microsoft Store edition only: Byte map

  • View each byte as a pixel using a 256-color palette or other color modes to inspect data distributions and repeating structures. Align the window to the left of the hex view in LTR or to its right in RTL at the same height, or move and resize it freely. Adjust width, zoom, and colors through menus, and click a pixel to locate its byte. Supports unsaved edits and large files.

Microsoft Store edition only: Pattern fill

  • Overwrite a selection with a repeating hex pattern, with whole-operation Undo/Redo and support for large ranges.

Microsoft Store edition only: Cross-file search

  • Search across multiple binary files, including subfolders. Multithreading enables faster searches.

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.

Installation package

  • Fixed the MSIX manifest targeting non-desktop device families. The package now targets Windows desktop only.

Localization

  • Fixed labels and explanatory text remaining in English in some display languages.
3.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.
3.10

New features

Microsoft Store Edition only: Hex replacement

  • Use Search → Replace… (Ctrl+H) to replace equal-length hex sequences individually or all at once, in the whole file or a selection.
  • Review replacements in the change list and highlights, with Undo/Redo support.

Improvements

  • Added a top-level Search menu grouping Find, Search results, Replace and Go To, with bookmark commands in its Bookmarks submenu. Edit History is now under Edit, immediately after Undo/Redo. 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.
3.09

New features

  • Microsoft Store Edition extensions: Added huge-file comparison and merging, with no application-imposed file-size cap, chunked reads and up to 32 parallel workers. Tested with full scans of 64 GiB files and interaction during comparison of 1 TiB sparse files. Includes unequal-size comparison, highlighted differences, previous/next navigation, a location pane, collapsible file selection 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. The independent window compares saved files while the normal editor remains usable. Comparison alone leaves the originals unchanged; merged changes are applied when saved.
  • 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.

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.

Export (Microsoft Store Edition only)

  • Fixed export progress bars advancing from left to right in RTL layouts. They now advance from right to left.
  • Fixed keyboard focus being lost when an export starts. Input focus is restored after cancellation or failure, and completing an export in the background no longer moves focus away from another active window or application.
  • Fixed exports being reported as successful when they contained a mixture of old and new data after another program modified the source during export. Export now stops without replacing the destination if another program has the source open for writing or the source file is replaced.

Localization

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

New features

Microsoft Store Edition only

  • Microsoft Store Edition only: Added text dumps and C array export under File → Export. Export the entire document or a selection, with optional addresses for text dumps. Unsaved edits are included, and output remains left-to-right in RTL interfaces. Large exports run in the background with progress reporting and cancellation.
  • Added ISO 8859-6 and OEM 720 for Arabic, plus Windows-1255, ISO 8859-8, and OEM 862 for Hebrew, bringing the total to 22 encodings. These support text display, search, settings, favorites, and per-file encoding history.

Free and Microsoft Store Editions

  • 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.
3.06

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.

Microsoft Store Edition only

  • Added Windows-1256 for Arabic text display and search. The encoding can also be saved in settings and favorites.

Improvements

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

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.
  • Microsoft Store Edition only: Added Windows-1252 under Western European encodings. Display and search accented Western European letters and symbols such as €, and save the encoding in settings and favorites.
  • 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.
  • Microsoft Store Edition only: Added Settings → Search settings… to choose 1–32 search threads (default: 8). Hexadecimal Next, Previous, Count and Find all in current document now support parallel search for large files. Next and Previous first check nearby matches with one thread. Ranges below 32 MiB use one thread; CPU and chunk counts also limit the actual thread count.
  • 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.
  • Microsoft Store Edition only: Valid search thread counts (1–32) are now saved as you type. Empty or out-of-range input displays guidance and retains the last valid value. Replaced OK and Cancel with Close.
  • 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.

Microsoft Store Edition bookmark capacity

The Store Edition has no count limit for manual bookmarks or search bookmarks. Register more than three matching ranges in one search; the Free Edition allows three manual and search bookmarks in total. Both editions store up to 100,000 search results. Bookmarks use memory in proportion to their count. If memory runs out, bookmark registration stops and preserves bookmarks already registered.
3.04

New Features

Microsoft Store Edition Only

  • Added Undo to here and Redo to here buttons to Edit History. Select a row and press the button to undo or redo multiple edits to the state immediately after that operation. Selecting Starting state returns to the beginning of the retained history.

Available in Both Editions

  • 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 Store Edition has no bookmark count limit (the Free Edition supports up to three). 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.
  • Added status warnings for selections whose deletion or cut exceeds the 16 MiB Undo history budget. Warnings distinguish operations that cannot be undone from removal of older history. History removal is also reported after editing, while the newest records that fit are retained.
  • Clicking a row or using the Up/Down keys only changes the selection. The Details button and Enter still show dump details, and the selected row is retained after moving to a history position.

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 during Undo/Redo.

Display and Edit History

  • Fixed flickering in the editor when toggling read-only mode with Ctrl+R.
  • Fixed editor flicker during the first cut, deletion, or other edit when the edit history window opens automatically.

Distribution Changes

3.03

Improvements

  • Changed Edit History to Operation and Data columns, showing zero-based hexadecimal addresses that match the editor and previews of deleted, inserted, or changed data. Long data is limited to the first 16 bytes in each preview.
  • Select a history entry and use the Details button or Enter to view all data before and after the edit, with addresses, hexadecimal bytes, and ASCII. The two views appear side by side or vertically to fit the window width.
  • Added a right-click editing menu in the hex dump area for Undo/Redo, 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.
  • 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, and undoing all edits afterward could leave the wrong contents marked as unchanged. Edited contents are now fully written to a temporary file before replacing the destination.
  • Fixed the Central European, Cyrillic, and Greek encoding menu labels remaining in English when using a display language other than Japanese or English.
  • Fixed long delays and an unresponsive editor when refreshing the display after deleting a large range in the middle of a file.
  • Improved Undo/Redo performance after deleting large ranges.

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.
3.02

New Features

  • Added Undo (Ctrl+Z) and Redo (Ctrl+Y) for byte changes, insertions, and deletions in the editor.
  • Added an Edit History window showing your edits and the current Undo/Redo position.

Notes

  • Edit history is cleared after saving or switching files. History memory is limited to 16 MiB; older edits are removed when the limit is reached.
  • The Edit History window opens automatically when editing starts. If you close it, it stays hidden until the history is cleared. You can reopen it from the View menu. Clearing the history also hides the window.

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.
3.01

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.
3.00

Notes

  • If you installed an older version, version 2.00 or earlier, using the installer, we recommend uninstalling it beforehand.
    If you do not uninstall it, old shortcuts will remain.
    The settings file will remain in the following location.
    %LOCALAPPDATA%\YuHex\yuhex.settings.json

    To migrate your settings to the Microsoft Store version, first install the Microsoft Store version. Next, make sure the old YuHex is closed, and then copy the file above to the following location.
    %LOCALAPPDATA%\Packages\<PackageFamilyName>\LocalState\yuhex.settings.json

    If you do not want to migrate your settings, manually delete %LOCALAPPDATA%\YuHex\yuhex.settings.json.
    ※ Replace <PackageFamilyName> with the actual package family name.
    Enter %LOCALAPPDATA%\Packages in the address bar of File Explorer, and look for a folder such as YutakaHirata.YuHex_77476kca3sfnw.
    ※ The AppData folder (%LOCALAPPDATA%) is normally hidden, but you can open it by pasting the paths above into the address bar of File Explorer.

Support

  • Initial Microsoft Store Edition release.
  • Based on 2.00.
  • Added Central European encoding Windows-1250.
  • Added Cyrillic encoding Windows-1251.
  • Added Greek encoding Windows-1253.

Improvements

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