на Главную Форума - back to Forum Indexна Главную Форума - back to Forum Indexна Главную Форума - back to Forum Index
на Главную Форума - back to Forum Index
Эадор.Сотворение - Eador.The Genesis на Главную Форума - back to Forum Indexна Главную Форума - back to Forum Indexна Главную Форума - back to Forum Index
на Главную Форума - back to Forum Index
Результатов поиска: 653
Автор
Сообщение
Boon947

Ответов: 13
Просмотров: 3470
Сообщениеζ Фopум ζ: The Guild of Craftsmen The Guild of Craftsmen   Добавлено: Чт Фев 03, 2022 21:32   Тeмa: New Horizons v21.0630_f01.a discussion thread

jamotide писал(а):
-The spell "Enchanted weapon" (Level 3 mass blessing) says "Increases all types of attacks to all friendly units by 1."
This sounds like it if it was a debuff. I would replace it with "attacks of all friendly units".

Good catch. Fix will be included if I ever do one more translation.

I don't think the "Battle Gryphons" issue is related to translation.

Regards.
 ζ Тема ζ: Eador Genesis GNU/Linux port
Boon947

Ответов: 35
Просмотров: 22155
Сообщениеζ Фopум ζ: The Guild of Craftsmen The Guild of Craftsmen   Добавлено: Ср Янв 19, 2022 19:14   Тeмa: Eador Genesis GNU/Linux port

Hello misz_hawk,

Here's your save in the Astral BEFORE you attack the current shard:
http://eador.online.fr/game0.cmp
(Turn 22 in the Astral)

Your Shard save is up to Turn 72, that's a lot of work to throw away!
If you can finish the shard (on Windows, or in wine) then I can convert your next Astral save.

Or you can convert it yourself:
https://github.com/Boon947/eador/commit/ae1265636080

Regards.
 ζ Тема ζ: Eador Genesis GNU/Linux port
Boon947

Ответов: 35
Просмотров: 22155
Сообщениеζ Фopум ζ: The Guild of Craftsmen The Guild of Craftsmen   Добавлено: Вт Янв 18, 2022 1:57   Тeмa: Eador Genesis GNU/Linux port

misz_hawk,
(Just to be sure) are you aware that it is possible to play the Windows binary on Linux, using wine64?
Maybe, like NovHak, you prefer a native application?

If you want to convert your campaign savegame for the native app, you'll have to conquer the current shard,
and exit while in the Astral.

Regards.
 ζ Тема ζ: Eador Genesis GNU/Linux port
Boon947

Ответов: 35
Просмотров: 22155
Сообщениеζ Фopум ζ: The Guild of Craftsmen The Guild of Craftsmen   Добавлено: Пн Янв 17, 2022 4:21   Тeмa: Eador Genesis GNU/Linux port

I used several magic constants, so I'm not sure how useful it might be.
Any comments before I push it to github?

Код:
#include <allegro>

#define CMP_PFX_32 12628
#define CMP_PFX_64 12632
#define PLAYER_32 4148
#define PLAYER_64 4160
#define SHARD_32 212
#define SHARD_64 224
#define MASK_32 28
#define MASK_64 40
#define TUTORIAL 288

int main(int argc, char **argv)
{
   char buf[12800];

   if (argc != 3)
      return 1;

   PACKFILE *in  = pack_fopen(argv[1], F_READ_PACKED);
   PACKFILE *out = pack_fopen(argv[2], F_WRITE_PACKED);

   if (!in || !out)
      return 2;

   if (pack_getc(in) != 'o' || pack_getc(in) != 'k' || pack_getc(in) != 2)
      return 3;

   pack_fwrite("ok\002", 3, out);

   pack_fread (buf, CMP_PFX_32, in);
   memset(buf + CMP_PFX_32, 0, CMP_PFX_64 - CMP_PFX_32);
   pack_fwrite(buf, CMP_PFX_64, out);

   int shard_count = ((int *)buf)[3];

   for (int i = 0; i < 33; ++i)
   {
      pack_fread (buf, PLAYER_32, in);
      memset(buf + PLAYER_32 - 8, 0, PLAYER_64 - PLAYER_32 + 8);
      pack_fwrite(buf, PLAYER_64, out);
   }

   for (int i = 0; i < shard_count; ++i)
   {
      pack_fread (buf, SHARD_32, in);
      memset(buf + SHARD_32 - 12, 0, SHARD_64 - SHARD_32 + 12);
      pack_fwrite(buf, SHARD_64, out);

      pack_fread (buf, MASK_32, in);
      memset(buf + MASK_32 - 12, 0, MASK_64 - MASK_32 + 12);
      pack_fwrite(buf, MASK_64, out);
   }

   pack_fread (buf, TUTORIAL, in);
   pack_fwrite(buf, TUTORIAL, out);

   pack_fclose(in);
   pack_fclose(out);

   return 0;
}

