mirror of
https://github.com/LTTLabsOSS/markbench-tests.git
synced 2026-01-08 21:48:00 -05:00
update ycruncher
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -14,6 +14,8 @@ flac-1.4.3-win.zip
|
||||
primesieve-12.3*
|
||||
y-cruncher v0.8.2.9522/
|
||||
y-cruncher v0.8.2.9522.zip
|
||||
y-cruncher v0.8.6.9545/
|
||||
y-cruncher.v0.8.6.9545b.zip
|
||||
basegame_no_intro_videos.archive
|
||||
*.blend
|
||||
0001.png
|
||||
|
||||
@@ -6,8 +6,7 @@ Changes are grouped by the date they are merged to the main branch of the reposi
|
||||
|
||||
## 2025-07-15
|
||||
- Updated 7-Zip to 25.00
|
||||
|
||||
|
||||
- Updated Y-Cruncher to v0.8.6.9545
|
||||
|
||||
## 2025-04-02
|
||||
- Fixed Keras not finding the FPS in Shadow of the Tomb Raider
|
||||
|
||||
@@ -12,8 +12,8 @@ sys.path.insert(1, os.path.join(sys.path[0], ".."))
|
||||
from harness_utils.output import write_report_json, DEFAULT_LOGGING_FORMAT, DEFAULT_DATE_FORMAT
|
||||
|
||||
SCRIPT_DIR = Path(__file__).resolve().parent
|
||||
LOG_DIR = SCRIPT_DIR.joinpath("run")
|
||||
EXECUTABLE_PATH = SCRIPT_DIR.joinpath(YCRUNCHER_FOLDER_NAME, "y-cruncher.exe")
|
||||
LOG_DIR = SCRIPT_DIR / "run"
|
||||
EXECUTABLE_PATH = SCRIPT_DIR / YCRUNCHER_FOLDER_NAME / "y-cruncher.exe"
|
||||
|
||||
|
||||
def setup_logging():
|
||||
@@ -79,7 +79,7 @@ def main():
|
||||
|
||||
report = {
|
||||
"start_time": start_time,
|
||||
"version": "v0.8.5.9543",
|
||||
"version": "v0.8.5.9545b",
|
||||
"end_time": end_time,
|
||||
"score": avg_score,
|
||||
"unit": "seconds",
|
||||
|
||||
@@ -4,11 +4,11 @@ from zipfile import ZipFile
|
||||
from pathlib import Path
|
||||
import requests
|
||||
|
||||
YCRUNCHER_FOLDER_NAME = "y-cruncher v0.8.5.9543"
|
||||
YCRUNCHER_ZIP_NAME = "y-cruncher.v0.8.5.9543.zip"
|
||||
|
||||
YCRUNCHER_FOLDER_NAME = "y-cruncher v0.8.6.9545"
|
||||
YCRUNCHER_ZIP_NAME = "y-cruncher.v0.8.6.9545b.zip"
|
||||
SCRIPT_DIR = Path(__file__).resolve().parent
|
||||
|
||||
|
||||
def ycruncher_folder_exists() -> bool:
|
||||
"""Check if ycruncher has been downloaded or not"""
|
||||
return SCRIPT_DIR.joinpath(YCRUNCHER_FOLDER_NAME).is_dir()
|
||||
@@ -16,7 +16,7 @@ def ycruncher_folder_exists() -> bool:
|
||||
|
||||
def download_ycruncher():
|
||||
"""Download and extract Y-Cruncher"""
|
||||
download_url = "https://github.com/Mysticial/y-cruncher/releases/download/v0.8.5.9543/y-cruncher.v0.8.5.9543.zip"
|
||||
download_url = "https://github.com/Mysticial/y-cruncher/releases/download/v0.8.6.9545/y-cruncher.v0.8.6.9545b.zip"
|
||||
destination = SCRIPT_DIR / YCRUNCHER_ZIP_NAME
|
||||
response = requests.get(download_url, allow_redirects=True, timeout=180)
|
||||
with open(destination, 'wb') as file:
|
||||
@@ -24,7 +24,7 @@ def download_ycruncher():
|
||||
with ZipFile(destination, 'r') as zip_object:
|
||||
zip_object.extractall(path=SCRIPT_DIR)
|
||||
|
||||
|
||||
def current_time_ms():
|
||||
"""Get current timestamp in milliseconds since epoch"""
|
||||
return int(time.time() * 1000)
|
||||
|
||||
Reference in New Issue
Block a user