Announcement

Collapse
No announcement yet.

CTPEd v0.2beta Release

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

  • And I forgot the attachment. As the two different comment styles in one file I can't test your suggestion. Of course feel free to use my *.ces files.

    Edit: One thing I thing I forgot to mention is that it should be possible that you can Multiple entries in different rows instead with this pulldown menue, this feature would be very useful in the citystyle.txt, there you have for the different citystyles just one multiple entry.

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

    Comment


    • Originally posted by Martin Gühmann
      Could this be done by just comparing the contend of the file in the memory and the file on the harddrive, when you save the project?


      Ingenious! I think that would indeed be the best way (though I'll make it optional because it could cause memory problems).

      I think this is the way to go then I can see if the more detailed one is really necessary.


      OK

      Just to make shure about the layout:
      Don't forget the layout of the agecitystyle.txt this file has a different one the entries of the Sprites substructure all in one line, I tried to create a agecitystyle.ces but I wasn't able to get it working as I tried to load the agecitystyle.txt I got an runtime error about dublicated keys and CTPEd quitted. I made also a citystyle.ces, I got it working but without, the agecitystyle.ces I can't import the agecitystyles.

      You can find the three *.ces files I made in the attachment. The third file is for the substructure "Sprites" in the agecitystyle.txt.


      I'll check, but I think I know what the problem is.

      Comment


      • Originally posted by Martin Gühmann
        Edit: One thing I thing I forgot to mention is that it should be possible that you can Multiple entries in different rows instead with this pulldown menue, this feature would be very useful in the citystyle.txt, there you have for the different citystyles just one multiple entry.
        Yeah, I agree with you there. The way it works at the moment is ugly. It's a (say it with me) "dumbass workaround for dumbass design flaw".

        But it took me so long to get it to work at all I'm scared of fiddling with it now.

        But it must be done some time - it's certainly necessary for the *buildlist.txt files.

        Comment


        • Originally posted by Martin Gühmann
          As the two different comment styles in one file I can't test your suggestion.
          Just do a find and replace // with # - that's what I did...

          Incidentally, that change to the last line is not in fact necessary - I was basing my comments on the lines from gl_str.txt which had UNIT_ORDER_ at the start, but those lines are in fact totally meaningless. Probably an obsolete relic of CTP1, like the POP_ lines in the same file.

          Comment


          • Originally posted by J Bytheway
            Just do a find and replace // with # - that's what I did...
            Yeah I could do this but actual I don't want to modify this file in this way, and to test a strategies.ces is impossible at least in a fair amount of time as I would have remove it afterwards as the strategies.txt only allows one comment style.

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

            Comment


            • Your structure files work fine (although I corrected a spelling error in the comment and changed the name of Sprites.ces to agecitystyleSprites.txt to fit with my naming convention).

              Whatever problem you were having must be due to a bug I've since fixed - you'll just have to wait for the next update
              Attached Files

              Comment


              • On another subject entirely: I noticed I'd stopped a sentence halfway through in CTPEd.txt thanking you two for your help because I didn't know Pedrunn's real name. Pedrunn - do you mind being credited as just Pedrunn, or would you like a name too (Presumably that in your profile)?

                Comment


                • Originally posted by J Bytheway
                  Your structure files work fine (although I corrected a spelling error in the comment and changed the name of Sprites.ces to agecitystyleSprites.txt to fit with my naming convention).
                  That was the problem thanks.

                  Originally posted by J Bytheway
                  Whatever problem you were having must be due to a bug I've since fixed - you'll just have to wait for the next update
                  But this does not stop me from posting more problems.

                  Yeah I just made a citysize.ces and I can't get it to work so that I can edit the six files maybe I overlooked here something.

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

                  Comment


                  • Erm... the whole 6-files citystyle.txt is not handled too well (I can't even remember how I got round it - it was a big problem for a while) but I suspect my workaround fails when you actually try to edit the file. Yet more to concern me...

                    In the mean time I've written most of the comparison code (it won't handle substructures yet...) and attach a demonstration - most of the advances are the same, writing is different (check the cost) and GOO is missing from one file. I'm sure you can see what's going on. Obviously I have to get hold of/make some smaller icons.
                    Attached Files

                    Comment


                    • Hey! It's looking like a vast improvement! Even non-techs like me can see what's going on.Will you announce a final version(?) - if something like this has one.I'm just a bit to try it at the momment(!), although I'm looking forward to trying it soon
                      '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


                      • A final version is unlikely. I'll just keep working until my interest wanes again, then come back a couple of months after that, and so on. That's how development tends to go with me.

                        A non-beta version is concievable, perhaps - once there's been at least two new versions with no new major changes I'll consider dropping the beta suffix.

                        I think the most stable release was the most recent one, and the next is likely to be less stable, so delaying could make your problems worse .

                        All I've done today is fiddle with the icons there - those were too big, and the next ones were too small. I'm hoping for third time lucky .

                        I think I'll release this once I've got the comparison working properly so that it can be scrutinised by Martin while I work on comment-preservation.

                        Comment


                        • Originally posted by J Bytheway
                          edit.......

                          I think the most stable release was the most recent one, and the next is likely to be less stable, so delaying could make your problems worse .

                          edit......
                          the classic sale's pitch
                          Allright i'll give it a go and see what dammage i can do!(it does come with insurence against killing computers doesn't it? )

                          EDIT: erm.....which one was the 'most recent'? I see lots of little .zip files but i think they are specific things you and martin are working on.
                          '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


                          • It can hardly be a sales pitch when I'm not making a sale!

                            Most recent would be 0.3.2 - look for posts with the title Update for the official versions (You'll need to download the one at the start of the thread first - I'm on a low bandwidth connection now, so I'm not updating the full install).

                            Comment


                            • Update v0.3.3

                              As promised:
                              Update at:


                              This will overwite default.prf, so your preferences will be put back to default (and Martin: your new .ces files will be overwritten by my slight modifications). I had to include default.prf to cater for people upgrading from 0.3.0 - and those people will need to add the two lines to their ctped.ini mentioned in the last update:

                              //Preferences file (looked for in the project path)
                              Preferences default.prf

                              New in this version:

                              Improved formatting on exported files
                              Updated/corrected tileimp.ces, units.ces and tileimpTerrainEffect.ces
                              Added some structure files by Martin
                              Fixed bug whereby the 'Export selected' button did not work
                              Added a right-click menu for the files list in the project window with the following functionality:
                              - Import/export from/to the default file
                              - Import/export from/to another file of the appropriate type
                              - Open another file of the type (for comparative purpose)
                              Added comparison tool (access through tools menu)
                              Added right-click menu on the entries list on the Entries Editing window for tree-based files to allow for easy addition of advances as prerequisites/consequences

                              As I said before, this is probably a less stable version (it's not tested as much as I would have liked to, but Martin seems to test stuff better than me because he actually has time to use it rather than just design it), and of course I welcome comments from anyone else.

                              My to-do list now contains 12 items, the next thing I intend to do is comment preservation and further formatting options.

                              Comment


                              • Originally posted by J Bytheway
                                My to-do list now contains 12 items, the next thing I intend to do is comment preservation and further formatting options.
                                It would be nice if you could post it, John. So I would know which features aren't on your to do list so I can request only the ones that aren't already on it.

                                So far I made two other *.ces files the risks.ces that works fine and the messageicon.ces that doesn't work actual it is a file of type three (only contains strings which are used at another place of the game) but it also contains a number at the start. Unfortunatly the t's and f's for type one doesn't work for type three.

                                In the attachment you can find three files the risks.ces, the messageicon.ces and the citysize.ces, the last file works as I replaced citysize.ces in the default.ced by citysize0.txt.

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

                                Comment

                                Working...
                                X