Announcement

Collapse
No announcement yet.

CTPEd v0.2beta Release

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #46
    My fault entirely - I forgot to include the new version of the executable in the zip (Duh! ) - it was trying to use new structure files with the old rules. Sorry. Should be fixed now - download update at same place (CTPEd022.zip).

    Comment


    • #47
      If anyone ever has similar problems again just after an update then check the version number in the status bar and ensure it agrees with what I said it should be. If it doesn't then it probably means I've put the wrong executable version in again.

      Comment


      • #48
        Just tried to open my GM1_goods.txt, and I wasn't abe to open it with your version of the goods.ces. You forgot the food, production and GLHidden flag also they don't work but they can appear in this file. Here is a fixed version of the goods.ces.

        -Martin
        Attached Files
        Civ2 military advisor: "No complaints, Sir!"

        Comment


        • #49
          I was trying to declutter the interface - it seemed silly to allow modification of superfluous fields. I plan a more cunning way of achieving this in the next version. Essentially the fields will be listed as 'broken' in the structure file so that it doesn't bother to generate controls for them on the form. Will require big changes to the structure files, though .

          Comment


          • #50
            I know decluttering the interface is a good idea therefore you should have the option to hide some fields maybe by default.

            But unfortunatly I just encountered another problem. As I tried to create a new project or to create one from a gamefile.txt I got the error message: Runtime Error 76 Path not found. In the *.ini I should have set the right path. To make shure I attach it here again.

            -Martin
            Attached Files
            Civ2 military advisor: "No complaints, Sir!"

            Comment


            • #51
              Aaargh! No!! I could have sworn I hadn't changed anything in that part of the program. When exactly does this occur?

              Comment


              • #52
                I just unzipped the latest patch into the CTPEd folder. Than I tried to open the program got another error, because the patch overwrote the *.ini, so I had to modify it again. After the modification started CTPEdit, clicked on Preject > New. Or on Project > Open than loaded my *.cep file and clicked on GM1_goods.txt. Or on Project > Read from Gamefile.txt than tried to open a gamefile.txt. I have no idea the path looks ok.

                -Martin
                Civ2 military advisor: "No complaints, Sir!"

                Comment


                • #53
                  Sorry about overwriting the ini file - that shouldn't have been in the update (I'll change that in a moment).

                  The problem you're having now looks like it's caused by something else - are you saying that it loads the project OK but then you get a paths error when you try to open a file from the project window? The only file it should be trying to access then is the data file itself (GM1_goods.txt in your example). The path and filename for that are set in the project file so you might check there but they shouldn't have changed with the new install...

                  Try the attached minor revision of the executable - it won't fix the problem but it should give a better version of the error message so that we can see what's happening.
                  Attached Files

                  Comment


                  • #54
                    OK, with this error message I found the problem I did not modified the CTPPath in the CTPEd.ini again. But I found another bug if I click on Project > New and I won't to use the Abrechen button (I think Cancel or Abort button in English) than I can click 1000 times on this button but the Project save as box wouldn't close.

                    -Martin
                    Civ2 military advisor: "No complaints, Sir!"

                    Comment


                    • #55
                      Yeah... I remember finding that one but I forgot about it. Whoops. Thanks for reminding me.

                      Comment


                      • #56
                        Hi,
                        I know it's hardly been a week but i was wondering how you are going on this? Any chance of a 'latest' screen shot thingy of it? The above posts scare me a bit so at the momment untill the experts are happy i'm waiting just abit untill i try it.
                        'The very basis of the liberal idea – the belief of individual freedom is what causes the chaos' - William Kristol, son of the founder of neo-conservitivism, talking about neo-con ideology and its agenda for you.info here. prove me wrong.

                        Bush's Republican=Neo-con for all intent and purpose. be afraid.

                        Comment


                        • #57
                          I'm currently (even as I type these words) working on v0.3.0 I've uncovered several knotty bugs that are not simple to untangle, and there are some fairly significant changes (though they won't show on the surface). Exams loom so progress is slowed, but I think I can arrange a screenshot.

                          Comment


                          • #58
                            Here's that screenshot (sorry it took so long - silly exams again). The window that's half way off the top of the screen is the Great Library tool, below that is the window for editing Advance.txt.

                            Nothing very exciting for those who've seen the previous versions. As I said, the latest changes don't show much on the surface.

                            Version 0.3.0 is proceeding well if slowly - I finally fixed a problem that had had me frustrated for days. I think I'll release before I make all the changes which I had intended, but I haven't decided yet.
                            Attached Files

                            Comment


                            • #59
                              Update v0.3.0

                              Full install as before, update at:


                              Changes in this version (and the minor release previous) (The following includes info on things you must change to continue to use your own project and structure files, my structure files are updated in the zip - but the easiest way to update your project is to reimport from its gamefile.txt):

                              v0.3.0beta

                              Made cancel button work in New Project dialog
                              Fixed crashing bug caused when you opened a project over an existing one
                              Added keyboard shortcuts for menu options
                              Added support for multiple substructures (that was a nightmare)
                              Made structure files for concepts.txt, pop.txt, tileimp.txt.
                              Fixed misc. minor bugs
                              Made big changes to the structure files to account for:
                              pop.txt having gl_str entries but not GL entries
                              (I later found that this was unnecessary, but never mind)
                              other files having broken entries (now optionally won't appear)
                              concept.txt not having a space between a field value and a '}'
                              tileimp.txt not having spaces between ':' and field values
                              This means all files are now moved to v0.2
                              Changes which must be made to reflect new file version:
                              To project files:
                              after the delimiter line add the lines:
                              Code:
                              :		//Break on right quasi-delimiter
                              }		//Break on left quasi-delimiter
                              To structure files:
                              after the line:
                              Code:
                              t //Whether this file references GL entries (see below)
                              add the line:
                              Code:
                              t //Whether this file has entries in gl_str.txt
                              (if this is indeed true, otherwise use f)
                              Amongst the lines:
                              Code:
                              DefaultIcon      //The field which ...
                              DATABASE_WONDERS //Name of database for GL hyperlinks
                              WONDER_          //The prefix which identifies ...
                              _ARTICLE         //The article suffix
                              (Where they exist) rearrange them to the order shown

                              v0.2.3beta

                              Imroved error message for files which could not be found


                              I didn't do everything I wanted. I think that this version is a lot more stable than previous ones, but it looks and works pretty much the same from the outside. Hopefully more features should be coming soon (my list of things to do is growing, not shrinking - sorry I haven't implemented (m)any of your suggestions Martin, but I am taking notice and they are planned. Honest ), but exams continue so it won't be soon. I thought I'd better get this release out to reduce crashes.

                              Comment


                              • #60
                                OK, so far two bugs found:

                                Tile Improvements have not only an enabling advance but they can have optional an obsolete advance for each terrain type as well.

                                Another problem is that it is not necessary to have in this entry a space between the entry and {. Like here:

                                TILEIMP_LAND_GOOD_ONE{

                                So I got here an error: In file GM1_tileimp.txt on line 4444
                                Found icon
                                Expected: {

                                The line above contains it but without a space.

                                -Martin
                                Civ2 military advisor: "No complaints, Sir!"

                                Comment

                                Working...
                                X