|
|
Baronus
Legendary Hero
|
posted December 02, 2017 07:50 PM |
|
|
Game reads first from mods folder and if theres nothing next from h3/data. So mods folder overwrite all h3/data files. Editor reads as I see txt tables finally from h3/data but cant read them from wog.pac but can read defs from wog.pac!!!! Completly crazy :-) so its final solution.
1. Open editor
2. It gives: zeditor.txt missed
3. Put extracted zeditor.txt i h3/data folder
4. Open editor - zcraits.txt missed
5. Extract zcraits.txt..
etc.
Do it for the time when you run editor :-)
Its about 7 tables editor, objects, creatures etc.
We can extract all these and give pack as fix in first post or in era installer.
Szaman as you see better is give files and it is faster :-) This language problem can destroy a lot of days to searching solution! All other languages should remember this. This forum is like heores ó is suprted but ąę śćżż as you see :-):-)
I dont tested wog but it looks I can play old Wog and no problem. I replaced only dlls and heroes3.ini. Its 4 or 5 files only! It will be good add update to old version to not all Era its maybe 5 MB.
Saves. Maybe it will be solution to open and overwrite? And not to play again. Should be tested.
|
|
Bersy
Honorable
Supreme Hero
|
posted December 02, 2017 07:52 PM |
|
|
Salamandre, delete _HD_Data_Compatibility#Erano hota maps.bin or something like that.
Will be fixed in upcoming release.
|
|
szaman
Known Hero
|
posted December 02, 2017 08:02 PM |
|
Edited by szaman at 20:10, 02 Dec 2017.
|
Quote: It gives: zeditor.txt missed
It gives me only zeditr.txt missed in my WoG.pac there is no zeditor.txt
Even if i add zeditr.txt the editor shows the same error... missing zeditr.txt
|
|
Bersy
Honorable
Supreme Hero
|
posted December 02, 2017 09:14 PM |
bonus applied by Maurice on 08 Jan 2018. |
Edited by Bersy at 21:15, 02 Dec 2017.
|
MSCOMCTL.OCX possible solution
Version 2.6.2
------------------------
[+] Added localization support for ERM scripts. All Lang*.json files are loaded and merged into single dictionary of key => value pairs with language data.
Json files must be saved in UTF-8 encoding with preferably Unix line endings (#10 = 0x0A). The format is the following:
{
"unique global key": "translation",
"another key": "another translation"
}
During file loading text is converted from UTF-8 (Unicode, i.e Russian, Polish, Chinese and any other language is supported) into ANSI-encoding, used by player's operational system, ex. Windows-1251.
Thus you may ship the translation, other people may open and edit it without loss and characters, not representable on particular PC, will be replaced with "?".
Real example:
{
"eqs.this_day_savegame_name": "@day@_@player@",
"eqs.end_turn_autosave_name": "@day@_@player@_End",
"eqs.quicksave_name": "@day@_@player@_Quick",
"eqs.saved_msg": "Saved!",
"eqs.quicksaved_msg": "Quicksaved!"
}
It's recommended to prefix each key with string, unique for mod or author, like "pm." for "Phoenix Mod".
Translations may have parameters in the form of "@parameter name@". Those parameters are replaced with actual values during translation.
New ERM command !!SN:T is used to translate strings by key.
!!SN:T(key)/?(z-variable to place result to)/(parameter name 1)/(parameter value 1)/(parameter name 2)/(parameter value 2)...;
Example:
!!OW:R-1/6/?y1; y1 - player's gold amount
!!SN:T^test.gold_amount_report^/?z2/^gold^/y1;
!!IF:M^%Z2^; prints "You have 12850 gold left. Not bad!"
my test.json:
{
"test.gold_amount_report": "You have @gold@ gold left. Not bad!"
}
[+] Added possibility to set secondary skills texts without z-variables dependence. SN:H^secskill^/skill 0..27/0 (name) or skill level/new hint.
[+] Added GET-syntax for all SN:H commands, allowing to get previously set hint for objects or current skill/specialty texts for heroes.
[+] v1-v10 and z1 will be restored after (OnKeyPress) event to the value, they had before event.
[+] Added fixes by Algor for 30 wog - enhanced secondary skills.erm, 75 wog - secondary skills boost.erm and 78 wog - wogify.erm. No more hardcoded numbers, !!SS is used instead.
[+] "Quick Saving" script is converted into default standalone mod, using named functions, unique SN:W variables and Era 2.6.2 localization means. Mod is now compatible with almost any other mod.
[+] Added msvcr90.dll (Microsoft Visual C++ Redistributable 2009) to support plugins, written with this dependency.
[+] Added meaningful messages to many asserts in code, making assertion crashes easier to understand.
[*] Each *.bin patch obtains unique name prefix, no more conflicts with 'no hota maps.bin', shipped with HD mod.
[*] Yona creature abilities are now off by default and need to be manually switched on via mod ini file.
[-] Fixed bug: SN:H^object^/x/y/z/hint didn't update hint.
[-] Removed Jim Vogan's scripts from WoG mod.
Download. Releases folder.
|
|
Bersy
Honorable
Supreme Hero
|
posted December 02, 2017 09:16 PM |
|
|
szaman, try to simply open map in file manager. It will be opened in editor without errors.
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted December 02, 2017 09:24 PM |
|
|
Can we install 262 over previous, or clean?
|
|
Bersy
Honorable
Supreme Hero
|
posted December 02, 2017 09:27 PM |
|
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted December 02, 2017 09:34 PM |
|
|
Great, it works, thanks. Tell me which version to upload to wakeofgods.org, is this latest or you will update shortly?
|
|
Baronus
Legendary Hero
|
posted December 02, 2017 09:38 PM |
|
Edited by Baronus at 21:53, 02 Dec 2017.
|
Baronus
2.62 hoho! Fast. Can you post only upgrade not 84 MB? :-)
Opening via mod manager crashes too...
I have zeditr :-)
There are 5 ones:
zeditr
zcrait
zeobjts
crtrait0
zcrgn0
H3/data
Extraxt it and add pack or add it in installer in data.
Next if dont work.
Go to Mods/wog/erapluggins
remove game bug fixes.era
It crashing my game.
And thats all. Works normal.
And in tools/exebuilder
"out" is missed! I have old one.
That are major bugs and fixes!
Now Sunday is nearby. Day for Good no work! :-)
|
|
gamemaster
Adventuring Hero
|
posted December 02, 2017 09:53 PM |
|
|
Solving MSCOMCTL.OCX problem
1. Solution - Instaling
Download and install "VisualBasic6-KB896559-v1-ENU.exe".
File is located here
Follow this instructions.
note: i did not do this so cant say will it work.
2. Solution - Extracting
This solution is far better but require some totalcommaned extensions ( WCRes here). This is my way
- Go to microsoft site and download "VisualBasic6-KB896559-v1-ENU.exe" here
- Ctrl+PageDown to open exe as zip file.
- Extract MSCOMCTL.OCX file to ObjTxtEditor folder
- No registration or other wincrap needed, just run objtxteditor.exe
Whole problem occur because there is no Microsoft Visual Basic 6.0 Common Controls installed on machine. That can happens on relatively clear newer windows installations.
now to see what 2.6.2 brings to us
|
|
Bersy
Honorable
Supreme Hero
|
posted December 03, 2017 12:20 AM |
|
|
Quote: Can you post only upgrade not 84 MB? :-)
Sorry, but all packages will be released in the full version, no incremental updates. The process is automated. You can install over previous versions.
Out.exe is created from In.exe on first ExeBuilder run.
----
Ok, I will include common controls library as well in the next release.
____________
Heroes 3 Era and everything for it. Releases folder for releases.
|
|
szaman
Known Hero
|
posted December 03, 2017 12:57 AM |
|
|
Quote: Baronus
2.62 hoho! Fast. Can you post only upgrade not 84 MB? :-)
Opening via mod manager crashes too...
I have zeditr :-)
There are 5 ones:
zeditr
zcrait
zeobjts
crtrait0
zcrgn0
H3/data
Extraxt it and add pack or add it in installer in data.
Next if dont work.
Go to Mods/wog/erapluggins
remove game bug fixes.era
It crashing my game.
And thats all. Works normal.
And in tools/exebuilder
"out" is missed! I have old one.
That are major bugs and fixes!
Now Sunday is nearby. Day for Good no work! :-)
No good... my editor is still complaining about the missing zedit...
activating the editor via mod manager gives nothing...
|
|
Bersy
Honorable
Supreme Hero
|
posted December 03, 2017 01:26 AM |
|
|
|
szaman
Known Hero
|
posted December 03, 2017 02:27 AM |
|
|
Still nothing the same error... missing zedirt.txt
|
|
artu
Promising
Undefeatable Hero
My BS sensor is tingling again
|
posted December 03, 2017 03:42 AM |
|
Edited by artu at 14:25, 03 Dec 2017.
|
Hello, Bersy. It's great to see you back and working on Era once again. I just moved to another town and I dont have Windows installed yet, so I cant check stuff out for myself but
Bersy said: [-]Removed Jim Vogan's scripts from WoG mod.
Which ones? Did he ask you to? If not, why remove them? Extracting features with an update always leaves the users in a dilemma, should they update for improvements or stick to outdated versions for those features they will miss. It's just unnecessary. Can you elaborate on what got the axe and how come?
____________
Are you pretty? This is my occasion. - Ghost
|
|
Bersy
Honorable
Supreme Hero
|
posted December 03, 2017 10:47 AM |
|
|
Quote: Still nothing
Ok, thanks, I'll try to fix editor as soon as possible.
Quote: Hello, Bersy. It's great to see you back and working on Era once again.
Hi, artu, glad to see you )
Quote: Which ones? Did he ask you to?
80 wog - jv scripts.erm
script80.ers
script81.ers
script82.ers
script83.ers
I deleted all non-WoG 3.58 scripts from WoG 3.58 for several reasons:
-) 3.58 scripts use deprecated technics, are written in old style.
-) any mod over 3.58 will not expect any other scripts, consuming IDs of variables, functions and options.
-) it's Era's spirit to keep everything in different mods.
Thus my "Quick Savings" script was removed from WoG mod and converted to up-to-date standalone mod, compatible with everything.
You can still copy those files to ModsNew ModDatas and play with them.
____________
Heroes 3 Era and everything for it. Releases folder for releases.
|
|
Salamandre
Admirable
Omnipresent Hero
Wog refugee
|
posted December 03, 2017 11:20 AM |
|
|
The quick savings mod was updated too? Because wakeofgods.org/mods had already a stand alone version of it where I specified I upgraded the f5 (quick?) save to unlimited for that day, so you can have multiple saves for each day. It was here:
!?FU77003;
!!SN:W^InChat^/?y1;
!!SN&y1=1:Q;
!!SN:X?y1;
!!FU&y1<>116:E;
!!SN:L^Era.dll^/?y1 Ay1/^GetGameState^/?y2 Ey2/0/?y10;
!!FU|y10<>y11/y10<>4205280:E;
!!SN:W^Val_quick^/?y17;
!!VRy17:+1;
!!SN:W^Val_quick^/y17;
!!VRy7:Sc0;
!!VRy1:Sc-1%7+1;
!!VRy8&y7<10:S0;
!!VRy9&y7<100:S0;
!!VRz2&y7<10:S^Day %Y9%Y8%Y7, %Y1_%Gc_Quick_%Y17^;
!!VRz2&y7>9/y7<100:S^Day %Y9%Y7, %Y1_%Gc_Quick_%Y17^;
!!VRz2&y7>99:S^Day %Y7, %Y1_%Gc_Quick_%Y17^;
!!SN:L^Angel.dll^/?y1 Ay1/^SaveGame^/?y2 Ey2/0/z2/1/0/0/1;
!!VRz1:S^{~w}Quicksaved (%Y17)!{~}^;
!!FU77998:P;
!!SN:X0/1;
!!SN:Q;
Then val_quick is reset every day. Can we still keep that or must be redone in this or another way?
|
|
Bersy
Honorable
Supreme Hero
|
posted December 03, 2017 02:09 PM |
|
|
|
majaczek
Supreme Hero
Work at Magic Dimmension
|
posted December 03, 2017 03:39 PM |
|
|
I already done my own quicksave mod
you need only my edited "era - quick savings.erm" and my plugin "skirmish.era" (the latter doesn't work properly without hd mod, because there is no cursor on the window)
I tweaked quicksave to best fit my desires also done the skirmish plugin which just loads inputed text to z999 (prefix for quicksaves for one match)
Should I post it as separate mod or do you wish to import it from my mod? also please do a possibility to input text to z-var without hacks like one in my plugin (I used special window with windows controls).
Also there is two or three fixes for wogify scripts (fixing problem if variables are out of range - 28+ for secondary skill and hero past xeron) which could raise erm error if you get wrong variable values.
|
|
Bersy
Honorable
Supreme Hero
|
posted December 03, 2017 05:49 PM |
|
|
Quote: Should I post it as separate mod
Yes, with unique name, please.
Quote: also please do a possibility to input text to z-var without hacks like one in my plugin
Already implemented. IF:E.
Quote: Also there is two or three fixes for wogify scripts (fixing problem if variables are out of range - 28+ for secondary skill and hero past xeron) which could raise erm error if you get wrong variable values.
Could you share fixes with description?
____________
Heroes 3 Era and everything for it. Releases folder for releases.
|
|
|