Current time: 22.04.2024, 16:33 Hello There, Guest! (LoginRegister)
Language: english | russian  

Post Reply 
Threaded Mode | Linear Mode
Вопросы по моддингу
» (обсуждаем моддинг здесь)
Author Message
Raistlin Away
Moderators

Posts: 1348
Post: #1741

XEPOMAHT, благодарю! Кстати, не могли бы Вы сказать мне, каким отладчиком Вы пользуетесь?


Создал новый глобальный мод: WoG Ultra Edition
(This post was last modified: 17.02.2021 00:19 by Raistlin.)
17.02.2021 00:19
Find all posts by this user Quote this message in a reply
XEPOMAHT Offline
Moderators

Posts: 2270
Post: #1742

(17.02.2021 00:19)Raistlin Wrote:  Кстати, не могли бы Вы сказать мне, каким отладчиком Вы пользуетесь?

OllyDbg
17.02.2021 00:26
Find all posts by this user Quote this message in a reply
Raistlin Away
Moderators

Posts: 1348
Post: #1743

XEPOMAHT, я тоже пользуюсь именно им, но как посмотреть содержимое таблиц уже после того, как отлаживаемая программа была запущена, я не знаю. Не могли бы Вы пожалуйста рассказать мне и об этом?


Создал новый глобальный мод: WoG Ultra Edition
17.02.2021 01:37
Find all posts by this user Quote this message in a reply
Berserker Online
Administrators

Posts: 16488
Post: #1744

OllyDbg и x32Dbg.


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
17.02.2021 02:39
Find all posts by this user Quote this message in a reply
XEPOMAHT Offline
Moderators

Posts: 2270
Post: #1745

(17.02.2021 01:37)Raistlin Wrote:  но как посмотреть содержимое таблиц уже после того, как отлаживаемая программа была запущена

Вроде просто: получаешь адрес таблицы из кода игры, жмёшь кнопку "open memory map window" (или просто М) и открываешь блок памяти, которому данный адрес соответствует. Далее, переходишь на начало таблицы по адресу и там уже читаешь её в бинарном виде.
17.02.2021 11:07
Find all posts by this user Quote this message in a reply
Raistlin Away
Moderators

Posts: 1348
Post: #1746

XEPOMAHT, Berserker, спасибо Вам большое!


Создал новый глобальный мод: WoG Ultra Edition
17.02.2021 15:33
Find all posts by this user Quote this message in a reply
Archer30 Offline
Moderators

Posts: 1117
Post: #1747

Hi! I wonder if there is a way to disable the standard action of "Alt+D" in window mode.

Right now if you press "Alt+D", you got this:
Image: zhEEyBC.png


Latest ERA mods and scripts in development - My GitHub
(This post was last modified: 01.03.2021 20:29 by Archer30.)
01.03.2021 20:29
Find all posts by this user Quote this message in a reply
Berserker Online
Administrators

Posts: 16488
Post: #1748

Archer30, could you tell, for what purpose should this behavior be disabled?
No, currently it's not possible to block any ALT + KEY combination.


Скачать Герои 3 Эра и всё, что с ней связано / ERA 2.46f для старых модов
Поддержать проект
06.03.2021 18:33
Find all posts by this user Quote this message in a reply
Night Offline

Posts: 462
Post: #1749

(06.03.2021 18:33)Berserker Wrote:  Archer30, could you tell, for what purpose should this behavior be disabled?

Я думаю это одно из двух - либо в игре нужна удобная в плане расположения конфигурация клавиш, чтобы повесить какой-нибудь эффект в игре, либо в игре в оконном режиме ALT+D используется ещё какой-то сторонней программой, а игра их перехватывает.

У меня так Hypersnap перехватывается игрой, когда хочу скриншот сделать, не Героями, а другой игрой, да и кнопки переназначил в проге, но это повезло, что есть возможность. В ином случае и не бывает возможности сменить горячие клавиши.
Это всё на первый поверхностный взгляд, как пример, что сразу из личного пришло.
06.03.2021 20:53
Find all posts by this user Quote this message in a reply
Raistlin Away
Moderators

Posts: 1348
Post: #1750

Привет, подскажите пожалуйста, как отрисовать рcx с прозрачностью? По идее, это надо делать функцией 0x44DF80, но у меня почему-то не получается... В качестве цвета прозрачности я передаю 0x00FFFF.


Создал новый глобальный мод: WoG Ultra Edition
07.03.2021 00:24
Find all posts by this user Quote this message in a reply
Archer30 Offline
Moderators

Posts: 1117
Post: #1751

(06.03.2021 18:33)Berserker Wrote:  Archer30, could you tell, for what purpose should this behavior be disabled?
No, currently it's not possible to block any ALT + KEY combination.

Berserker, Alt+D is supposed to be my hotkey for "All defend". Comparing with three modifiers, Ctrl/Shift/Alt, Alt turns out to be the most comfortable key to use. The only drawback is that it triggers certain window features in window mode


Latest ERA mods and scripts in development - My GitHub
(This post was last modified: 11.03.2021 21:38 by Archer30.)
07.03.2021 07:32
Find all posts by this user Quote this message in a reply
RoseKavalier Offline

Posts: 118
Post: #1752

0x44DF80 has a boolean condition to treat the first color as transparent (ignore it), it does not allow custom transparency.

Menu shortcuts can be disabled by 'hiding' the ampersand (&) in the resources section of the executable.
Image: pXxCeMM.png
07.03.2021 09:47
Find all posts by this user Quote this message in a reply
Raistlin Away
Moderators

Posts: 1348
Post: #1753

RoseKavalier, thank you! Do you know where I can find an example of displaying a pcx with transparency outside of all dialogs? Maybe it is possible to build a def right in the code with only one frame that can be drawn with transparency?


Создал новый глобальный мод: WoG Ultra Edition
07.03.2021 14:07
Find all posts by this user Quote this message in a reply
Night Offline

Posts: 462
Post: #1754

RoseKavalier, Checked, works.132
Btw, the operand had to score with zero to the address a little excellent than shown in the screenshot, but these are little things.
Image: 1q4TEEb.png
Image: 4EGGY4k.png

The only, sound system signal, when you press the ALT + [KEY] combination, is a little annoying. In Windows, the sounds can be removed, but is there any other way?

Archer30, If you need to check file, you can use this GoogleDrive
(This post was last modified: 07.03.2021 23:10 by Night.)
07.03.2021 16:26
Find all posts by this user Quote this message in a reply
Archer30 Offline
Moderators

Posts: 1117
Post: #1755

Thanks RoseKavalier and Night!

Rumour says the alt key issue would be completely resolved in the next ERA release Spiteful


Latest ERA mods and scripts in development - My GitHub
(This post was last modified: 11.03.2021 21:49 by Archer30.)
07.03.2021 20:06
Find all posts by this user Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Forum Jump:

Powered by MyBB Copyright © 2002-2024 MyBB Group