Skip to content

Commit

Permalink
v2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
shadow3aaa committed Mar 4, 2024
1 parent f4fc328 commit a8b4dff
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 48 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"]
Expand Down
31 changes: 11 additions & 20 deletions update/en-US/changelog.md
Original file line number Diff line number Diff line change
@@ -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
6 changes: 3 additions & 3 deletions update/update.json
Original file line number Diff line number Diff line change
@@ -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"
}
6 changes: 3 additions & 3 deletions update/update_en.json
Original file line number Diff line number Diff line change
@@ -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"
}
31 changes: 11 additions & 20 deletions update/zh-CN/changelog.md
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit a8b4dff

Please sign in to comment.