Peter Rowlands (변기호)

Results 230 comments of Peter Rowlands (변기호)
trafficstars

we probably also need to include codepage in the upper 16-bits of LSB version, since we should also support custom codepages for non-tpword strings (i.e. menus, string literals in calc,...

According to what you put in #10 ``` {STOPMOVIE} {CHANGECG "動画" "グラフィック\動画\みらい2\余韻.gal" "REPEAT" "1" "1000" "0" "0" "" "1"} ... ``` this is a novelscript (lns) event and not an...

As far as inline script editing goes, it's certainly possible to do with the pylivemaker API, but I think that's a bit beyond the scope of the lmlsb edit CLI...

It should be doable, I'll take a look into it whenever I get a chance

StringToArray support added in 8d1bfa97dbe89b5ad094e952ee4a0cd26f580446 ``` py:pylivemaker ❯ lmlsb edit ノベルシステム/■初期化.lsb 65 ⏎ 65: Calc StringToArray("文字を消す,シナリオ回想,読んだ文章を飛ばす,自動テキスト送り,セーブ,ロード,オプション,読んだ文章を自動的に飛ばす,テキスト速度...,自動テキスト送り時間設定...,フォント選択. ..,サウンドを再生する,音量調節...,BGM,効果音,セリフ,フルスクリーン,ゲーム終了,タイトル画面に戻る,終了", システムメニュー項目名, ",") Editing Calc expression StringToArray("文字を消す,シナリオ回想,読んだ文章を飛ばす,自動テキスト送り,セーブ,ロード,オプション,読んだ文章を自動的に飛ばす,テキスト速度...,自動テキスト送り時間設定...,フォント選択...,サウ ンドを再生する,音量調節...,BGM,効果音,セリフ,フルスクリーン,ゲーム終了,タイトル画面に戻る,終了", システムメニュー項目名, ",") Array variable [システムメニュー項目名]: Array...

@KimchiTea looks like I broke that, should be fixed now with the latest commit (0bf308c5adff5ef57e8612e1850df6009d4c41d9)

`@Title` is a a read-only system var, I think it's the actual window/application name set in the .exe, it's not set anywhere in LSB files. basically everything in https://pylivemaker.readthedocs.io/en/latest/livenovel/basic.html?highlight=%40title#system-variables comes...

I think it should be possible to hexedit the string in the exe, I can take a look at the agls exe in ghidra, but automating it for any game...

@H0R1Z0N to translate the top left context menu, you have to hexedit bytes from the actual exe: ``` offset contents 0x1A2D00: 0x04 (4-byte int) 0x1A2D04: 終了 (cp932 str, 8-bytes max...

This is not something that I'm currently planning on working on, but if someone wants to actually make a full AGLS patch (since that was what irl was originally for)...