Announcement

Collapse
No announcement yet.

COMPILE: Getting really frustrated with crash

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

  • #61
    Well, it's a neat trick but it's not working for me

    Very odd, but it looks like we're dealing with seperate problems...
    Administrator of WePlayCiv -- Civ5 Info Centre | Forum | Gallery

    Comment


    • #62
      From the cpuinfo/cpuinf32.dll documentation:
      While this program works on all current Intel processors,
      the code is designed to not analyze processor speed if the
      processor is NOT an Intel processor.
      What is the origin of that file can we get a file that does the job on a non intel processor properly?

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

      Comment


      • #63
        I found something at
        http://support.intel.co.jp/jp/suppor...id/cpuinfo.htm .

        At the "normal" Intel site, it is listed as not supported anymore. Maybe we should just comment out the processor speed function call, if this causes crashes at some machines. It doesn't seem to be used in the program, other than being reported in a log file or at the screen.

        Comment


        • #64
          Seriously... I think this is unneccessary too.

          The processor requirements are fast becoming moot, as most any machine is capable of running this, abeit slowly.

          The only theroretical thing they could be looking for would be MMX capability for a software render. You can find that out in a DirectX call though, so...

          Lets check it really is unused, and then turn it into a stub. Agreed?

          Comment


          • #65
            Anything that speeds up the game without side-effects (providing there are none) can't be bad...
            Administrator of WePlayCiv -- Civ5 Info Centre | Forum | Gallery

            Comment


            • #66
              BTW.. the regular intel site still distributes a CPUInfo package, but the dll is actually 2 years older, and unsurprisingly, doesn't work properly, either.

              Comment


              • #67
                I also have XP2000+ cpu and it reported 0MHz, and worked fine. I am on win98se by the way.
                Call to Power 2: Apolyton Edition - download the latest version (12th June 2011)
                CtP2 AE Wiki & Modding Reference
                One way to compile the CtP2 Source Code.

                Comment


                • #68
                  Just checked it. It is never used, except for logging. I'll remove it.

                  Comment


                  • #69
                    Well... this is almost comical. I changed the setting for where the debugger looks to operate and now the thing isn't building again... I'm sick of it.

                    I'm going to burn off all the data I have on here, then use Boot Magic to install a "clean", just for CTP2 and Visual Studio 6 on Win98SE partition, and a regular XP partition.

                    Comment


                    • #70
                      Unbelievable.

                      I just finished backing up and installing 98 and XP to different partitions, and setting up BootMagic, etc...

                      I just compiled CTP2_DBG.EXE and CTP2.EXE, using the latest code patches and the final version works just fine... and the ones I was compiling in XP never did... I'm at a loss what the issue was; everything else on the system worked perfectly... but getting it working was all that mattered.

                      Comment


                      • #71
                        Re: Getting really frustrated with crash

                        Originally posted by MrBaggins
                        I did a fresh install of the code and game, and now it crashes at the point of starting a new game, just as the map is started to be displayed. I made a version with debug info, and the damn debugger crashes... :/
                        The crash when the map is created sounds familiar to me, occasionally the Activision's Patch 1.1 crashes on start up of a new game on my computer, the latest version didn't crashed so far. Maybe the problem are some of the memory leaks, we already fixed. So maybe you should try it again with the latest file pack.

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

                        Comment


                        • #72
                          /me smiles.

                          Well... everythings compiling and working perfectly on 98.

                          I may give XP a shot again for development work... but I don't need to rely on it, since it works just fine on the 98 dual boot.

                          Comment


                          • #73
                            Originally posted by MrBaggins
                            I just compiled CTP2_DBG.EXE and CTP2.EXE, using the latest code patches and the final version works just fine... and the ones I was compiling in XP never did... I'm at a loss what the issue was; everything else on the system worked perfectly... but getting it working was all that mattered.
                            They don't call it eXtra Problems for nothing
                            "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

                            Comment


                            • #74
                              Originally posted by MrBaggins
                              * MrBaggins smiles.

                              Well... everythings compiling and working perfectly on 98.

                              I may give XP a shot again for development work... but I don't need to rely on it, since it works just fine on the 98 dual boot.
                              I would rather know, if it is possible to prduce now on XP a working version, because I think that you need win 98 is a seriuos factor that keeps away potiential coders.

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

                              Comment


                              • #75
                                Seems to work just fine

                                Seems to work just fine

                                Could be one of the later fixes did solve something that XP was having a problem with.

                                Why, however, the same files would have been producing bad code on XP but not on 98, I have NO idea.

                                Comment

                                Working...
                                X