From a8b4dff97fc2bf8a2abb83864f2a8db4a583b392 Mon Sep 17 00:00:00 2001 From: shadow3aaa Date: Mon, 4 Mar 2024 15:49:44 +0800 Subject: [PATCH] v2.3.0 --- Cargo.lock | 2 +- Cargo.toml | 2 +- update/en-US/changelog.md | 31 +++++++++++-------------------- update/update.json | 6 +++--- update/update_en.json | 6 +++--- update/zh-CN/changelog.md | 31 +++++++++++-------------------- 6 files changed, 30 insertions(+), 48 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 254f8978..4e745780 100755 --- a/Cargo.lock +++ b/Cargo.lock @@ -238,7 +238,7 @@ dependencies = [ [[package]] name = "fas-rs" -version = "2.2.0" +version = "2.3.0" dependencies = [ "anyhow", "async-trait", diff --git a/Cargo.toml b/Cargo.toml index f28eef74..9e7afd34 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "fas-rs" -version = "2.2.0" +version = "2.3.0" edition = "2021" description = "Frame aware scheduling for android" authors = ["shadow3"] diff --git a/update/en-US/changelog.md b/update/en-US/changelog.md index fb3350b7..d9f95152 100644 --- a/update/en-US/changelog.md +++ b/update/en-US/changelog.md @@ -1,23 +1,14 @@ -# fas-rs(v2.2.0) - -[Homepage](https://github.com/shadow3aaa/fas-rs) +# v2.3.0 ## Change log -- Frequency adjustment step changes automatically -- The default configuration does not enable fas_boost -- Add back fas to automatically pause analysis -- Optimize frequency stability -- Optimize binary size (compile standard library) - -## Running requirements - -- No requirements for soc platform -- Android12 or above -- zygisk is enabled and version v2 or above (magisk v24.0 or above and zygisk / othersu + zygisk-next is enabled) - -## Special Instructions - -- The fas boost mode is a mode specifically used to increase the frame rate. It does not try to limit the maximum frequency, but tries to increase the minimum frequency when stuck to reduce frame drops of the default governor. This mode cannot be judged by the frame rate curve. Is it effective? -- Using shamiko and other hiding methods on games with fas enabled may not take effect. Whether it takes effect depends on whether there is a corresponding game record in `/sdcard/Android/fas-rs/fas_log.txt` -- Using zygisk injection to hook libgui to obtain frametime, there is some risk of being detected by game +- Optimize framework strategy +- Reconstruct the ipc part of the project to support scene game list +- Make frequency step automatic adjustment range wider +- Some [API changes](https://github.com/shadow3aaa/fas-rs-extension-module-template/commit/29186a5539029d2c27ab762fb9ea7cd29c7b456a) in the extension system +- Remove meaningless code +- Shorten the interval between predicted dropped frames +- Use /sdcard instead of /data/media/0 +- Removed thread placement for analysis thread +- Use mlua instead of rlua +- use lua-jit diff --git a/update/update.json b/update/update.json index e621e7c1..fefb0bb2 100644 --- a/update/update.json +++ b/update/update.json @@ -1,6 +1,6 @@ { - "versionCode": 220, - "version": "v2.2.0", - "zipUrl": "https://github.com/shadow3aaa/fas-rs/releases/download/v2.2.0/fas-rs.zip", + "versionCode": 230, + "version": "v2.3.0", + "zipUrl": "https://github.com/shadow3aaa/fas-rs/releases/download/v2.3.0/fas-rs.zip", "changelog": "https://github.com/shadow3aaa/fas-rs/raw/master/update/zh-CN/changelog.md" } \ No newline at end of file diff --git a/update/update_en.json b/update/update_en.json index 5ec50cac..d063ac6d 100644 --- a/update/update_en.json +++ b/update/update_en.json @@ -1,6 +1,6 @@ { - "versionCode": 220, - "version": "v2.2.0", - "zipUrl": "https://github.com/shadow3aaa/fas-rs/releases/download/v2.2.0/fas-rs.zip", + "versionCode": 230, + "version": "v2.3.0", + "zipUrl": "https://github.com/shadow3aaa/fas-rs/releases/download/v2.3.0/fas-rs.zip", "changelog": "https://github.com/shadow3aaa/fas-rs/raw/master/update/en-US/changelog.md" } \ No newline at end of file diff --git a/update/zh-CN/changelog.md b/update/zh-CN/changelog.md index 62c7f216..b5f04491 100644 --- a/update/zh-CN/changelog.md +++ b/update/zh-CN/changelog.md @@ -1,23 +1,14 @@ -# fas-rs(v2.2.0) - -[项目主页](https://github.com/shadow3aaa/fas-rs) +# v2.3.0 ## 更新日志 -- 频率调整步进自动改变 -- 默认配置不开启fas_boost -- 加回fas自动暂停分析 -- 优化频率稳定性 -- 优化二进制大小(编译标准库) - -## 运行要求 - -- soc平台无要求 -- Android12以上 -- zygisk开启并且版本v2以上(magisk v24.0以上并且开启zygisk / 其它su + zygisk-next) - -## 特殊说明 - -- fas boost模式是专门用于提升帧率的模式, 它不会尝试限制最大频率, 而是尝试在卡顿时提升最小频率以减少默认调速器的掉帧, 此模式不可通过帧率曲线来判断是否生效 -- 对开启fas的游戏使用shamiko等隐藏可能会导致不生效, 是否生效以`/sdcard/Android/fas-rs/fas_log.txt`是否有对应游戏记录为准 -- 采用zygisk注入劫持libgui获取frametime, 存在部分被检测风险 +- 优化框架策略 +- 重构项目ipc部分,支持scene游戏列表 +- 使频率步进自动调整范围更大 +- 插件系统部分[api变动](https://github.com/shadow3aaa/fas-rs-extension-module-template/commit/29186a5539029d2c27ab762fb9ea7cd29c7b456a) +- 删除无意义代码 +- 缩短预测掉帧间隔 +- 使用/sdcard代替/data/media/0 +- 移除分析线程的线程放置 +- 使用mlua代替rlua +- 使用lua-jit