Giter Site home page Giter Site logo

starsectortoolbox's People

Contributors

hakoyu avatar truthoriginem avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

starsectortoolbox's Issues

右键菜单显示在鼠标左侧时位置偏移的问题

菜单显示在右边时
image

菜单显示在左边时
image

可以看到有很大程度的偏移
因为将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>

部分模组分类建议-文件来源中文论坛

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 功能动态税率 功能模组

远行星号0.96a与0.95.1a的英文版与汉化版均无法被识别。

[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”。

首次启动选择游戏文件后闪退

复现方法

  1. 下载并安装控制台mod
  2. 启动工具并选择游戏文件

报错信息
log文件内无有效输出,尝试直接运行源代码后提示:
image
似乎是因为无法确定该mod的分类?

全局扩展异常

全局扩展异常 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](ReadOnlySpan1 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()

0.9.0 任务列表

结构优化:

  • 拆分 HKW.ViewModel

联网更新:

  • 模组类型分组联网更新
  • 软件本体联网更新
  • 拓展联网更新

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.