Commit 9b645973 authored by nanahira's avatar nanahira

Update mse.bat, imggen.bat, .gitlab-ci.yml files

parent fc8f6da4
Pipeline #39577 failed with stages
in 9 minutes and 3 seconds
......@@ -56,11 +56,7 @@ en_US_mseset:
extends: .gen
tags:
- image
script:
- git clone --depth=1 https://code.moenext.com/mycard/magicseteditor -b win32
- mkdir ygopro-images-raw
- mkdir "%APPDATA%\Magic Set Editor"
- bash -c 'ls -1 mse-sets/data*-$locale.mse-set | xargs -I {} -P 4 magicseteditor/mse.com --export {} "ygopro-images-raw/{card.gamecode}.png"'
script: cmd /C mse.bat
en_US_mse:
extends: .mse
......@@ -74,16 +70,7 @@ zh_CN_imggen:
stage: generate
tags:
- imggen
script:
- curl -L --ssl-no-revoke -o ImgGen.7z https://cdn02.moecube.com:444/ImgGen/ImgGen.7z
- curl -L --ssl-no-revoke -o ImgGen-Fonts.7z https://cdn02.moecube.com:444/ImgGen/ImgGen-Fonts.7z
- 7z x -y ImgGen.7z
- 7z x -y ImgGen-Fonts.7z
- ren arts pico
- curl -L --ssl-no-revoke -o cards.cdb https://code.moenext.com/mycard/ygopro-database/-/raw/master/locales/%locale%/cards.cdb
- ImgGen.exe cards.cdb
- ren picn ygopro-images-raw
- echo {} > records.json
script: cmd /C imggen.bat
variables:
locale: zh-CN
......
@echo off
curl -L --ssl-no-revoke -o ImgGen.7z https://cdn02.moecube.com:444/ImgGen/ImgGen.7z
curl -L --ssl-no-revoke -o ImgGen-Fonts.7z https://cdn02.moecube.com:444/ImgGen/ImgGen-Fonts.7z
7z x -y ImgGen.7z
7z x -y ImgGen-Fonts.7z
ren arts pico
curl -L --ssl-no-revoke -o cards.cdb https://code.moenext.com/mycard/ygopro-database/-/raw/master/locales/%locale%/cards.cdb
ImgGen.exe cards.cdb
ren picn ygopro-images-raw
echo {} > records.json
@echo off
git clone --depth=1 https://code.moenext.com/mycard/magicseteditor -b win32
mkdir ygopro-images-raw
mkdir "%APPDATA%\Magic Set Editor"
bash -c 'ls -1 mse-sets/data*-$locale.mse-set | xargs -I {} -P 4 magicseteditor/mse.com --export {} "ygopro-images-raw/{card.gamecode}.png"'
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment