Thread Tools
Old May 13, 2002, 16:25   #1
J Bytheway
Call to Power PBEMCall to Power II Democracy GameCTP2 Source Code Project
Emperor
 
J Bytheway's Avatar
 
Local Time: 01:38
Local Date: November 1, 2010
Join Date: Jul 2001
Location: England
Posts: 3,826
CTPEd v0.2beta Release
Here it is: The first release version of CTPEd (in places reffered to as CTP Ed or CTP Edit or CTP Editor - I couldn't make my mind up ). The one and only CTP2 data file editing GUI.

CTPEd will (should! ) allow you to edit many of the various CTP2 data files (advance.txt, etc.) through a graphical interface to speed mod development, decrease the chance of errors and help in any other way I could think of and have had time to code.

Other features of note:
- A Great Library (GL) tool which allows use of templates to quickly generate many GL entries.
- The ability to quickly make mass changes to entries in a data file.

Should be available at:

http://ctpmodmakers.250free.com/JBTW/CTPEdit.zip
(current version 0.3.0beta - check the last available update on the thread and if that is a later version then download it after this)

Unzip to a temporary directory and run Setup.exe. The setup program is a bit crummy but appears to work. The default install path is in Program files - I recommend you change this to something like [Your CTP Path]\ctp_data\CTPEd\, but it's up to you.

Have a go, but remember:

READ THE README before you start! It will not correctly execute until you have followed the instructions therin.
If this screws your computer up, I'm sorry but hard luck. Backups are always a Good Thing.
This is tested only under Windows 95.
This is a beta version. Expect bugs.
READ THE README!

Have fun, and read the readme. Lots of feedback please. Bug reports and any other comments to this thread, or if you prefer privacy to jjb48@cam.ac.uk

You got that? Just to make sure: Read the readme, OK?

Last edited by J Bytheway; July 27, 2002 at 09:27.
J Bytheway is offline  
Old May 13, 2002, 16:36   #2
Locutus
Apolytoners Hall of FameCiv4 SP Democracy GameCiv4 InterSite DG: Apolyton TeamBtS Tri-LeagueC4BtSDG TemplarsC4WDG Team ApolytonCivilization IV CreatorsCTP2 Source Code ProjectPolyCast Team
Deity
 
Locutus's Avatar
 
Local Time: 02:38
Local Date: November 1, 2010
Join Date: Nov 1999
Location: De Hel van Enschede
Posts: 11,702
Sounds interesting. So, is there a readme I should read?
__________________
Administrator of WePlayCiv -- Civ5 Info Centre | Forum | Gallery
Locutus is offline  
Old May 13, 2002, 16:40   #3
J Bytheway
Call to Power PBEMCall to Power II Democracy GameCTP2 Source Code Project
Emperor
 
J Bytheway's Avatar
 
Local Time: 01:38
Local Date: November 1, 2010
Join Date: Jul 2001
Location: England
Posts: 3,826
Any clue as to why the link doesn't work? I uploaded it there... Is there a file size limit on the server or something? It's only 2.5MB...
J Bytheway is offline  
Old May 13, 2002, 16:45   #4
Locutus
Apolytoners Hall of FameCiv4 SP Democracy GameCiv4 InterSite DG: Apolyton TeamBtS Tri-LeagueC4BtSDG TemplarsC4WDG Team ApolytonCivilization IV CreatorsCTP2 Source Code ProjectPolyCast Team
Deity
 
Locutus's Avatar
 
Local Time: 02:38
Local Date: November 1, 2010
Join Date: Nov 1999
Location: De Hel van Enschede
Posts: 11,702
I dunno, can you log out so I can login and check? (it only allows 1 person per account to log in)
__________________
Administrator of WePlayCiv -- Civ5 Info Centre | Forum | Gallery
Locutus is offline  
Old May 13, 2002, 16:45   #5
J Bytheway
Call to Power PBEMCall to Power II Democracy GameCTP2 Source Code Project
Emperor
 
J Bytheway's Avatar
 
Local Time: 01:38
Local Date: November 1, 2010
Join Date: Jul 2001
Location: England
Posts: 3,826
Done.
J Bytheway is offline  
Old May 13, 2002, 16:46   #6
Locutus
Apolytoners Hall of FameCiv4 SP Democracy GameCiv4 InterSite DG: Apolyton TeamBtS Tri-LeagueC4BtSDG TemplarsC4WDG Team ApolytonCivilization IV CreatorsCTP2 Source Code ProjectPolyCast Team
Deity
 
Locutus's Avatar
 
Local Time: 02:38
Local Date: November 1, 2010
Join Date: Nov 1999
Location: De Hel van Enschede
Posts: 11,702
The correct link should be:

http://ctpmodmakers.250free.com/JBTW/CTPEdit.zip

(mind the use of capitals)
__________________
Administrator of WePlayCiv -- Civ5 Info Centre | Forum | Gallery
Locutus is offline  
Old May 13, 2002, 16:51   #7
J Bytheway
Call to Power PBEMCall to Power II Democracy GameCTP2 Source Code Project
Emperor
 
J Bytheway's Avatar
 
Local Time: 01:38
Local Date: November 1, 2010
Join Date: Jul 2001
Location: England
Posts: 3,826
Thanks - works now. I swear I tried that in GetRight and it didn't help, but never mind. What fool invented case sensitivity anyway ?
J Bytheway is offline  
Old May 13, 2002, 17:10   #8
Immortal Wombat
Apolytoners Hall of Fame
Prince
 
Immortal Wombat's Avatar
 
Local Time: 01:38
Local Date: November 1, 2010
Join Date: Dec 2000
Location: in perpetuity
Posts: 4,962
Probably one of the same people who start counting at 0
__________________
Concrete, Abstract, or Squoingy?
"I don't believe in giving scripting languages because the only additional power they give users is the power to create bugs." - Mike Breitkreutz, Firaxis
Immortal Wombat is offline  
Old May 13, 2002, 17:16   #9
Locutus
Apolytoners Hall of FameCiv4 SP Democracy GameCiv4 InterSite DG: Apolyton TeamBtS Tri-LeagueC4BtSDG TemplarsC4WDG Team ApolytonCivilization IV CreatorsCTP2 Source Code ProjectPolyCast Team
Deity
 
Locutus's Avatar
 
Local Time: 02:38
Local Date: November 1, 2010
Join Date: Nov 1999
Location: De Hel van Enschede
Posts: 11,702
Are the people who don't start counting at 0?

__________________
Administrator of WePlayCiv -- Civ5 Info Centre | Forum | Gallery
Locutus is offline  
Old May 13, 2002, 17:19   #10
Immortal Wombat
Apolytoners Hall of Fame
Prince
 
Immortal Wombat's Avatar
 
Local Time: 01:38
Local Date: November 1, 2010
Join Date: Dec 2000
Location: in perpetuity
Posts: 4,962
no
__________________
Concrete, Abstract, or Squoingy?
"I don't believe in giving scripting languages because the only additional power they give users is the power to create bugs." - Mike Breitkreutz, Firaxis
Immortal Wombat is offline  
Old May 14, 2002, 03:40   #11
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 00:38
Local Date: November 1, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
can't seam to get the program working at collage and its to big to take home at the moment.

problem is i go to install it and get an error about could not save an .exe file any thing you can do
__________________
"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place.
Visit the big mc’s website
The Big Mc is offline  
Old May 14, 2002, 04:29   #12
J Bytheway
Call to Power PBEMCall to Power II Democracy GameCTP2 Source Code Project
Emperor
 
J Bytheway's Avatar
 
Local Time: 01:38
Local Date: November 1, 2010
Join Date: Jul 2001
Location: England
Posts: 3,826
That's odd. Could you give the error more exactly? When did the error occur?
J Bytheway is offline  
Old May 14, 2002, 04:50   #13
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 00:38
Local Date: November 1, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
when i tryed to install it
__________________
"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place.
Visit the big mc’s website
The Big Mc is offline  
Old May 14, 2002, 04:54   #14
J Bytheway
Call to Power PBEMCall to Power II Democracy GameCTP2 Source Code Project
Emperor
 
J Bytheway's Avatar
 
Local Time: 01:38
Local Date: November 1, 2010
Join Date: Jul 2001
Location: England
Posts: 3,826
At what time during the installation? At the beginning, or when it was copying all the files t the end?
J Bytheway is offline  
Old May 14, 2002, 05:03   #15
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 00:38
Local Date: November 1, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
begining
__________________
"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place.
Visit the big mc’s website
The Big Mc is offline  
Old May 14, 2002, 07:05   #16
J Bytheway
Call to Power PBEMCall to Power II Democracy GameCTP2 Source Code Project
Emperor
 
J Bytheway's Avatar
 
Local Time: 01:38
Local Date: November 1, 2010
Join Date: Jul 2001
Location: England
Posts: 3,826
Anyone else had any success or failure?
J Bytheway is offline  
Old May 14, 2002, 07:08   #17
J Bytheway
Call to Power PBEMCall to Power II Democracy GameCTP2 Source Code Project
Emperor
 
J Bytheway's Avatar
 
Local Time: 01:38
Local Date: November 1, 2010
Join Date: Jul 2001
Location: England
Posts: 3,826
Big Mc: What OS are you using?
J Bytheway is offline  
Old May 14, 2002, 07:29   #18
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 00:38
Local Date: November 1, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
its the collages dinosaurs using 95 could you make the installer install to any directory. I have a n:\ with all my work on it i could use and it would probably work there
__________________
"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place.
Visit the big mc’s website
The Big Mc is offline  
Old May 14, 2002, 08:03   #19
J Bytheway
Call to Power PBEMCall to Power II Democracy GameCTP2 Source Code Project
Emperor
 
J Bytheway's Avatar
 
Local Time: 01:38
Local Date: November 1, 2010
Join Date: Jul 2001
Location: England
Posts: 3,826
You can install to any directory. But it has to copy temporary files first - if you're getting the error at the beginning then it appears that is where the problem is. If you don't have permission to access the temporary directory (probably c:\windows\temp\) then it might well not work. I'm also using 95 so that shouldn't be a problem... I'll see what I can do.
J Bytheway is offline  
Old May 14, 2002, 08:26   #20
The Big Mc
CTP2 Source Code Project
King
 
The Big Mc's Avatar
 
Local Time: 00:38
Local Date: November 1, 2010
Join Date: Oct 2001
Location: Of the universe / England
Posts: 2,061
we cani nstall most over things on the net work like tile edit, read zfs and loads more
__________________
"Every time I learn something new it pushes some old stuff out of my brain" Homer Jay Simpson
The BIG MC making ctp2 a much unsafer place.
Visit the big mc’s website
The Big Mc is offline  
Old May 14, 2002, 09:39   #21
Pedrunn
Call to Power II Democracy Game
King
 
Pedrunn's Avatar
 
Local Time: 21:38
Local Date: October 31, 2010
Join Date: Jul 2001
Location: of Natal, Brazil
Posts: 2,555
I had no problem in my windows 98.
I even tried to use it. But i did not read the readme
Now i know that i must read the readme
__________________
"Kill a man and you are a murder.
Kill thousands and you are a conquer.
Kill all and you are a God!"
-Jean Rostand
Pedrunn is offline  
Old May 14, 2002, 12:16   #22
J Bytheway
Call to Power PBEMCall to Power II Democracy GameCTP2 Source Code Project
Emperor
 
J Bytheway's Avatar
 
Local Time: 01:38
Local Date: November 1, 2010
Join Date: Jul 2001
Location: England
Posts: 3,826
Could I have made it any more clear?
J Bytheway is offline  
Old May 14, 2002, 15:01   #23
Pedrunn
Call to Power II Democracy Game
King
 
Pedrunn's Avatar
 
Local Time: 21:38
Local Date: October 31, 2010
Join Date: Jul 2001
Location: of Natal, Brazil
Posts: 2,555
I did read the readme and changed the CTPed.ini. Yet i get error 76 (path error).
I will give another try later.
But couldnt be possible to trigger a window after the installation is finished to the modder write/search the ctp2 base directory and from it the ini would change. No need to go over unknown text (ini) files.
Just a suggestion.
__________________
"Kill a man and you are a murder.
Kill thousands and you are a conquer.
Kill all and you are a God!"
-Jean Rostand

Last edited by Pedrunn; May 14, 2002 at 17:18.
Pedrunn is offline  
Old May 14, 2002, 16:07   #24
Martin Gühmann
staff
Call to Power II Democracy GameCall to Power Democracy GameCTP2 Source Code Project
Super Moderator
 
Martin Gühmann's Avatar
 
Local Time: 02:38
Local Date: November 1, 2010
Join Date: Mar 2001
Location: Tübingen, Germany
Posts: 6,206
I got also this error, when I tried to load a gamefile.txt or tried to create a new project. Another error was connected to this version entry as I tried to open an file like GM1_goods.txt, I got the first line of this file and the program told me that it expected there a 0.1 instead of it.

-Martin
__________________
Civ2 military advisor: "No complaints, Sir!"
Martin Gühmann is offline  
Old May 15, 2002, 10:12   #25
J Bytheway
Call to Power PBEMCall to Power II Democracy GameCTP2 Source Code Project
Emperor
 
J Bytheway's Avatar
 
Local Time: 01:38
Local Date: November 1, 2010
Join Date: Jul 2001
Location: England
Posts: 3,826
Could you e-mail me a copy of the ini files so I can see what's going on.

Martin - It sounds like the program is getting confused between the structure file and data file. You shouldn't be able to open any goods.txt since there's no structure file. In any case, how did you try to open it if you can't create a new project or read from a gamefile.txt?
J Bytheway is offline  
Old May 15, 2002, 12:39   #26
Martin Gühmann
staff
Call to Power II Democracy GameCall to Power Democracy GameCTP2 Source Code Project
Super Moderator
 
Martin Gühmann's Avatar
 
Local Time: 02:38
Local Date: November 1, 2010
Join Date: Mar 2001
Location: Tübingen, Germany
Posts: 6,206
Quote:
Originally posted by J Bytheway
Could you e-mail me a copy of the ini files so I can see what's going on.

Martin - It sounds like the program is getting confused between the structure file and data file. You shouldn't be able to open any goods.txt since there's no structure file. In any case, how did you try to open it if you can't create a new project or read from a gamefile.txt?
Actual just go on Project -> Open and change in the load box the file type from Project Files (*.cep) to All Files (*.*) and than browse through your saystem and load anything you can, you will get the error message that the first line is different from 0.1 and than CTPEdit quits.

-Martin
__________________
Civ2 military advisor: "No complaints, Sir!"
Martin Gühmann is offline  
Old May 15, 2002, 12:42   #27
Martin Gühmann
staff
Call to Power II Democracy GameCall to Power Democracy GameCTP2 Source Code Project
Super Moderator
 
Martin Gühmann's Avatar
 
Local Time: 02:38
Local Date: November 1, 2010
Join Date: Mar 2001
Location: Tübingen, Germany
Posts: 6,206
I forgot to attch the CTPEd.ini. I hope it doesn't matter if I installed CTPEdit in an different directory.

-Martin
Attached Files:
File Type: zip ctped.zip (661 Bytes, 37 views)
__________________
Civ2 military advisor: "No complaints, Sir!"
Martin Gühmann is offline  
Old May 15, 2002, 12:51   #28
J Bytheway
Call to Power PBEMCall to Power II Democracy GameCTP2 Source Code Project
Emperor
 
J Bytheway's Avatar
 
Local Time: 01:38
Local Date: November 1, 2010
Join Date: Jul 2001
Location: England
Posts: 3,826
You put:
c:\Activion\CTP2\ctp2_data\
Did you mean Activision?
J Bytheway is offline  
Old May 15, 2002, 12:52   #29
J Bytheway
Call to Power PBEMCall to Power II Democracy GameCTP2 Source Code Project
Emperor
 
J Bytheway's Avatar
 
Local Time: 01:38
Local Date: November 1, 2010
Join Date: Jul 2001
Location: England
Posts: 3,826
And with regard to the error when opening other files - it's not surprising, since other files do not conform to the project file structure. That's exactly why I put a version check on the first line.
J Bytheway is offline  
Old May 15, 2002, 13:01   #30
Martin Gühmann
staff
Call to Power II Democracy GameCall to Power Democracy GameCTP2 Source Code Project
Super Moderator
 
Martin Gühmann's Avatar
 
Local Time: 02:38
Local Date: November 1, 2010
Join Date: Mar 2001
Location: Tübingen, Germany
Posts: 6,206
Quote:
Originally posted by J Bytheway
You put:
c:\Activion\CTP2\ctp2_data\
Did you mean Activision?
Yes, but also after fixing this I get the runtime error '76' Parth not found message, I also set the language version to german afterwards I attached the file. It still does not work.

Quote:
Originally posted by J Bytheway
That's exactly why I put a version check on the first line.
OK, but the program should give me instead of this error message a more informative massage like "This file is not a valid CTP2 project file." and don't quit automaticly.

-Martin
__________________
Civ2 military advisor: "No complaints, Sir!"
Martin Gühmann is offline  
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 20:38.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Apolyton Civilization Site | Copyright © The Apolyton Team