Skip to content

Failing to patch a translated menu lsb #106

Open

Description

@ship-j
  • pylivemaker version: 1.0.4
  • Python version: 3.11.4
  • Operating System: Windows

Description

I'm attempting to lmpatch an edited ノベルシステム\■初期化.lsb but, like in this post, when I extract the patched exe it still has the older version of the lsb.

What I Did

I lmlsb edited ノベルシステム\■初期化.lsb to translate menu options in only the システムメニュー項目名 array. I tried editing only the first named menu value ("delete character"?) to "test," which shows when lmlsb dumping the edited lsb. I then lmpatch exe ■初期化.lsb which says:

Generating new archive contents... [####################################] 100% b Writing new archive files... Cleaning up temporary files...

As it would a success, iirc. I then delete my save, as per the note at the end of this post and load up the game. The ingame menu remains untranslated though, and when I extract the exe again and dump the lsb, it reflects none of the changes.

I tried extractmenu which did not detect any of the menu options. I think it might only detect menu options for actual gameplay, and not system menus?

Feeling pretty dull here and not sure what I'm doing wrong. Any help is very much appreciated.

Activity

  1. pmrowla commented on Jul 26, 2023

    @pmrowla
    Owner

    As you noted extractmenu won't work for the system menus, the in-game choice menus use a separate set of commands than the system ones.

    Are you sure that your game's system menu is actually using the text options from ノベルシステム\■初期化.lsb? The system LSB's contain default menus but in a lot of cases the actual game will be using images for the system menu buttons and not the text from the LSB.

  2. ship-j commented on Jul 26, 2023

    @ship-j
    Author
  3. pmrowla commented on Jul 30, 2023

    @pmrowla
    Owner

    It's been a while since I looked into the system menus, but I think what you were doing is correct for when a game is using the text menus.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions