Capture.exe 设置中文后闪退
这里写自定义目录标题
你在 Capture 内 Options 设置中文后,Capture 把配置写入 Capture.ini,但写入的是中文段名和键名,与原有英文段混杂:
第31行 [偏好设置](中文段名)
第680-681行 字体颜色=、字体=(中文键名)
第340/420/500行 Part ֵ=RGB(…)("值"字编码损坏成乱码 U+05B5)
Capture 下次启动解析这个中英混杂且带乱码的 ini 时,初始化失败、graceful 退出
问题根源与修复目标
导致 Capture 启动失败的根本原因在于Capture.ini文件内容混乱。该文件路径为:C:\SPB_Data\cdssetup\OrCAD_Capture\25.1.0\Capture.ini
我们需要修复此文件,使其恢复为纯净、有效的英文配置。
[Part Management] Configuration File=C:\Cadence\SPB_25.1\tools\Capture\Samples\BENCHACC.DBC [Footprint Viewer Type] Type=Allegro [Allegro Footprints] Dir0=C:\Cadence\SPB_25.1\share\pcb\pcb_lib\symbols [Preferences] ORAPPCEFSETTINGSPATH= PSpiceSymLibPath=c:/spb_data/cdssetup/workspace; DBO_DEFAULT_LIBRARY_CREATION_DIRECTORY=c:/spb_data/cdssetup/workspace\libraries\symbols CapturePlacePartLegacy= ShowNetgroupInternalProperties= PromptOnLocalNavigate=True AssignRefDesOnOccTreeCorrection= EnableDynBundle=False BackAnnotatePinNumbersOnly......=False AutoRefTracker....=True CaptureTclAutoLoadScope= CanvasTheme= AnnInstModeExternalDesign=False CheckConnection..=True Installed_Version_Processed= Enable3DViewer=True UltraLibrarian=False SilenceBrowser...=True DisplayCommands..=False CheckReadOnlyOnViewActivate.....=True IncrementalSave..=False ObjectGridDistribution=DistributionWithAutomaticExtent DisplayValueOnlyIfValueExists= SymbolGraphicalElementsSnapToGrid=Master EnableLegacyITC.....=False DrawPinArrows....=True IREFGlobalVisibility...=True DockingPlacePart....=True SessionLogFont...=[-14, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, Arial] FlushCommand.....=True ResetDisplayProp....=False AutoAdjustColumnWidth= SymbolEnablePasteOptMode=False DisplayWaivedDRC=False Journaling.......=False TCLEnablePageCustomization= CAP_DRC_FLOW_ENABLED= WiresOnTop= DisableIsNoConnectPropForPowerPin= PlacePartRefreshPart=False PreserveReference....=False ArrowEntrepreneur=False CisProgressBarDisplay= AutoListLayoutFiles= SaveImageAsBMP...=False EnableLegacyDrag.....=True UndoOnSave.......=True MarkersOnTop= CISShowDNIPartPinDisplayProperty= HIGHLIGHT_USER_EDIT_REFERENCES_ON_PAGE=TRUE EnableFootPrint= global_pin_text_display=1 EnableStartPage=True Autosave.........=False OrCAD_Cap_Sigxp_tier= CaptureNewPartEditor= SymbolTextElementsSnapToGrid=Fine ExtensibleFind=True NetNameMode......=2 ViewerShowPinInfo=True FillText.........=False OrCAD_RegisterSKILLOutput= SuppressMsgBoxInTcl=False RotateInstPropInContext...=False AutosaveMinutes..=15 EnableITC........=True JunctionMode=Junction on wire break only (default) ShowOnlyPageSizeSelection=False EnableOverlappedPrinting.....=False LegacySaveAs.....=True SearchToolBar...=True JunctionDotSize....=Small AutoReference....=True ViewerDisplayUnits=0 PathLookupTimeout....=10 DragPreference....=True StrokeFont.......=False EnableGlobalNetITC=1 DoNotDeleteInvalidConfigLibs=TRUE DescendSchPage=Default SCHEMATIC_PRINT_THEME=Light HIGHLIGHT_USER_EDIT_REFERENCES_ON_PRINT=FALSE COPY_OCC_DATA_ON_PASTE=FALSE ForceUpdateCache=Default SHOWNETGROUPINPMTREE=True QueryAllTables=FALSE CISRegionalSetting=TRUE ExportQuotedRefDesVariant=FALSE UseCadenceDefaultLibraryInCIS=FALSE GenerateAllBomCIS=FALSE UseGlobalDRCSettings=False AllegroCharLimitInINI=FALSE Cis_LiveBom_ManufacturerName= Cis_LiveBom_ManufacturerPartNumber= localsystemsetting=True localmenusetting=True ConnectToCloudOnAppLaunch=True DM_FILE_WATCHER_FOLDER= isASMEVersioningEnabled=False asmeDelimiter=. [Application] Version=25.1-2025 [Project Wizard] Project Directory=c:/spb_data/cdssetup/workspace\designs [Directories] OpenDir=C:\Users\10643\Desktop\PXIe_BACKPLANE_L20_V0.0\03_Sch\ OpenDsnDir=C:\Users\10643\Desktop\PXIe_BACKPLANE_L20_V0.0\03_Sch\ LastFileType=1 [Browse] DRC markers=185 185 141 108 124 104 133 [Window Placement] Max Position...=(0,2039679088) Min Position...=(0,0) Show...........=Hide Normal Position=(448,65241,0,0) [BCGWorkspace\ControlBars-Summary] Bars=0 ScreenCX=1920 ScreenCY=1080 [Session Log Settings] Font=[-14, 0, 0, 0, 400, 0, 0, 0, 1, 0, 0, 0, 0, Arial] Text Color=16777215 Tabs=[] Placement=44 0 1 -1 -1 -1 -1 0 1885 0 0 Rulerbar Font=[-14, 4, 0, 0, 400, 0, 0, 0, 1, 0, 2, 0, 0, Arial] Rulerbar Text Color=Default [HelpWnd] Height=0 Width=0 AutoTiled=0 [SearchToolBarSetting] Parts=1 OffPage=1 BookMark=1 CommentText=1 Nets=1 FlatNets=1 SingleNodeNets=1 HierPorts=1 DRC=0 TitleBlock=0 PowerSymbol=0 HierPins=0 PartsPins=0 VariantParts=0 DiffPair=0 Class=0 ECset=0 SCset=0 PCset=0 MatchGroup=0 MatchCase=0 Highlight=0 RegularExpression=0 PropertySearch=0 [Part Selector Configured Libraries] Number of Configured Libraries=0 [Symbol Selector Configured Libraries] Number of Configured Libraries=0 [ƫ ] һ =< ǰ > [Property Spreadsheet Size] X_VALUE=5 Y_VALUE=28 CX_VALUE=1782 CY_VALUE=833 [Spreadsheet] ƫ · =c:\spb_data\cdssetup\orcad_capture\25.1.0\prefprop.txt [Dark Themed Text Editor] ͣ ʱ =True ʾѡ =True ļ 浽 ǰ =True Զ ¼ ļ =True VHDL ʶ =RGB(255, 0, 0) VHDL ע ɫ=RGB(206, 0, 206) ɫ=RGB(255, 255, 255) =[-13, 8, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, Courier New] ʾ к =True ༭ =RGB(48, 48, 48) VHDL ַ ɫ=RGB(255, 0, 0) VHDL ؼ ɫ=RGB(0, 255, 255) =True ѡ =4 [BIAS DISPLAY] Enable Button Checked=1 [WebResourcesMenu] Title1=&Training URL1=http://www.cadence.com/Training/pages/default.aspx Title2=&Cadence Online Support URL2=http://support.cadence.com/