Giter Club home page Giter Club logo

unityfpsunlocker's Introduction

unityfpsunlocker's People

Contributors

hexstr avatar nep-timeline avatar reindex-ot 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  avatar  avatar  avatar  avatar  avatar  avatar

unityfpsunlocker's Issues

模擬器高FPS設定問題

如題
想請問下有沒有辦法拉高模擬器的FPS參數
想要在模擬器上玩到120甚至是144FPS的畫面
順便配上gltools拉高解析度
不過我看release那邊固定鎖60FPS
想問下能不能開放FPS上限

请问

这个我能不能分享给别人

Support variable frame rate

Is it possible to unlock the frame rate for things like running targetFrameRate during the game (e.g. jp.co.cygames.umamusume)?

It may be possible to change the frame rate periodically, or hook the property changing

请问是如何确定修改的位置的呢?

现在用的华为P30, 没有办法装magisk, 参照了您的方法修改了apk中对应的文件实现了日服的60帧. 但是如果版本更新了的话修改的位置是不变的吗? 是如何确定要修改哪里的呢?

请问日服如何在模拟器下实现60帧的功能?

手机的电量长时间实在是不太够用,而且一直手持也不太方便,想用模拟器方便一些,但模拟器没有办法安装magisk来屏蔽日服的ROOT检测以及安装模块来实现60帧功能,请问能否像之前那样通过修改system文件强制模拟器60帧同时跳过ROOT检测?

請問

電腦的模擬器是否無法使用?有安裝面具了。

2.1.0版本疑问

在多种模拟器上使用替换文件的方法会提示l2cpp.文件加载失败导致游戏退出
手机上则正常 请问原因是什么呢?

FGO国服失效

小米手机安卓11升级到安卓12,升级前正常,升级后使用1.5版本模块和zygisk,targetlist配置无误,日志如下,麻烦排查下问题,谢谢!
:/ $ su
:/ # logcat -s UnityFPSUnlocker:V
--------- beginning of main
03-28 13:32:12.090 3325 3326 D UnityFPSUnlocker: [UnityFPSUnlocker]initializing...
03-28 13:32:26.109 6692 6702 D UnityFPSUnlocker: ***** new thread *****
03-28 13:32:26.109 6692 6702 D UnityFPSUnlocker: delay: 10 | framerate: 120
03-28 13:32:35.622 6692 6702 D UnityFPSUnlocker: ***** begin *****
03-28 13:32:35.624 6692 6702 D UnityFPSUnlocker: il2cpp_resolve_icall not found, trying plan B...69
03-28 13:32:35.624 6692 6702 D UnityFPSUnlocker: Failed, not support this game.
03-28 13:37:47.124 15194 15202 D UnityFPSUnlocker: ***** new thread *****
03-28 13:37:47.124 15194 15202 D UnityFPSUnlocker: delay: 10 | framerate: 120
03-28 13:37:57.125 15194 15202 D UnityFPSUnlocker: ***** begin *****
03-28 13:37:57.127 15194 15202 D UnityFPSUnlocker: il2cpp_resolve_icall not found, trying plan B...69
03-28 13:37:57.127 15194 15202 D UnityFPSUnlocker: Failed, not support this game.
p03-28 13:45:08.612 17192 17203 D UnityFPSUnlocker: ***** new thread *****
03-28 13:45:08.612 17192 17203 D UnityFPSUnlocker: delay: 10 | framerate: 120
03-28 13:45:18.613 17192 17203 D UnityFPSUnlocker: ***** begin *****
03-28 13:45:18.614 17192 17203 D UnityFPSUnlocker: il2cpp_resolve_icall not found, trying plan B...69
03-28 13:45:18.614 17192 17203 D UnityFPSUnlocker: Failed, not support this game.

FGO (JP) 部分弹窗动画迟缓

(虽然不是 100% 确定是 unlocker 的问题,不过启用/关闭 mod 可以准确复现该现象,所以想咨询一下)

具体问题表现为:

