1
mirror of https://github.com/thepeacockproject/Peacock synced 2025-02-23 03:35:25 +01:00
Peacock/resources/rebuildLocale.cmd

20 lines
1.3 KiB
Batchfile
Raw Normal View History

REM Global
set c=resources\rpkg-cli.exe
%c% -output_path resources -extract_locr_to_json_from resources
REM H2
copy resources\locale_h2.json resources\dynamic_resources_h2\LOCR\00962CB9FEA57C86.LOCR.JSON
copy resources\LOCR\dynamic_resources_h2.rpkg\00962CB9FEA57C86.LOCR.JSON.meta resources\dynamic_resources_h2\LOCR\00962CB9FEA57C86.LOCR.JSON.meta
%c% -output_path resources/dynamic_resources_h2/LOCR -rebuild_locr_from_json_from resources/dynamic_resources_h2/LOCR
copy resources\dynamic_resources_h2\LOCR\LOCR.rebuilt\00962CB9FEA57C86.LOCR resources\dynamic_resources_h2\LOCR\00962CB9FEA57C86.LOCR
rd /S /Q resources\dynamic_resources_h2\LOCR\LOCR.rebuilt
%c% -output_path resources -generate_rpkg_from resources/dynamic_resources_h2
REM H3
copy resources\locale_h3.json resources\dynamic_resources_h3\LOCR\00962CB9FEA57C86.LOCR.JSON
copy resources\LOCR\dynamic_resources_h3.rpkg\00962CB9FEA57C86.LOCR.JSON.meta resources\dynamic_resources_h3\LOCR\00962CB9FEA57C86.LOCR.JSON.meta
%c% -output_path resources/dynamic_resources_h3/LOCR -rebuild_locr_from_json_from resources/dynamic_resources_h3/LOCR
copy resources\dynamic_resources_h3\LOCR\LOCR.rebuilt\00962CB9FEA57C86.LOCR resources\dynamic_resources_h3\LOCR\00962CB9FEA57C86.LOCR
rd /S /Q resources\dynamic_resources_h3\LOCR\LOCR.rebuilt
%c% -output_path resources -generate_rpkg_from resources/dynamic_resources_h3