You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'd like to translate the name of enemy attacks in the game, but the game also uses those strings to find the images that go with the attacks. As a simplification, imagine there's a variable X equal to a string I've translated to "Sword Slash"; then the game will nicely display the text "Enemy used Sword Slash!" but it will look for Sword Slash.gal as the image that goes with it, instead of the original Japanese name of the image.
What I Did
I can rename the images or create new ones with my new names, but of course they don't get inserted into the archive when I patch the game. Is there a way to add new images to the archive? Or rename images within the archive?
The text was updated successfully, but these errors were encountered:
It's technically possible to do using the underlying pylm livemaker.archive module using the write() function (this will require writing your own python script). But this is not currently supported in lmpatch because the LM archive contains some fields for each file where I do not know what they actually do. lmpatch only supports replacing an existing file (with no rename) since we can preserve the old fields in the patched archive. (I don't know what those fields are because it was not necessary to reverse engineer them to get patching existing files working)
If you write your own python script or modify lmpatch to insert new files with write(), those fields will be filled with zeroed bytes instead of the "correct" value that the LM engine expects. This may or may not matter depending on your particular game and LM engine version (meaning there's no guarantee that the patched exe would actually work properly)
*pylivemaker version: 1.0.4
*Python version: 3.10.6
*Operating System: Windows
*LiveMaker game: トライアド・リリーティア
Description
I'd like to translate the name of enemy attacks in the game, but the game also uses those strings to find the images that go with the attacks. As a simplification, imagine there's a variable X equal to a string I've translated to "Sword Slash"; then the game will nicely display the text "Enemy used Sword Slash!" but it will look for Sword Slash.gal as the image that goes with it, instead of the original Japanese name of the image.
What I Did
I can rename the images or create new ones with my new names, but of course they don't get inserted into the archive when I patch the game. Is there a way to add new images to the archive? Or rename images within the archive?
The text was updated successfully, but these errors were encountered: