Начните вводить название — например, MoreHead, Sodium или PEAK

JSUtils — иконка
Обложка BalatroМод для Balatro

JSUtils

от JoStro

Lets mods add item prototypes, descriptions and custom sprites with simple json configuration files

  • Легендарный
  • 19,1 тыс. скачиваний
  • Версия 0.3.0
  • Обновлён 6 мая 2024
  • Не обновлялся больше года
  • Инструменты
  • Библиотека

О моде JSUtils

JSUtils — мод для Balatro (Балатро) от автора JoStro. Lets mods add item prototypes, descriptions and custom sprites with simple json configuration files

Его скачали 19,1 тыс. раз: это 10-е место среди модов Balatro в нашем каталоге, редкость — «легендарный» (топ-5% по скачиваниям). Мод давно не обновлялся — проверьте совместимость с текущей версией игры, актуальная версия — 0.3.0.

Для работы ему нужны: lovely, nativefs, json5.

Полное описание JSUtils

Текст автора на языке оригинала

JSUtils: A configuration framework for Balatro

JSUtils is a mod that allows mods to define additional item prototypes, item descriptions and sprite atli using a collection of json configuration files. Additional patches for giving items custom atli and correctly adding items into the collection pages are also included.

Usage

The JSON configuration files must be placed directly in a folder named js_utils inside of the appropriate mod's folder. These configuration files also support all the extensions provided by json5.

The following files are supported:

  • centers.json, blinds.json, tags.json and seals.json: Each contain a table that is added to the appropriate item prototype table in Game:init_item_prototypes, for example centers.json is added to G.P_CENTERS.
  • descriptions.json: contains a table of various custom localizations that are added to the descriptions section of the game's localization object. en-us is required as it is defaulted to when a language is not included.
  • misc_loc.json: Behaves the same as descriptions.json for the misc section of the localization.
  • asset_atli.json, animation_atli.json: Each contain a list of atlas objects, that are inserted directly into the appropriate lists in Game:set_render_settings. Paths are extrapolated to be relative to /textures/{1,2}x
  • badge_colours.json: Contains a table connecting localization label keys to colours, the game's built in colour names can be provided as strings as can hex codes.

Examples

A basic joker added in centers.json. order is modified to be relative to the current mod or is set automiatically, and pos is defaulted to {x = 0, y = 0} when none is provided. Here we are also using the atlas and badges properties to use a custom atlas and add a custom "example" badge.

{
  j_example_joker: {
    order: 1, // relative to any other jokers in this file
    name: "Example Joker",
    unlocked: true,
    discovered: true,
    blueprint_compat: true,
    eternal_compat: true,
    rarity: 1,
    cost: 2,
    set: "Joker",
    effect: "",
    cost_mult: 1.0,
    config: {},
    atlas: "Example", // Custom atli can be provided with the atlas field
    badges: [ // Joker specific badges can be provided here
      "example",
    ],
  },
}

A simple english joker description added in descriptions.json.

{
  "en-us": { // keys that contain certain characters such as dashes must be quoted
    Joker: {
      j_example_joker: {
        name: "Example Joker",
        text: [
          "Does nothing special",
          "but it's a mod so that's cool",
        ],
      },
    },
  },
}

A custom atlas added in asset_atli.json, requires a file called example.png located in textures/1x and textures/2x in the mod's folder

[
  {name:"Example",path:"example.png",px:71,py:95},
]

The localization for the custom badge "example" in misc_loc.json

{
  "en-us": {
    labels: {
      example: "Just an Example",
    },
  },
}

and the colour for that badge in badge_colours.json

{
  example: "BLACK" // keys inside of G.C are supported
}

Нужно для работы

В r2modman ставится автоматически

Моды, которым нужен JSUtils

2 в каталоге

Buffoon Deck — иконка

Buffoon Deck

Simple custom deck that gives you a Jumbo Buffoon Pack at the start of a run.

Эпический13,7 тыс.

Parrot Joker — иконка

Parrot Joker

A custom joker that copies the abilities of other jokers at random

Эпический10,6 тыс.

Как установить JSUtils

Файл скачивается с официального сервера Thunderstore, без перезаливов и сторонних установщиков

Подробная инструкция для Balatro
  1. Скачайте менеджер модов r2modman (или Gale) и выберите в нём игру Balatro.
  2. Создайте профиль — так моды не смешаются с чистой версией игры.
  3. Найдите «JSUtils» во вкладке Online и нажмите Download — Lovely и все зависимости подтянутся сами.
  4. Нажмите «Start modded» — игра запустится с модами.
  5. Чтобы сыграть без модов, запустите игру как обычно из Steam — r2modman не трогает чистую версию игры.
Вы автор мода? Поставьте ссылку на русское описание

Вставьте значок в описание на Thunderstore, в README или в Discord — русскоязычные игроки сразу попадут на страницу с переводом и инструкцией.

Описание на русском — Модка
Markdown[![Описание на русском — Модка](https://modka.app/badge.png)](https://modka.app/balatro/jostro-jsutils/)
HTML<a href="https://modka.app/balatro/jostro-jsutils/"><img src="https://modka.app/badge.png" alt="Описание на русском — Модка" height="44"></a>
Steam (BBCode)[url=https://modka.app/balatro/jostro-jsutils/]Описание на русском — Модка[/url]

Частые вопросы о JSUtils

Как установить JSUtils?

Скачайте менеджер модов r2modman (или Gale) и выберите в нём игру Balatro. Создайте профиль — так моды не смешаются с чистой версией игры. Найдите «JSUtils» во вкладке Online и нажмите Download — Lovely и все зависимости подтянутся сами. Нажмите «Start modded» — игра запустится с модами. Чтобы сыграть без модов, запустите игру как обычно из Steam — r2modman не трогает чистую версию игры.

Безопасен ли JSUtils?

Файл скачивается с официального сервера Thunderstore, куда его загрузил JoStro. Мы не перезаливаем и не изменяем моды.

Что нужно для работы JSUtils?

Установите вместе с ним: lovely, nativefs, json5. В менеджере модов зависимости подтягиваются автоматически.

Когда JSUtils обновлялся последний раз?

6 мая 2024, актуальная версия — 0.3.0. Это больше года назад: перед установкой проверьте, работает ли мод на текущей версии игры.

Похожие моды

Все моды на Balatro
Deck Creator — иконка

Deck Creator

GUI mod for creating, saving, loading, and sharing your own customizable decks!

Легендарный21,2 тыс.Инструменты

ZokersModMenu — иконка

ZokersModMenu

In-game mod menu for Balatro. Press C to open. Give yourself any joker, card, voucher or tag, add money, set starting stats and items, and build custom decks. Works with modded content.

Эпический17,6 тыс.Инструменты

StickersAlwaysShown — иконка

StickersAlwaysShown

The jokers stickers are always shown! 🃏

Эпический9,5 тыс.Инструменты

Restart Run Button — иконка

Restart Run Button

Skip going to the menu after losing a run, or from the escape menu.

Эпический6,7 тыс.Инструменты

CardBackInjection — иконка

CardBackInjection

A Balatro mod dedicated to adding customized card backs to the game in ease. Every mod that follows the same convention will be compatible with each other.

Эпический6,3 тыс.Инструменты

SystemClock — иконка

SystemClock

Shows the local time in-game. Don't fall into the Black Hole.

Эпический5,1 тыс.Инструменты