Logo

[Sm5.1/OF]Noteskin help: What's happened 'ere???

Register Log In Back To Forums

Post #1 · Posted at 2025-07-28 07:04:38pm 3 days ago

Offline JAG
JAG Avatar Member
3 Posts
United Kingdom
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:

https://zenius-i-vanisher.com/pictures/25278-1753727873.jpeg

(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.)

https://zenius-i-vanisher.com/pictures/25278-1753728267.jpeg

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:

https://zenius-i-vanisher.com/pictures/25278-1753727874.jpeg

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:

https://zenius-i-vanisher.com/pictures/25278-1753728670.jpeg

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?
"I wish I had money to buy a pad..."

"Pad accquired. I now wish I had money to buy a METAL pad."

Post #2 · Posted at 2025-07-29 03:48:45pm 2.1 days ago

Offline MadkaT
MadkaT Avatar 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

Offline piotr25691
piotr25691 Avatar Member
70 Posts
Poland
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

Offline JAG
JAG Avatar Member
3 Posts
United Kingdom
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.
"I wish I had money to buy a pad..."

"Pad accquired. I now wish I had money to buy a METAL pad."

Post #5 · Posted at 2025-07-31 12:29:14pm 6.9 hours ago

Offline razorblade
razorblade Avatar Member
1,120 Posts
Not Set
Reg. 2011-03-01


Last updated: 2025-07-31 12:44pm
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

Offline MadkaT
MadkaT Avatar Member
830 Posts
Not Set
Reg. 2009-11-24

If it is double resolution, it must be divisible by 4.
Register Log In Back To Forums

1 User(s) Viewing This Thread (Past 15 Minutes)

©2006-2025 Zenius -I- vanisher.com -5th style- IIPrivacy Policy
Web Server: 3% · Database: 4% · Server Time: 2025-07-31 19:23:58
This page took 0.007 seconds to execute.
Theme: starlight · Language: englishuk
Reset Theme & Language