Update Information (改檔編輯器更新資訊)

Updates

Updates 更新日誌

LF2R-IDE 改檔編輯器的版本更新記錄 Version history of the LF2R-IDE mod editor.

2026-05-03 v2.2.0

  • NEW 新增「Stage Editor 闖關編輯器 Added Stage Editor.
    • 專為 _stage.txt 設計的編輯器:左側樹狀列出所有 <stage> / <phase> / spawn,中間程式碼編輯,右側面板快速調整屬性,最下方視覺化關卡地圖 Dedicated editor for _stage.txt: left-side tree of <stage> / <phase> / spawn, code editor in the middle, right-side panel for quick attribute editing, and a visual stage map below.
    • 關卡地圖以人物頭像顯示每個 spawn,並用顏色徽章標註 times(右上黃)、reserve(右下粉)與重複行壓縮(左下青) Stage map shows each spawn as a character portrait with badges: times (top-right yellow), reserve (bottom-right pink), duplicate-row collapse (bottom-left cyan).
    • 程式碼游標位置與地圖標記雙向連動:點程式碼跳到對應標記、點標記跳到對應程式碼 Two-way sync between cursor and map: clicking code highlights the matching marker, clicking a marker jumps to the corresponding line.
    • Insert 模板(<stage> / <phase> / spawn)、Format(重新縮排)、內建搜尋/取代、Undo / Redo、Save / Save As Insert templates (<stage> / <phase> / spawn), Format (reindent), built-in find / replace, Undo / Redo, Save / Save As.
  • NEW 新增「BG Editor 背景編輯器 Added BG Editor.
    • 針對 _res_bg/ 場景背景檔案的視覺化編輯器:載入整個背景資料夾、列出所有場景,逐一編輯 Visual editor for _res_bg/ stage backgrounds: loads the whole bg folder, lists every stage for editing.
    • 多圖層編輯:拖曳移動、圖層往前/往後移(決定誰在前面誰被擋住)、複製、刪除、匯入 PNG 新增圖層 Multi-layer editing: drag to move, send layer forward / backward (controls which layer covers which), duplicate, delete, import PNG to add a layer.
    • Walk 走動模式:用方向鍵或 WASD 走動模擬遊戲中的視差捲動,邊看邊調 layer 參數 Walk mode: use arrow keys or WASD to walk and feel the in-game parallax while tweaking layer params.
    • 鏡頭移動模式:用拖曳滑桿手動控制鏡頭 X 軸位置(0 → stage width-800),可精準對位視差參數 Camera scrub mode: drag a slider to manually move the camera along the X axis (0 → stage width-800) for precise parallax tuning.
    • 動畫播放:cc / c1 / c2 三色循環預覽(按 Space 播放/暫停),可調 FPS 等播放設定 Animation playback: cc / c1 / c2 three-color cycle preview (Space to toggle play / pause); FPS and other playback settings adjustable.
    • 右側面板即時編輯圖層屬性,支援 Auto-apply、Save / Save As、Undo / Redo Right panel for live layer-attribute editing; supports Auto-apply, Save / Save As, Undo / Redo.