Regards.
 ζ Тема ζ: Eador Genesis GNU/Linux port
Boon947

Ответов: 35
Просмотров: 22155
Сообщениеζ Фopум ζ: The Guild of Craftsmen The Guild of Craftsmen   Добавлено: Пн Янв 17, 2022 3:14   Тeмa: Eador Genesis GNU/Linux port

NovHak писал(а):
Boon947 писал(а):
I see two options.
1) compile a 32-bit executable
2) make a compatibility layer for loading save games

Imho, we've reached a point where 32-bit programs should be avoided whenever possible : in the future, it may become increasingly difficult to run them. On the other hand, I feel adding a layer that detects Windows savegames may bring additional bugs to Eador on Linux. Ultimately, the solution would be to have a 64-bit build of Eador on Windows, but that doesn't solve misz_hawk's current problem... maybe a separate 32-bit to 64-bit savegame conversion utility? Or maybe even better, a utility that works both ways, 32->64 and 64->32?

Another advantage of the utility solution is that maybe it could be open source, so that people could improve it or create other utilities from it, and possibly port it to Windows, which could prove useful if Eador on Windows becomes 64-bit in the future.

But honestly, that's only my opinion and I don't have this problem, since I don't intend to run Eador games across platforms.

Building a 32-bit executable is not as straight-forward as I had first thought:
I would need to find 32-bit versions of the libraries (or build them myself).
Plus, the new 32-bit executable would not be able to read 64-bit savegames.

A version that works both ways might have been possible (with a little work)
*if* I had anticipated the need, and changed the format version. Doh!

In the end, we're on the same page: I wrote a 32->64 conversion util Smile

It only works when the player is in the Astral, because there's much less info
to save (so less info to convert).

misz_hawk, would that work for you?

Regards.
 ζ Тема ζ: Eador Genesis GNU/Linux port
Boon947

Ответов: 35
Просмотров: 22155
Сообщениеζ Фopум ζ: The Guild of Craftsmen The Guild of Craftsmen   Добавлено: Пт Янв 14, 2022 22:26   Тeмa: Eador Genesis GNU/Linux port

I think I see the problem.
On Linux, I built a 64-bit executable.
But on Windows, it's a 32-bit executable.
The format of structs is not compatible between the two binaries.
(If you loaded a Linux save game on Windows, Windows binary would probably crash)

I see two options.
1) compile a 32-bit executable
2) make a compatibility layer for loading save games

What do you think?

Regards.
 ζ Тема ζ: Eador Genesis GNU/Linux port
Boon947

Ответов: 35
Просмотров: 22155
Сообщениеζ Фopум ζ: The Guild of Craftsmen The Guild of Craftsmen   Добавлено: Пт Янв 14, 2022 18:46   Тeмa: Eador Genesis GNU/Linux port

misz_hawk писал(а):
Thank you for great Linux version it works better than windows one, except one problem, that I encountered.

If I try to move my save files from my WIN10 PC it is crashing when I try to load the game. If I start new campaign everything is perfect.

Do you know what could be a problem?

Hello fellow Linux gamer Smile

Just to be sure: this is not a "New Horizons" save game?

Could you zip your "save" folder and share it somewhere so I can take a look?

Regards.
Boon947

Ответов: 9
Просмотров: 2943
Сообщениеζ Фopум ζ: The Guild of Craftsmen The Guild of Craftsmen   Добавлено: Пт Ноя 12, 2021 18:51   Тeмa: Power-gaming Reference Guide for Eador: New Horizons

Hello wortkarg & FurloSK,

I have added links to Eadoropedia and FurloSK-Ref on http://eador.online.fr/

Regards.
Boon947

Ответов: 13
Просмотров: 3470
Сообщениеζ Фopум ζ: The Guild of Craftsmen The Guild of Craftsmen   Добавлено: Чт Окт 14, 2021 17:23   Тeмa: New Horizons v21.0630_f01.a discussion thread

