Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command line speedtest not working #2385

Open
potsmugen opened this issue Mar 22, 2025 · 2 comments
Open

Command line speedtest not working #2385

potsmugen opened this issue Mar 22, 2025 · 2 comments
Labels
bug Something isn't working group: lua Problem with things handled by external scripts (screenpacks)

Comments

@potsmugen
Copy link
Contributor

potsmugen commented Mar 22, 2025

Describe the bug

Running Ikemen with speed, speedtest or stresstest arguments (maybe others) causes a Lua crash. Maybe it was the game speed refactor?

To Reproduce

  1. Run Ikemen from command line with those arguments

Expected behavior

Same as previous builds.

Screenshots / Video

No response

Engine Version (or source code date)

20/03/2025

Operating system

Windows

Extra context or search terms

No response

@K4thos K4thos added bug Something isn't working group: lua Problem with things handled by external scripts (screenpacks) labels Mar 22, 2025
@SuperFromND
Copy link
Contributor

Even weirder, commenting out the call mentioned in the error message:

if main.flags['-speedtest'] ~= nil then
	--setGameSpeed(100 * gameOption('Config.Framerate'))
end

Just results in Ikemen starting as if there was no command line argument at all. setGameSpeed is definitely broken though; even a simple setGameSpeed(100) causes the same error.

@potsmugen
Copy link
Contributor Author

potsmugen commented Mar 28, 2025

The error itself is caused by the removal of the setGameSpeed function here: db7ecbf

Not sure if it can just be added back or if it also needs a refactor to match new speed settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working group: lua Problem with things handled by external scripts (screenpacks)
Projects
None yet
Development

No branches or pull requests

3 participants