Logo

Get song group jacket function

Registrarse Conectarse Regresar A Los Foros

Post #1 · Publicado en 2017-10-06 10:41:39pm Hace 6.5 años

Offline ZTS
ZTS Avatar Member
139 Mensajes
Not Set
Reg. 2015-01-13

"But enough talk! Have at you!"

Last updated: 2017-10-06 10:47pm
For all you who can't be bothered to figure it out yourself or add it to the StepMania source (like me), here's the basic function.

https://pastebin.com/tU5fyDUN
Get Rave It Out! https://sites.google.com/view/riodevs/home
Want your theme made? I take commissions, PM for details.

Post #2 · Publicado en 2017-10-08 02:29:12am Hace 6.5 años

Offline FlameyBoy
FlameyBoy Avatar Member
335 Mensajes
United States
Reg. 2011-03-09


Last updated: 2017-10-08 03:34am
kyz's is better than mine

Post #3 · Publicado en 2017-10-08 02:42:18am Hace 6.5 años

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

"I'm honestly pissed off."
Neither of you two make sense. You get the path, split it at the slashes, then recombine it? Why split it up? Just find the last slash, clip it to there, then put the jacket name on the end.


local path= SONGMAN:GetSongGroupBannerPath(groupName)
if path == "" then return nil end
local last_slash= path:reverse():find("/")
return path:sub(1, -last_slash) .. "jacket.png"

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.
Registrarse Conectarse Regresar A Los Foros

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

©2006-2024 Zenius -I- vanisher.com -5th style- IIPrivacy Policy
Web Server: 5% · Database: 8% · Server Time: 2024-04-27 22:13:30
Esta página tomó 0.004 segundos en ejecutarse.
Theme: starlight · Language: spanish
Reset Theme & Language