wortkarg писал(а):
I'll update the Eadoropedia this weekend (the english version).

One can check the new translations here:
https://github.com/Boon947/eador/commit/0ffd10630e3f0c22aa76a026c3ca7b0bee6add64
(Do tell me if you spot some mistranslation.)

Found one typo:
"as yout battle form" -> "as your battle form"

Regards.
 ζ Тема ζ: New Horizons v21.0630_f01.a
Boon947

Ответов: 1
Просмотров: 4389
Сообщениеζ Фopум ζ: The Guild of Craftsmen The Guild of Craftsmen   Добавлено: Пн Окт 11, 2021 10:39   Тeмa: New Horizons v21.0630_f01.a

IMPORTANT NOTE

In previous versions, I would edit Eador.cfg manually for the release.
This time, I have kept the original configuration, so remember to tweak Eador.cfg
In particular, some of you might want to set Windowed to 0 (the default is 1)

Regards.
 ζ Тема ζ: New Horizons v21.0630_f01.a
Boon947

Ответов: 1
Просмотров: 4389
Сообщениеζ Фopум ζ: The Guild of Craftsmen The Guild of Craftsmen   Добавлено: Пн Окт 11, 2021 10:36   Тeмa: New Horizons v21.0630_f01.a

Hello Eador fans,

New Horizons v21.0630_f01.a is available here:
http://eador.online.fr/New_Horizons_21.0630_f01.a.zip
(Based on v21.0630_f01 with the August hot-fix)

This release is stand-alone, in other words:
Unzip anywhere, double-click the executable, and start playing Wink

Post bug reports, comments, suggestions, improvements, etc to the v21.0630_f01.a discussion thread.
https://eador.com/B2/viewtopic.php?t=4647

Regards.
Boon947

Ответов: 13
Просмотров: 3470
Сообщениеζ Фopум ζ: The Guild of Craftsmen The Guild of Craftsmen   Добавлено: Пн Окт 11, 2021 10:33   Тeмa: New Horizons v21.0630_f01.a discussion thread

Post bug reports, comments, suggestions, improvements, etc for the v21.0630_f01.a version.
Download from https://eador.com/B2/viewtopic.php?t=4648
 ζ Тема ζ: source code
Boon947

Ответов: 1
Просмотров: 908
Сообщениеζ Фopум ζ: The Guild of Craftsmen The Guild of Craftsmen   Добавлено: Чт Сен 16, 2021 1:31   Тeмa: Re: source code

matod писал(а):
Hello, is there someone who could contact Jazz about source code of Eador New Horizons?
Close to him or in communication with him who can translate?

