hexstr / unityfpsunlocker Goto Github PK
View Code? Open in Web Editor NEW为unity-il2cpp提供在手机上设置FPS的模块
License: MIT License
为unity-il2cpp提供在手机上设置FPS的模块
License: MIT License
如題
想請問下有沒有辦法拉高模擬器的FPS參數
想要在模擬器上玩到120甚至是144FPS的畫面
順便配上gltools拉高解析度
不過我看release那邊固定鎖60FPS
想問下能不能開放FPS上限
这个我能不能分享给别人
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帧. 但是如果版本更新了的话修改的位置是不变的吗? 是如何确定要修改哪里的呢?
使用的是面具模块,magisk20.1,riru core19.7
手机的电量长时间实在是不太够用,而且一直手持也不太方便,想用模拟器方便一些,但模拟器没有办法安装magisk来屏蔽日服的ROOT检测以及安装模块来实现60帧功能,请问能否像之前那样通过修改system文件强制模拟器60帧同时跳过ROOT检测?
最新的3.5 zygisk_module.zip压坏了
電腦的模擬器是否無法使用?有安裝面具了。
在多种模拟器上使用替换文件的方法会提示l2cpp.文件加载失败导致游戏退出
手机上则正常 请问原因是什么呢?
小米手机安卓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 NA 能不能解锁 60 FPS? 如果能, 是使用哪种方法? 多谢
(虽然不是 100% 确定是 unlocker 的问题,不过启用/关闭 mod 可以准确复现该现象,所以想咨询一下)
具体问题表现为:
个别菜单(比如 filter)打开的动画十分迟缓,动画时能观察到 fps 下跌到 30。而同时其他菜单的打开关闭动画正常
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 *****
模拟器版本: 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, 剩余
以使得能够在 赛马娘 之类的游戏中获得帧数解锁的同时,不会在 公主链接 等游戏中因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
想问一下 data/app下面会先有一个全乱码文件夹然后这个文件夹下面才是aniplex。fate。的文件夹。。然后替换这个里面的libmain后能成功,但是重新安装安装包之后,这个乱码文件夹就会新建一个名字,然后libmain就又被替换回原版了。。。
仅模拟器复现,手机端正常
模拟器版本:雷电模拟器9 9.0.36
面具版本:Magisk Delta 25.1
复现:
以公主连结为例
在第一次调整帧率生效后:
切换界面后:
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 *****
I am sure that the description is correct, but does it mean that it is not recognized unless it is UTF-8?
大神你好,
之前也看到过#11但是因为我大部分是在模拟器上玩,所以一听要装Magisk就没辙了。
请问一下有没有可用il2cppdumper方式而获取美服60FPS的方案/教程?
加上我觉得更改文件的方式还是比较方便的,因为我有两台小米手机,一台有root另外一台没有,把文件上传到root的那台后,可用 小米换机 把App里所有的资料转到无root的那台上然后再玩。
求求大神能指点指点🙏
比如享游客户端,包名是com.bilibili.fatego.sharejoy。。有两个号,因为手机现在没法双开,只能用别的客户端同时玩了
.
原理上可行吗
实际环境:
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 对资源进行解密了
不知道作者肯否能答疑解惑
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.
{
"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+)
@nishuoshenme,好像现在只能用edxp?
mod_list
normal_list
这两个选项在新版取消了吗,默认global就能用?
custom不填的话他是自动识别unity游戏包名的嘛
最近换机了,华为的没法解BL锁所以就没有办法刷magisk,不知道日服那种替换文件开启60帧的方法在国服可行吗
所有APP都判断不好吧,有性能问题吧?
再加个设置,只在特定APP加载?
只有为false才加载custom里的设置这样
{
"global": {
"autodetect": true/false
}
}
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.
The second photo is before applying with Target_List and the third photo is after.
I believe the json file description, encoding, and placement of directory are all correct.
是需要修改权限吗
官服
大佬,我这边出现两例国服模块使用一段时间后掉回30帧的情况。重装模块、重装游戏、全删了从零开始安装游戏和模块都试过了,unlocker文件也正常,开始有60/90帧,但是现在只有30帧。
错误日志:
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
I would like an application to be created that allows easy modification of TergetList.json. Such an app exists as a sample.
https://github.com/Kimjio/umamusume-localify-android
现在已经不能使用替换文件法开启60帧了么
设备机型:魅族20 Pro
系统:Android13, Flyme10
故障:解锁后最高只有60帧,无论文件内是60还是120
log:正常调用log,显示修改完成但实际上没生效,log无报错
为什么,我一装,赛马娘抽卡什么全部都出问题了,一直在加载中,删除也没用,重下也是
没发现啥bug,我就是来蟹蟹老弟的。
真的爽到= ,=能分享下源码就更好了(我可能在做梦,在想屁吃)
請問大佬模擬器設備的模塊能做到像是其他模塊的自定義高刷配置嗎?剛好換了新的屏幕有高刷。謝謝。
目前模块只使用_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
我玩的有个游戏。因为修改就会在登录检验的时候闪退,也有些游戏没打算解锁帧率。我看targetlist是默认解锁的。有什么办法指定在某些游戏不解锁帧率呢
在雷电模拟器上一切正常,公主连结可以正常开启120,但是手机上首次加载游戏不能正确设置帧率。
机型:红米K40 MIUI14.0.23.3.27DEV
magisk:ed37ddd5-alpha (25205)
模块版本:v3.5
TargetList.json正确放置在/data/local/tmp
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 *****
这里有个两个问题:
Failed, not support this game.
,重启游戏后正常set_targetFrameRate: 120
。两次启动不同的点在于游戏第一次启动会黑屏大概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 *****
这里看到雷电加载是正常的,但是与手机一样,不能修改后立即生效。
Failed, not support this game.
,重启游戏后正常我以前一直用着老版本的unlocker,json也是老版的,正常使用没问题。今天手机双清后发现有更新,但是并不能保持120帧,挺迷惑的,不知道问题出现在哪
如题,magisk24发布了,包含了zygisk功能,但是这个功能和riru是互斥的,开启zygisk就无法使用riru。
BGO1.45.8版本使用太极提供的1.0版本模块打开应用崩溃,用stable版本崩溃但是游戏不能达到60帧
设备小米8 安卓9.0 太极版本5.5.8-963 太极阳版本127(51) magisk版本20.0
单独都可以生效,两个X86模块同时激活游戏就会闪退
在模擬器上嘗試了一下,用xp框架啟用了插件但在台服fgo沒有效果,希望能提供解決辦法
。
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.