Logo

Stop SM from matching similar names

Register Log In Back To Forums

Post #1 · Posted at 2016-11-24 12:23:04am 8.8 years ago

Offline ZTS
ZTS Avatar Member
142 Posts
Not Set
Reg. 2015-01-13

"But enough talk! Have at you!"
Is there a way to keep StepMania from complaining when things have similar names?
(I blanked out the theme name in the image)
https://arcofswords.s-ul.eu/Occ4jrBh.png
Get Rave It Out! https://sites.google.com/view/riodevs/home
Want your theme made? I take commissions, PM for details.

Post #2 · Posted at 2016-11-24 04:50:24am 8.8 years ago

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

That's because you need to declare a suffix or use the file extension, for example instead of use "AAA", name "AAA.png" or add a suffix like "AAA_jugdement" Try to use more detailed file names with the tips that I've suggested

Post #3 · Posted at 2016-11-26 12:11:08am 8.8 years ago

Offline ZTS
ZTS Avatar Member
142 Posts
Not Set
Reg. 2015-01-13

"But enough talk! Have at you!"
They're folder names, but I'll try adding _judgement...
Get Rave It Out! https://sites.google.com/view/riodevs/home
Want your theme made? I take commissions, PM for details.

Post #4 · Posted at 2016-11-26 01:09:11am 8.8 years ago

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


Last updated: 2016-11-26 01:11am
Are you trying to use LoadActor() to load the default.lua in folders with names like AA and AAA?

If so, MadkaT's suggestion still holds – you need to be more specific with your filepath. Try:

LoadActor( "./AAA/default.lua" )

instead of just

LoadActor( "AAA" )

Does that make sense?

Post #5 · Posted at 2016-11-27 12:00:21am 8.7 years ago

Offline ZTS
ZTS Avatar Member
142 Posts
Not Set
Reg. 2015-01-13

"But enough talk! Have at you!"
This is what's inside the folders:
A/some image with a random name.png
A/another image with a random name.png

This is the code I'm using for it: http://pastebin.com/y7N8XhF0
Get Rave It Out! https://sites.google.com/view/riodevs/home
Want your theme made? I take commissions, PM for details.

Post #6 · Posted at 2016-11-27 03:00:07am 8.7 years ago

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

Then your best option is to add a suffix to the folder name like "AA_judgement"

Post #7 · Posted at 2016-11-27 05:04:12am 8.7 years ago

Offline Lirodon
Lirodon Avatar Member
814 Posts
Canada
Reg. 2009-01-14

Nintendo Network ID: liroxiiv3DS Friend Code: 3196-5274-6831
"canadian red-haired ninja"
If you are loading it out of the Graphics folder, you can do a two-part call, which SM understands.

LoadActor(THEME:GetPathG("_judgement", "AA")) .. {
Register Log In Back To Forums

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

©2006-2025 Zenius -I- vanisher.com -5th style- IIPrivacy Policy
Web Server: 6% · Database: 4% · Server Time: 2025-09-12 02:37:58
This page took 0.006 seconds to execute.
Theme: starlight · Language: englishuk
Reset Theme & Language