Not sure what you're asking.
AFAIK, Jazz is the only one with the NH source code (it's his project).
The source code is not required to translate a version.
Regards
Boon947

Ответов: 4
Просмотров: 2044
Сообщениеζ Фopум ζ: The Guild of Craftsmen The Guild of Craftsmen   Добавлено: Вт Мар 09, 2021 19:08   Тeмa: Please Explain Eador.cfg parameters

All the following were in Genesis vanilla.

anl93 писал(а):
Refresh delay (min 5, default 20): 10

Time interval (in ms) between display refreshes.

anl93 писал(а):
Poll mouse delay (min 2, default 25): 5

Time interval (in ms) to between mouse polls.

anl93 писал(а):
Keyboard delay (default 500): 300
Keyboard repeat (default 500): 300

Arguments to set_keyboard_rate()
https://liballeg.org/stabledocs/en/alleg006.html#set_keyboard_rate

anl93 писал(а):
Antiblink Delay (default 1, max 10): 0

Maybe some kind of flicker work-around?

Regards.
Boon947

Ответов: 4
Просмотров: 2044
Сообщениеζ Фopум ζ: The Guild of Craftsmen The Guild of Craftsmen   Добавлено: Чт Мар 04, 2021 2:04   Тeмa: Please Explain Eador.cfg parameters

anl93 писал(а):
Max illustration (default 251, max 300): 300

Max illustration is the maximum number of bitmaps loaded from dat/Illustration.dat
You might wonder "why would I want to change that value?"
You wouldn't. This value should not have been exposed as a config option.

anl93 писал(а):
Max herb (default 112, max 150): 150

Max herb is the maximum number of bitmaps loaded from dat/Herb.dat and dat/HerbS.dat
Same comment as above.

See https://eador.com/B2/viewtopic.php?t=4110 for the various resources in the dat files.

To be continued...
Boon947

Ответов: 4
Просмотров: 2044
Сообщениеζ Фopум ζ: The Guild of Craftsmen The Guild of Craftsmen   Добавлено: Вт Мар 02, 2021 2:00   Тeмa: Please Explain Eador.cfg parameters

Hello anl93,

Which options are you wondering about?

The original release notes are here:
https://translate.google.com/translate?hl=en&sl=ru&tl=en&u=http%3A%2F%2Feador.com%2FB2%2Fviewtopic.php%3Fp%3D327723

Jazz писал(а):
In the configuration file, the setting of the depth of thinking of the move for the AI has been made (0 - "by eye", 1 - an approximate calculation, 2 - the most accurate calculation).
I recommend putting "2" at the beginning of the game, and when the AI ​​move becomes long, switch to "1". I recommend setting "0" only for beginners.


Regards.
Boon947

Ответов: 5
Просмотров: 1565
Сообщениеζ Фopум ζ: The Guild of Craftsmen The Guild of Craftsmen   Добавлено: Вт Мар 02, 2021 1:35   Тeмa: How is site loot generated? [Eador: New Horizons]

Hello FurloSK,

Here is a nice reference put together by Gremlion:
https://www.gog.com/forum/eador_series/moddingindexes

Have you seen the HTML tables I used to provide:
http://eador.online.fr/en/site.var.html

I could update the HTML tables if you're interested.

See also wortkarg's Eadoropedia:
https://wortkarg.bitbucket.io/eadoropedia/en/sites.html

EDIT: I see you're already aware of Eadoropedia Smile
https://eador.com/B2/viewtopic.php?t=4586

Regards.
 ζ Тема ζ: Eador Genesis GNU/Linux port
Boon947

Ответов: 35
Просмотров: 22155
Сообщениеζ Фopум ζ: The Guild of Craftsmen The Guild of Craftsmen   Добавлено: Вт Ноя 17, 2020 0:55   Тeмa: Eador Genesis GNU/Linux port

Hello NovHak,

It is likely that the same bug exists in the Windows binary.
Depends which compilation flags Alexey used (for MSVC, I suppose).

The code is written in C++
int Loot [9][2]; defines an array of 9 pairs of integers.
Loot[9][0] is invalid (out-of-bound access).

In the expression Loot[k][0] == 0) && (k < 9)
the compiler considers that k < 9 is "unnecessary" since the code already accesses Loot[9][0]

Not sure how to test the quest reward hypothesis.
There might be a "test mode" to force specific events.

FWIW, New Horizons works in wine64 Wink

Regards.
 ζ Тема ζ: Eador Genesis GNU/Linux port
Boon947

Ответов: 35
Просмотров: 22155
Сообщениеζ Фopум ζ: The Guild of Craftsmen The Guild of Craftsmen   Добавлено: Сб Ноя 14, 2020 20:35   Тeмa: Eador Genesis GNU/Linux port

Hello NovHak, (and other fans of Eador Genesis on Linux)

I have fixed the reported crash, and uploaded http://eador.online.fr/eador.7z
(I also fixed a few sprintf warnings.)

One can test as follows:
In defender.var and guard.var
Set all LootPoss (loot possibility) to 100
Set all LootNum/MaxLoot (number of items dropped) to 4

The game no longer crashes after battles.

Regards.
Boon947

Ответов: 14
Просмотров: 4314
Сообщениеζ Фopум ζ: The Guild of Craftsmen The Guild of Craftsmen   Добавлено: Вт Ноя 10, 2020 1:25   Тeмa: New Horizons v20.0614.a discussion thread

I pushed the latest changes to github, for anyone interested:
https://github.com/Boon947/eador/commits/master

New translations are here, if anyone wants to check:
https://github.com/Boon947/eador/commit/b9778ae7018844c8b04d429b0766abfc84b585bc

Regards.
Page 1 of 33
На страницу 1, 2, 3 ... 31, 32, 33  След.
Часовой пояс: GMT +3:00

 
на Главную Форума - back to Forum Indexна Главную Форума - back to Forum Indexна Главную Форума - back to Forum Indexна Главную Форума - back to Forum Index Eador. The Genesis. Encyclopedia на Главную Форума - back to Forum Indexна Главную Форума - back to Forum Indexна Главную Форума - back to Forum Index