Jump to content

Recommended Posts

1 hour ago, Bizzi said:

Nice :)

Did you mean the Batch-Files, these Line?

set CUR_DIR="%CD%"


Thats the current directory. On Linux/Unix-Systems: pwd

You can replace it with following Line:

CUR_DIR=`pwd`

 

All done there's a PR on github :)

  • Like 1

@ThemInspectors i had updated your Shell-Scripts. Yet, it's like the original Batch-Files.

Here are the Changes:

Build.sh ChangesStart.sh Changes

Quote

On the Start.sh commit, i had a mistake: i had commit other files (copy/backup) - Sorry for that.

  • The Start.(bat|sh) is only for development (directly start the application).
  • The Build.(bat|sh) is for building the software (compiling, making executable)

The Build-Script is not finished yet - Following handling will be updated soon:

  • Step 1: Clean-Up Source-Folder (remove node_modules, config.json and node-Logfiles)
  • Step 2: Package the Source into an executable/binary format
  • Step 3: Create Setup

Edit:

The last commit cleans up the source folder (updated on Batch- and Shell-Script).

Edited by Bizzi
  • Like 1

The porting to new API is finished. Currently, the Pre-Released binarys are uploading.

Changes:

  • Reimplement the API on the server side in a new system (PHP)
  • Change domain from DSTEd.grimms-welt.net to api.DSTEd.net

Interfaces:

Mostly, the Request will be a POST-Request with application/json as Content-Type. For later usage, it's recommended, to set a User-Agent - I will implement custom outputs based on the DSTEd-Version later (for back compat and/or deprecated methods).

Sample User-Agent (See the Source):

Quote

DSTEd v1.0.0/win32 6.1.7601 (x64, Windows_NT)

 

Edited by Bizzi
Fix formatting
  • Like 1

Nice, thanks! :)

Yes, later, i will add some translations. Today its my last day to work - than i have two weeks vacation and lots of more time! I can start a implementation of an Translation-System tomorrow.

For my option, i translate the Software in german. If others find bad strings or text passages in english, feel free to correct it; my english is a little bit bad :D

  • Like 2
1 hour ago, Lumina said:

Could someone explain me what this tool is useful for ? Is it a replacement for sublime/notepad ++ ? I'm not familiar with the "IDE" term.

Integrated Development Environment. An integrated development environment (IDE) is a software application that provides comprehensive facilities to computer programmers for software development. An IDE normally consists of a source code editor, build automation tools and a debugger.

Most of the info you seek should be on the first post of this thread.

Edited by TheKingDedede
I'm a moron.
  • Like 1

I18N is implemented. If you are an developer with more experience, you known what Gettext is. The implemented I18N methods are imitated like this, but we working with a RAW-Translation File in JSON, not with .po or .mo files.

In JavaScript you call I18N.__('STRING TO TRANSLATE') and on HTML-Side you can use following Attributes:

<!-- Translate Content of an Element -->
<element data-lang="STRING TO TRANSLATE" />

<!-- Translate Placeholder of an Element (for Input-Elements) -->
<element data-langplaceholder="STRING TO TRANSLATE" />

<!-- Translate ::before content of an Element -->
<element data-langbefore="STRING TO TRANSLATE" />

<!-- Translate ::after content of an Element -->
<element data-langafter="STRING TO TRANSLATE" />

<!-- Translate alt-Attributes of an Element (like Images) -->
<element data-langalt="STRING TO TRANSLATE" />

The Language-File has following JSON-Based Content:

{
  "__LANGUAGE_INFO": {
    "name": "English",
    "author": "Unknown",
    "version": "1.0.0"
  },
  [ ...  String Table ... ]
  "BASED STRING":   "TRANSLATED STRING"
}

For Sample, here is the German translation:

{
  "__LANGUAGE_INFO": {
    "name": "German",
    "author": "Adrian <Bizzi> Preuß",
    "version": "1.0.0"
  },
  "File": "Datei",
  "New...": "Neu...",
  "Project": "Projekt",
  "Asset": "Bündel",
  "Open": "Öffnen",
  "Open Recent": "Zuletzt geöffnet",
  "- No Recent Files -": "- keine vorhanden -",
  "Save": "Speichern",
  "Save All": "Alle Speichern",
  "Close": "Schließen",
  "Close All": "Alle Schließen",
  "Quit": "Beenden",
  "Edit": "Bearbeiten",
  "Undo": "Rückgängig",
  "Redo": "Wiederherstellen",
  "Cut": "Ausschneiden",
  "Copy": "Kopieren",
  "Paste": "Einsetzen",
  "Select All": "Alles auswählen",
  "Search": "Suchen",
  "Find...": "Finden...",
  "Find Next": "Weitersuchen",
  "View": "Ansicht",
  "Debug": "Debug",
  "Run DST": "DST Starten",
  "Tools": "Tools",
  "Steam": "Steam",
  "Workshop": "Workshop",
  "Server": "Server",
  "Start": "Start",
  "Stop": "Stop",
  "Restart": "Neustart",
  "Configuration": "Konfiguration",
  "Settings": "Einstellungen",
  "Help": "Hilfe",
  "Forum": "Forum",
  "About": "Über",
  "Details": "Details",
  "Deinstall": "Deinstallieren",
  "This program is licensed under OpenSource.": "Dieses Programm ist unter OpenSource lizensiert.",
  "&copy 2017 Adrian Preuß | All Rights Reserved.": "&copy 2017 Adrian Preuß | Alle Rechte Vorbehalten.",
  "Version:": "Version:",
  "Electron:": "Electron:",
  "Render Engine:": "Render Engine:",
  "Memory (RAM):": "Arbeitsspeicher (RAM):",
  "CPU:": "Prozessor:",
  "Network Interfaces:": "Netzwerk:",
  "Operating System": "Betriebssystem",
  "Platform:": "Plattform:",
  "Release:": "Release:",
  "Architecture:": "Architectur:",
  "Endianness:": "Endianness:",
  "Hostname:": "Hostname:",
  "No Items Available": "Keine Einträge vorhanden",
  "Page": "Seite",
  "Items": "Einträge",
  "Unknown": "Unbekannt",
  "Dialog": "Dialog",
  "Message": "Nachricht",
  "Projects": "Projekte",
  "Preview": "Vorschau",
  "Properties": "Eigenschaften",
  "State": "Status",
  "Rember...": "Merken...",
  "Save the changes before closing?": "Save the changes before closing?",
  "Cancel": "Abbrechen",
  "&copy 2017 Adrian Preuß<br />All Rights Reserved.": "&copy 2017 Adrian Preuß<br />Alle Rechte Vorbehalten.",
  "Steam Workshop": "Steam Workshop",
  "Loading Workshop...": "Lade Workshop...",
  "<u>S</u>earch:": "<u>S</u>uche:",
  "Search for Mods...": "Suche nach Mods...",
  "No Items Found!": "Keine Einträge gefunden!",
  "We couldn't find any items you where looking for.": "Wir können keine Einträge finden, nach denen du suchst.",
  "Install": "Installieren",
  "Mod Details": "Mod Details",
  "Description": "Beschreibung",
  "Comments": "Kommentare",
  "Statistics": "Statistiken",
  "Currently not implemented.": "Derzeit nicht implementiert.",
  "Author:": "Autor:",
  "Last Updated:": "Zuletzt aktualisiert:",
  "Never": "Nie",
  "Size:": "Größe:",
  "Downloads:": "Downloads:",
  "Created:": "Erstellt:",
  "Updated:": "Aktualisiert:",
  "Views:": "Angesehen:",
  "Followers:": "Followers:",
  "Favorited:": "Favoritisiert:",
  "Favorited (Lifetime):": "Favoritisiert (Gesamt):",
  "Subscriptions:": "Abonniert:",
  "Subscriptions (Lifetime):": "Abonniert (Gesamt):",
  "Reports:": "Gemeldet:",
  "Workspace": "Arbeitsbereich",
  "Select a Workspace": "Wähle ein Arbeitsbereich",
  "DSTEd stores your projects in your installed game.<br />Please select your installed <strong>Don't Starve Together</strong> directory.": "DSTEd speichert deine Projekte in deinem installiertem Spiel.<br />Bitte gebe den Pfad zu deinem installiertem <strong>Don't Starve Together</strong> Spiel an.",
  "<u>W</u>orkspace:": "<u>A</u>rbeitsbereich:",
  "Browse": "Suchen",
  "Use this as the default and do not ask again.": "Benutze dies als Standard und frage nicht erneut.",
  "OK": "OK",
  "Path to Don't Starve Together...": "Verzeichniss zu Don't Starve Together..."
}

Language-Files are located in the Languages directory (if you start the Software over Start.(sh|bat) it's on /Source/Languages; If you use a released binary, it's on the Language directory where you find the executable (for example DSTEd.exe).

The Filename of an Language file is named by the country like en_US.json, de_DE.json and other...

If you want to use a language, add these language Line in your config.json:

{
    "workspace": "/** YOUR WORKSPACE **/",
    "language": "de_DE"
}

 

  • Like 1

Today, i was a little productive; Two changes will comming soon:

Core Files

On the bottom of the Workspace, you can change to the Core-View to see all core files:

coretabx9rpk.png

coretab160pk4.png

Beware: changing core files will be broken your game; If you open/save a core file, you will be notified for security reasons:

corewarnnxqk5.png

Yes, the directory/file-tree is currently not optimized, i need more icon-files for that. I hope, others here can help me out (the best solution is a icon-font, additional only SVG-Files!).

ModInfo Editor

Easily change the ModInfo:

modinfo1x4pkl.png

On the bottom of the Editor, you can switch between the Editor and the Source-Code:

modinfo287prh.png

 

These changes currently not committed (or in the binary files), today, i'm working on these changes. Mostly huge problem is the LUA-Parser, because i don't currently want to add additional LUA-binarys for compatiblity reasons, but the first parsing works very well.

  • Like 1

I had update lots of problems and adding new features:

  • After commit, the Builds will be automatically updated (https://github.com/DST-Tools/DSTEd/releases)
  • You can see actual Build-Status on GitHub (pntgndsm8ytwul3g?svg=true)
  • Solving performance problems:
    • [Workspace] If folders/projects are opened and you add/delete/update Projects, these will be opened after that
    • [Workspace] Remove/Add Projects without re-render the complete workspace
    • [Screen] only receive data for the same window
  • Like 1

Russian translation is ready! Here: :) 

{
"__LANGUAGE_INFO": {
"name": "Русский",
"author": "Cunning fox",
"version": "0.1.0"
},
"File": "Файл",
"New...": "Новый...",
"Project": "Проект",
"Asset": "Требуемые анимации\картинки",
"Open": "Открыть",
"Open Recent": "Открыть недавний",
"- No Recent Files -": "- Ни один из файлов не был открыт -",
"Save": "Сохранить",
"Save All": "Сохранить всё",
"Close": "Закрыть",
"Close All": "Закрыть всё",
"Quit": "Выйти",
"Edit": "Правка",
"Undo": "Отмена",
"Redo": "Повтор",
"Cut": "Вырезать",
"Copy": "Копировать",
"Paste": "Вставить",
"Select All": "Выделить всё",
"Search": "Искать",
"Find...": "Найти...",
"Find Next": "Искать дальше",
"View": "Показать",
"Debug": "Отладка",
"Run DST": "Запустить DST",
"Tools": "Инструменты",
"Steam": "Steam",
"Workshop": "Workshop",
"Server": "Сервер",
"Start": "Старт",
"Stop": "Остановить",
"Restart": "Рестарт",
"Configuration": "Опции",
"Settings": "Настройки",
"Help": "Помощь",
"Forum": "Форум",
"About": "О файле",
"Details": "Детали",
"Deinstall": "Деинсталлировать",
"This program is licensed under OpenSource.": "Эта программа под лицензией "OpenSource".",
"© 2017 Adrian Preuß | All Rights Reserved.": "© 2017 Adrian Preuß | Все права защищены.",
"Version:": "Версия:",
"Electron:": "Electron:",
"Render Engine:": "Движок:",
"Memory (RAM):": "Оперативная память (RAM):",
"CPU:": "Процессор:",
"Network Interfaces:": "Сетевой интерфейс:",
"Operating System": "Оперативная система",
"Platform:": "Платформа:",
"Release:": "Релиз:",
"Architecture:": "Архитектура:",
"Endianness:": "Порядок байтов:",
"Hostname:": "Имя хоста:",
"No Items Available": "Предметы не доступны",
"Page": "Страница",
"Items": "Предметы",
"Unknown": "Неизвестно",
"Dialog": "Диалог",
"Message": "Сообщение",
"Projects": "Проекты",
"Preview": "Превью",
"Properties": "Свойства",
"State": "Статус",
"Rember...": "Rember...",
"Save the changes before closing?": "Сохранить изменения перед выходом??",
"Cancel": "Отмена",
"© 2017 Adrian Preuß
All Rights Reserved.": "© 2017 Adrian Preuß
Все права защищены.",
"Steam Workshop": "Steam Workshop",
"Loading Workshop...": "Загружаем Workshop...",
"Search:": "Поиск:",
"Search for Mods...": "Ищем моды...",
"No Items Found!": "Ничего не найдено!",
"We couldn't find any items you where looking for.": "Мы не смогли ничего найти по вашему запросу.",
"Install": "Установить",
"Mod Details": "Детали мода",
"Description": "Описание",
"Comments": "Коментарии",
"Statistics": "Статистика",
"Currently not implemented.": "Не подтверждено",
"Author:": "Автор:",
"Last Updated:": "Обновлено:",
"Never": "Никогда",
"Size:": "Размер:",
"Downloads:": "Загрузки:",
"Created:": "Создано:",
"Updated:": "Обновлено:",
"Views:": "Просмотры:",
"Followers:": "Подписчики:",
"Favorited:": "Избранное:",
"Favorited (Lifetime):": "Избранное (Прямая трансляция):",
"Subscriptions:": "Подписки:",
"Subscriptions (Lifetime):": "Подписки (Прямая трансляция):",
"Reports:": "Жалобы:",
"Workspace": "Рабочий стол",
"Select a Workspace": "Выберите рабочий стол",
"DSTEd stores your projects in your installed game.
Please select your installed Don't Starve Together directory.": "DSTEd сохраняет Ваши проекты в Вашу игру.
Пожалуйста, выберите директорию Don't Starve Together",
"Workspace:": "рабочий стол:",
"Browse": "Просмотреть",
"Use this as the default and do not ask again.": "Использовать по умолчанию и не спрашивать еще раз.",
"OK": "OK",
"Path to Don't Starve Together...": "Путь к Don't Starve Together..."
}

 

Edited by makar5000
  • Like 1
52 minutes ago, makar5000 said:

Russian translation is ready! Here: :) 

Please commit to https://github.com/DST-Tools/DSTEd-Languages! :)

File-Search/Replacement and other Editor-Features comming soon; I'm a N++ junky and i wan't to create the same methods.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...