Only possible with 124 or higher, only can download "latest" release
124 버전 이상에서만 가능하고, 오직 가장 최근의 정식 릴리즈만 다운로드 가능
There isn't actually difference between downloading through Releases and downloading Mod Browser. I'm just grateful to you for coming all the way here.
Releases를 통해 다운로드하는 방법과 Mod Browser를 다운로드하는 방법은 사실 별 차이가 없습니다. 그냥 여기까지 온 당신에게 감사하다구요.
Go to the releases, the latest release will have a Sharustry.jar
attached to it that you can download. If it does not have it, follow the steps below(recommended) or bother me with a new issue so I can attach the compiled mod.
After you have the Sharustry.jar
, paste it into your mod folder(locate your mod folder in the "open mod folder" of Mindustry).
Releases를 클릭하고, 최신 버전에 달린 Sharustry.jar
를 다운로드하세요. 원하는 버전에 Sharustry.jar
가 첨부되어 있지 않다면, 아래의 과정을 따르거나 새로운 Issue로 .jar
를 달아달라고 저를 괴롭히세요.
Sharustry.jar
를 다운로드 한 후, 모드 디렉토리(민더스트리에서 모드 파일 열기로 확인 가능)에 옮기세요.
Unlike the release, Actions can enjoy the mode of most recent versions that have recently built commitments. But it's very unstable, and there can be bugs.
Actions 는 릴리즈와는 달리 최근 커밋을 빌드한 가장 최신 버전의 모드를 즐기실 수 있습니다. 하지만 매우 불안정적이고, 버그가 있을 수 있습니다.
- Select the "dexed" Artifact (with the box icon), it will download the zip.
- "dexed"이라는 이름의 Artifact(상자 모양 아이콘)을 클릭하면, 압축 파일이 다운로드됩니다.
- Unzip
dexed-Sharustry.zip
to obtaindexed-Sharustry.jar
, then follow the procedure above to import the file. dexed-Sharustry.zip
를 압축해제하여dexed-Sharustry.jar
를 얻은 후, 위의 절차를 따라서 파일을 불러오세요.
- Or paste into your mod folder(locate your mod folder in the "open mod folder" of Mindustry).
- 또는 모드 디렉토리(민더스트리에서 모드 파일 열기로 확인 가능)에 옮기세요.
- Enjoy!
- 끝!
translate/copied from https://github.com/Anuken/ExampleJavaMod/edit/master/README.md. you don't need this for playing this mod. notice if you will make java mod. https://github.com/Anuken/ExampleJavaMod/edit/master/README.md 에서 번역/복사됨. 이 모드를 사용하는데 필요하지 않습니다. 자바 모드를 만들거라면 참고하세요.
JDK 15.
- Install JDK 15. If you don't know how, look it up. If you already have any version of the JDK >= 8, that works as well.
- JDK 15를 설치하세요.
- Run
gradlew jar
[1]. - gradlw jar 를 실행하세요.
- Your mod jar will be in the
build/libs
directory. Only use this version for testing on desktop. It will not work with Android. - To build an Android-compatible version, you need the Android SDK. You can either let Github Actions handle this, or set it up yourself. See steps below.
- 모드 jar파일은 build/libs 에 저장됩니다. PC 버전에서만 사용하십시오. 안드로이드에선 안될 수 있음.
- 안드로이드 호환 버전을 빌드할려면, 안드로이드 SDK가 필요합니다. 깃허브 Actions에서도 이걸 얻을 수 있습니다. 아래 설명을 확인해주세요.
This repository is set up with Github Actions CI to automatically build the mod for you every commit. This requires a Github repository, for obvious reasons. To get a jar file that works for every platform, do the following:
이 레포지토리는 매 커밋마다 자동적으로 빌드하도록 깃헙 Actions CI로 설정되어 있습니다. 이 방법은 당연히 깃허브 레포지토리가 필요합니다. 모든 플렛폼에서 작동하는 jar 파일을 얻기 위해 아래를 따라주세요:
-
Make a Github repository with your mod name or, it's better to bring someone else's template. This method is the most stable, and I recommend it. recommanded template
-
당신의 모드 이름으로 깃허브 레포지토리를 만드세요 또는, 타인의 템플릿을 가져오는게 좋습니다. 이 방법이 가장 안정적이고, 제가 추천하는 방법입니다. 추천 템플릿
1-1. how to use template/템플릿 사용하는 방법
- If "template" is written next to the repository name, the repository means template. Click "Use this template."
- 레포지토리 이름 옆에 "template" 라고 써져 있다면, 그 레포지토리는 템플릿이라는 의미입니다. "Use this template"를 누르세요.
- Write your mode name in "Repository name". If you want to write a description of the mode, write a description in "Description". Too long explanation is not good.
- Mode must be Public. It may not be detected in the in-game mode browser.
- If you want to include all the branches, please check "Include all branches". Usually, you do not need to include all branches.
- "Repository name" 에 당신의 모드 이름을 작성하세요. 만약 모드에 대한 설명을 작성하고 싶으면, "Description"에 설명을 작성하세요. 너무 긴 설명은 좋지 않습니다.
- 모드는 무조건 Public이여야 합니다. 인게임 모드 브라우저에 감지되지 않을 수 있습니다.
- 모든 브랜치를 포함하고 싶다면 "Include all branches"를 채크하세요. 대개 모든 브랜치를 포함할 필요는 없습니다.
- After waiting a moment, your repository will be exactly the same as the template. Under the repository name, the template source is written as "generated from" and This cannot be replaced. If you want to change the template, you must delete the repository and repeat this procedure again.
- 잠시 기다리고 나면, 템플릿과 완벽히 똑같은 당신의 레포지토리가 생깁니다. 레포지토리 이름 밑에 "generated from" 으로 템플릿 출처가 적히며, 이것은 바꿀 수 없습니다. 만약 템플릿을 바꾸고 싶다면, 레포지토리를 삭제하고 이 절차를 다시 반복해야 합니다.
- and upload the contents of this repo to it. Perform any modifications necessary, then commit and push. (you don't need push if you upload on github)
- 그리고 이 레포지토리에 당신의 콘텐츠(관련 파일 모두 다)를 업로드하세요. 필요한 수정 작업을 했다면, 커밋을 하고 푸시하면 됩니다. (깃허브에서 업로드할 경우 푸시할 필요가 없습니다)
- Check the "Actions" tab on your repository page. Select the most recent commit in the list. If it completed successfully, there should be a download link under the "Artifacts" section.
- 당신의 레포지토리 페이지에서 Actions 탭을 들어간 다음, 목록에서 가장 최근의 커밋을 선택해서 들어가세요. 만약 완벽히 성공했다면, 아래 "Artifacts" 부분에 다운로드 링크가 있어야 합니다. (상자모양)
- If this "red icon" appears, it is a failure. Make sure you set it up properly.
- 만약 이렇게 "빨간 아이콘"이 등장할 경우, 실패한 것입니다. 설정을 제대로 했는지 확인하세요.
- In my case, it is an error caused by the failure to apply an annotation. You can check and fix how to apply the annotation library below.
- 제 경우엔, 어노테이션을 적용하지 못하여 일어난 오류입니다. 아래 어노테이션 라이브러리 적용 방법을 확인하고 고치면 됩니다.
2-1. How to apply additional settings and annotation libraries / 추가적인 설정과 어노테이션 라이브러리 적용 방법
-
Simply create a repository with a template, upload the mod file, then the mod will not work with high probability. you should Additional settings in 'mod.json' and 'build.gradle'.
-
템플릿으로 레포지토리를 생성하고, 모드 파일을 업로드하기만 하면 모드는 높은 확률로 작동하지 않을 것입니다.
mod.json
와build.gradle
에서 추가적인 설정을 해야 합니다.- If you have uploaded the ascets file, it means you have changed mod.json, so you don't need to set it.
- 만약 assets 파일까지 업로드 했다면, mod.json을 변경했단 의미이므로 설정할 필요가 없습니다.
-
"main" is the most important thing. Set the value of "main" to "position of the class inheriting Mod" (it doesn't matter if you keep the rest of the format and change it however you want). In my case, I entered
sharustry.core.Main
-
"main" 이 가장 중요합니다. (나머진 형식만 지키고 마음대로 바꿔도 상관없음) "main"의 값을 "Mod 를 상속하는 클래스의 위치"로 설정하세요. 저의 경우에는
Sharustry.core.Main
를 입력합니다. -
If there is no part using the annotation, there is no need to set it.
-
만약 어노테이션을 사용하는 부분이 없다면, 설정할 필요가 없음.
- Build [Annotation build.gradle] (https://github.com/Anuken/Mindustry/blob/master/annotations/build.gradle) to obtain the .jar file (it's okay to import the .jar file in another mod)
- Upload the obtained .jar file to your mod.
- 어노테이션 build.gradle 를 빌드하여 .jar 파일을 얻으세요. (다른 모드의 .jar 파일을 가져와도 무관함)
- 얻은 .jar 파일을 모드에 업로드하세요.
- And if you look at 'dependencies' in 'build.gradle', you'll see 'compileOnly file(). Refer to the photo above and type 'compileOnly files' ('Your Annotation.jar File Location')'.
- 그리고
build.gradle
에서dependencies
부분을 보면 "compileOnly file()" 가 보일 것입니다. 위 사진을 참고하며compileOnly files('당신의 어노테이션 .jar 파일 위치')
를 입력하세요.
- If 'gradle.properties' exists, the value must be changed.
- 만약
gradle.properties
가 있다면, 꼭 값을 바꿔야 합니다.
- If additional modifications have been made and all the problems have been corrected, a .zip file will be generated normally. Now please follow the procedure below.
- 추가적인 수정이 끝났고 문제점을 모두 다 고쳤다면, 정상적으로 .zip파일이 생성됩니다. 이제 아래 절차를 따라주세요.
-
Click the download link (should be the name of your repo). This will download a zipped jar - not the jar file itself [2]! Unzip this file and import the jar contained within in Mindustry. This version should work both on Android and Desktop.
-
그 다운로드 링크를 클릭하세요(당신의 레포지토리 이름이여야 함). 그러면 jar 파일이 아니라 압축된 jar 파일이 다운로드될 것입니다! 그 파일을 압축해제하고 jar파일을 Mindustry에서 불러오세요.
-
[1] On Linux/Mac it's
./gradlew
, but if you're using Linux I assume you know how to run executables properly anyway. -
[1] 리눅스나 멕 OS에서는
./gradlew
입니다. -
[2]: Yes, I know this is stupid. It's a Github UI limitation - while the jar itself is uploaded unzipped, there is currently no way to download it as a single file.
-
[2]: 네, 저도 이게 바보같은걸 압니다. 이건 Github UI 제한입니다. jar 자체는 압축 해제되어 업로드되지만 현재 단일 파일로 다운로드할 수 있는 방법은 없습니다.