New EFS utility

A very good patch

Moderator: Matt Caspermeyer

Vlad
Tank commander
Posts: 17
Joined: Fri Sep 30, 2005 1:01 am
Location: Russia

Re: New EFS utility

Postby Vlad » Sun Jan 15, 2006 10:43 am

That's OK!
I am losing passwords all the time - this is the real problem for me too :)
Welcome back!!! :D

Did you try my utility?
What do you think about it?
Any suggestions?

User avatar
cy387_lk
Vau Ambassador
Posts: 236
Joined: Mon Jan 21, 2002 2:01 am
Location: Mexico City, Land of Drunk Mariachis
Contact:

Re: New EFS utility

Postby cy387_lk » Mon Jan 16, 2006 6:27 am

I've got some problems running it. First it said "2,1000 is not valid floating variable", but it's ok. After I played with values it ran changing all values in the config to zeros. But when I put any directory with EFS installed it sais "Data Files not Found" or something like that, so I was unable to try it... :(
Do I like science fiction? Sure! But only a bad one!...
("Tales of Pirx The Pilot" after Stanislaw Lem)

Vlad
Tank commander
Posts: 17
Joined: Fri Sep 30, 2005 1:01 am
Location: Russia

Re: New EFS utility

Postby Vlad » Mon Jan 16, 2006 10:37 pm

H'm... something strange... sorry :confused:
Did you mean "2,1000" is "MAX_SCALE" parameter in the "EFS_ENCL.INI"?
Could you send me this file?
It seems to me it's corrupted.
The requested "EFS" directory must contain
".\data", ".\MANOWITZ" directories.
Do you use Hyperion mod?

User avatar
cy387_lk
Vau Ambassador
Posts: 236
Joined: Mon Jan 21, 2002 2:01 am
Location: Mexico City, Land of Drunk Mariachis
Contact:

Re: New EFS utility

Postby cy387_lk » Tue Jan 17, 2006 12:53 am

Yep, I meant the INI. I'll give more details today later when I'm back home. And yes, I have the Hyperion installed, actually I even don't remember how EFS looks like without it =).

The only thing I remember is that this value is already set in the INI as well as other parameters when you open the zip archive. But the program set all them zeros after the first program launch.

Btw I'm a coder too so feel free speaking using normal technical terms if you need to. ;)
Do I like science fiction? Sure! But only a bad one!...

("Tales of Pirx The Pilot" after Stanislaw Lem)

User avatar
cy387_lk
Vau Ambassador
Posts: 236
Joined: Mon Jan 21, 2002 2:01 am
Location: Mexico City, Land of Drunk Mariachis
Contact:

Re: New EFS utility

Postby cy387_lk » Tue Jan 17, 2006 8:03 pm

ok that's the INI after I unzip the package:

Code: Select all

[EFS]
 EFS_DIR=C:\EFS
 [EFS_ENCL]
 IMAGE_PATH=.\Tech tree chart Hyp1_4g.emf
 DESCR_PATH=.\Tech tree chart Hyp1_4g.des
 MAX_SCALE=2,10000
 [EFS_ENCL_COLORS]
 SEL_COLOR(BGR)=FF0000
 BLINK_COLOR(BGR)=0000FF
 GRID_FIX_COLOR(BGR)=804000
 GRID_FIXFONT_COLOR(BGR)=00FFFF
 GRID_FONT_COLOR(BGR)=800000
 ARCHIVE_BK_COLOR(BGR)=9CE191
 ARCHIVE_FONT_COLOR(BGR)=000000
 ARCHIVE_HEADER_COLOR(BGR)=008000
 GRID_COL1_COLOR(BGR)=E5E5E5
 GRID_COL2_COLOR(BGR)=C0C0C0
 [EFS_ENCL_FONTS]
 GRID_FONT=
 GRID_FNT_SIZE=0
 GRID_HFONT=
 GRID_HFNT_SIZE=0
 ARCHIVE_HFONT=
 ARCHIVE_HFNT_SIZE=0
 ARCHIVE_FONT=
 ARCHIVE_FNT_SIZE=0
After I run the program for the first time it sais "'2,10000' is not a valid floating point value" and opens the main enciclopedia window but nothing works there, almost any menu option gives an error about memory violation.

After I close it the INI changes to this:

Code: Select all

[EFS]
 EFS_DIR=
 [EFS_ENCL]
 IMAGE_PATH=
 DESCR_PATH=
 MAX_SCALE=0.00000
 [EFS_ENCL_COLORS]
 SEL_COLOR(BGR)=000000
 BLINK_COLOR(BGR)=000000
 GRID_FIX_COLOR(BGR)=000000
 GRID_FIXFONT_COLOR(BGR)=000000
 GRID_FONT_COLOR(BGR)=000000
 ARCHIVE_BK_COLOR(BGR)=000000
 ARCHIVE_FONT_COLOR(BGR)=000000
 ARCHIVE_HEADER_COLOR(BGR)=000000
 GRID_COL1_COLOR(BGR)=000000
 GRID_COL2_COLOR(BGR)=000000
 [EFS_ENCL_FONTS]
 GRID_FONT=
 GRID_FNT_SIZE=0
 GRID_HFONT=
 GRID_HFNT_SIZE=0
 ARCHIVE_HFONT=
 ARCHIVE_HFNT_SIZE=0
 ARCHIVE_FONT=
 ARCHIVE_FNT_SIZE=0
After I run it again it asks me to chose EFS directory, when I'm done it gives me another error saying "Invalid pointer operation" and dies without even the main GUI appeared.

As I can see its behavour is a little different from the one I had at home but non the less...

What laguage is it written in?
Do I like science fiction? Sure! But only a bad one!...

("Tales of Pirx The Pilot" after Stanislaw Lem)

User avatar
cy387_lk
Vau Ambassador
Posts: 236
Joined: Mon Jan 21, 2002 2:01 am
Location: Mexico City, Land of Drunk Mariachis
Contact:

Re: New EFS utility

Postby cy387_lk » Tue Jan 17, 2006 8:10 pm

Another observation:

I created a copy of EFS directory at C:\EFS, and after I chose EFS directory the utility asks me to the error changes to this one:

"Access violation at address 00404ACO in module 'EFS_ENCL.exe'. Read of address 00000000."

So, it seems there is some trouble with the filepaths.

Do you use DirectX or it's all done using GDI?
Do I like science fiction? Sure! But only a bad one!...

("Tales of Pirx The Pilot" after Stanislaw Lem)

Vlad
Tank commander
Posts: 17
Joined: Fri Sep 30, 2005 1:01 am
Location: Russia

Re: New EFS utility

Postby Vlad » Wed Jan 18, 2006 11:45 pm

I am sorry for silence!!!
At last I could find time for your questions. :)
I answer in order of appearance:
1) MAX_SCALE - determines maximal zoom factor of the chart and depends available memory only. It has the real type and that’s why we have some problem in the system number format.
I suppose you have the delimiter between integer and fractional parts of numbers different from mine - "," (comma).
You can check it in the Windows settings of language and regional standards.
"Start"\"Control panel"\"Language and regional standards"\ TAB "regional parameters"\ "setup"\ FIELD "Delimiter between integer and fractional parts" that symbol!
You should replace "," in the EFS_ENCL.INI by that symbol
For instance:
You have "." as the delimiter and write "2.10000" instead "2,10000"
Of course the EFS_ENCL.INI must be restored from the archive before.
2) Regarding other troubles I hope all would be OK!
3) I wrote the utility in Delphi 7.0 (Object Pascal accordingly)
4) It’s possible errors just connected with parsing of *.dat files – in this way
I need your version of that files. But let’s see if the 1st item would be enough. ;)
5) The chart is displayed by means of pure GDI. There is no any DirectX!

User avatar
cy387_lk
Vau Ambassador
Posts: 236
Joined: Mon Jan 21, 2002 2:01 am
Location: Mexico City, Land of Drunk Mariachis
Contact:

Re: New EFS utility

Postby cy387_lk » Thu Jan 19, 2006 5:54 am

ok, about the thing with the floating point: I tried that trick the very first time I had the problem... no result :( . The only thing I can say is yes, you are right, if I put point instead of comma the error about the wrong vaule doesn't appear. That damn comma, I think we are the only country in the world using it for floating numbers... Mmm, how about you add some value validation and System.outs to see what happens.

Actually I was experementing with the values and other stuff... and well... I've found no solution to the problem.

The DATs I have are the ones from the Hyperion mod which can be downloaded from Matt's website.

Too bad it's not DirectX, hmm, maybe I'm just too used to it. :D Any debug viewer you suggest?
Do I like science fiction? Sure! But only a bad one!...

("Tales of Pirx The Pilot" after Stanislaw Lem)


Return to “Hyperion”

Who is online

Users browsing this forum: No registered users and 17 guests