个别菜单(比如 filter)打开的动画十分迟缓,动画时能观察到 fps 下跌到 30。而同时其他菜单的打开关闭动画正常

Log
02-27 21:34:20.743 20892 21052 D UnityFPSUnlocker: [UnityFPSUnlocker][armv7] Starting...
02-27 21:34:20.743 20892 21052 D UnityFPSUnlocker: delay: 0 | framerate: 120 | modify_opcode: 0
02-27 21:34:20.743 20892 21052 D UnityFPSUnlocker: ***** begin *****
02-27 21:34:20.744 20892 21052 D UnityFPSUnlocker: set_targetFrameRate: 120
02-27 21:34:20.744 20892 21052 D UnityFPSUnlocker: ***** finished *****
System
模拟器版本: 7.0.5.2019-9.0900230106
安卓版本: Android 9(64 bit)
系统版本: Windows11-64bit-16cpu
电脑型号: Micro-Star International Co., Ltd.-MS-7C94
CPU: AMD Ryzen 7 5800X 8-Core Processor             
总内存: 31.9 GB
可用内存: 16.9 GB
是否开启VT: 开启
渲染模式: OpenGL+
OpenGL版本: 4.6.0 NVIDIA 528.24
OpenGL渲染: NVIDIA GeForce RTX 2060/PCIe/SSE2
是否独显: 开启
显卡1: NVIDIA GeForce RTX 2060
防火墙: 开启(推荐关闭)
安装路径: E:\Nox\bin
日志文件路径: C:\Users\elyph\AppData\Local\Nox
模拟器磁盘大小: 总共 G, 剩余 
2023-02-27_13-27-08.mp4

是否可以在TargetList.json中设置两组不同的列表

以使得能够在 赛马娘 之类的游戏中获得帧数解锁的同时,不会在 公主链接 等游戏中因anticheat组件而闪退

Is it possible to set 2 different list in targetlist.json, to pass anticheat in games such as Princess Connect, and get real fps unlock in other games such as Umamusume at the same time

[Bug Report]部分游戏帧率调整后游戏内界面切换以后失效

仅模拟器复现,手机端正常

模拟器版本:雷电模拟器9 9.0.36
面具版本:Magisk Delta 25.1

复现:
以公主连结为例
在第一次调整帧率生效后:

第一次生效图例

image

切换界面后:

失效图例

image

log

02-09 21:58:20.314 13548 13556 D UnityFPSUnlocker: [UnityFPSUnlocker][x86] Starting...
02-09 21:58:20.314 13548 13556 D UnityFPSUnlocker: delay: 10 | framerate: 120 | modify_opcode: 1
02-09 21:58:30.314 13548 13556 D UnityFPSUnlocker: ***** begin *****
02-09 21:58:30.315 13548 13556 D UnityFPSUnlocker: set_targetFrameRate: 120
02-09 21:58:30.315 13548 13556 D UnityFPSUnlocker: ***** finished *****

FGO NA 60FPS 方式?

大神你好,
之前也看到过#11但是因为我大部分是在模拟器上玩,所以一听要装Magisk就没辙了。
请问一下有没有可用il2cppdumper方式而获取美服60FPS的方案/教程?
加上我觉得更改文件的方式还是比较方便的,因为我有两台小米手机,一台有root另外一台没有,把文件上传到root的那台后,可用 小米换机 把App里所有的资料转到无root的那台上然后再玩。
求求大神能指点指点🙏

可否支持下渠道客户端

比如享游客户端,包名是com.bilibili.fatego.sharejoy。。有两个号,因为手机现在没法双开,只能用别的客户端同时玩了

关于FGOAssetsModifyTool的使用 出现了如下的报错(因为隔壁貌似咩办法提问了,我就写在这边了)

