Logo

SM5 question: Hide modifier text when loading a song

Register Log In Back To Forums

Post #1 · Posted at 2014-08-26 10:47:02am 9.5 years ago

Offline TheFireRed
TheFireRed Avatar Member
10 Posts
Spain
Reg. 2013-11-24

Hi all! I've been lurking around here for quite some time and I must say you've got a pretty impressive community. I enjoy StepMania and I also love the fact that so many people help here by contributing their own simfiles. I must thank you all for your hard-working spirit.

The issue I have is this: I'm currently modifying a SM5 theme (waiei to be more exact) to my tastes. I want to make 2x speed and a different noteskin the default settings. I added these lines to the metrics.ini file:

[Common]
DefaultModifiers="2x"
DefaultNoteSkinName="midi-VIVID"


However, the modifier text still appears when I load a song. Am I doing anything wrong? Could anyone be so kind to guide me? Puppy Face
Evil Puppy

Post #2 · Posted at 2014-08-26 03:46:52pm 9.5 years ago

Offline Th3_Ov3rHell_3XoduZ
Th3_Ov3rHell_3XoduZ Avatar Member
313 Posts
Chile
Reg. 2012-09-13

"ITG, The Best Dance Machine!"

Last updated: 2014-08-26 03:48pm
Do u have a Screenshot... sorry but I never used Waiei's Theme before...

EDIT: I remember, why u not set the default noteskin on preferences like any other Theme? I hope that option is in Waiei... About the speed Im not sure...
Quote: Released Themes for SM5 Beta 3
Quote: Released Themes for SM5 Beta 4 & 5.0.7
Quote: Simfles Packs Released

Post #3 · Posted at 2014-08-26 05:19:40pm 9.5 years ago

Offline TheFireRed
TheFireRed Avatar Member
10 Posts
Spain
Reg. 2013-11-24


Last updated: 2014-08-26 05:22pm
I think I solved it, for the most part. I created a new profile and now the modifier text for the noteskin is gone. I guess it was something on my side. However, the speed modifier is still there.

http://i.imgur.com/ekZg0ID.png
http://i.imgur.com/kfGKSMU.jpg
http://i.imgur.com/2zMaxx8.jpg
Evil Puppy

Post #4 · Posted at 2014-08-26 10:17:09pm 9.5 years ago

Offline dbk2
dbk2 Avatar Member
332 Posts
Not Set
Reg. 2012-04-30

Default modifiers can also be set in your Preferences.ini file like so:

[Game-dance]
Announcer=
DefaultModifiers=Overhead, midi-note, 2x
Theme=Waiei


Assuming you are using Windows OS, your Preferences.ini file is located at:
%APPDATA%/StepMania 5.0/Save/Preferences.ini

I haven't tried this specifically with Waiei, because that theme crashes for me before I can load ScreenSelectMusic (which leads me to believe you are using an outdated version of StepMania 5, but I'll save that lecture for another time), but it should work. It is worth noting that when you make changes to your Preferences.ini file, those changes will persist across any theme you change to.

Post #5 · Posted at 2014-08-27 10:31:24am 9.5 years ago

Offline TheFireRed
TheFireRed Avatar Member
10 Posts
Spain
Reg. 2013-11-24

Nice, actually, I think prefer editing that file instead of metrics.ini! The settings would be more consistent across other themes. Thank you for the tip! However, it seems that the modifier text still appears on screen. At least the noteskin modifier is gone.

waiei should be compatible with the latest SM5 beta 3 from the website – unless you're talking about the nightly builds, that is. I read in the author's website that this theme is not currently compatible with future SM5 releases. Thank you, Google Translate.

Quote
Important Information
Waiei will not work in future versions (NightlyBuilds827 later) due to specification changes of StepMania5 body.
Thus, waiei you have a support body to StepMania5.0 beta3. The next version or later, so you to play with waiei2 currently under development, please use that.
https://translate.google.es/translate?hl=es&sl=ja&tl=en&u=http%3A%2F%2Fwaiei.net%2Fsm%2Fwaiei%2Fdl.html
Evil Puppy

Post #6 · Posted at 2014-08-27 07:53:06pm 9.5 years ago

Offline Kyzentun
Kyzentun Avatar Member
3,209 Posts
United States
Reg. 2008-02-20

"I'm honestly pissed off."
Waiei doesn't crash, it just spews loads of errors and takes a long time to load the screen. 2000 lines in the log file.

First problem:
They assumed that the Song and Course parameters for MusicWheelItem parts would never be nil because they didn't know that every type of part is loaded for every item, regardless of mode.
This has been true for over 3 years, so the same errors would occur in beta 3, but would be ignored because they're only visible in the log file.

Second problem:
The "BannerFrame color" part of the "MusicWheelItem Song NormalPart" has an InitCommand that runs its Set command without passing a params table, and the Set command assumes that a params table was passed.
Also something that has not changed since beta 3 and was previously only visible in the log file.

Third problem:
They didn't know that the main body of a screen is loaded at the same time as the "in" transition for the screen, which occurs before the InitCommand for the "in" transition runs.
So they put some critical initialization that ScreenSelectMusic decorations/scorelist.lua needs in the InitCommand for ScreenSelectMusic in.lua, but scorelist.lua runs before the SSM in.lua's InitCommand is executed, so the things they fetch with getenv in scorelist.lua are nil because they are set with setenv in SSM in.lua's InitCommand.
Another thing that was also true in beta 3.

Fourth problem:
SSM GrooveRadar/default.lua assumes that steps will always be set for a player if a song is set. Since the song is set before the steps are set, and their change command triggers on song changes and on step changes, the steps are nil when it runs.
Yet another long ignored error.

Fifth problem:
SSM decorations/property.lua repeats the mistake that caused the fourth problem.

Sixth problem:
Back in MusicWheelItem Song NormalPart.lua yet again. The "SongBanner" part has a BeginCommand that runs its Set command without passing a params table, but the SetCommand assumes that a params table was passed, so it tries to index a nil value.
Same mistake occurs for the "Banner" part of MusicWheelItem Course NormalPart.lua.

Seventh problem:
ScreenSelectMusic BannerFrame/default.lua tries to call "setanimate" which has not existed for some unknown but very long time.

Eighth problem:
ScreenSelectMusic decorations/default.lua line 118 fetches the metric "ScreenSelectMusic:BannerFrameY", and uses it to set the y coordinate of the banner frame, but that metric is set to nil in waiei's metrics.ini.

And that's the end of what I feel like tracking down.

tldr; waiei's authors don't ever check Logs/log.txt to catch errors that have existed in their theme from the beginning. So loads of things go wrong all over the place and never get fixed and it's a miracle their theme works at all. None of the errors that I tracked down were the result of any changes that occurred after Beta 3. They simply became more visible after error reporting was added.
silenttype01: Kyzentun is never harsh. He says it how it is.

GENERATION 24: The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment.

Post #7 · Posted at 2014-10-03 09:09:39pm 9.4 years ago

Offline TheFireRed
TheFireRed Avatar Member
10 Posts
Spain
Reg. 2013-11-24

Here I am again. I'm bumping this thread because I updated SM5 to beta4 and it seems that the Overhead modifier is shown by default. Mad
Evil Puppy
Register Log In Back To Forums

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

©2006-2024 Zenius -I- vanisher.com -5th style- IIPrivacy Policy
Web Server: 44% · Database: 8% · Server Time: 2024-03-19 06:47:06
This page took 0.005 seconds to execute.
Theme: starlight · Language: englishuk
Reset Theme & Language