.com.unity Forums

.com.unity Forums (http://forum.shrapnelgames.com/index.php)
-   Scenarios, Maps and Mods (http://forum.shrapnelgames.com/forumdisplay.php?f=146)
-   -   Another Pretender Viewer (http://forum.shrapnelgames.com/showthread.php?t=35142)

JayThomas June 19th, 2007 10:08 PM

Another Pretender Viewer
 
1 Attachment(s)
Here is a Windows/.Net2.0 program for viewing saved pretender files in the newlords directory.

Is is very simple. Start it up and all .2h files are displayed in a listbox. Click on one and the info is displayed in the various fields. The expected directory is "C:\Program Files\Dominions3\savedgames\newlords". At this time, the directory can't be changed.

The program is called Pretender "Editor" as that was my initial plan. Only the checksum/CRC prevents this from happening. Maybe someday.

Hope someone tries it out so I can find out how it installs and runs on someone elses computer. The zip file is 1.7 meg but the .exe is 55K.

<EDIT>
I've added a folder selection option. The default dir is now "\Program Files\Dominions3\savedgames\newlords".

<Edit>
How embarassing, found a mistake in how the scales are being displayed. I'm removing the attachment until I'm sure it's correct. Sorry.

<Edit again>
OK (that's why I don't do this for a living.) I'll try it again. Please take it for a test spin.

Gandalf Parker June 20th, 2007 10:50 AM

Re: Another Pretender Viewer
 
Sorry I cant check it easily since my dominions is usually not on drive C:\

You can usually get away with
\Program Files\Dominions3\savedgames\newlords
which would help for most of my systems

JayThomas June 20th, 2007 12:33 PM

Re: Another Pretender Viewer
 
Well, that's a duh for me. I'll at least take the C: out of there.

Thanks

Gandalf Parker June 20th, 2007 01:00 PM

Re: Another Pretender Viewer
 
Im not sure how you coded it but you might also just let it consider the directory it is in to be the starting point. I dont mind putting things in the Dominions3 directory so it this program has its own directory then the path could be
..\savedgames\newlords

JayThomas June 23rd, 2007 12:29 AM

Re: Another Pretender Viewer
 
This one should work OK. I put many pretender files through it.


All times are GMT -4. The time now is 01:05 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.