logic image
bananapen image

Logic Hub

I'm logic on Discord, and BananaPen on steam!
on github, my nickname is igorkll. Historically, I have a lot of nicknames, I think it's too late to change anything.
My favorite game is ScrapMechanic! I can play it for hours on end, and I love making mods in this game.
I write code in languages such as: C, lua, C#, C++, python, bash
This is where I publish my projects.
I have quite a few projects, and I decided to centralize.


SComputers


SComputers is the best mod adding computers to Scrap Mechanic at the moment!
this mod originates from the ScriptableComputer mod, which is no longer supported by the developer
in fact, SComputers is an improved version of ScriptableComputer that has retained full compatibility with the original
the author of the original ScriptableComputer(TheFattestCat) doesn't mind that I'm doing a fork. and i got permission to create a fork

advantages of SComputers compared to other computer mods:

  • displays almost do not cause lags
  • it is impossible to crash the game from the computer with the standard mod settings
  • a large number of addons
  • there are many interesting components
  • crafting support for survival with the help of third-party craft loaders
  • real-time font scaling
  • support for custom fonts


betterAPI


this API adds additional methods to the game.
however, it does not provide full access to the lua API.
this mod expands the capabilities of the game API by adding additional features for use by other mods.
betterAPI has a built-in package manager with extensions. to open it, write to the chat /better

manual installation:
1. close scrap mechanic
2. subscribe to the mod
3. open folder: Steam\steamapps\workshop\content\387990\3177944610\content
4. copy all files
5. open folder: Steam\steamapps\common\Scrap Mechanic\Release
6. insert all the files with the replacement


NES Emulator


this mod allows you to emulate your favorite games from the NES platform right inside Scrap Mechanic!
this is a real emulator running inside the game, you can even connect a second controller and play with your friends!
just connect the console to the display and the joysticks to the console. insert the cartridge and play the NES right inside Scrap Mechanic!
the list of games will be updated, as well as in the future there will be support for add-ons for additional cartridges
audio emulation is not supported at the moment, but it will be supported in the future.
unfortunately, due to the restricted API of the game, when pressing several buttons in the joystick GUI, bugs sometimes occur and other buttons are released. if you install betterAPI, the button processing works fine, otherwise it is better to connect the controller with the seat.
you can connect the joystick to the seat to control the game from it. to import other control buttons, use the "Control Import" unit and connect it to the joystick.

controls:
wasd - crosshair
enter - start
i - select
o - B
p - A

unfortunately, the mod causes the STRONGEST LAGS!!! without betterAPI, the game runs at about 4-7 FPS and the console is slow. with betterAPI starting from version 40 (I added multithreading), the game outputs 70-120 FPS and the console runs at normal speed
i wish the developers of ScrapMechanic health and patience, and FINALLY MAKE A MULTITHREADED API FOR LUA!!
the emulator always works on the server side so that the game is synchronous for all players, so it is better that the host has a powerful processor. for the mod to work well, you need a single stream (high frequency)


Scrap Mechanic Server


This is a survival server with mods
Here you can play with other people
You can build houses, create your own settlement, farm, or become a programmer and write code for SComputers!
The server has protection against crashes and dupes


esp32 opencomputers


ESP32 - opencomputers emulator

  • emulates opencomputers on esp32
  • the original opencomputers font
  • sound is supported
  • support screen backlight control via screen.turnOff / screen.turnOn
  • screen.getAspectRatio returns the actual aspect ratio of the display
  • all work with esp-idf is done in the "hal.h" and "hal.c" files so that the code can be easily adapted to different platforms and peripherals
  • supports unicode
  • to simulate the right mouse button, use a long press at one point of the screen
  • computer case LEDs are supported
  • a large number of settings in config.h
  • hardware on/off/reboot buttons are supported
  • self-locking power is supported
  • the UUIDs of all components are randomly generated when the device is turned on for the first time
  • screen precise mode is supported
  • an SD card is supported (it is defined as a floppy disk)
  • disk_drive.eject() unmounts the sd card. after that, it can be extracted without the risk of damaging the filesystem
  • you can assign a separate LED to the memory card, which will blink when it is accessed


os in opencomputers - liked


liked & likeOS

liked is a system based on likeOS.
designed for computers from the OpenComputers mod for Minecraft.
the installer can be run from any other OS or from the eeprom firmware.

minimum system requirements:

  • video card - tier2
  • monitor - tier2
  • RAM - 768KB
  • processor - tier1
  • hdd - tier2

recommended system requirements:

  • video card - tier3
  • monitor - tier3
  • RAM - 1536KB
  • processor - tier2
  • hdd - tier2

if openOS is installed on the device, then during installation, liked will offer to save your OS.
after which it can be launched with a single click on the liked desktop.

installer link

installation commands: