Wake of Gods Forum | Форум Во Имя Богов
Unleashed Editor - Printable Version

+- Wake of Gods Forum | Форум Во Имя Богов (http://wforum.heroes35.net)
+-- Forum: Герои Меча и Магии 3.5 WoG/ERA (/forumdisplay.php?fid=99)
+--- Forum: Моды (/forumdisplay.php?fid=104)
+--- Thread: Unleashed Editor (/showthread.php?tid=5526)


Unleashed Editor - RoseKavalier - 12.03.2020 04:35

Image: e29aa1.png Впервые в виде мода для ERA доступен продвинутый редактор карт от RoseKavalier — «Unleashed Editor» v1.20.

Image: f09f9383.png Кратко: must have.

Image: e2ad90.png Сняты ограничения на опыт героев, уровни навыков, отрицательные значения, количество объектов (до игровых пределов).
Image: e2ad90.png Исправлен ряд багов, таких как невозможность дать сборный артефакт герою со старта в редакторе WoG.
Image: e2ad90.png Иконки в панели инструментов стали большими.
Image: e2ad90.png Доступно больше спрайтов SoD.
Image: e2ad90.png Можно устанавливать менее 4 глобально разрешённых вторичных навыков и др.

Скачать Image: f09f9189f09f8fbb.png: https://mods.hmm35.ru/Unleashed%20Editor.exe
Оригинал темы на HC: http://heroescommunity.com/viewthread.php3?TID=43775

H3UNLEASHED DOWNLOADS
DOWNLOAD .zip
DOWNLOAD .exe (7zip)
[1.24] LATEST UPDATE
ERA UNLEASHED EDITOR MOD DOWNLOADS
DOWNLOAD .zip
DOWNLOAD .exe (7zip)


RE: Unleashed Editor - daemon_n - 12.03.2020 05:16

RoseKavalier, finally it Happened! Thanks for the release!

Wow - it is only 1.7 MB. Is the functionality like in the full?

F4, F6, F7 do call error (unavailabe to find specified file) (Click to View)
F5 just does crash silent an editor.

"Passability" 's box has buggy view (Click to View)



RE: Unleashed Editor - Berserker - 12.03.2020 05:59

daemon_n, в виде мода для Эры, потому нет нужды ресурсы с собой возить.


RE: Unleashed Editor - RoseKavalier - 12.03.2020 08:28

lol, I was away all day - don't recall making this thread - Thanks Berserker I presume))

I became aware that dialogs created through DialogBox() can be shown incorrectly in some systems. I have begun the long work of converting them all to WINAPI (sigh) which should resolve those issues.

F4-F5-F6-F7
Unleashed does not modify these, for them to work you need to have the basic WoG functionality I guess. I could always disable them exclusively when launched from H3Unleashed.exe.


RE: Unleashed Editor - XEPOMAHT - 12.03.2020 11:15

(12.03.2020 05:16)daemon_n Wrote:  
F4, F6, F7 do call error (unavailabe to find specified file) (Click to View)

Если для ERA PLUS, то там по путям должны лежать соответствующие программы:

Code:
Герои 3 HD-мод    F4    Запустить игру с HD-модом    HD_Launcher.exe
Справка по ERM    F5    Открыть справку по ERM    Software\erm_s\erm-help 2.81d full rus.chm
Редактор архивов    F6    Открыть редактор игровых архивов    Software\MMArchive\MMArchive.exe
Редактор монстров    F7    Открыть редактор монстров    Mods\ERA+\EraPlugins\MCrEdit\MCrEdit (Typhon Edition).exe



RE: Unleashed Editor - daemon_n - 12.03.2020 12:29

RoseKavalier, XEPOMAHT, thanks! Understood. I will set itYes


RE: Unleashed Editor - RoseKavalier - 27.03.2020 06:15

v1.23

Image: cJqNmKd.png

Quote:[+] Previously WinAPI DialogBox dialogs are now rendered using h3maped's MFC Dialogs, providing compatibility
[+] Corrected a number of small issues in Random Dialogs
[-] Battlefield Explorer's X and Y edit controls will show full extents on all systems
[-] Fixed an incorrect tagging of Random Objects taken from the object palette

  Internal optimization (lots!)

Most users shouldn't see any differences from the last version; this affects mostly older or non-windows operating systems.

The last point means that the code base for Unleashed isn't quite as messy as it used to be. There's still a lot of work to be done in that area but my goal is to eventually open-source H3MEAPI and parts of Unleashed as I did with SoD_SP.


RE: Unleashed Editor - V_Maiko - 27.03.2020 06:46

Will someday unleashed editor be able to influence RMG by modifying and producing a free spawn of objects on the map to which the default game is currently limited? For example, being able to generate in RMG the four hills of the emissaries that are banned from the random map and only available in WOG campaigns.

Image: Screenshot-1.png

I don't ask for much, I just wish that the object types and terrain types are fully compatible and that RMG can generate them on any terrain without limitation.

Don't tell me that this should be done with ERM, because RMG can easily generate them with an editor patch, but the one with Typhon is not very smart and doesn't allow me to generate pandora boxes in the water, for example.


RE: Unleashed Editor - Berserker - 27.03.2020 16:38

RoseKavalier, constant code improvoment is a necessity for stability and evolution. Thank you. Base 1.22 version is the same, as in post one?


RE: Unleashed Editor - RoseKavalier - 27.03.2020 17:59

@V_Maiko
RMG is a beast of its own which I don't care to tackle right now while there is so much else to do.
A few years ago I dabbled into making a Market of Time plugin and instructed RMG to generate some of them. The code is probably still somewhere on my old repository.
Since Creature Banks is already an existing RMG template, there might be little or a lot of work needed.

@Berserker
Indeed, indeed... this is my 3rd or 4th major rewrite of Unleashed code... I'd say I'm 50% through with this one so there is light at the end of the tunnel.

BASE contains all the files to run H3Unleashed as a standalone.
LATEST update contains incremental files compared to most recent BASE.

If LATEST update is older than BASE, then one should update both, otherwise LATEST is sufficient.
Last I looked, the other link in OP was older than 1.22; that version brought in the Battlefield Explorer which needs a few extra PCX and DEF to work correctly. I'll make a ERA-lod with minimal assets.



RE: Unleashed Editor - Berserker - 27.03.2020 20:35

RoseKavalier, wow, battlefield exporer is a killer feature!


RE: Unleashed Editor - Grossmaster - 06.04.2020 17:35

Перевод редактора v1.20 готов.

! После установки не спешите запускать редактор. Проверьте приоритет русификации в менеджере модов. !

https://drive.google.com/file/d/13yrPFOJXc6xlgkjf0kXEQwWowhdCKaFn/view?usp=sharing


RE: Unleashed Editor - Berserker - 06.04.2020 19:35

Grossmaster, отличная работа, спасибо!


RE: Unleashed Editor - Grossmaster - 07.04.2020 08:57

Дополнительный перевод для редактора версии 1.23
https://drive.google.com/open?id=1xVg8CVU5HOvZIBdk-JBo2SzqC4olP90F


RE: Unleashed Editor - Bes - 07.04.2020 23:12

Berserker, Grossmaster, не хватает коммента касаемо как людям обновляться правильно.
Quote:качаем базу 1,20
ставим руссификатор 1,20

или же

Quote:качаем сразу полный пак 1,22
качаем обнову 1,23
ставим руссификатор 1,23

если 1,20 просто вручную обновлять до 1,23, то будут ошибки отсутствия неких картинок в Battlefield Explorer
А простой обыватель так не сможет самостоятельно подготовить полноценный мод 1,23, на мой взгляд.
Я б сделал, да, уже не сегодня... ближе к выходным (я вышел на работу в 1ую смену) - если кто не опередит.


RE: Unleashed Editor - Berserker - 08.04.2020 03:28

Bes, я делал релиз одним модом. Неудобно через базу + обновление. Если кто-то обновит мой вариант из первого поста, перезалью.


RE: Unleashed Editor - Grossmaster - 08.04.2020 08:15

Перевод обновлен до 1.1
Версия Unleashed 1.23

https://drive.google.com/file/d/1Q1BH_JwMApPzvn8coRkT_OL_krDui7xL/view?usp=sharing

- Переведены подсказки
- Файл русификации теперь лежит просто в папке DATA,а не находясь в архиве, в следствие чего происходила утрата спрайтов поля боя
- Исправлено некорректное отображение символов в меню Unleashed


RE: Unleashed Editor - RoseKavalier - 09.04.2020 06:24

I'll consider putting text in a utf8-json to facilitate future translations and modifications.
I also need to come up with a better way to manage updates...


RE: Unleashed Editor - Berserker - 09.04.2020 07:09

RoseKavalier, yep, updates are routine, but a bit easier for Era mods. If use use WinRar or Total Commander + rar plugin, you can edit self-extracting archives like regular archives. I simply copy updated files to existing sfx archive, making updated Era mod. You can even use any cloud hosting autouploading or something like that. I'll also think about Era mods hosting for small/average size mods. And right, you'lll need to update standalone package too ) Personally I wrote packager tools in PHP for Era, automating this task. Some kind of AutoIt would be enough too, probably.


RE: Unleashed Editor - daemon_n - 09.04.2020 07:30

i just use 7zip for edit any instal mode exe - rigt click on it /7zip/open archive - and just drug and drop new files there with confirmation - easy to make.


RE: Unleashed Editor - RoseKavalier - 09.04.2020 08:19

InnoSetup takes me only a few seconds for SoD_SP, I'll probably go for that here too.
Just have to figure out logistics to distinguish ERA and H3Unleashed (or just have 2 executables).


RE: Unleashed Editor - RoseKavalier - 13.04.2020 08:37

Next version of Unleashed will read text off UTF8-json which will make translation easier, following ERA-style.
I have put together the russification from this thread (thanks @Grossmaster) and from SoD_SP text (thanks @igrik); however there are still some missing fields.
Here is what I have so far, in case someone would like to fill in the blanks. As much text as possible is read from mapeditor assets (e.g. "OK", "Spell", "Reward") unlike previously.

Font has been corrected to correctly show full text width, at the very least for English and Russian, but I need to widen a few fields which are not taking into account longer strings at the moment.
Image: SNDTRTg.png


RE: Unleashed Editor - Berserker - 13.04.2020 08:51

Excellent decision! Thank you. I see only a few missing translations in json.


RE: Unleashed Editor - Berserker - 14.04.2020 03:53

RoseKavalier, shoud I finish translation in the json file above?


RE: Unleashed Editor - igrik - 14.04.2020 10:40

Berserker, было бы здорово!


RE: Unleashed Editor - RoseKavalier - 14.04.2020 17:53

I have a few more days of work on text and others although no real innovation for mapeditor itself; no rush but would be nice for the RU community!
Worst case scenario I will fill in blanks with English text, I put it out here so it would be easier to see what was missing.


RE: Unleashed Editor - Berserker - 14.04.2020 19:04

RoseKavalier, I'll try to send you translated file as soon as possible.


RE: Unleashed Editor - Berserker - 14.04.2020 22:53

https://dropmefiles.com/b8Qqp
Here you are.

Personally I hate any password-protections and unremovable restrictions. Started h3 executable modding with removing h3te.exe protection from modifications.
It's me, player, who decides, what to edit, what to install, which plugin to load and how to use cheats.


RE: Unleashed Editor - igrik - 15.04.2020 00:18

(14.04.2020 22:53)Berserker Wrote:  https://dropmefiles.com/b8Qqp
Here you are.
Я добавил пропущенные Berserker'ом переводы и немного откорректировал мои ранее переведенные тексты

RoseKavalier, используй нижеуказанный перевод!
https://dropmefiles.com/Pjslj


RE: Unleashed Editor - Berserker - 15.04.2020 03:24

igrik, спасибо!
"en_US": "Draws obstacle anchors on the battlefield.",
"ru_RU": "Отображает якори препятствий"
«на поле боя» пропустил.


RE: Unleashed Editor - Berserker - 15.04.2020 03:29

Quote:"text" : {
"en_US": "Original Obstacles",
"ru_RU": "Боевые препятствия"
Оригинальные Препятствия, то есть до изменения параметра ГСЧ.

Quote:"text" : {
"en_US": "Creature Split",
"ru_RU": "Распред. отрядов"
Split всё же разделение, хотя контекста не знаю.

Quote:"Стандартное ГСЧ"
Генератор мужского рода, «стандартный» лучше, имхо.

Quote:Когда опция *ВКЛ*
Рассмотри вариант массовой замены фразы на «При включении».

Ещё раз спасибо огромное за перевод 132


RE: Unleashed Editor - RoseKavalier - 15.04.2020 06:10

Thanks to you both for translation! 20

(14.04.2020 22:53)Berserker Wrote:  https://dropmefiles.com/b8Qqp
Here you are.

Personally I hate any password-protections and unremovable restrictions. Started h3 executable modding with removing h3te.exe protection from modifications.
It's me, player, who decides, what to edit, what to install, which plugin to load and how to use cheats.
Password protection is exclusively for mapmakers who use SoD_SP features, it's exclusively available when launched from H3Unleashed.


RE: Unleashed Editor - Berserker - 15.04.2020 08:05

RoseKavalier, I know.


RE: Unleashed Editor - Grossmaster - 15.04.2020 13:48

Плохая сторона возможности редактора читать объекты без файлов msg. Объект zzzz.def
Image: ApildYnSTJQ.jpg

Возможно дело еще в файле msk


RE: Unleashed Editor - RoseKavalier - 15.04.2020 18:13

msg and msk files are identical, I have yet to see an issue with removing the need of msg files.
If you have an example, please send files to me)


RE: Unleashed Editor - RoseKavalier - 20.04.2020 08:07

@ igrik / Berserker

This entry was missing... I filled it like this for now, following from the description text. lmk if something else is preferable.
Quote:"en_US": "NWC Cheats",
"ru_RU": "NWC Читов"

This entry is too long, without breaking alignment for the hero properties dialog:
Quote:"en_US": "Hero Seed:",
"ru_RU": "Параметр ГСЧ для героя:"
Image: 8EbNo4P.png
could it be replaced by
Quote:"ru_RU": "ГСЧ для героя:"
?

I've otherwise modified some things so that all text looks good; I've still got things to finish on this update before it's ready so no rush (:


RE: Unleashed Editor - igrik - 20.04.2020 11:29

Quote:"en_US": "NWC Cheats",
"ru_RU": "NWC Читов"
"Читы NWC"

Quote:"en_US": "Hero Seed:",
"ru_RU": "Параметр ГСЧ для героя:"
"ГСЧ героя:"


RE: Unleashed Editor - RoseKavalier - 22.04.2020 08:25

Spasibo))

I have decided to add an experimental feature which I've mentioned before which has the following text entry:
Code:
{
            "text" : {
                "en_US": "[EXP]Centered Monsters",
                "ru_RU": ""
            },
            "description" : {
                "en_US": "[EXP]Monsters on the map are offset to appear centered in their actual position.",
                "ru_RU": ""
            }
        }

EXP stands for EXPerimental. There are still a small number of issues with it which I'll cover with the next update as well as instructions on how to use it.




RE: Unleashed Editor - Berserker - 22.04.2020 17:31

{
    "text" : {
    "en_US": "[EXP]Centered Monsters",
    "ru_RU": "[ЭКСП] Центрированные Монстры"
    },
    "description" : {
    "en_US": "[EXP]Monsters on the map are offset to appear centered in their actual position.",
    "ru_RU": "[ЭКСП] Монстры на карте центрируются относительно клетки, в которой находятся"
    }
    }

RoseKavalier, centering looks really nice!


RE: Unleashed Editor - daemon_n - 22.04.2020 20:52

Может, заменить "ЭКСП" на "БЕТА"?
"[beta]Центрирование монстров".

RoseKavalier, Fantastically!Yes


RE: Unleashed Editor - RoseKavalier - 26.04.2020 09:04

Version 1.24

Quote:[+] UnleashedUpdater provides automatic version check and update on launch
Note: can be disabled throught Unleashed.ini [options][Update]
[+] All text is now UTF8 and read through UnleashedText.json, for easy customization
[+] Full Russification of Unleashed text available (thanks Berserker, Grossmaster, igrik)
Note: set through Unleashed.ini [options][Language]
[+] SoD_SP dialog is now created using h3maped's MFC Dialogs, removing occasional graphical issues
[+] Adding experimental option to center monsters based on their actual position
Note: refer to documentation for more information
[-] Fixed a logic issue when trying to access password-protected SoD_SP options dialog
  Various GUI modifications for Russification

Starting with this version, Unleashed is debuting an auto-updater. I'm hoping to exclusively use it for updates in the future. I've tested it on Windows platform as far back as XP to be ensure it works... but given it's new things can always go wrong so we'll see. I'll post some documentation on the updater at some point, it is purposefully made versatile so that it may be used not only by this project.

Text is now handled through json via UTF8. Anyone looking to make translations can simply edit UnleashedText.json following the existing format and modify the [options][language] setting in Unleased.ini afterwards.

Finally, debuting the experimental Monster Centering feature which was mentioned a few posts prior. Due to its experimental nature, I have not provided the required data for it to work - please refer to documentation for information on getting it to work as well as details about current issues.


RE: Unleashed Editor - Berserker - 26.04.2020 17:47

RoseKavalier, thank you very much for release!
I noticed a few issues:
Code:
0) Mod is name Unleashed, not Unleashed Editor, which may be not obvious
1) Missing h3wmapped_unleashed.exe
1.1) I run the old one, but icons were 16x16, not 32x32.
2) Unleashed 7z.exe does not call Mods\installmod.exe "Unleashed Editor", thus non enabling mod automatically.



RE: Unleashed Editor - RoseKavalier - 26.04.2020 18:10

