Gamestudio Links
Zorro Links
Newest Posts
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
folder management functions
by 7th_zorro. 04/15/24 10:10
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
LPDIRECT3DCUBETEXTUR
E9

by Ayumi. 04/12/24 11:00
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 04/11/24 14:56
SGT_FW
by Aku_Aku. 04/10/24 16:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (7th_zorro, Quad), 373 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
11honza11, ccorrea, sakolin, rajesh7827, juergen_wue
19045 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Read Engine Version #410142
10/29/12 14:25
10/29/12 14:25
Joined: Jul 2008
Posts: 894
T
TechMuc Offline OP
User
TechMuc  Offline OP
User
T

Joined: Jul 2008
Posts: 894
Hi,

Is there a possiblity to read the engine version (e.g. com / extra etc.) without loading the engine via engine_open (e.g. by calling any public inteface methods of ackutll.dll)?

Regards,
Timo

Last edited by TechMuc; 10/29/12 14:25.
Re: Read Engine Version [Re: TechMuc] #410145
10/29/12 14:34
10/29/12 14:34
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen

Last edited by Uhrwerk; 10/29/12 14:57. Reason: Sorry, I'm stupid. First read, then post...

Always learn from history, to be sure you make the same mistakes again...
Re: Read Engine Version [Re: TechMuc] #410148
10/29/12 14:45
10/29/12 14:45
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline
Expert
Rei_Ayanami  Offline
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Originally Posted By: TechMuc
without loading the engine

Re: Read Engine Version [Re: Uhrwerk] #410149
10/29/12 14:45
10/29/12 14:45
Joined: Jul 2008
Posts: 894
T
TechMuc Offline OP
User
TechMuc  Offline OP
User
T

Joined: Jul 2008
Posts: 894
I want to read the engine edition WITHOUT (!) opening the engine. From all I know the "edition" variable is part of the ENGINE_VARS framework and therefore only accessible after calling engine_open.

Regards,
Timo

Re: Read Engine Version [Re: TechMuc] #410154
10/29/12 15:08
10/29/12 15:08
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
There is a way through the user key, but if I told you I had to kill you.

From the engine, AFAIK the only way is the edition variable. For what do you need the edition before opening the engine?

Re: Read Engine Version [Re: jcl] #410155
10/29/12 15:12
10/29/12 15:12
Joined: Jul 2008
Posts: 894
T
TechMuc Offline OP
User
TechMuc  Offline OP
User
T

Joined: Jul 2008
Posts: 894
I'm currently writing an easy to use publisher for my editor laugh
During the publishing process it would be of great help to check if wed is able to generate wrs files.

Additionally checking the editon could give me the ability to give more user-specific help & auto complete.

Quote:
There is a way through the user key, but if I told you I had to kill you.


laugh Actually i'm a little bit irrititated. From all I understood the "logic" for decompiling the key is in ackutl.dll. This DLL is called from wed.exe and acknex.dll . The DLL has the public symbols:
FN_ACKUTL01 to FN_ACKUTL08 and "long nAckUtl1" to "long nAckUtl8".
Probably those functions are responsible for checking the acknex version =) So there must be some kind of " ackutlDLL->CheckKeyVersion..." (even though the name is encrypted).

But okay, I see that those are pretty internals, and you do not want to make such things public laugh

Regards,
Timo

Last edited by TechMuc; 10/29/12 15:13.
Re: Read Engine Version [Re: TechMuc] #410157
10/29/12 15:56
10/29/12 15:56
Joined: Apr 2008
Posts: 650
Sajeth Offline
User
Sajeth  Offline
User

Joined: Apr 2008
Posts: 650
Or you could just go the dirty way and check the existance of the key files.
key8c.dta for commercial edition, key8p.dta for professional and so on.


Teleschrott-Fan.
Re: Read Engine Version [Re: Sajeth] #410159
10/29/12 16:00
10/29/12 16:00
Joined: Jul 2008
Posts: 894
T
TechMuc Offline OP
User
TechMuc  Offline OP
User
T

Joined: Jul 2008
Posts: 894
ahh nice idea laugh
That's the way to go.. As I do not really need to verify those dta files, that's sufficient. Thanks a lot for this easy & good idea laugh

Last edited by TechMuc; 10/29/12 16:06.
Re: Read Engine Version [Re: TechMuc] #410161
10/29/12 16:24
10/29/12 16:24
Joined: Jul 2000
Posts: 27,978
Frankfurt
jcl Offline

Chief Engineer
jcl  Offline

Chief Engineer

Joined: Jul 2000
Posts: 27,978
Frankfurt
Unfortunately it's not so easy, as the "c" and "p" are not necessarily related to the edition. But I'll check if there's some consistent rule with the key names.

Re: Read Engine Version [Re: jcl] #410179
10/30/12 07:28
10/30/12 07:28
Joined: Dec 2003
Posts: 1,225
germany
gri Offline
Serious User
gri  Offline
Serious User

Joined: Dec 2003
Posts: 1,225
germany
what about an simple way...open the engine -> get the value -> close engine .... go ahead?


"Make a great game or kill it early" (Bruce Shelley, Ensemble Studios)
Page 1 of 2 1 2

Moderated by  old_bill, Tobias 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1