Post #1 · Posted at 2025-07-28 07:04:38pm 3 days ago
![]() | |
---|---|
![]() |
Member |
3 Posts | |
![]() | |
Reg. 2022-12-01 | |
"Periodic StepMania Enjoyer" |
So, I'm not exactly planning to make full on noteskins for SM/OutFox, but I figured that I may as well have a go at trying to make some for personal use. A specific goal of the noteskin I'm trying to have is making multiple versions that will display at different resolutions (one version for 480p, one version for 720p, etc.)
(The reason I'm doing it like this is that when downscaling a highres texture with no texture filtering, depending on the resolution the pixels don't line up very well.)
Firstly, I started with the 480p version (which has the arrow size at 64 px), with the following files:

(I'm not gonna bother showing the lua of the noteskin since I don't fully know if that's the problem.)
Now, when testing the noteskin in SM 5.1, it works as I expect. (The pixels are jagged, but that's because I have texture filtering off for that "pixel perfect" feel.)

NOW here comes the problem.
I then moved on to the 720p version. I make a noteskin that falls back on the 480p version, and I replace the graphics in the folder with slightly higher res versions (arrow size of 96 px), and then I use the "res" tag to tell StepMania to resize them. The files are as follows:

This is all that's in the metrics for the 720p version:
[Global]
FallbackNoteSkin=mynoteskin-480
However, despite what should be a simple texture swap, SM apparently shits itself and does this:

I even tested this in OutFox to see if it was just a SM5.1 quirk, but the same thing happens.
Is there some kind of magic lua code that I'm missing to fix it, or is it not possible due to how the engine works?
(The reason I'm doing it like this is that when downscaling a highres texture with no texture filtering, depending on the resolution the pixels don't line up very well.)
Firstly, I started with the 480p version (which has the arrow size at 64 px), with the following files:

(I'm not gonna bother showing the lua of the noteskin since I don't fully know if that's the problem.)
Now, when testing the noteskin in SM 5.1, it works as I expect. (The pixels are jagged, but that's because I have texture filtering off for that "pixel perfect" feel.)

NOW here comes the problem.
I then moved on to the 720p version. I make a noteskin that falls back on the 480p version, and I replace the graphics in the folder with slightly higher res versions (arrow size of 96 px), and then I use the "res" tag to tell StepMania to resize them. The files are as follows:

This is all that's in the metrics for the 720p version:
[Global]
FallbackNoteSkin=mynoteskin-480
However, despite what should be a simple texture swap, SM apparently shits itself and does this:

I even tested this in OutFox to see if it was just a SM5.1 quirk, but the same thing happens.
Is there some kind of magic lua code that I'm missing to fix it, or is it not possible due to how the engine works?
Post #2 · Posted at 2025-07-29 03:48:45pm 2.1 days ago
![]() | |
---|---|
![]() |
Member |
830 Posts | |
Not Set | |
Reg. 2009-11-24 | |
Stepmania 5 does not handle the suffix “res” in the file name; that is a feature of OpenITG. You must use the suffix (doubleres) if the image is twice the size.
Post #3 · Posted at 2025-07-30 08:33:32pm 22.8 hours ago
![]() | |
---|---|
![]() |
Member |
70 Posts | |
![]() | |
Reg. 2025-02-24 | |
"I make DDR A3 better!" |
So what you imply is that SM5.1 basically discards the tag and does no action to alter the file being currently loaded.
Post #4 · Posted at 2025-07-31 06:07:12am 13.2 hours ago
![]() | |
---|---|
![]() |
Member |
3 Posts | |
![]() | |
Reg. 2022-12-01 | |
"Periodic StepMania Enjoyer" |
The res tag absolutely works in StepMania.
Anyways, I found out the problem.
The size of the textures for the "high res" version weren't a power of 2 (64, 128, 256, 512, etc.), and StepMania really doesn't like that, but I did find a workaround.
Anyways, I found out the problem.
The size of the textures for the "high res" version weren't a power of 2 (64, 128, 256, 512, etc.), and StepMania really doesn't like that, but I did find a workaround.
Post #5 · Posted at 2025-07-31 12:29:14pm 6.9 hours ago
Length or width of any image/sprite (doubleres or not) must be multiple of 2 or just an even number, not power of 2.
Post #6 · Posted at 2025-07-31 05:03:54pm 2.3 hours ago
![]() | |
---|---|
![]() |
Member |
830 Posts | |
Not Set | |
Reg. 2009-11-24 | |
If it is double resolution, it must be divisible by 4.