实际环境:
clone 最新的FGOAssetsModifyTool
日服资源包
VS2022
.NET6.0
实际情况:
输入【2】进行解密后,报错
报错内容如下:
Decrypt: E:\FGOAssetsModifyTool-master\FGOAssetsModifyTool\bin\Debug\net6.0\Android\2135f3a7de76270de48534275de11f431094237b.bin
pad block corrupted
at Org.BouncyCastle.Crypto.Paddings.Pkcs7Padding.PadCount(Byte[] input)
at Org.BouncyCastle.Crypto.Paddings.PaddedBufferedBlockCipher.DoFinal(Byte[] output, Int32 outOff)
at FGOAssetsModifyTool.CatAndMouseGame.MouseHomeMain(Byte[] data, Byte[] home, Byte[] info, Boolean isCompress) in E:\FGOAssetsModifyTool-master\FGOAssetsModifyTool\CatAndMouseGame.cs:line 304
MouseHomeMain failed
Value cannot be null. (Parameter 'bytes')
at System.IO.File.WriteAllBytes(String path, Byte[] bytes)
at FGOAssetsModifyTool.Program.DisplayMenuAsync() in E:\FGOAssetsModifyTool-master\FGOAssetsModifyTool\Program.cs:line 63

貌似自从日服这次新活动开始,就没办法正常使用FGOAssetsModifyTool 对资源进行解密了
不知道作者肯否能答疑解惑

After 1.6 update the module will trigger appguard or any other root detecting/anticheat plugin

The 1.6 "works" on unlocking fps on more apps such as Princess Connect ReDive but it has a huge downside. The anticheat doesn't like it.

After the framerate unlocking progress started the game will be crashed or it will trigger the "security policy violation has been detected" dialog and then the app will shut down.
This happens on every single app with anticheat implicated (including Princess Connect ReDive), and regardless the unlocking is working or not. Making it unusable.
But rolling back to 1.5, everything will be fine again.

I have tested in on several different machines on Android Pie, 11 and 12. All of them are getting the same result.

Here's what I have used to hide root from apps
Magisk 24.3 (24300)
Shamiko 0.5.0 (110)
Universal SafetyNet Fix 2.2.1

I suggest put the zygisk module 1.5 back for people who isn't using it for FGO until the issue is resolved.

zygist_module_1_8 无法120帧

{
"framerate": 120,
"delay": 10,
"normal_list": [
"com.nexon.bluearchive",
"com.sunborn.girlsfrontline.cn",
"com.miHoYo.Yuanshen"
],
"mod_list": [
"com.aniplex.fategrandorder",
"com.bilibili.fatego"
]
}

TargetList 设置如上,fgo运行设备显示帧率始终保持60(平板是120HZ的三星S7+)

2.0配置文件格式问题

mod_list
normal_list
这两个选项在新版取消了吗,默认global就能用?
custom不填的话他是自动识别unity游戏包名的嘛

BGO替换文件开启60帧可行吗

最近换机了,华为的没法解BL锁所以就没有办法刷magisk,不知道日服那种替换文件开启60帧的方法在国服可行吗

你好,关于3.3版本问题

面具我用的25.2,刷模块显示S30217-01073973.png

重启也不行,另外问一下3.3的配置文件在哪?

手机架构arm64-v8a

3.0自动检测问题

所有APP都判断不好吧,有性能问题吧?
再加个设置,只在特定APP加载?
只有为false才加载custom里的设置这样

{
    "global": {
        "autodetect": true/false
    }
}

CarX Street does not reflect settings

I want to run CarX Street(com.carxtech.sr) at 120 fps, but it doesn't reflect it. logcat shows 77 fps, but the game only shows 30 fps.

Screenshot_20230416-173836_CarX_Street
The second photo is before applying with Target_List and the third photo is after.
image
image
I believe the json file description, encoding, and placement of directory are all correct.
image
image

国服模块使用一段时间后掉回30帧

大佬,我这边出现两例国服模块使用一段时间后掉回30帧的情况。重装模块、重装游戏、全删了从零开始安装游戏和模块都试过了,unlocker文件也正常,开始有60/90帧,但是现在只有30帧。

BGO模块更新后用不了了

错误日志:


