Модификации:Установка SMAPI на Android: различия между версиями

Материал из Stardew Valley Wiki
Перейти к навигации Перейти к поиску
(use header template)
(update page, push most of a translation caught in the new user external links filter)
Строка 3: Строка 3:
 
{{Переведите}}
 
{{Переведите}}
  
This page explains how to install SMAPI (the tool which lets you use mods) on Android. See also:
+
Данная статья поможет в установке SMAPI (Приложение для установки модов) на Android.
* [[Modding:Installing SMAPI on Linux|Instructions for Linux]]
+
 
* [[Modding:Installing SMAPI on Mac|Instructions for Mac]]
+
Смотреть так же: [[Modding:Installing SMAPI on Linux|Linux]] [[Modding:Installing SMAPI on Mac|macOS]] • [[Modding:Installing SMAPI on Steam Deck|Steam Deck]] [[Модификации:Установка SMAPI на Windows|Windows]].
* [[Модификации:Установка SMAPI на Windows|Инструкции для Windows]]
 
  
 
__TOC__
 
__TOC__
  
==Install==
+
==Установка==
# Download the {{github|ZaneYork/SMAPI-Android-Installer/releases|latest installer APK file}} (the file under "Assets" that ends with <samp>.apk</samp>).
+
<div style="border: 1px solid #C00; border-left: 1em solid #C00; padding: 0.5em 1em; border-radius: 5px;">
# [https://www.greenbot.com/article/2452614/how-to-sideload-an-app-onto-your-android-phone-or-tablet.html Install the APK on your phone].
+
'''SMAPI on Android isn't updated for Stardew Valley 1.5.6 yet. Mods won't work until it's updated.'''<br />
# Run the new app to install SMAPI. This may take a while depending on your device (''e.g.,'' 21s on a Samsung Galaxy S10, and 1 minute 13s on a Samsung Galaxy S6).
+
You can watch {{github|ZaneYork/SMAPI-Android-Installer/issues/246|this tracking ticket}} to see the latest status. (Please don't post comments like "please update" or "how is this going" to avoid spamming watchers; a message will be posted there when it's ready.)
# When it's done, you can safely uninstall the installer app.
+
</div>
 +
 
 +
# Скачивайте {{github|ZaneYork/SMAPI-Android-Installer/releases|Последнюю версию APK файла}} (Файл находится под "Assets" с окончанием <samp>.apk</samp>).
 +
# [https://www.greenbot.com/article/2452614/how-to-sideload-an-app-onto-your-android-phone-or-tablet.html Устанавливаете APK на ваш телефон].
 +
# Запускайте установленный SMAPI. Это может занять некоторое время в зависимости от вашего устройства (21с на Samsung Galaxy S10, и 1 минута 13с на Samsung Galaxy S6).
 +
# Когда вы закончили, вы можете спокойно удалять приложение с вашего устройства.
  
That's it! Just launch the game to play with mods.
+
Всё! Просто запускайте игру с модами.
  
