Bad Apple MV
Добавить в игру через Steam
Нажмите «Подписаться»
На странице Steam войдите в аккаунт, если потребуется.
Подписаться
О материале
«Bad Apple MV» — материал мастерской Barotrauma. Моды, подлодки, предметы и новые задания для экипажа. Данные Steam, описание автора и ссылка для установки через подписку. Совместимость редакцией не проверена.
Описание автора
Overview
Playback of complete Bad Apple!! MV on a 64x48 LED array @ 30FPS. This is a tech demo more than anything, expect significant delay after inserting this assembly in your sub-editor workspace. Expect an even longer delay when you launch into game mode. I really don't recommend adding this assembly into an existing sub/station. I am able to achieve smooth playback on my machine but YMMV depending on your setup
Details
The item assembly was created using custom code. The basic idea is making a circuit which performs the following operations:
-
Extract one frame worth of data from the bitmap array
-
Feed the data into each pixel block using a relay chain
-
Each pixel's associated regex block extracts its relevant bit
-
The light state is toggled based on this pixel bit data
Pixel data is compacted in to groups of 4; the bits are mapped to lower nibble of ASCII range "8-?". Staying within the printable character range is important as the mod cannot be imported otherwise (due to XML de-serialization errors).
Sources & References
Bitmap data for playback is available here: https://github.com/muenzuka-code/badapple-64x48-bitmap
Kwogger's ffbaro was used as a reference for the XML template, which I highly recommend checking out: https://github.com/kwogger/ffbaropy
Как установить и запустить
Откройте оригинальную страницу в Steam Workshop, проверьте версию игры, зависимости и порядок загрузки в описании автора. Нажмите «Подписаться» и дождитесь загрузки Steam. Включите материал в меню модификаций или контента игры, если это требуется. Совместимость и запуск редакцией не проверены.