Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

SGCX - SGCraft Stargate Controller

Recommended Posts

I made an update.

New stuff:

  • Address grouping
  • Searching by name within a group

Running the updated version of the script will result in conversion to the new storage format. The old one used a single configuration file /etc/sg.cfg, whereas the new one uses /etc/sgcx.cfg and /etc/sgcx.d/*. The latter is used to store address groups in separate files so they can be easily exported. Storage format upgrade doesn't delete the old configuration file, so in case of any error the existing configuration isn't lost.

Link to post
Share on other sites

One (or more) of your group files is empty or is in a wrong format. Temporary workaround would be to search for empty/non-Lua config files in the /etc/sgcx.d directory and to delete them.

I couldn't reproduce this bug. I need more information:

  1. What where you doing in the script before this error appeared?
  2. Type the following commands and send their output as a screenshot:
    cat /etc/sgcx.cfg
    ls -l /etc/sgcx.d


Link to post
Share on other sites

The SpaceGates.cfg file is empty and that's what prevents the script from starting. I have added a fix that informs you to delete the file manually or the script will do it for you.

I couldn't find the source of this bug though - the sentence "the default section disappeared" wasn't very helpful.


Link to post
Share on other sites
On 12/28/2017 at 9:29 PM, IlynPayne said:

Контроллер SGCX-SGCraft Stargate

Контроллер Звездных Врат на основе библиотеки GML.



1.большой палец.формат PNG.67c6298e08d269c2a902d6ce294cb49c. png

2. thumb. png. cf7757504849319f6d62388dc912000d. png3.большой палец.формат PNG.b3686d4c9be87fb83118ccc786c8a2db.формат PNG

Шаг установки:

  1. Сначала загрузите менеджер пакетов, который будет использоваться для загрузки приложения и всех необходимых зависимостей:
    wget https://gitlab.com/d_rzepka/oc-equipment/raw/master/installer/arpm.lua
  2. Использование диспетчера пакетов выполните загрузку SGCX:
    arpm установить sgcx


  3. Запустите SGCX с дополнительным аргументом-init . Это позволит вам выбрать адрес интерфейса stargate из списка. Это требуется только во время первого запуска - адрес будет сохранен в конфигурационном файле.
    sgcx init


  4. Optionally you can install the irisAuth package (remote iris management) using the previously mentioned package manager.



  • Отображение состояния Звездных Врат
  • Хранение адресов ворот
  • Группировка и поиск адресов
  • Отсоединение червоточины через заданное время
  • Автоматическое управление диафрагмой (см. шаги по установке, Шаг 4)
  • Отображение расстояния до выбранного пункта назначения
  • Калькулятор адресов: преобразование адресов в пределах одного измерения в координаты куска (и расчетного блока) и наоборот

Планы на будущее:

  • История набора номера
  • Разрешить выбор произвольного канала и кода для удаленной авторизации iris
  • История использования авторизации Iris
  • Анимированная последовательность набора номера


  • Уровень 3 экран и графический процессор
  • Не менее 1 МБ оперативной памяти
  • Сетевая карта
  • Клавиатура


(Репозиторий GitLab)


hi, what version is this program for? can I use it on 1.6.4?

Link to post
Share on other sites
On 9/10/2019 at 7:10 PM, IlynPayne said:

@Volker Vollverstrahlt

I totally forgot about this issue, sorry.

It should be fixed in the most recent version of SGCX (0.6.4), I've also added channel port and iris code chooser, so user doesn't have to use auto-generated values anymore.

i have this problem when i write "sgcx init"


Link to post
Share on other sites
On 11/9/2019 at 7:55 AM, Пендольф Рыжий said:

hi, what version is this program for? can I use it on 1.6.4?

Minimum supported MC version is 1.7.10, sorry.


On 2/8/2020 at 4:13 PM, Kane Hart said:

Also having the same issue with the modem component missing.


What MC version are you using?

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.