GithubHelp home page GithubHelp logo

babalae / mihoyo-starter Goto Github PK

View Code? Open in Web Editor NEW
244.0 2.0 13.0 292 KB

🛠️原神、云·原神、崩坏:星穹铁道、崩坏三 多账号快速切换工具

C# 100.00%
genshin-impact genshin-impact-cloud star-rail

mihoyo-starter's People

Contributors

flizeee avatar huiyadanli avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

mihoyo-starter's Issues

希望能增加国际服支持

国际服的原理应该也是一样的,登录信息保存在注册表里,感觉加一个国际服难度应该是很低的。
我看了下好像需要的是这几个信息?如果还需要什么我可以提供。

  • 国际服的注册表路径:HKEY_CURRENT_USER\Software\miHoYo\Genshin Impact
  • 注册表项:MIHOYOSDK_ADL_PROD_OVERSEA_h1158948810

保存账号时程序报错

点击保存账号,输入备注后点保存就报错,点继续无效
image

下面是具体内容

有关调用实时(JIT)调试而不是此对话框的详细信息,
请参见此消息的结尾。

************** 异常文本 **************
System.InvalidCastException: 无法将类型为“System.String”的对象强制转换为类型“System.Byte[]”。
在 MiHoYoStarter.MiHoYoAccount.GetStringFromRegistry(String key)
在 MiHoYoStarter.MiHoYoAccount.ReadFromRegistry()
在 MiHoYoStarter.FormInput.btnSave_Click(Object sender, EventArgs e)
在 System.Windows.Forms.Control.OnClick(EventArgs e)
在 System.Windows.Forms.Button.OnClick(EventArgs e)
在 System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
在 System.Windows.Forms.Control.WndProc(Message& m)
在 System.Windows.Forms.ButtonBase.WndProc(Message& m)
在 System.Windows.Forms.Button.WndProc(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** 已加载的程序集 **************
mscorlib
程序集版本:4.0.0.0
Win32 版本:4.8.4644.0 built by: NET48REL1LAST_B
基本代码:file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

MiHoYoStarter
程序集版本:1.9.0.0
Win32 版本:1.9.0.0
基本代码:file:///E:/%E4%B8%8B%E8%BD%BD/MiHoYoStarter.exe

System.Windows.Forms
程序集版本:4.0.0.0
Win32 版本:4.8.4550.0 built by: NET48REL1LAST_C
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System
程序集版本:4.0.0.0
Win32 版本:4.8.4644.0 built by: NET48REL1LAST_B
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

System.Drawing
程序集版本:4.0.0.0
Win32 版本:4.8.4390.0 built by: NET48REL1LAST_C
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System.Configuration
程序集版本:4.0.0.0
Win32 版本:4.8.4190.0 built by: NET48REL1LAST_B
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Core
程序集版本:4.0.0.0
Win32 版本:4.8.4644.0 built by: NET48REL1LAST_B
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System.Xml
程序集版本:4.0.0.0
Win32 版本:4.8.4084.0 built by: NET48REL1
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

Accessibility
程序集版本:4.0.0.0
Win32 版本:4.8.4084.0 built by: NET48REL1
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

System.Net.Http
程序集版本:4.0.0.0
Win32 版本:4.8.4084.0 built by: NET48REL1
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll

System.Management
程序集版本:4.0.0.0
Win32 版本:4.8.4435.0 built by: NET48REL1LAST_C
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll

System.Web.Extensions
程序集版本:4.0.0.0
Win32 版本:4.8.4494.0
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Web.Extensions/v4.0_4.0.0.0__31bf3856ad364e35/System.Web.Extensions.dll

System.Web
程序集版本:4.0.0.0
Win32 版本:4.8.4494.0 built by: NET48REL1LAST_B
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll

System.resources
程序集版本:4.0.0.0
Win32 版本:4.8.4084.0 built by: NET48REL1
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/System.resources.dll

mscorlib.resources
程序集版本:4.0.0.0
Win32 版本:4.8.4084.0 built by: NET48REL1
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/mscorlib.resources.dll

System.Net.Http.resources
程序集版本:4.0.0.0
Win32 版本:4.8.4084.0 built by: NET48REL1
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http.resources/v4.0_4.0.0.0_zh-Hans_b03f5f7f11d50a3a/System.Net.Http.resources.dll

System.Windows.Forms.resources
程序集版本:4.0.0.0
Win32 版本:4.8.4084.0 built by: NET48REL1
基本代码:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_zh-Hans_b77a5c561934e089/System.Windows.Forms.resources.dll

************** JIT 调试 **************
要启用实时(JIT)调试,
该应用程序或计算机的 .config 文件(machine.config)的 system.windows.forms 节中必须设置
jitDebugging 值。
编译应用程序时还必须启用
调试。

例如:

启用 JIT 调试后,任何未经处理的异常
都将被发送到在此计算机上注册的 JIT 调试程序,
而不是由此对话框处理。

问大佬个问题

使用了两次,但是第三次程序内双击点开登陆的时候发现账号信息掉了,这是什么情况呢?求解答

请求支持绝区零

大佬我爱你。
另外建议加个按钮,直接可以打开软件申请管理员权限,不需要一个一个点的时候申请UAC了。
虽然我知道快捷方式里可以加

一些可能的优化建议

从Akebi-injector使用发现的一些不同,个人而言更加方便一些

  1. 启动时窗口居中,和上个项目一致
  2. 保存账号时也可以保存游戏画面设置
  3. 目前最小化后,alt+tab仍然会显示窗口

snipaste_20230505_175145

2.2版本 显示界面仍然为2.1

首先感谢快速支持绝绝区零的更新,但是新更新的这个版本 有俩问题
1、首页显示的还是 2.1版本
2、新更新之后 窗口框体特别大。而且调整缩放后,重新打开还是恢复了原来的窗体大小
3、标签显示的顺序也是重新打开后会恢复,比如默认第一个显示的是绝区零,原本通过先取消勾选绝区零 再勾上,可以让这个标签页挪到最后面,但是关闭再打开又跳到第一个位置了

微信图片_20240710121140

[BUG]启动B站账号的时候启动的却是官服账号

我下载了2.1版本的程序,运行之后我设置了B服的游戏本体路径:D:\Star Rail Bilibili\Star Rail\Game\StarRail.exe
我能够从Windows的任务管理器看到启动的可执行文件是这个StarRail.exe。
但是进入游戏时候,登录的账号是我官服的账号。

我的官服账号在这个地址:D:\Star Rail\Game\StarRail.exe

我使用鼠标分别点击上面提到的两个可执行文件可以正常进入对应的服务器。

我猜测这些可执行文件都是一样的,只不过一些类似环境变量的配置信息不一样?然后软件在执行D:\Star Rail Bilibili\Star Rail\Game\StarRail.exe的时候,误读取了官服的配置文件?

这方面的知识应该去哪里学习?理论上B服和官服使用一套游戏数据行不行?
银狼

多用户下切换无效

最近使用三月七小助手,借助远程本地桌面后台挂机,发现工具无法在本地远程桌面中生效,希望可以支持,非常感谢

希望增加一个更新当前选中账号的功能

mhy的游戏每隔一段时间都需要重新扫码或输入密码登录,估计是已保存的登录信息有过期时间,希望能增加一个更新选项,这样不用删除原有的名称然后再保存当前帐号重新输入名称

功能建议

大佬你好,这个切换账号和启动游戏可以分开吗?感觉这样可以方便点。

开启提示有错误

MiHoYoStarter_0501_181812

选择继续后程序可以运行,添加路径按钮无反应。(我的游戏目录是自定义的,因为前面系统重装之后,我用启动器自己定位了一下) 有关调用实时(JIT)调试而不是此对话框的详细信息, 请参见此消息的结尾。

************** 异常文本 **************
System.ArgumentNullException: 值不能为 null。
参数名: path1
在 System.IO.Path.Combine(String path1, String path2, String path3)
在 MiHoYoStarter.GameFormControl.InitControl(FormMain formMain, TabPage tabPage, String pathSetting)
在 MiHoYoStarter.FormMain.FormMain_Load(Object sender, EventArgs e)
在 System.Windows.Forms.Form.OnLoad(EventArgs e)
在 System.Windows.Forms.Form.OnCreateControl()
在 System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
在 System.Windows.Forms.Control.CreateControl()
在 System.Windows.Forms.Control.WmShowWindow(Message& m)
在 System.Windows.Forms.Control.WndProc(Message& m)
在 System.Windows.Forms.ScrollableControl.WndProc(Message& m)
在 System.Windows.Forms.ContainerControl.WndProc(Message& m)
在 System.Windows.Forms.Form.WmShowWindow(Message& m)
在 System.Windows.Forms.Form.WndProc(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

以下为详细错误

切换账号失败

保存好账号后,可以切换账号。
但是,但是,那个电脑重启开机后,切换账号无用,要自己重新登录。

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.