2026-04-30 v2.1.0

  • NEW 程式碼編輯框內建搜尋/取代 Built-in find / replace inside the code editor.
    • Ctrl+F 開啟搜尋、Ctrl+H 切換取代列;支援大小寫敏感(Aa)與正則表達式(.*)兩種切換 Ctrl+F opens search, Ctrl+H toggles the replace row; supports case-sensitive (Aa) and regex (.*) toggles.
    • Enter / Shift+Enter 或 ▼/▲ 切換上下個 match,當前項目以亮黃色於編輯器內高亮 Enter / Shift+Enter or ▼ / ▲ to navigate matches; current match highlighted in bright yellow inside the editor.
    • 取代當前 / 全部取代、即時 match 計數(n / total)、內建語法說明面板 Replace current / Replace all, live match counter (n / total), and a built-in syntax help panel.
  • NEW 🔗 招式連鎖 Move Chain 🔗 Move Chain explorer.
    • 獨立分析視窗:自動把人物所有可能的招式以「按鍵組合 ➡️ 招式名 [幀號]」列出,依 seed 類型分組為「站立 / 跑步 / 防禦 / 抓投」出招四區 A standalone analyser: lists every possible move as "Buttons ➡️ Skill name [frame]", grouped by seed type into Standing / Running / Defending / Catching.
    • 會把每招中途接的 hit_* 連按全部串成一條完整路徑,例如 DJA + DJA + A + J + J + A ➡️ eternal;相鄰同鍵自動壓成 A × N Chains every mid-move hit_* follow-up into a single sequence, e.g. DJA + DJA + A + J + J + A ➡️ eternal; adjacent identical buttons collapse to A × N.
    • 招式播完 next 回到站立等基本幀時視為連鎖結束;最多串 8 段按鍵、每段最多追 30 幀。完全相同的組合只保留一筆,並把已包含於更長組合中的短前綴剔除(例如已有 A + A + A 就不再列出 A + AA combo ends when next returns to a basic frame (standing, running…). Up to 8 button segments per combo, up to 30 frames per segment. Identical sequences are deduplicated, and any short combo that's already a prefix of a longer one is dropped (e.g. A + A is hidden when A + A + A exists).
    • 詳細步驟 Details:每一步顯示(來源幀)按鍵 ➡️ 目標幀 "名稱" [state / wait / mp] Details mode: each step shows (source frame)Button ➡️ target "name" [state / wait / mp].
    • 跨檔 ref:標註 catchingact / caughtact / tactionopointoid + actionweaponact 等跨幀/跨檔引用 Cross-file refs: annotates catchingact / caughtact / taction, opoint with oid + action, and weaponact.
  • FIX 修正編輯器輸入卡頓 Fixed editor input lag.
    • 語法高亮層 #editor-highlight 採用 content-visibility: auto + contain: strict 進行虛擬化,大檔案輸入更流暢 The syntax-highlight layer #editor-highlight now uses content-visibility: auto + contain: strict for virtualization, giving smoother typing on large files.
  • FIX 修正游標選取行數偏移 Fixed cursor selection line offset.

2026-04-20 v2.0.0

  • NEW 武器/道具完整編輯模式 Full weapon / item editing mode.
    • 插入標籤介面新增「武器·道具」分頁,支援武器專屬 Frame Basic / Position / Other 區段 Added a "Weapon / Item" tab in the Insert-tag interface with weapon-only Frame Basic / Position / Other sections.
    • 內建 Weapon Frame 幀數分配參考表(輕型/重型 0–399)與 WEAPON_FRAME_NAMES 建議值(in_the_skyon_handthrowingon_ground…) Built-in Weapon Frame distribution reference table (light / heavy 0–399) and WEAPON_FRAME_NAMES suggestions (in_the_sky, on_hand, throwing, on_ground…).
    • 武器 state 完整選項(輕型 1000–1004、重型 2000/2001/2002/2004) Full weapon state options (light 1000–1004, heavy 2000/2001/2002/2004).
    • 右側面板 weapon 模式:顯示 Weapon Params(weapon_hpweapon_drop_hurt、各類音效),自動隱藏 hit_*,header 改為「Weapon Other」(目前無項目) Right panel in weapon mode: shows Weapon Params (weapon_hp, weapon_drop_hurt, sounds), hides hit_* fields, and changes header to "Weapon Other" (currently empty).
    • itr kind 5 = 武器攻擊判定(對應 <wsl>)wpoint kind 2 = 武器握把 itr kind 5 = weapon attack hitbox (maps to <wsl>); wpoint kind 2 = weapon grip.
  • NEW <wsl> 武器強度表編輯 <wsl> Weapon Strength List editor.
    • 專屬 Insert 模板,支援多區塊、多 entry 新增/刪除 Dedicated Insert template supporting multiple blocks and multi-entry add / remove.
    • 工具列新增 <wsl> 按鈕(僅於 <bmp> 範圍內啟用) Toolbar gains a <wsl> button (enabled only inside <bmp>).
    • 解析器支援多個獨立 <wsl> 區塊;套用時以位置 replace + 補缺,並保留使用者新增的額外欄位(zwidthdvz…) Parser handles multiple independent <wsl> blocks; apply uses positional replace + fill-in, and preserves user-added extra keys (zwidth, dvz…).
    • 完整性檢查:缺 entry 1/2/3/4 或 state 名不符 normal/jump/run/dash 時顯示警告 Integrity check: warns when entry 1/2/3/4 is missing, or when a state name doesn't match normal/jump/run/dash.
  • NEW 左側 Files 分頁大改版 Left-side Files tab overhaul.
    • 搜尋欄、類型標籤(Char / Ball / Weap / Spec)、主排序(data.txt 順序 / 類型+名稱 / 依所屬角色)與次要排序 Search box, type chips (Char / Ball / Weap / Spec), primary sort (data.txt order / Type + Name / By owner) and secondary sort.
    • 每筆檔案顯示角色頭像縮圖(自動從 head sys/ 裁切)、ID、備註(#comment)與類型標籤 Each entry shows a character head thumbnail (auto-cropped from head sys/), ID, comment (#comment) and type label.
    • 被以 opoint oid 引用的其他檔案加上 ⚡ 標記 Other files referenced via opoint oid are marked with ⚡.
    • 篩選/排序狀態以 localStorage 記憶;鍵盤 ↑/↓ 走實際渲染項目並自動捲動 Filter / sort state persisted in localStorage; keyboard ↑ / ↓ walks the rendered list and auto-scrolls.
  • IMPROVE 右側面板下拉改為可輸入建議清單 Right-panel dropdowns replaced with editable suggestion lists.
    • 所有 <select> 改為 input + datalist:可自由輸入,並於空白時提供建議值 All <select> elements replaced with input + datalist: free-text input, with suggestions shown when empty.
    • prop-state 附常用 state 提示(0 / 1 / 2 / 15 / 18 / 301…) prop-state suggests common values (0 / 1 / 2 / 15 / 18 / 301…).
    • 套用變更時保留 def 未宣告的欄位,避免自行新增內容被直接移除 Apply-changes preserves fields not declared in the def, so user-added content is not removed.
  • IMPROVE 全面雙語化 Full bilingual interface.
    • Insert 介面幾乎所有欄位提示改為「中文 · English」雙行顯示 Almost every Insert-interface field hint is now shown as "Chinese · English" on two lines.
    • state / kind 選項雙語化(例如 0 - 站立 stand1 - 無敵 Invinciblestate / kind options now bilingual (e.g. 0 - 站立 stand, 1 - 無敵 Invincible).
    • 右側面板 label tooltip 合併中英文(換行分隔),hit_Fa 等欄位改為 hit_Fa(D→A) 等具體寫法 Right-panel label tooltips merge Chinese + English on separate lines; fields like hit_Fa renamed to more explicit forms such as hit_Fa(D→A).
  • NEW Pic Picker 預覽模式 Pic Picker preview mode.
    • <bmp> 區段標題新增 🖼️ 按鈕,可預覽 file() 引用的全部圖片並複製 pic 編號而不套用 Added a 🖼️ button to the <bmp> section header: preview all images referenced by file() and copy a pic number without applying it.

2026-04-18

  • NEW 新增「LF2R-IDE 功能總覽」頁面 Added the "LF2R-IDE Features" page.
  • NEW 功能總覽加入「推薦開啟路徑」說明,含資料夾結構與 _data.txt 撰寫範例 Added a "Recommended Folder to Open" guide on the Features page, including folder layout and a sample _data.txt.

2026-04-17

  • NEW 新增「更新日誌」頁面 Added the "Updates" page.

2026-04-16 v1.0.0

  • NEW 初版完成,支援角色和氣功/投射物的編輯 Initial release. Supports editing of characters and energy / projectile objects.
道具/武器、背景、闖關等格式尚未正式支援(應該還是可以編輯)。 Items / weapons, backgrounds and stage formats are not officially supported yet (but should still be editable).
© LF2R-IDE iamtie34