Peter Rowlands (변기호)
Peter Rowlands (변기호)
@Stefan311 have you tried using lmgraph? you can at least see how the lsb scripts call each other already
`lmgraph` now has two separate sub-commands for generating graphviz DOT syntax graphs * `lmgraph game` works the same as old `lmgraph`. you pass it `ゲームメイン.lsb` and it generates a DOT...
Changing the locale isn't really supported, as the LM engine is hard coded to only work with CP932. It is technically possible to get some alternate encodings to work, but...
It should be possible to do without editing construct. The reason it will error out when you try to translate menus (without the edited `construct/core.py`) is because menu strings are...
Hmm, it might be that construct union doesnt work properly with pascalstring, and that to get it to work you'd need to read the length field and then union byte...
Yes, this is a known limitation of the text block/csv method. If you need support for style/text speed/link/etc tags in a text block you basically have to use the .lns...
but we should probably have 1. output warning message (w/block ID) on insert if we try to insert a block that uses style tags 2. have an option to skip...
this would also work for any arbitrary menu, so you could use things like cg-mode selection menus, in-route choices, etc as long as the menu has associated text to use...
you can already manually rename labels in the API. https://github.com/pmrowla/pylivemaker/blob/de491e94bc9e5c47f3884cb739c0fed05ab79bf4/livemaker/lsb/command.py#L445 when iterating through the commands in an LSB, if you edit the `Name` field for a Label command and save...
as far as the lookup api goes, I actually already started doing it as a part of moving the menu stuff into the core api (since the destination for a...