0. Sure, I forgot we said Unleashed Editor (:
1. I thought you had packed it within ERA, I'll add it np
2. I'll look into it


RE: Unleashed Editor - Berserker - 26.04.2020 18:34

RoseKavalier,
1. Nope, I packed it in the mod itself.
2. It's just sfx command execute after run. It allows to use mod right after sfx process is over without running mod manager at all.
Thank you for fast reply Ab


RE: Unleashed Editor - RoseKavalier - 27.04.2020 00:42

All done, made Era Unleashed Editor Installer an actual SFX instead of just an archive, should add itself to mods list automatically now, spasibo Bersy!


RE: Unleashed Editor - Berserker - 27.04.2020 01:31

It would be too easy for release, my friend. Mod installed, update check performed — passed.

But menu translation failed. Do you convert UTF-8 to Ansi?
https://yadi.sk/i/-9rQnbgqmhstVw


RE: Unleashed Editor - RoseKavalier - 27.04.2020 02:20

I converted UTF-8 using local codepage CP_ACP which worked fine on VM, do I have to force 1251/1252 ?

Image: IpCKXT0.png


RE: Unleashed Editor - Berserker - 27.04.2020 02:58

Should be CP_ACP, but I definitely see garbage on system with code page = 1251 (


RE: Unleashed Editor - V_Maiko - 27.04.2020 06:40

Berserker, I have a better idea, why this program cannot be integrated in future versions of ERA? I really think it's worth it and would be a better replacement to the wog map editor. It may not be an official wog team application, but I think you can do the same as you did by replacing the old ERM editor with Sublime Text. More than a mod, it is a very beneficial tool, in fact, I think that if you do a good job adapting it and with more updates you can expand many new possibilities in ERA.


RE: Unleashed Editor - Berserker - 27.04.2020 06:46

V_Maiko, because any package, that integrate more and more third-party software, becomes slow for updates, hard to maintain and full of bugs. Decomposition is the best strategy to handle growing complexity.


RE: Unleashed Editor - Berserker - 26.06.2021 01:53

There are two unsolved issues:
1) If Firewall blocks the editor, we see update error each time, we try to open it:

Image: image.png

It would be nice to hide this message and add config to json to disable autoupdates. In a few years update server may be owned by hackers or nobody.

2) Even simpliest tiny map, created in Unleashed Editor, cannot be opened in WoG editor anymore. This is a real disaster:
https://dropmefiles.com/b4mKD

Maybe it only affects maps of non-standard sizes like 255 or 17?


RE: Unleashed Editor - Valery - 26.06.2021 02:04

Wasn't created with this editor - which I don't have installed, is just that I forgot XXL mod enabled as I was testing tew4. So map needs XXL mod and it is 18x18 (which occurs when you select 36x36 in xxl mod)
Sorry for the trouble.


RE: Unleashed Editor - RoseKavalier - 26.06.2021 02:20

1) look at Unleashed.ini 116
The update link is github, highly doubtful that ever goes away.

2) non-standard map sizes are not supported without Unleashed, can't expect it to be otherwise.


RE: Unleashed Editor - Berserker - 26.06.2021 02:28

RoseKavalier ok, got it, thanks. I just use assembly, didn't recheck the ini file Sorry


RE: Unleashed Editor - Panda - 26.06.2021 07:26

Berserker, Unleashed Editor в сборке я не трогал со времен последней не Лаунчер-сборки Димона версии 304.
В конфигурации ini есть пункт "Update", и там стоит 1, т.е. обновление включено. Могу его выключить, если нужно. В чистой сборке кстати, Unleashed Editor нет.


RE: Unleashed Editor - Berserker - 26.06.2021 18:50

RoseKavalier, maybe just don't show error message on failed update? We want to allow updates, but also obey the firewall rules in target system.


RE: Unleashed Editor - RoseKavalier - 26.06.2021 20:13

Berserker, asking for the plugin to update itself but letting it fail silently seems counter-intuitive (and anti-patternish). When a required action fails, one should expect to be informed that it failed instead of thinking it actually worked; here it means thinking there is no new version available whereas in reality there might be a new one.

One issue I do see is there is no way to modify the ini options from within the editor, leading many users to erroneously think these options are hardcoded. When I finish reworking the editor api, this is one thing I will add.
Making available to the user the option of turning off the auto-update might then be an option by opening the edit ini options dialog on startup and showing current options.


RE: Unleashed Editor - Berserker - 26.06.2021 22:06

RoseKavalier, nope. We have most of the programs with auto-update feature like Opera autoupdate service or sublime text editor, but it's ok that they fail silently, because it's normal to work without internet or with firewall blocking disallowed outer connections.


RE: Unleashed Editor - Goponfs - 27.06.2021 14:14

I downloaded the base. When i try to generate a random map with 252x252 it say "Cannot generate random map"


RE: Unleashed Editor - RoseKavalier - 28.06.2021 03:23

Get yourself a RMG template with the new map sizes, base package only has default RMG.txt.