- npm install
- cd functions && npm install
- npm install -g firebase-tools
- firebase login
npm install
npm start
npm run deploy
- Download and replace file manual from: https://drive.google.com/file/d/0B-3hJBoCehBpQVBUYVdxZDVNSms/view?usp=sharing in /batch_jobs/
- replace
: ,
with: 0,
- optional: reformat with prettier
npm run generateData
- in general, with every release new formattings in text are expected , those should be handled in the job* file to replace properly.
- also there might be new abilities added, which needs to be defined in abilities-config.js
- see
update images from game
- update version in src/version.js export const CURRENT_GAME_VERSION = "1.25";
- src/page/elo/elo-detail.js find line 132 and adjust [FILTER_CURRENT_SEASON] [FILTER_PREVIOUS_SEASON]
- adjust by try and error const DATE_TO_ALIGN_CYCLE for correct conquest circle by increasing only some hours or some days (by running app local). dont try to give correct date in the future
- test changes on run app by
npm start
npm run deploy
- https://github.com/Perfare/AssetStudio
- Load folder
- C:\Program Files (x86)\Steam\steamapps\common\Minion Masters\MinionMasters_Data\StreamingAssets\aa\StandaloneWind
- sort by asset type
-
download one of ( they dont work on mm different versions from time to time):
- or https://github.com/SeriousCache/UABE/releases -> requires to rename files after in powershell
Get-Item .\*.* | ForEach-Object { Rename-Item $_ ($_.Name -replace "(\.jpg.*).png", ".png") }
- https://github.com/SeriousCache/UABE/releases/download/2.2stabled/AssetsBundleExtractor_2.2stabled_64bit.zip
- https://github.com/Perfare/AssetStudio -https://github.com/DerPopo/UABE/releases/tag/2.2stabled-
- or https://github.com/SeriousCache/UABE/releases -> requires to rename files after in powershell
-
open AssetStudioGUI.exe
-
Click in menu on "Open". Select folder C:\Program Files (x86)\Steam\steamapps\common\Minion Masters\MinionMasters_Data\StreamingAssets\AssetBundles\gui\
-
Select "cards highres"
-
Data are loaded. Go to Asset List tab. Sort by type
-
export Texture2d files as png
-
create some new folder again e.g. in your user downloads folder "imgs" and select it to be exported into
-
copy images to the folder in batch_jobs/images_highres_from_game/img
-
say "override all" to get updated images
-
run 'npm run compressImages' and test app if all images are correct. commit all original and compressed new images to git
-
delete old folder you created
https://github.com/Cadrach/mm-builder
- previous there was jobCardTemplate.js to parse text from wiki
%appdata%..\LocalLow\BetaDwarf ApS\Minion Masters
TeamWon. Team: 0 Matchmade: None Online Game: False I won: True
cd functions gsutil cors set cors.json gs://minionmastersmanager.appspot.com