Announcement

Collapse
No announcement yet.

crash to desktop

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

  • #31
    crash to the desktop

    I did as you said I Changed the userprogile txt to Try Windows yes,My fonts were not 96 and changed it to no avail I looked in Windows font and all the files are there HOWEVER THE FONT FILE IN THE GAME DIRECTORY IS EMPTY! cOULD THAT BE THE CAUSE !
    Should I copy the fonts into that file ,reload the game or reinstall Windows

    Comment


    • #32
      crash to the desktop

      I did as you requested I changed the user file to try Windows yes,I changed my font to96 and I checked the fonts in Windows/font Changing the user file and the font to 96 made no difference All fonts were present in Windows but the font and Layout file in the game is EMPTY I reinstallled the game and there is still two empty folders Font and Layout inthe game directory I tied copying the fonts from Windows into the game an that did not work I wonder if I have a corruped CD or somehow something is not loading into the game

      Comment


      • #33
        crash

        Here is another crash file after doing the above
        0x00443687 [??_E?$aui_ResourceElement@Vaui_BitmapFont@@@@UAEPA XI@Z + 0x17]
        0x005f93bf [??1aui_TextBase@@UAE@XZ + 0x12f]
        0x00658196 [??_Ectp2_Static@@UAEPAXI@Z + 0x16]
        0x005eeaed [?DeleteChildren@aui_Region@@UAEXXZ + 0x2d]
        0x00655b3b [??_Ectp2_ListItem@@UAEPAXI@Z + 0xb]
        0x00654d93 [?Clear@ctp2_ListBox@@QAEXXZ + 0x43]
        0x0065670d [?Clear@ctp2_Menu@@QAEXXZ + 0x7d]
        0x00668c0d [?BuildList@ControlPanelWindow@@QAEXJ@Z + 0x2d]
        0x00668d16 [?ActivateSelectedInfo@ControlPanelWindow@@QAEXJ@Z + 0x16]
        0x00645344 [?CityContextClick@SelectedItem@@QAEXABVMapPoint@@P BUaui_MouseEvent@@H@Z + 0x74]
        0x00644f22 [?NewRegisterClick@SelectedItem@@QAEXABVMapPoint@@P BUaui_MouseEvent@@H_N2@Z + 0x1b2]
        0x00641ac5 [?RegisterClick@SelectedItem@@QAEXABVMapPoint@@PBUa ui_MouseEvent@@H_N2@Z + 0xc5]
        0x00442212 [?Click@TiledMap@@QAEXPAUaui_MouseEvent@@H@Z + 0x132]
        0x006127bc [?Idle@Background@@UAE?AW4AUI_ERRCODE@@XZ + 0x8c]
        0x005ff968 [?Process@aui_UI@@UAE?AW4AUI_ERRCODE@@XZ + 0x18]
        0x0040c4e0 [?ProcessUI@CivApp@@QAEJKAAK@Z + 0x1a0]
        0x0040c8e2 [?Process@CivApp@@QAEJXZ + 0x112]
        0x00407608 [?CivWinMain@@YGHPAUHINSTANCE__@@0PADH@Z + 0x3a8]
        0x004070c5 [WinMain@16 + 0x65]
        0x0079603c [WinMainCRTStartup + 0x134]
        0x77e814c7 [__onexitbegin + 0x7738942f]

        Comment


        • #34
          The listed fonts are quite common, so I would expect these to be available with Windows XP. Don't worry about the game fonts directory being empty. It is the same for me. The game will search the Windows directory, so you should not have to copy anything.

          Unless the .ttf files are corrupt, it must be something else. I don't know how to tell a corrupt file, apart from just trying to open it. A Windows repair or reinstall could help, but then again, it may be something completely different.

          Anyway, thank you for the crash logs. These make bug hunting much easier.

          Comment


          • #35
            OK, try the new version I have uploaded here, and see if that helps with the crashes.

            Comment


            • #36
              crash to desktop

              Here is a crash txt with the new compiler you posted 6/28/04 The new game was more stable went for 43 m oves adn was able to load the autosave

              0x005c9892 [?DrawString@aui_BitmapFont@@QAE?AW4AUI_ERRCODE@@PA Vaui_Surface@@PAUtagRECT@@1PBDKKJ@Z + 0xf2]
              0x005f99e8 [?DrawThisText@aui_TextBase@@IAE?AW4AUI_ERRCODE@@PA Vaui_Surface@@PAUtagRECT@@@Z + 0x1f8]
              0x00658513 [?DrawThis@ctp2_Static@@UAE?AW4AUI_ERRCODE@@PAVaui_ Surface@@JJ@Z + 0x233]
              0x005ef861 [?Draw@aui_Region@@UAE?AW4AUI_ERRCODE@@PAVaui_Surfa ce@@JJ@Z + 0x21]
              0x005cfcec [?Draw@aui_Control@@UAE?AW4AUI_ERRCODE@@PAVaui_Surf ace@@JJ@Z + 0x2c]
              0x005ef748 [?HandleMouseEvent@aui_Region@@QAE?AW4AUI_ERRCODE@@ PAUaui_MouseEvent@@H@Z + 0x188]

              0x005ef64c [?HandleMouseEvent@aui_Region@@QAE?AW4AUI_ERRCODE@@ PAUaui_MouseEvent@@H@Z + 0x8c]
              0x005ff439 [?HandleMouseEvents@aui_UI@@QAE?AW4AUI_ERRCODE@@JPA Uaui_MouseEvent@@@Z + 0x99]
              0x005ffa73 [?Process@aui_UI@@UAE?AW4AUI_ERRCODE@@XZ + 0x23]
              0x0040c4e0 [?ProcessUI@CivApp@@QAEJKAAK@Z + 0x1a0]
              0x0040c8e2 [?Process@CivApp@@QAEJXZ + 0x112]
              0x00407608 [?CivWinMain@@YGHPAUHINSTANCE__@@0PADH@Z + 0x3a8]
              0x004070c5 [WinMain@16 + 0x65]
              0x00796e8c [WinMainCRTStartup + 0x134]
              0x77e814c7 [__onexitbegin + 0x7738838f]

              The user file
              NumPlayers=8
              AiOn=Yes
              UseNiceStart=Yes
              UseMapPlugin=Yes
              Difficulty=3
              RiskLevel=2
              Pollution=Yes
              UnitAnim=Yes
              GoodAnim=No
              TradeAnim=Yes
              WaterAnim=Yes
              LibraryAnim=No
              WonderMovies=Yes
              BounceMessage=No
              MessageAdvice=Yes
              TutorialAdvice=No
              EnemyMoves=Yes
              RevoltWarning=Yes
              EnemyIntrude=Yes
              UnitLostWarning=Yes
              TradeLostWarning=Yes
              CityLostWarning=Yes
              AutoCenter=Yes
              FullScreenMovies=Yes
              AutoSave=Yes
              PlayerNumber=1
              CivIndex=16
              GameName=Juliu
              LeaderName=Julius Caesar
              CivName=Romans
              SaveNote=
              Gender=0
              NoHumansOnHost=No
              LogPlayerStats=No
              SfxVolume=5
              VoiceVolume=5
              MusicVolume=7
              XWrap=Yes
              YWrap=No
              AutoGroup=No
              AutoDeselect=Yes
              AutoSelectNext=Yes
              AutoSelectFirstUnit=Yes
              AutoTurnCycle=Yes
              CombatLog=No
              UseLeftClick=Yes
              ShowZoomedCombat=Yes
              UseFingerPrinting=No
              UseRedbookAudio=Yes
              RequireCD=No
              Prophylaxis=No
              TryWindowsResolution=Yes
              UseDirectXBlitter=Yes
              ScreenResWidth=1024
              ScreenResHeight=768
              ZoomedCombatAlways=Yes
              AttackEveryone=No
              NonRandomCivs=No
              GameWatchDirectory=
              AutoEndMultiple=Yes
              WetDry=5
              WarmCold=5
              OceanLand=3
              IslandContinent=5
              HomoDiverse=8
              GoodCount=5
              ThroneRoom=Yes
              MaxPlayers=0
              MapSize=2
              AlienEndGame=Yes
              UnitCompleteMessages=Yes
              NonContinuousUnitCompleteMessages=Yes
              DebugSlic=No
              DiplomacyLog=No
              CheatAge=0
              DontKillMessages=No
              AIPopCheat=Yes
              ShowCityNames=Yes
              ShowTradeRoutes=Yes
              UnitSpeed=1
              MouseSpeed=5
              LeftHandedMouse=No
              CityBuiltMessage=Yes
              UseAttackMessages=No
              MapPlugin0=dll\\map\\geometric.dll
              MapPlugin1=dll\\map\\crater.dll
              MapPlugin2=dll\\map\\plasma2.dll
              MapPlugin3=dll\\map\\plasma2.dll
              OldRegisterClick=No
              CTP2Mode=Yes
              MoveHoldTime=500
              BattleSpeed=5
              ScrollDelay=3
              AutoSwitchTabs=Yes
              AutoRenameCities=No
              AutoOpenCityWindow=Yes
              ShowEnemyHealth=No
              ShowCityInfluence=Yes
              ShowPoliticalBorders=Yes
              EndTurnSound=Yes
              EnableLogs=Yes
              DisplayUnits=Yes
              DisplayCities=Yes
              DisplayBorders=Yes
              DisplayFilter=Yes
              DisplayTrade=Yes
              DisplayTerrain=Yes
              CloseOnEyepoint=No
              ShowExpensive=No
              ColorSet=0

              Comment


              • #37
                another crash

                Reinstall ctp patch using the forums english patch requirement for the original patch not recognizing the director,Latest source code from june 28 Played for about 30 moves and crashed to desktop
                Here is the file
                0x0befdd60 [__onexitbegin + 0xb404c28]
                0x005f94bf [??1aui_TextBase@@UAE@XZ + 0x12f]
                0x00658746 [??_Ectp2_Static@@UAEPAXI@Z + 0x16]
                0x005eebfd [?DeleteChildren@aui_Region@@UAEXXZ + 0x2d]
                0x006560eb [??_Ectp2_ListItem@@UAEPAXI@Z + 0xb]
                0x0066845f [?RemoveMessage@ControlPanelWindow@@QAEXAAVMessage@ @@Z + 0x5f]
                0x006a7377 [?messagewin_CleanupMessage@@YAHPAVMessageIconWindo w@@@Z + 0x67]
                0x006a0770 [?Execute@MessageCleanupAction@@UAAXPAVaui_Control@ @KK@Z + 0x10]
                0x005ffc52 [?Process@aui_UI@@UAE?AW4AUI_ERRCODE@@XZ + 0x202]
                0x0040c4e0 [?ProcessUI@CivApp@@QAEJKAAK@Z + 0x1a0]
                0x0040c8e2 [?Process@CivApp@@QAEJXZ + 0x112]
                0x00407608 [?CivWinMain@@YGHPAUHINSTANCE__@@0PADH@Z + 0x3a8]
                0x004070c5 [WinMain@16 + 0x65]
                0x00796e8c [WinMainCRTStartup + 0x134]
                0x77e814c7 [__onexitbegin + 0x7738838f]

                Comment


                • #38
                  crash to desktop

                  Finally got the game to reasonably function Installed as befor added the ctp2English patch Addedt he latest plat test 06/28/04 and now it plays for 40 or so moves Can save but when I load it crashes Can get it to play if I keep loading Here is the crash txt

                  0x005c9892 [?DrawString@aui_BitmapFont@@QAE?AW4AUI_ERRCODE@@PA Vaui_Surface@@PAUtagRECT@@1PBDKKJ@Z + 0xf2]
                  0x005f99e8 [?DrawThisText@aui_TextBase@@IAE?AW4AUI_ERRCODE@@PA Vaui_Surface@@PAUtagRECT@@@Z + 0x1f8]
                  0x005f705a [?DrawThis@aui_Switch@@UAE?AW4AUI_ERRCODE@@PAVaui_S urface@@JJ@Z + 0x13a]
                  0x005ef861 [?Draw@aui_Region@@UAE?AW4AUI_ERRCODE@@PAVaui_Surfa ce@@JJ@Z + 0x21]
                  0x005cfcec [?Draw@aui_Control@@UAE?AW4AUI_ERRCODE@@PAVaui_Surf ace@@JJ@Z + 0x2c]
                  0x005ef89b [?Draw@aui_Region@@UAE?AW4AUI_ERRCODE@@PAVaui_Surfa ce@@JJ@Z + 0x5b]
                  0x005cfcec [?Draw@aui_Control@@UAE?AW4AUI_ERRCODE@@PAVaui_Surf ace@@JJ@Z + 0x2c]
                  0x005ef89b [?Draw@aui_Region@@UAE?AW4AUI_ERRCODE@@PAVaui_Surfa ce@@JJ@Z + 0x5b]
                  0x0061e13c [?Draw@c3_ListBox@@UAE?AW4AUI_ERRCODE@@PAVaui_Surfa ce@@JJ@Z + 0x1c]
                  0x005ef89b [?Draw@aui_Region@@UAE?AW4AUI_ERRCODE@@PAVaui_Surfa ce@@JJ@Z + 0x5b]
                  0x0060366b [?Draw@aui_Window@@UAE?AW4AUI_ERRCODE@@PAVaui_Surfa ce@@JJ@Z + 0x2b]
                  0x005fd878 [?AddChild@aui_UI@@UAE?AW4AUI_ERRCODE@@PAVaui_Regio n@@@Z + 0x198]
                  0x0069a549 [?loadsavescreen_displayMyWindow@@YAJK@Z + 0x49]
                  0x00694f70 [?initialplayscreen_loadgamePress@@YAXPAVaui_Contro l@@KKPAX@Z + 0x10]
                  0x005ce91b [?MouseLDropInside@aui_Button@@MAAXPAUaui_MouseEven t@@@Z + 0xdb]
                  0x006516ba [?MouseLDropInside@ctp2_Button@@UAAXPAUaui_MouseEve nt@@@Z + 0x1a]
                  0x005f1322 [?MouseDispatch@aui_Region@@QAEXPAUaui_MouseEvent@@ H@Z + 0x322]
                  0x005ef6db [?HandleMouseEvent@aui_Region@@QAE?AW4AUI_ERRCODE@@ PAUaui_MouseEvent@@H@Z + 0x11b]
                  0x005ef64c [?HandleMouseEvent@aui_Region@@QAE?AW4AUI_ERRCODE@@ PAUaui_MouseEvent@@H@Z + 0x8c]
                  0x005ff439 [?HandleMouseEvents@aui_UI@@QAE?AW4AUI_ERRCODE@@JPA Uaui_MouseEvent@@@Z + 0x99]
                  0x005ffa73 [?Process@aui_UI@@UAE?AW4AUI_ERRCODE@@XZ + 0x23]
                  0x0040c4e0 [?ProcessUI@CivApp@@QAEJKAAK@Z + 0x1a0]
                  0x0040c8e2 [?Process@CivApp@@QAEJXZ + 0x112]
                  0x00407608 [?CivWinMain@@YGHPAUHINSTANCE__@@0PADH@Z + 0x3a8]
                  0x004070c5 [WinMain@16 + 0x65]
                  0x00796e8c [WinMainCRTStartup + 0x134]
                  0x77e814c7 [__onexitbegin + 0x7738838f]

                  Comment


                  • #39
                    follow up on crash to desk

                    I finally seem to have the game playing I uninstalled the game uses a registry cleaner and removed any mention of CTP 2 in the registry Reinstalled the game Added the English modification of the patch since the orinal patch does not recognize the game with Windows XP (known problem The game then plays normally However If I save the game and exit and try to load it will crash with the saved game but not the autosaves I can play on with the autosaves Something is still corrupt with the save procedure ? I trie the playtest version the last one dated in July and the game crashes right after clicking on the exec file If you want the crash text I can give it to you but it is different from the previous ones that showed graphic errors I also updated My Turtle Santa Cruz sound Drivers and My CD rom Drivers

                    Comment


                    • #40
                      That is so strange Tomas. I have been using the playtests on XP for months and have never had any problems.
                      ·Circuit·Boi·wannabe·
                      "Evil reptilian kitten-eater from another planet."
                      Call to Power 2 Source Code Project 2005.06.28 Apolyton Edition

                      Comment


                      • #41
                        Re: follow up on crash to desk

                        Originally posted by Tomas1931
                        I trie the playtest version the last one dated in July and the game crashes right after clicking on the exec file If you want the crash text I can give it to you but it is different from the previous ones that showed graphic errors I also updated My Turtle Santa Cruz sound Drivers and My CD rom Drivers
                        I would like to see the crash.txt, maybe the problem is just located in my codebase then in the Apolyton code base.

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

                        Comment


                        • #42
                          crash with play test

                          I applied the playtest 07/26 to the game and whenI tried to run the game it crashed immediately to the desktop Here is the crash text you requested
                          0x0063feac [?DrawString@aui_BitmapFont@@QAE?AW4AUI_ERRCODE@@PA Vaui_Surface@@PAUtagRECT@@1PBDKKJ@Z + 0x100]
                          0x0067a7fa [?DrawThisText@aui_TextBase@@IAE?AW4AUI_ERRCODE@@PA Vaui_Surface@@PAUtagRECT@@@Z + 0xcb]
                          0x00666eca [?DrawThis@aui_ProgressBar@@UAE?AW4AUI_ERRCODE@@PAV aui_Surface@@JJ@Z + 0xc8]
                          0x0066cd13 [?Draw@aui_Region@@UAE?AW4AUI_ERRCODE@@PAVaui_Surfa ce@@JJ@Z + 0x33]
                          0x006478f2 [?Draw@aui_Control@@UAE?AW4AUI_ERRCODE@@PAVaui_Surf ace@@JJ@Z + 0x46]
                          0x0066cdb5 [?DrawChildren@aui_Region@@QAE?AW4AUI_ERRCODE@@PAVa ui_Surface@@JJ@Z + 0x73]
                          0x0066cd30 [?Draw@aui_Region@@UAE?AW4AUI_ERRCODE@@PAVaui_Surfa ce@@JJ@Z + 0x50]
                          0x0068767a [?Draw@aui_Window@@UAE?AW4AUI_ERRCODE@@PAVaui_Surfa ce@@JJ@Z + 0x23]
                          0x0067ef5e [?AddChild@aui_UI@@UAE?AW4AUI_ERRCODE@@PAVaui_Regio n@@@Z + 0x13f]
                          0x00411106 [?AddWindow@aui_UI@@QAE?AW4AUI_ERRCODE@@PAVaui_Wind ow@@@Z + 0x16]
                          0x0075acdd [?BeginProgress@ProgressWindow@@SAXAAPAV1@PADJJJ@Z + 0xdd]
                          0x0040c2d3 [?InitializeApp@CivApp@@QAEJPAUHINSTANCE__@@H@Z + 0x14e]
                          0x00407f15 [?CivWinMain@@YGHPAUHINSTANCE__@@0PADH@Z + 0x3a2]
                          0x004079ee [WinMain@16 + 0x74]
                          0x0085fa0c [WinMainCRTStartup + 0x134]
                          0x77e814c7 [__onexitbegin + 0x7729164f]

                          Comment

                          Working...
                          X