hexstr / UnityFPSUnlocker

为unity-il2cpp提供在手机上设置FPS的模块
MIT License
356 stars 44 forks source link

CarX Street does not reflect settings #52

Closed monefiera closed 1 year ago

monefiera commented 1 year ago

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

hexstr commented 1 year ago

Grant 777 permission and try again chmod 777 /data/local/tmp/TargetList.json

monefiera commented 1 year ago

Umm…I have tried but it does not work. Is it OK to enter the above command after entering su in termux? Screenshot_20230417-120415_CarX Street

hexstr commented 1 year ago

@FieraYuzuki yeah, i use termux too

hexstr commented 1 year ago

input in termux su stat /data/local/tmp/TargetList.json ls -lhtrZ /data/local/tmp/TargetList.json and upload screenshot

monefiera commented 1 year ago

I applied the command and rebooted, no change. Below is the terminal when the command was entered. Screenshot_20230417-130619_Termux

monefiera commented 1 year ago

By the way, for some reason "logcat -s UnityFPSUnlocker" stopped working 😭 Screenshot_20230417-132917_Termux~2

hexstr commented 1 year ago

By the way, for some reason "logcat -s UnityFPSUnlocker" stopped working 😭 Screenshot_20230417-132917_Termux~2

su

hexstr commented 1 year ago

maybe the problem is the parent directory ls -lhZ /data/local chmod 777 /data/local/tmp

monefiera commented 1 year ago

I tried all the commands presented here, changing the order of input, but there was no change in fps...

hexstr commented 1 year ago

sorry i have no idea why the plugin cannot read configuration file even if the permission is rwx

monefiera commented 1 year ago

OK, thank you for your efforts to resolve this issue.

monefiera commented 1 year ago

I forgot to mention the most important thing. I am currently using Magisk Delta on my device. So is there any possible impact from this?

hexstr commented 1 year ago

maybe not. and just try to read it in termux without su cat /data/local/tmp/TargetList.json if it output the file content, the problem is not due to permission, i'll update a new version to write error to log file.

monefiera commented 1 year ago

The file was output successfully. Screenshot_20230419-141142_Termux~2

hexstr commented 1 year ago

update 3.6.1

monefiera commented 1 year ago

I took the log again with 3.6.1. It seems to be repeatedly causing "LoadConfig error: Parse error". Screenshot_20230420-115139_Termux

hexstr commented 1 year ago

download TargetList.json and edit, don't change encoding

monefiera commented 1 year ago

I was able to successfully unlock the FPS lock. Thank you very much! However, the game itself is too heavy, or the FPS only increased by 3~4... I guess I will have to overclock the GPU now.