Demex Question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • CSXT Q-317
    Senior Member


    • Mar 2008
    • 346
    • Ohio USA
    • ORTS

    #1

    Demex Question

    Hello all,

    In recent years I have lost my working copy of Demex that I had purchased. I still have mosaic which runs fine on my windows 10 machine. I had downloaded what is available here in the library. But that keeps terminating because it is unregistered to this machine. I was considering testing out converting my geotiff files to HGT. Because as of right now the TSRE editor is my only source for creating terrain which I find leaves a lot to be desired. Even with the 1.51 setup exe I have it also keeps terminating with a message saying "error 0 running command .\setup.exe

    I have been scratching my head at this one. I would like to get some geotiff files into a project. But at this point it looks as if I am stuck with HGT files.
    M. Payne
  • eric
    9500 Post Veteran and Administrator



    • Dec 2002
    • 9583
    • NS MP245.4 CNO&TP South District
    • English, SQL
    • General

    #2
    I wish I understood the terrain formats better, but that's a space where only three individuals I can think of have had any success. For GeoTiff, John Stanford, who wrote Demex, and Jeffrey Kraus, who had a good understanding of the TDB and T formats but opted to go on a different path. Goku understood the HGT format, so that's what we have.

    I've said this countless times here and at Elvas - if someone who understands the formats and math needed to import the GeoTiff format and save it to the .T format, I'll gladly help do what I can to get the code into TSRE.

    I would be willing to bet that if somebody could describe how the T file works, it might be possible to have AI generate the code necessary to import it.
    If you like what you see here at Trainsim.com, be it the discussions and knowledge in the forums, or items available in our library, I hope you'll consider a paid membership to help support keeping the site operating.... Thanks!

    Comment

    • CSXT Q-317
      Senior Member


      • Mar 2008
      • 346
      • Ohio USA
      • ORTS

      #3
      Sounds pretty daunting. Since I can not get the demex files available here to run, or my older Demex 1.51 to even run, I suppose it's HGT files into TSRE for now.

      Awhile back I tried to restart a fresh copy of the Ohio division and quickly realized that at least in TSRE I did not get the same results I had in Demex.

      I did try copying tiles from the old Ohio Division route to what I call version 2 which is a barebones restart and it seems to work. It retained all the terrain from the older route so essentially all I would have to do is relay the track following the cuts and fills that are already there. I needed to rework some curves and grade transitions in a lot of areas, upgrade the signals, add operating turntables etc . The only benefit to this having those tiles from the old route. Awaiting B&O structure reference material and I will start all that jazz.

      But it seems for now copying those older tiles I had used Demex on to the new route seems to work out fine.

      Thank you for the response and hopefully someone steps up.
      M. Payne

      Comment

      • slipperman
        3500 Post Veteran



        • May 2010
        • 3787
        • Worksop, UK
        • MSOR

        #4
        Hi Mr. Payne,
        May I refer you to file ID 86355 ?
        It might help

        Cheers,
        Ged

        Comment

        • CSXT Q-317
          Senior Member


          • Mar 2008
          • 346
          • Ohio USA
          • ORTS

          #5
          Thanks, I have tried that. I am wondering what is the latest version of Windows Demex will run on? Because 1.51 does not want to run on my PC.

          Which is odd because I have Mosaic installed just fine which I bought both way back. I know it ran on earlier versions of Windows. I might have to try an older machine as soon as I get my older tower hooked up.
          M. Payne

          Comment

          • CSXT Q-317
            Senior Member


            • Mar 2008
            • 346
            • Ohio USA
            • ORTS

            #6
            So, here is a bit of a positive update.

            I ran the 1.51 exe through 7zip and extracted the files. Ran the installer that way and turned out that 1.51 couldn't run on my computer. Which is odd because I could have sworn I had a 32-bit system. So I suppose it really does not like Win 11. Mosaic, which had already been installed works fine.

            From my understanding Program Files 86 is for 32 bit and Program Files is for 64 bit is that correct? I may be off on this.

            At any rate, I stumbled across this file MSTS Load DEMEX Into A 64-bit OS File ID 80607.

            The beta versions now also run. But for whatever reason the 1.51 exe does not like Win 11 at least.

            I downloaded it and it worked. I was able to get it registered and running.

            M. Payne

            Comment

            • slipperman
              3500 Post Veteran



              • May 2010
              • 3787
              • Worksop, UK
              • MSOR

              #7
              Hi,
              You are correct regarding Program Files (x86) and Program Files, but if the program you're installing writes any data into its own installation folder, due to privacy settings, it will be written elsewhere. This is why, whenever I install any programs for use with MSTS/Open Rails, I always create its own folder outside of any Windows-created folder.

              As you can see, file ID 80607 was another of my uploads, but a long time ago!!

              Cheers,
              Ged

              Comment

              • CSXT Q-317
                Senior Member


                • Mar 2008
                • 346
                • Ohio USA
                • ORTS

                #8
                Originally posted by slipperman
                You are correct regarding Program Files (x86) and Program Files, but if the program you're installing writes any data into its own installation folder, due to privacy settings, it will be written elsewhere. This is why, whenever I install any programs for use with MSTS/Open Rails, I always create its own folder outside of any Windows-created folder.
                That makes sense. For the most part I try to follow that. I'll definitely keep this in mind going forward. Now at least I can get some projects prepped.
                M. Payne

                Comment

                Working...