1
mirror of https://github.com/thepeacockproject/Peacock synced 2024-11-22 22:12:45 +01:00
Peacock/resources/rebuildLocale.cmd
Reece Dunham 6245e91624 Initial commit
Co-authored-by: Tino Roivanen <tino.roivanen98@gmail.com>
Co-authored-by: Govert de Gans <grappigegovert@hotmail.com>
Co-authored-by: Gray Olson <gray@grayolson.com>
Co-authored-by: Alexandre Sanchez <alex73630@gmail.com>
Co-authored-by: Anthony Fuller <24512050+anthonyfuller@users.noreply.github.com>
Co-authored-by: atampy25 <24306974+atampy25@users.noreply.github.com>
Co-authored-by: David <davidstulemeijer@gmail.com>
Co-authored-by: c0derMo <c0dermo@users.noreply.github.com>
Co-authored-by: Jeevat Singh <jeevatt.singh@gmail.com>
Signed-off-by: Reece Dunham <me@rdil.rocks>
2022-10-19 21:33:45 -04:00

20 lines
1.3 KiB
Batchfile

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