Microsoft Store版

3.05
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.05
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.