Build fingerprint: 'Xiaomi/umi/umi:10/QKQ1.191117.002/V11.0.15.0.QJBCNXM:user/release-keys'
Revision: '0'
ABI: 'arm'
Timestamp: 2020-04-13 18:25:54+0800
pid: 20787, tid: 20805, name: bilibili.fateg >>> com.bilibili.fatego <<<
uid: 10356
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x1e8
Cause: null pointer dereference
r0 00000000 r1 e7c0f926 r2 bb7e8090 r3 00000000
r4 b9b79a10 r5 00000000 r6 b9ac3234 r7 bb7e81e8
r8 bb7e8174 r9 b9af979c r10 bb7e8118 r11 bb7e805c
ip e50e7d20 sp bb7e8020 lr e7bb1107 pc b9ac3254

backtrace:
#00 pc 00135254 /data/app/com.bilibili.fatego-Gm1E0LisF7I_Wap-qcLP3w==/lib/arm/libmono.so
#1 pc 0002e105 /system/lib/libriru_bgofpsunlocker.so (BuildId: 27c3a8eafbc85e148b0f2e5be2c8519e61151fd0)
#2 pc 0002e531 /system/lib/libriru_bgofpsunlocker.so (BuildId: 27c3a8eafbc85e148b0f2e5be2c8519e61151fd0)
#3 pc 000acced /apex/com.an

[bug]大概是系统兼容性问题

设备机型:魅族20 Pro
系统:Android13, Flyme10
故障:解锁后最高只有60帧,无论文件内是60还是120
log:正常调用log,显示修改完成但实际上没生效,log无报错

no bug。

没发现啥bug,我就是来蟹蟹老弟的。
真的爽到= ,=能分享下源码就更好了(我可能在做梦,在想屁吃)

X86模擬器的配置文件

請問大佬模擬器設備的模塊能做到像是其他模塊的自定義高刷配置嗎?剛好換了新的屏幕有高刷。謝謝。

考虑更新下模拟器支持方面吗

目前模块只使用_ZN7android26NativeBridgeLoadLibraryExtEPKciPNS_25native_bridge_namespace_tE这个符号,它只能在安卓8.0~安卓10.0上使用
安卓8以前没有NativeBridgeLoadLibraryExt只有NativeBridgeLoadLibrary
安卓10以后符号变成了NativeBridgeLoadLibraryExt
考虑换成NativeBridgeItf这个固定符号或者把三种情况都获取一遍

另外现在模块需要复制文件到/data/local/tmp,可以考虑直接从内存载入而不需要复制,参考
https://github.com/Perfare/Zygisk-Il2CppDumper/blob/70b95e88e738510bdf2574561e21280bc1d35f20/module/src/main/cpp/main.cpp#L55-L73

https://github.com/Perfare/Zygisk-Il2CppDumper/blob/70b95e88e738510bdf2574561e21280bc1d35f20/module/src/main/cpp/hack.cpp#L93-L101

[BUG] 手机上首次加载游戏不能正确设置帧率

问题描述

在雷电模拟器上一切正常,公主连结可以正常开启120,但是手机上首次加载游戏不能正确设置帧率。

机型及配置

机型:红米K40 MIUI14.0.23.3.27DEV
magisk:ed37ddd5-alpha (25205)
模块版本:v3.5

TargetList.json正确放置在/data/local/tmp
image

TargetList.json如下:

{
  "global": {
    "delay": 10,
    "mod_opcode": false,
    "fps": 120
  },
  "custom": {
    "com.bilibili.priconne": {
      "delay": 20,
      "fps": 120,
      "mod_opcode": true
    }
  }
}

日志文件

打开公主连结后,日志如下:

