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


Robotization


this mod allows you to create autopiloted cars/aircraft.
this mod can be guided in different ways and on different objects: tags, players, units, creations, etc.
it can be guided to a specific position specified by numerical logic.
a block with a specific uuid (guidance on the uuid has not yet been done).

this mod is designed to work in conjunction with "The modpack" or another mod that allows you to work with numbers.
crafting recipes will be added soon.
if a bug is found, I strongly ask you to write in the comments (and it will be fixed soon).

returns to the past at the time of 0.3.5))


Pocket Universe


this mod allows you to create a separate small world in one block!
they can be used to make a magic circuit in one block!
please note that it is highly discouraged to use bearings inside the pocket universe, and IN ANY CASE, it is impossible to use loose parts!


Wired & Wireless Cameras


Adds cameras to the game with the ability to set a password and connect to them via a monitor.
you can even control the creation through the camera!
there are no visual distortions when the camera is moving.
the cameras can be connected directly or wirelessly.


WinBox Maker


a tool for creating minimal embed versions of windows
takes on the task of modifying the windows image to remove excess and embed software there
the program is perfect for windows builds designed for ATM terminals and other devices that unauthorized people have access to and should not be allowed to leave the specified sandbox
the program needs to be run with administrator rights because it mounts images
the program is primarily aimed at creating Windows images for operation in kiosk mode, that is, the user will have access to only one of your programs that you add to the image and nothing more
however, the program can be used in other usage scenarios (for example, creating a TV set-top box or a Windows-based slot machine)
please note that the program requires the "dism" utility. usually it is built into Windows
the program is recommended to be used with the original English image of "Windows 10 Enterprise"
please note that winbox maker does not provide Windows images, it only provides a tool for reassembling Windows for use in kiosk mode


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