Wake of Gods Forum | Форум Во Имя Богов

Full Version: Вопросы по моддингу
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
XEPOMAHT, благодарю! Кстати, не могли бы Вы сказать мне, каким отладчиком Вы пользуетесь?
(17.02.2021 00:19)Raistlin Wrote: [ -> ]Кстати, не могли бы Вы сказать мне, каким отладчиком Вы пользуетесь?

OllyDbg
XEPOMAHT, я тоже пользуюсь именно им, но как посмотреть содержимое таблиц уже после того, как отлаживаемая программа была запущена, я не знаю. Не могли бы Вы пожалуйста рассказать мне и об этом?
OllyDbg и x32Dbg.
(17.02.2021 01:37)Raistlin Wrote: [ -> ]но как посмотреть содержимое таблиц уже после того, как отлаживаемая программа была запущена

Вроде просто: получаешь адрес таблицы из кода игры, жмёшь кнопку "open memory map window" (или просто М) и открываешь блок памяти, которому данный адрес соответствует. Далее, переходишь на начало таблицы по адресу и там уже читаешь её в бинарном виде.
XEPOMAHT, Berserker, спасибо Вам большое!
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
Archer30, could you tell, for what purpose should this behavior be disabled?
No, currently it's not possible to block any ALT + KEY combination.
(06.03.2021 18:33)Berserker Wrote: [ -> ]Archer30, could you tell, for what purpose should this behavior be disabled?

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

У меня так Hypersnap перехватывается игрой, когда хочу скриншот сделать, не Героями, а другой игрой, да и кнопки переназначил в проге, но это повезло, что есть возможность. В ином случае и не бывает возможности сменить горячие клавиши.
Это всё на первый поверхностный взгляд, как пример, что сразу из личного пришло.
Привет, подскажите пожалуйста, как отрисовать рcx с прозрачностью? По идее, это надо делать функцией 0x44DF80, но у меня почему-то не получается... В качестве цвета прозрачности я передаю 0x00FFFF.
(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
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
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?
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
Thanks RoseKavalier and Night!

Rumour says the alt key issue would be completely resolved in the next ERA release Spiteful
Reference URL's