- treat the table as read-only
- make changes directly to the var file
- run the conversion program on the updated var file to generate the updated table
I will make a Windows binary for all you Microsoft fans ;-)
Warning: it's a command-line tool, I'm just a Linux dev. Would that work for you?
I think that would work just fine. _________________ Phenomenal self as such is not an epistemically justified form of mental content.
Koba
≡Охотник в Ночи≡ Ветеран
Свитков: 392
С нами с: 02.04.2013
Откуда: Новосибирск
Удобно. А переведите ему кто-нибудь, пожалуйста, может он ещё расшифрует цифры и коды эффектов как у меня в таблицах - и онлайн будут и Э-педия и таблицы
Удобно. А переведите ему кто-нибудь, пожалуйста, может он ещё расшифрует цифры и коды эффектов как у меня в таблицах - и онлайн будут и Э-педия и таблицы :)
Boon! Koba asks if you could decode the effect indexes to represent the name beside each effect. Items and spells refer to the ability_num.var, and something like this
Код:
2,2,0 +2 attack 3,2,0 +2 counterattack
for the short sword shouldn't be very hard to achieve. Units refer to the unit_upg.var, which in turn refers to the ability_num.var, so this one is a little bit trickier, but nothing really herd nontheless. It would increase the readability greatly, and allow players use the table as a reference the way eadoropedia is used and not only like a devtool. _________________ Phenomenal self as such is not an epistemically justified form of mental content.
- treat the table as read-only
- make changes directly to the var file
- run the conversion program on the updated var file to generate the updated table
I will make a Windows binary for all you Microsoft fans
Warning: it's a command-line tool, I'm just a Linux dev. Would that work for you?
I think that would work just fine.
Here it is!
to_html v0.01 -- convert var file to filterable HTML table
(Compiled with i686-w64-mingw32-gcc 4.8.2)
http://eador.online.fr/to_html.zip
Удобно. А переведите ему кто-нибудь, пожалуйста, может он ещё расшифрует цифры и коды эффектов как у меня в таблицах - и онлайн будут и Э-педия и таблицы
Boon! Koba asks if you could decode the effect indexes to represent the name beside each effect.
Sweet, my second user! Привет Koba
Kettarienne писал(а):
Items and spells refer to the ability_num.var, and something like this
Код:
2,2,0 +2 attack 3,2,0 +2 counterattack
for the short sword shouldn't be very hard to achieve. Units refer to the unit_upg.var, which in turn refers to the ability_num.var, so this one is a little bit trickier, but nothing really hard nontheless. It would increase the readability greatly, and allow players use the table as a reference the way eadoropedia is used and not only like a devtool.
The easiest thing for me would be to use whatever tag is right there in the file. (Someone took the time to add them, might as well use them!)
To continue with your Shortsword example, it would appear like this:
Код:
Attack,2,0 CounterAttack,2,0
(The Power and Area fields would remain implicit.)
Koba, Ket, what do you think?
The easiest thing for me would be to use whatever tag is right there in the file. (Someone took the time to add them, might as well use them!)
It would look like this:
http://eador.online.fr/test.html
[EDIT] It just hit me that russophones probably want the tags in Russian... Much more complex then.
Koba, is that what you had in mind?
Koba, является то что вы имели в виду?
Now I just need to check that the tags are correctly synced with the actual ability!
Hmmm, I just noticed that printing the tag is not the correct behavior for the buildings var files. Maybe this needs to be a parameter...
To continue with your Shortsword example, it would appear like this:
Код:
Attack,2,0 CounterAttack,2,0
I would prefer actual names from respective var. Those tags are quite inconsistent, and don't support russian (they aren't really english as well). But for me it would suffice. For units, though, you'll have to devise another sintax. There's no tags and showing the index itself is essential, even beside the proper name. _________________ Phenomenal self as such is not an epistemically justified form of mental content.
I would prefer actual names from respective var. Those tags are quite inconsistent, and don't support russian (they aren't really english as well).
I parsed item.var to evaluate the number of inconsistencies. (Check out Ability #909)
What if I changed all the tags to the proper Russian ability name? (which would thus fix all inconsistencies)
Jazz, would you take the fixed file? Or would I be working in vain?
(I'll see with Sat if his translation would handle that transparently.)
I don't really know whether the game itself can handle cyrillics there. _________________ Phenomenal self as such is not an epistemically justified form of mental content.
Время глупых вопросов:1)Как я понял скрытты основаны на скавенах?
2)Будут ли еще аллюзии на сороковник/фб?(Хотелось аналог тильянцев и Систер Зигмара)
В начале были скавены. И дроу из Днд. Но потом ни разрабочикам, ни часи игроков не понравилось столь прямое копирование, и они переосмыслели. По словам жазза в ближайшее время нового контента вообще не будет. Хотите сестер или тильянцев - придется деелать сво мод. Как например у факира с его нагами.
В начале были скавены. И дроу из Днд. Но потом ни разрабочикам, ни часи игроков не понравилось столь прямое копирование, и они переосмыслели. По словам жазза в ближайшее время нового контента вообще не будет. Хотите сестер или тильянцев - придется деелать сво мод. Как например у факира с его нагами.
Влад, что у тебя с клавиатурой? _________________ Беспощадною косой,
Полоса за полосой,
В чёрной рясе госпожа
Собирает урожай.
Тот, кто нежить в бой ведёт,
От твоей руки падёт.
И останется один
В чистом поле – паладин!
Koba
≡Охотник в Ночи≡ Ветеран
Свитков: 392
С нами с: 02.04.2013
Откуда: Новосибирск
В начале были скавены. И дроу из Днд. Но потом ни разрабочикам, ни часи игроков не понравилось столь прямое копирование, и они переосмыслели. По словам жазза в ближайшее время нового контента вообще не будет. Хотите сестер или тильянцев - придется деелать сво мод. Как например у факира с его нагами.
Влад, что у тебя с клавиатурой?
Не знаю. Она новая, и уже старой. То ли не попдаю, то ли тупо не нажимается.
I am curious: how much time did it take you to create the spread sheets like item_Eador_NH_14.1228.xls in Excel?
Do you have to start from 0 for every release?
I will have some time this week end to work on the var-to-HTML converter.
Мне любопытно: сколько времени вам понадобилось, чтобы создать электронные таблицы, как item_Eador_NH_14.1228.xls в Excel?
Вы должны начать с 0 для каждого выпуска?
У меня будет какое-то время на этой неделе целью работу на преобразователе VAR-на-HTML.
Regards.
Koba
≡Охотник в Ночи≡ Ветеран
Свитков: 392
С нами с: 02.04.2013
Откуда: Новосибирск
I am curious: how much time did it take you to create the spread sheets like item_Eador_NH_14.1228.xls in Excel?
Do you have to start from 0 for every release?
PHP-script creates tables, then copy-paste to EXCEL and manually formatting. If changelog of new release is very big, then I start from scratch and it occupies 1-2 week-ends (Sat&Sunday, 4-6 hours each day). I'm not a programmer just IT-manager, so my work not so effective (like your for example)
Can you make something like that tables in HTML with cool FILTER ability?
Hello Koba,
Please take a look at http://eador.online.fr/ru.item.var.html
Move cursor over Ability index (gold background) and tool-tip should appear with Ability name.
Is this OK for you? (I think tool-tips are useful to minimize visual distractions.)
To generate this table, I changed the labels in item.var (I put the actual Russian Ability Names)
http://eador.online.fr/item.var
Can someone with an advanced save game take this item.var file and check that the item stores work as expected?
(The game loads fine with the new file, but bugs might show up late-game)
What are Pip-Boy and Space Rangers abilities???
They occur on items 501 and 502.
Are these items somehow removed from the game?
@Jazz: would you take this item.var file? (It is in Windows CRLF format.)
Please take a look at http://eador.online.fr/ru.item.var.html
Move cursor over Ability index (gold background) and tool-tip should appear with Ability name.
Is this OK for you? (I think tool-tips are useful to minimize visual distractions.)
Good decision indeed!
Boon947 писал(а):
What are Pip-Boy and Space Rangers abilities???
They occur on items 501 and 502.
Are these items somehow removed from the game?
IIRC technically they are still in the files, but cannot be obtained in any fashion.
Джазз, поглядите по второй его ссылке. Он поменял ынгыйские обозначения в итем.варе на нормальные русские названия этих абилок. Говорит, что игра работает. Давай такие вставим, удобно же. Он небось все вары так за пять минут обработать может. _________________ Phenomenal self as such is not an epistemically justified form of mental content.
IIRC technically they are still in the files, but cannot be obtained in any fashion.
I think it is good to delete obsolete entries. I am willing to do that work.
Kettarienne писал(а):
Джазз, поглядите по второй его ссылке. Он поменял ынгыйские обозначения в итем.варе на нормальные русские названия этих абилок. Говорит, что игра работает. Давай такие вставим, удобно же. Он небось все вары так за пять минут обработать может.
I used a very simple bash script to update item.var
$ ./update_labels item.var ability_num.var >temp
Код:
#!/bin/bash
while read TAG VAL; do
if [ "$TAG" = "Name:" ]; then NAME="${VAL%;}"; fi
if [ "$TAG" = "Number:" ]; then LUT[$VAL]="$NAME"; fi
done <$2
exec <$1 && read PREV
while read CURR; do
if [ "${CURR:0:6}" = "Power:" ]
then
N="${PREV##* }"
[ "$N" -ne 0 ] && PREV="${LUT[$N]}: $N"
fi
echo $PREV
PREV="$CURR"
done
I think it is good to delete obsolete entries. I am willing to do that work.
It's not that simple, I'm afraid. Items are refered to by their numbers, so you would have to change all the following items' indexes everywhere, including the .dat files, which are somewhat harder to process (IIRC the programmers talking, there is only a java API, or something like this). And Jazz has already started working on some of those. _________________ Phenomenal self as such is not an epistemically justified form of mental content.
Ты не можешь начинать темы Ты не можешь отвечать на сообщения Ты не можешь редактировать свои сообщения Ты не можешь удалять свои сообщения Ты не можешь голосовать в опросах