环境: .NET6
对游戏 远行星号 提供如模组管理,游戏设置等诸多功能
并可以使用外部 API 来增加拓展插件以提供更多功能,对制作插件有兴趣可以查看 拓展教程
若有需求的功能或建议及意见,欢迎提交 issue
若在使用中遇到任何问题,请提交 issue ,并附带日志信息
若发现有模组在 未分类模组 中 ,请提交 issue ,并提供其 ID 及应该在的分类
站内链接 GitHub
插件的使用方式: 将插件压缩包解压至 STExtension 文件夹即可
For the game Starsector provides many functions such as mod management, game settings, etc.
License: MIT License
看了一下setting
无边框窗口和手动分辨率都可以弄
拓展输出的异常无法定位错误的所在行数
若能解决可以提高拓展的调试体验
全局扩展异常 System.Private.CoreLib !!!警告!!!
如果你看到了这个错误,说明这是扩展中意料之外的情况
可能会影响扩展的正常运行,建议查看日志并提交issue至扩展开发者.
System.IO.IOException: The process cannot access the file 'D:\远行星号\starsector-core\starsector.log' because it is being used by another process.
at StarsectorToolbox.ViewModels.CrashReporter.CrashReporterWindowViewModel.GetLines() in StarsectorToolbox\ViewModels\CrashReporter\CrashReporterWindowVMController.cs:line 251
at StarsectorToolbox.ViewModels.CrashReporter.CrashReporterWindowViewModel.GetLastLog() in StarsectorToolbox\ViewModels\CrashReporter\CrashReporterWindowVMController.cs:line 240
at StarsectorToolbox.ViewModels.CrashReporter.CrashReporterWindowViewModel.SetCrashReport() in StarsectorToolbox\ViewModels\CrashReporter\CrashReporterWindowVMController.cs:line 68
at StarsectorToolbox.ViewModels.Main.MainWindowViewModel.ShowCrashReporterWindowReceive(Object recipient, ShowCrashReporterMessage message) in StarsectorToolbox\ViewModels\Main\MainWindowViewModel.cs:line 203
at CommunityToolkit.Mvvm.Messaging.Internals.MessageHandlerDispatcher.For2.Invoke(Object recipient, Object message) at CommunityToolkit.Mvvm.Messaging.WeakReferenceMessenger.SendAll[TMessage](ReadOnlySpan
1 pairs, Int32 i, TMessage message)
at CommunityToolkit.Mvvm.Messaging.WeakReferenceMessenger.Send[TMessage,TToken](TMessage message, TToken token)
at CommunityToolkit.Mvvm.Messaging.IMessengerExtensions.Send[TMessage](IMessenger messenger, TMessage message)
at StarsectorToolbox.ViewModels.GameSettings.GameSettingsPageViewModel.ShowCrashReporter() in StarsectorToolbox\ViewModels\GameSettings\GameSettingsPageViewModel.cs:line 307
at CommunityToolkit.Mvvm.Input.RelayCommand.Execute(Object parameter)
at StarsectorToolbox.App.Main()
结构优化:
HKW.ViewModel
联网更新:
可以看到有很大程度的偏移
因为将pu:ContextMenuHelper.ItemsWidth
设置为了NaN
根据字符串长度来改变菜单长度
但是没有完全改变菜单的实际长度(鼠标和菜单间隔的这一段依旧是菜单的一部分,只是看不到了而已)
<Style
x:Key="ContextMenu_Style"
BasedOn="{StaticResource {x:Type ContextMenu}}"
TargetType="ContextMenu">
<Setter Property="Background" Value="{DynamicResource ColorBG}" />
<Setter Property="BorderBrush" Value="{DynamicResource ColorLight3}" />
<Setter Property="Foreground" Value="{DynamicResource ColorFG}" />
<Setter Property="BorderThickness" Value="1" />
<Setter Property="Width" Value="NaN" />
<Setter Property="pu:ShadowHelper.ShadowDepth" Value="3" />
<Setter Property="pu:ContextMenuHelper.ShadowColor" Value="{DynamicResource ColorAqua}" />
<Setter Property="pu:ContextMenuHelper.ItemsWidth" Value="NaN" />
<!--<Setter Property="pu:ContextMenuHelper.ItemsIconWidth" Value="0"/>-->
<Setter Property="pu:ContextMenuHelper.ItemsHoverBackground" Value="{DynamicResource ColorLight2}" />
<Setter Property="pu:ContextMenuHelper.ItemsCheckedBackground" Value="{DynamicResource ColorLightBlue2}" />
<Setter Property="pu:ToolTipHelper.Background" Value="{DynamicResource ColorBG}" />
<Setter Property="pu:ToolTipHelper.Foreground" Value="{DynamicResource ColorFG}" />
<Setter Property="pu:ToolTipHelper.ShadowColor" Value="{DynamicResource ColorAqua}" />
</Style>
magiclib 前置
unknownskies 未知星域
[StarsectorToolbox.ViewModels.Main.MainWindowViewModel.InitializeConfig] ERROR 设置文件错误,将恢复为默认设置 位置: STCore\Settings.toml
System.ComponentModel.Win32Exception (740): An error occurred trying to start process 'C:\Program Files (x86)\Fractal Softworks\Starsector\jre\bin\java.exe' with working directory 'C:\Program Files (x86)\Fractal Softworks\Starsector'. 请求的操作需要提升。
at StarsectorToolbox.Models.GameInfo.GameInfo.TryGetJaveVersion(String javaFile) in StarsectorToolbox\Models\GameInfo\GameInfo.cs:line 188
at StarsectorToolbox.Models.GameInfo.GameInfo.SetGameData(String gameDirectory) in StarsectorToolbox\Models\GameInfo\GameInfo.cs:line 77
at StarsectorToolbox.Models.GameInfo.GameInfo.GetGameDirectory() in StarsectorToolbox\Models\GameInfo\GameInfo.cs:line 162
at StarsectorToolbox.ViewModels.Main.MainWindowViewModel.FirstCreateConfig(String tomlFile) in StarsectorToolbox\ViewModels\Main\MainWindowVMController.cs:line 466
at StarsectorToolbox.ViewModels.Main.MainWindowViewModel.InitializeConfig() in StarsectorToolbox\ViewModels\Main\MainWindowVMController.cs:line 399
[StarsectorToolbox.Views.Main.MainWindow..ctor] ERROR 初始化错误: MainWindowViewModel
System.Exception: 未确认游戏启动程序, 软件即将退出
at StarsectorToolbox.ViewModels.Main.MainWindowViewModel..ctor(Boolean noop) in StarsectorToolbox\ViewModels\Main\MainWindowViewModel.cs:line 97
at StarsectorToolbox.Views.Main.MainWindow..ctor() in StarsectorToolbox\Views\Main\MainWindow.xaml.cs:line 45
以上是现存Log原文,现存StarsectorToolbox.exe安装位置为“C:\Program Files (x86)\Fractal Softworks\Starsector\StarsectorToolbox.exe”,现存STCore文件夹安装位置为“C:\Program Files (x86)\Fractal Softworks\Starsector\STCore”,现存STExtension文件夹安装位置为“C:\Program Files (x86)\Fractal Softworks\Starsector\STExtension”,现存Log文件所处位置为“C:\Program Files (x86)\Fractal Softworks\Starsector\STCore\StarsectorToolbox.log”,现存游戏版本为0.95.1a-rc6汉化版,现存游戏安装包来源为https://www.fossic.org/thread-3060-1-1.html,未安装任何MOD。
上一个游戏版本为0.96a英文原版,上一个游戏安装包来源为https://fractalsoftworks.com/category/releases/,未安装任何MOD。上一次StarsectorToolbox.exe安装位置为“C:\Program Files\Starsector\StarsectorToolbox.exe”,上一次STCore文件夹安装位置为“C:\Program Files\Starsector\STCore”,上一次STExtension文件夹安装位置为“C:\Program Files\Starsector\STExtension”,上一个Log文件所处位置为“C:\Program Files\Starsector\STCore\StarsectorToolbox.log”。
ID 名字 简介 分类
AMerchantsLegend 一个商人的传奇 依托于势力争霸的特殊开局 内容拓展
pantera_ANewLevel40R pantera_ANewLevel35R pantera_ANewLevel30R pantera_ANewLevel25R pantera_ANewLevel20R pantera_ANewLevel40 pantera_ANewLevel35 pantera_ANewLevel30 pantera_ANewLevel25 pantera_ANewLevel20 更高等级上限 功能模组
jc_asm 无人舰队拓展 & 幽灵部队 添加了一个全新的AI势力,以及与无人舰船配套的相关玩法 派系模组
fast_engine_rendering 快速引擎渲染 功能模组
star_federation 星际联邦 派系模组
HMI 风险矿业公司 派系模组
HMI_brighton 布莱顿联盟 派系模组
HMI_SV HMI反派势力 派系模组
leadingPip 预瞄框 功能模组
mik 蜜柑族群 派系模组
niko_morePlanetaryConditions 更多的行星环境 内容拓展
planet_search 星体搜索界面 功能模组
secretsofthefrontier 前线秘闻 有一条主线剧情 内容拓展
speedUp 战斗加速 功能模组
StopGapMeasures3 补漏措施 船包 内容拓展
stop_remove_dmod D插件修复禁用 闲杂模组
synDawnSkinPack 智械黎明美化包 修改了ai核心头像 美化模组
Templars 圣殿骑士团 甜不辣! 派系模组
The_Lengend_Of_Tenshi 溶子的战役集 新增几个战役 内容拓展
ly_this_is_trash 这是破船 新增一个破船插件 闲杂模组
dynamictariffs 功能动态税率 功能模组
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.