$ logcat -s UnityFPSUnlocker:V
--------- beginning of main
04-14 15:54:07.216  9156  9175 D UnityFPSUnlocker: [UnityFPSUnlocker][arm64] Starting...
04-14 15:54:07.216  9156  9175 D UnityFPSUnlocker: delay: 20 | framerate: 120 | modify_opcode: 0
04-14 15:54:09.995  9156  9175 D UnityFPSUnlocker: ***** begin *****
04-14 15:54:09.996  9156  9175 D UnityFPSUnlocker: Failed, not support this game.
04-14 15:55:37.759 15328 15340 D UnityFPSUnlocker: [UnityFPSUnlocker][arm64] Starting...
04-14 15:55:37.759 15328 15340 D UnityFPSUnlocker: delay: 20 | framerate: 120 | modify_opcode: 0
04-14 15:55:44.759 15328 15340 D UnityFPSUnlocker: ***** begin *****
04-14 15:55:44.759 15328 15340 D UnityFPSUnlocker: set_targetFrameRate: 120
04-14 15:55:44.759 15328 15340 D UnityFPSUnlocker: ***** finished *****

这里有个两个问题:

  1. 在第一次打开公主连结的时候,显示Failed, not support this game.,重启游戏后正常set_targetFrameRate: 120
  2. 我第二次已经将delay修改为30s,脚本没有立即生效。

两次启动不同的点在于游戏第一次启动会黑屏大概20s,而程序在15:54:07启动后2s就抛出not support。
但雷电首次启动也会黑屏一段时间,不会影响加载。

# 0 logcat -s UnityFPSUnlocker
--------- beginning of main
--------- beginning of system
04-14 16:32:36.987  1769  1781 D UnityFPSUnlocker: [Listener::Register] Registered: wd: 1 /data/local/tmp/TargetList.json
04-14 16:32:36.987  1769  1781 D UnityFPSUnlocker: [LoadConfig] custom_list: 1
04-14 16:32:36.987  1769  1781 D UnityFPSUnlocker: [LoadConfig] global_cfg:
04-14 16:32:36.987  1769  1781 D UnityFPSUnlocker:      delay: 10 | fps: 120 | mod_opcode: 0
04-14 16:32:37.044  1811  1827 D UnityFPSUnlocker: [Listener::Register] Registered: wd: 1 /data/local/tmp/TargetList.json
04-14 16:32:37.045  1811  1827 D UnityFPSUnlocker: [LoadConfig] custom_list: 1
04-14 16:32:37.045  1811  1827 D UnityFPSUnlocker: [LoadConfig] global_cfg:
04-14 16:32:37.045  1811  1827 D UnityFPSUnlocker:      delay: 10 | fps: 120 | mod_opcode: 0
04-14 16:37:56.744  3901  3910 D UnityFPSUnlocker: [UnityFPSUnlocker][x86] Starting...
04-14 16:37:56.744  3901  3910 D UnityFPSUnlocker: delay: 10 | framerate: 120 | modify_opcode: 1
04-14 16:38:06.783  3901  3910 D UnityFPSUnlocker: ***** begin *****
04-14 16:38:06.784  3901  3910 D UnityFPSUnlocker: set_targetFrameRate: 120
04-14 16:38:06.784  3901  3910 D UnityFPSUnlocker: ***** finished *****

这里看到雷电加载是正常的,但是与手机一样,不能修改后立即生效。

问题汇总

  1. 配置文件保存后不会动态加载
  2. 手机端首次开启公主连结提示Failed, not support this game.,重启游戏后正常

请问新版本的json还是老位置吗

我以前一直用着老版本的unlocker,json也是老版的,正常使用没问题。今天手机双清后发现有更新,但是并不能保持120帧,挺迷惑的,不知道问题出现在哪

会考虑接入zygisk吗?

如题,magisk24发布了,包含了zygisk功能,但是这个功能和riru是互斥的,开启zygisk就无法使用riru。

闪退

BGO1.45.8版本使用太极提供的1.0版本模块打开应用崩溃,用stable版本崩溃但是游戏不能达到60帧
设备小米8 安卓9.0 太极版本5.5.8-963 太极阳版本127(51) magisk版本20.0

有關於台服fgo

在模擬器上嘗試了一下,用xp框架啟用了插件但在台服fgo沒有效果,希望能提供解決辦法

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.