==Update==
+
==Дополнение==
Just follow the [[#Install|install steps]] again; the installer will automatically clean up previous versions.
+
Просто следуйте [[#Установка|шаги установки]] опять; Для корректной установки на новые версии.
  
==Uninstall==
+
==Удаление==
# Uninstall the SMAPI Stardew Valley app.
+
# Удаление SMAPI Stardew Valley app.
# Uninstall the SMAPI installer.
+
# Удаление установщика SMAPI.
# Manually delete the <samp>smapi-internal</samp> folder from the <samp>StardewValley</samp> game folder.
+
# Ручное удаление <samp>smapi-internal</samp> папки из <samp>StardewValley</samp> игровой папки.
  
 
==FAQs==
 
==FAQs==
===How do I add and use mods?===
+
===Как мне добавлять моды?===
Once SMAPI is installed, install mods by unzipping them into the newly-created <samp>StardewValley/Mods</samp> folder. To launch the game with mod support, just run the SMAPI Stardew Valley icon or tap the floating action button in the installer app.
+
После установки SMAPI установите моды, разархивировав их в только что созданную папку <samp>StardewValley/Mods</samp>. Чтобы запустить игру с поддержкой модов, просто запустите значок SMAPI Stardew Valley или коснитесь кнопки запуска в приложении-установщике.
  
===Why is there a separate SMAPI for Android?===
+
===Почему для Android существует отдельный SMAPI?===
The Android version of the game is very custom compared to other platforms, so the official version of SMAPI isn't compatible. There's a [[wikipedia:Porting|port]] of SMAPI to Android developed by MartyrPher and later ZaneYork (see {{github|ZaneYork/SMAPI|main source code}} and {{github|ZaneYork/SMAPI-Android-Installer|installer source code}}). It supports most SMAPI mods and content packs (including framework mods like Content Patcher, Farm Type Manager, Json Assets, and PyTK), but some mods may not be compatible.
+
Версия игры для Android очень специфична по сравнению с другими платформами, поэтому официальная версия SMAPI несовместима. [[wikipedia:Porting|port]] для SMAPI для андроида создавалась MartyrPher и после ZaneYork (посмотреть {{github|ZaneYork/SMAPI|исходный код}} и {{github|ZaneYork/SMAPI-Android-Installer|код установщика}}). Он поддерживает большинство модов и пакетов содержимого SMAPI (включая фреймворки, такие как Content Patcher, Farm Type Manager, Json Assets и PyTK), но некоторые моды могут быть несовместимы.
  
===How do I use mods that need Stardew Valley 1.5?===
+
===Как использовать моды, в которых нужна версия Stardew Valley 1.5?===
Stardew Valley 1.5 isn't released on Android yet, so you'll need older versions of many mods. Here's how to find a compatible version for most mods:
+
Stardew Valley 1.5 еще не вышла на Android(уже вышла), поэтому вам понадобятся более старые версии многих модов. Вот как найти совместимую версию для большинства модов:
  
# Try the latest version and see if it works. If not, continue with the next steps.
+
<ol>
# From the Nexus mod page, click the ''Files'' tab to find all available versions.
+
<li>Try the latest version.</li>
# Check under "Main Files" and "Optional Files" for one which says it's for Android. If there's none, continue with the next steps.
+
<li>From the Nexus mod page, click the ''Files'' tab to find all available versions.</li>
# Next to "Old Files" (if present), change the sort to "Date Uploaded" and "Desc".
+
<li>Check under "Main Files" and "Optional Files":
# Find the latest file which...
+
# Try the latest file which...
 +
#* says it's for Android;
 +
#* ''or'' says it's for Stardew Valley 1.4;
 +
#* ''or'' says it's for SMAPI 3.7.6 or earlier;
 +
#* ''or'' was uploaded before 21 December 2020.
 +
</li>
 +
<li>Check under "Old Files" (if present):
 +
# Change the sort to "Date Uploaded" and "Desc".
 +
# Try the latest file which...
 
#* says it's for Stardew Valley 1.4;
 
#* says it's for Stardew Valley 1.4;
 
#* ''or'' says it's for SMAPI 3.7.6 or earlier;
 
#* ''or'' says it's for SMAPI 3.7.6 or earlier;
#* ''or'' was uploaded before 21 November 2020.
+
#* ''or'' was uploaded before 21 December 2020.
# If you didn't find a matching file, try checking the mod comments or posting a new comment.
+
</li>
 +
<li>Check the archived files (if any):
 +
<ol>
 +
<li>If there's a "File Archive" button at the bottom of the page, click it.</li>
 +
<li>Try the latest file which matches the previous step. You can run this script in [https://webmasters.stackexchange.com/q/8525 your JavaScript console] to add download links:
 +
 
 +
{{collapse|&#32;script to add download links|content=<syntaxhighlight lang="js">
 +
(function() {
 +
    const gameId = $("#section").attr("data-game-id");
 +
    const downloadElements = $("#file-container-archived-files [data-id]");
 +
 
 +
    for (let element of downloadElements) {
 +
        element = $(element);
 +
        const description = element.find(".files-description");
 +
        const fileId = element.attr("data-id");
 +
 
 +
        const html = `
 +
            <div class="tabbed-block">
 +
                <ul class="accordion-downloads clearfix">
 +
                    <li>
 +
                        <a class="btn inline-flex popup-btn-ajax" href="/Core/Libs/Common/Widgets/DownloadPopUp?id=${fileId}&nmm=1&game_id=${gameId}">
 +
                            <svg title="" class="icon icon-nmm">
 +
                                <use xlink:href="https://www.nexusmods.com/assets/images/icons/icons.svg#icon-nmm"></use>
 +
                            </svg>
 +
                            <span class="flex-label">Mod manager download</span>
 +
                        </a>
 +
                    </li>
 +
                    <li>
 +
                    </li>
 +
                    <li>
 +
                        <a class="btn inline-flex popup-btn-ajax" href="/Core/Libs/Common/Widgets/DownloadPopUp?id=${fileId}&game_id=${gameId}">
 +
                            <svg title="" class="icon icon-manual">
 +
                                <use xlink:href="https://www.nexusmods.com/assets/images/icons/icons.svg#icon-manual"></use>
 +
                            </svg>
 +
                            <span class="flex-label">Manual download</span>
 +
                        </a>
 +
                    </li>
 +
                </ul>
 +
            </div>
 +
        `;
 +
 
 +
        $(html).insertAfter(description);
 +
    }
 +
})();
 +
</syntaxhighlight>}}
 +
 
 +
'''Note:''' downloading archived mod versions is at your own risk, and mod authors often won't provide support for them.</li>
 +
</ol>
 +
</li>
 +
<li>If you didn't find a matching file, try checking the mod comments or posting a new comment.</li>
 +
</ol>
  
 
{{Modding guide footer
 
{{Modding guide footer
   |prev = [[Модификации:Руководство по использованию модификаций/Введение|Getting Started]]
+
   |prev = [[Модификации:Руководство по использованию модификаций/Введение|Введение]]
 
   |next =  
 
   |next =  
 
}}
 
}}
  
[[Category:Modding]]
+
[[Category:Модификации]]
  
 
[[en:Modding:Installing SMAPI on Android]]
 
[[en:Modding:Installing SMAPI on Android]]
 
[[es:Modding:Instalar SMAPI en Android]]
 
[[es:Modding:Instalar SMAPI en Android]]
 
[[zh:模组:在Android上安装SMAPI]]
 
[[zh:模组:在Android上安装SMAPI]]

Версия 19:25, 5 февраля 2023

Robin building.png
“Предстоит ещё много работы...”
— Робин

Неполный перевод

Эта статья или её часть до сих пор не переведены на русский язык. Вы можете оказать помощь в переводе путем ее редактирования.
Последний раз редактировалось Margotbean в 2023-02-05 19:25:42.

Данная статья поможет в установке SMAPI (Приложение для установки модов) на Android.

Смотреть так же: LinuxmacOSSteam DeckWindows.

Установка

SMAPI on Android isn't updated for Stardew Valley 1.5.6 yet. Mods won't work until it's updated.
You can watch this tracking ticket to see the latest status. (Please don't post comments like "please update" or "how is this going" to avoid spamming watchers; a message will be posted there when it's ready.)

  1. Скачивайте Последнюю версию APK файла (Файл находится под "Assets" с окончанием .apk).
  2. Устанавливаете APK на ваш телефон.
  3. Запускайте установленный SMAPI. Это может занять некоторое время в зависимости от вашего устройства (21с на Samsung Galaxy S10, и 1 минута 13с на Samsung Galaxy S6).
  4. Когда вы закончили, вы можете спокойно удалять приложение с вашего устройства.

Всё! Просто запускайте игру с модами.

Дополнение

Просто следуйте шаги установки опять; Для корректной установки на новые версии.

Удаление

  1. Удаление SMAPI Stardew Valley app.
  2. Удаление установщика SMAPI.
  3. Ручное удаление smapi-internal папки из StardewValley игровой папки.

FAQs

Как мне добавлять моды?

После установки SMAPI установите моды, разархивировав их в только что созданную папку StardewValley/Mods. Чтобы запустить игру с поддержкой модов, просто запустите значок SMAPI Stardew Valley или коснитесь кнопки запуска в приложении-установщике.

Почему для Android существует отдельный SMAPI?

Версия игры для Android очень специфична по сравнению с другими платформами, поэтому официальная версия SMAPI несовместима. port для SMAPI для андроида создавалась MartyrPher и после ZaneYork (посмотреть исходный код и код установщика). Он поддерживает большинство модов и пакетов содержимого SMAPI (включая фреймворки, такие как Content Patcher, Farm Type Manager, Json Assets и PyTK), но некоторые моды могут быть несовместимы.

Как использовать моды, в которых нужна версия Stardew Valley 1.5?

Stardew Valley 1.5 еще не вышла на Android(уже вышла), поэтому вам понадобятся более старые версии многих модов. Вот как найти совместимую версию для большинства модов:

  1. Try the latest version.
  2. From the Nexus mod page, click the Files tab to find all available versions.
  3. Check under "Main Files" and "Optional Files":
    1. Try the latest file which...
      • says it's for Android;
      • or says it's for Stardew Valley 1.4;
      • or says it's for SMAPI 3.7.6 or earlier;
      • or was uploaded before 21 December 2020.
  4. Check under "Old Files" (if present):
    1. Change the sort to "Date Uploaded" and "Desc".
    2. Try the latest file which...
      • says it's for Stardew Valley 1.4;
      • or says it's for SMAPI 3.7.6 or earlier;
      • or was uploaded before 21 December 2020.
  5. Check the archived files (if any):
    1. If there's a "File Archive" button at the bottom of the page, click it.
    2. Try the latest file which matches the previous step. You can run this script in your JavaScript console to add download links:
      script to add download links 
      (function() {
          const gameId = $("#section").attr("data-game-id");
          const downloadElements = $("#file-container-archived-files [data-id]");
      
          for (let element of downloadElements) {
              element = $(element);
              const description = element.find(".files-description");
              const fileId = element.attr("data-id");
      
              const html = `
                  <div class="tabbed-block">
                      <ul class="accordion-downloads clearfix">
                          <li>
                              <a class="btn inline-flex popup-btn-ajax" href="/Core/Libs/Common/Widgets/DownloadPopUp?id=${fileId}&nmm=1&game_id=${gameId}">
                                  <svg title="" class="icon icon-nmm">
                                      <use xlink:href="https://www.nexusmods.com/assets/images/icons/icons.svg#icon-nmm"></use>
                                  </svg>
                                  <span class="flex-label">Mod manager download</span>
                              </a>
                          </li>
                          <li>
                          </li>
                          <li>
                              <a class="btn inline-flex popup-btn-ajax" href="/Core/Libs/Common/Widgets/DownloadPopUp?id=${fileId}&game_id=${gameId}">
                                  <svg title="" class="icon icon-manual">
                                      <use xlink:href="https://www.nexusmods.com/assets/images/icons/icons.svg#icon-manual"></use>
                                  </svg>
                                  <span class="flex-label">Manual download</span>
                              </a>
                          </li>
                      </ul>
                  </div>
              `;
      
              $(html).insertAfter(description);
          }
      })();
      
      Note: downloading archived mod versions is at your own risk, and mod authors often won't provide support for them.
  6. If you didn't find a matching file, try checking the mod comments or posting a new comment.