Logo

Batch Tools for StepMania 5 and up themes

Register Log In Back To Forums

Post #1 · Posted at 2021-12-07 01:42:25am 6.7 months ago

Offline razorblade
razorblade Avatar Member
1,075 Posts
Not Set
Reg. 2011-03-01
Log in to send this user a private message

Last updated: 2021-12-31 05:51pm
Thumbnail Images Generator
This is a batch tool for generating tn images. TN images replace music wheel's jackets for better visual clarity and screen performance. They are just small jackets in 150x150 dimension bearing "-tn" filename affix. TN size can be customized via bat file.

To use, extract tn_generator.bat to your StepMania's Songs folder. The batch tool requires Image Magick be installed first before using. Then run the bat file. It searches for song's jacket to be used for creating tn images. TN files are stored in individual song simfile's folder.

Download tn_generator here.

Current themes supported for this feature:
- DDR STARLiGHT TwoPointZero (grid-type musicwheel for now)


DDR A-like Groove Radar Data Generator (this only applies to Windows users as of now)


This is a tool to generate groove radar values ala-DDR A. This requires Perl (Strawberry Perl works so far) installed first for this to work. Just extract the contents to your [SM5/Outfox]/Songs folder. Run the batch_radar.bat. If this is your first time or if your Songs/_radar_cache folder was deleted, it will take some time to generate the data (it took mine to generate approx. 2700 songs' radar data for less than an hour).
For updating radar data, just remove either any song group folder inside Songs/_radar_cache, or just delete any song's lua file inside any _radar_cache's group folder you want to update. This will generate faster since you already have the cache files (mine took only more or less 1.5 minutes in my case).
Move the output file ddr_groove_data.lua to your Themes/_fallback/Scripts folder. Remove any instances of ddr_groove_data.lua inside your custom themes' Scripts folder.

Extract ddr_groove_actor.lua to your Themes/_fallback/Scripts folder (NOTE: back-up your current theme/Scripts' ddr_groove_actor.lua first before doing so). Then remove any instances of ddr_groove_actor.lua from your custom themes' Scripts folder.

Get DDR A Groove Radar Data Generator here
Get ddr_groove_actor.lua here

Appreciate my simfile works/contribution? I accept donation. Very Happy
My Paypal

Post #2 · Posted at 2021-12-07 02:21:36am 6.7 months ago

Offline waterdraik346
waterdraik346 Avatar Member
95 Posts
United States
Reg. 2011-11-22
Log in to send this user a private messageDiscord: Fred-104#0035Twitch
Xbox Gamer Tag: Frederic 104#377
A Groove Radar Data Generator? Cool. That should make my life easier as I have been manually calculating Groove Radar data for years now. It gets especially tedious trying to calculate Chaos because you have to manually add up the Chaos Base Value of all the notes together, and sometimes even if I have the right song length, the Chaos value I calculate ends up being slightly lower due to DDR AC BPM syncing ( e.g. the 1st and 2ndMIX revivals in X3 with the very low measure 0 BPMs, Go For The Top, CHAOS Terror-Tech MixChallenge ) being weird with BPMs - in that case, I actually would like to have the DDR AC BPM sync data for many of the songs whose official simfiles have since been resynced, like CHAOS, just as reference. For instance, I manually found out ANTI ANTHEM SP-Heavy's Total Chaos Base Value (3,425), paired to a song length of 116.057143 sec, and I only got to 199 Chaos when I had the Total BPM Delta value set to 22,222 (approximation of DDR AC BPM syncing data) instead of 21,863 (the latter assuming you went with normal BPM syncing data).

Here is a Google Docs spreadsheet I've been using for calculation of Groove Radar data for official AC songs. It's still a work in progress, but it has so many of the official AC songs on there already, including several removed ones.

Post #3 · Posted at 2021-12-07 02:33:46am 6.7 months ago

Offline razorblade
razorblade Avatar Member
1,075 Posts
Not Set
Reg. 2011-03-01
Log in to send this user a private message

Last updated: 2021-12-07 02:54am
About DDR A-like GRD generator, the results are also approximation due to nature of the simfile data compare to official data. It uses perl script done by teleshoes (big props to him) modified by me. His DDR A formula used were derived from Aaron.JP's DDR web site. Most of the time the values are 1 higher or lower than actual (perhaps due to rounding off), but there are some that are accurate values to official ones too.
Appreciate my simfile works/contribution? I accept donation. Very Happy
My Paypal

Post #4 · Posted at 2021-12-08 01:27:12am 6.7 months ago

Offline Arcorann
Arcorann Avatar Member
49 Posts
Not Set
Reg. 2015-01-29
Log in to send this user a private message
Quote: razorblade
About DDR A-like GRD generator, the results are also approximation due to nature of the simfile data compare to official data. It uses perl script done by teleshoes (big props to him) modified by me. His DDR A formula used were derived from Aaron.JP's DDR web site. Most of the time the values are 1 higher or lower than actual (perhaps due to rounding off), but there are some that are accurate values to official ones too.

I don't remember AIJ having groove radar formulae, just data that haven't been updated since around the EXTREME era. I do know that the correct formulae are all documented on RemyWiki, and I believe only the scaling has changed over time.

Is there a link to the perl script? The fact that "most of the time" the values are wrong comes off as mildly concerning to me; are these errors specific to any particular categories? Have the song lengths been checked, perhaps?

Post #5 · Posted at 2021-12-11 04:43:14am 6.6 months ago

Offline razorblade
razorblade Avatar Member
1,075 Posts
Not Set
Reg. 2011-03-01
Log in to send this user a private message

Last updated: 2021-12-11 04:43am
simfile-radar perl script by teleshoes

For Windows users, replace "dev/null" to "NUL" for the script to work. This script has options to display values ala-DDR A or DDR SN2.

At least, they are better than stock SM radar values.

Edit: OP updated. DDR A Groove Radar Data Generator is up.

Edit #2: Updated DDR A Groove Radar Data Generator download link.
Appreciate my simfile works/contribution? I accept donation. Very Happy
My Paypal

Post #6 · Posted at 2021-12-11 11:27:01pm 6.6 months ago

Offline typeCHAOS
typeCHAOS Avatar Member
151 Posts
Canada
Reg. 2009-02-05
Log in to send this user a private message
PlayStation Network: vGEO-STIGMAv
Hey there, im having some issues using the Groove Radar Data Generator.
I've installed Strawberry perl and have the files in the SONGS folder of SM5. (batch_radar / simfile-radar)

1st run. says access denied for each song and takes 15 mins to complete. doesn't leave a groove radar data file
2nd run. I run as administrator. instead it says "the system cannnot find the path specified." takes 15 mins to complete.

3rd run. replaced 1st simfile-radar script with the one in POST 5. also changed "dev/null" to "NUL" i believe there were 4 instances of this. i run as administrator again. a new error has happend.
it shows the groove radar data being worked on but says

The system cannot find the path specified.
Error occured while processing C: Stepmania 5/Songs/ simfile-radar.txt
The system cannot find the path specified.

im not too sure as to what to do next or if i changed code i shouldn't have.

Post #7 · Posted at 2021-12-26 03:10:25pm 6.1 months ago

Offline n00b_saib0t
n00b_saib0t Avatar Member
2,101 Posts
United States
Reg. 2007-02-05
Log in to send this user a private messageYouTubeTwitch
Xbox Gamer Tag: NifterificPlayStation Network: NifterificNintendo Network ID: n00bsaib0tNintendo Switch Friend Code: SW-7875-2425-7203Steam: Nifterific3DS Friend Code: 4871-6557-4900
"F***ing exhausted."

Last updated: 2021-12-26 03:19pm
The tn generator grabbed the banners instead of the jackets for every song so now my DDRA song wheel looks like trash with squished banners instead of jackets. Why did it do this?

Edit: Some of them actually grabbed the cdtitle. It's going to take me forever to delete all of these. Please fix it so it actually grabs the jackets. I didn't have a lot off issues with the DDRA wheel before but it was definitely smoother with the tn images.
Quote: sharibetsu in The Unwritten Rules of ZIv thread
Any popular thread must have at least one debate between n00b_saib0t and someone else.

Post #8 · Posted at 2021-12-26 03:45:34pm 6.1 months ago

Offline razorblade
razorblade Avatar Member
1,075 Posts
Not Set
Reg. 2011-03-01
Log in to send this user a private message

Last updated: 2021-12-26 03:55pm
Input *-tn.png in search box in Songs folder's window to display all tn files and delete them.

You can re-run the bat again after delete (for updating tn images) and see if it really checks the jackets for conversion. Make sure you installed the Image Magick from.the link I gave you.
Appreciate my simfile works/contribution? I accept donation. Very Happy
My Paypal

Post #9 · Posted at 2021-12-26 04:00:50pm 6.1 months ago

Offline n00b_saib0t
n00b_saib0t Avatar Member
2,101 Posts
United States
Reg. 2007-02-05
Log in to send this user a private messageYouTubeTwitch
Xbox Gamer Tag: NifterificPlayStation Network: NifterificNintendo Network ID: n00bsaib0tNintendo Switch Friend Code: SW-7875-2425-7203Steam: Nifterific3DS Friend Code: 4871-6557-4900
"F***ing exhausted."

Last updated: 2021-12-26 04:07pm
Yeah, I installed it. My problem before was that I didn't install all of it, I only had some of the check boxes marked. Once I re-installed with all the check boxes it worked great, but it didn't grab the jackets. Thanks for the search idea, I'll do that and try again.

Edit: checking early on it's still grabbing banners instead of jackets.
Quote: sharibetsu in The Unwritten Rules of ZIv thread
Any popular thread must have at least one debate between n00b_saib0t and someone else.

Post #10 · Posted at 2021-12-31 05:52:45pm 5.9 months ago

Offline razorblade
razorblade Avatar Member
1,075 Posts
Not Set
Reg. 2011-03-01
Log in to send this user a private message

Last updated: 2021-12-31 05:55pm
I'll fix it soon. In the mean time, delete all tn files so it can display actual jackets.

Edit: Updated download link for tn_generator. See first post.

Fixed issue when creating tn images.

Delete all tn files first before opening tn_generator.bat
Appreciate my simfile works/contribution? I accept donation. Very Happy
My Paypal

Post #11 · Posted at 2022-01-03 08:29:05am 5.8 months ago

Offline BlueSupernova22
BlueSupernova22 Avatar Member
82 Posts
United States
Reg. 2015-12-24
Log in to send this user a private message
Hi! I am basically getting the same thing that TypeCHAOS is getting.

Quote
The system cannot find the path specified.
Error occured while processing C: Project Outfox/Songs/ simfile-radar.txt
The system cannot find the path specified.

Any idea on why that is happening though? Because I am too unsure of what to do next?

Post #12 · Posted at 2022-01-03 09:06:33am 5.8 months ago

Offline PenTA_
PenTA_ Avatar Member
243 Posts
United States
Reg. 2016-12-23
Log in to send this user a private messageDiscord: Quan 自然〜#7608FacebookTwitter: @quan_comiczYouTubeTwitch
Nintendo Network ID: Quan_comicz00
Quote: BlueSupernova22
Hi! I am basically getting the same thing that TypeCHAOS is getting.

Quote
The system cannot find the path specified.
Error occured while processing C: Project Outfox/Songs/ simfile-radar.txt
The system cannot find the path specified.

Any idea on why that is happening though? Because I am too unsure of what to do next?
I can second this, it gets the first song of each group, but after that it cant find the path specified

Post #13 · Posted at 2022-01-03 09:16:21am 5.8 months ago

Offline FoRCeDNaTuRe
FoRCeDNaTuRe Avatar Member
865 Posts
Germany
Reg. 2012-06-12
Log in to send this user a private messageDiscord: forcednature#3704Twitter: https://twitter.com/forcednature1YouTube
""Captain uwu""
This is not 100% what might be the fix but I had the same problem because the parent folder contained a space "StepMania 5.3", and after I changed the folder name to just "StepMania" it worked. But like I said that might not fix it for everyone.
https://cdn.discordapp.com/attachments/276748441445466112/892202266587713576/forcednatures_misc_small.png
https://zenius-i-vanisher.com/simfiles/Z-I-v%20Battle%20Royale%202022/Thunderbolt/Thunderbolt-jacket.png https://zenius-i-vanisher.com/simfiles/Z-I-v%20Battle%20Royale%202022/Several%20Words/Several%20Words-jacket.png https://zenius-i-vanisher.com/simfiles/Z-I-v%20Battle%20Royale%202022/Hyouri%20ittai%21%20Kaitou%20iincho%20no%20nayami/Hyouri%20ittai%21%20Kaitou%20iincho%20no%20nayami-jacket.png https://zenius-i-vanisher.com/simfiles/Z-I-v%20Battle%20Royale%202022/SOLID%20STATE%20SQUAD%20-RISEN%20RELIC%20REMIX-/SOLID%20STATE%20SQUAD%20-RISEN%20RELIC%20REMIX--jacket.png https://zenius-i-vanisher.com/simfiles/Z-I-v%20Battle%20Royale%202022/VALLIS-NERIA/VALLIS-NERIA-jacket.png

Post #14 · Posted at 2022-01-03 09:22:37am 5.8 months ago

Offline razorblade
razorblade Avatar Member
1,075 Posts
Not Set
Reg. 2011-03-01
Log in to send this user a private message

Last updated: 2022-01-03 09:23am
I get it now. The spaces in the path caused the issue in radar batch file. After the script generated just rename the folder back to original. Nice find though. I will check the fix soon.
Appreciate my simfile works/contribution? I accept donation. Very Happy
My Paypal

Post #15 · Posted at 2022-01-03 09:42:11am 5.8 months ago

Offline PenTA_
PenTA_ Avatar Member
243 Posts
United States
Reg. 2016-12-23
Log in to send this user a private messageDiscord: Quan 自然〜#7608FacebookTwitter: @quan_comiczYouTubeTwitch
Nintendo Network ID: Quan_comicz00
Quote: FoRCeDNaTuRe
This is not 100% what might be the fix but I had the same problem because the parent folder contained a space "StepMania 5.3", and after I changed the folder name to just "StepMania" it worked. But like I said that might not fix it for everyone.
This seems to have worked! Changing "StepMania 5" to "StepMania" fixed it--albeit it's taking forever lmao

Post #16 · Posted at 2022-01-03 09:57:32pm 5.8 months ago

Offline BlueSupernova22
BlueSupernova22 Avatar Member
82 Posts
United States
Reg. 2015-12-24
Log in to send this user a private message

Last updated: 2022-01-03 09:57pm
Same for me! I just removed the space on my "Project Outfox" folder and it works!

EDIT: I Redact my statement. it managed to create the ddr_groove_data.lua file but there are no groove radar values entered at all in the file so.
Register Log In Back To Forums

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

©2006-2022 Zenius -I- vanisher.com -5th style- IIPrivacy Policy
Web Server: 3% · Database: 4% · Server Time: 2022-06-28 22:23:56
This page took 0.011 seconds to execute.
Theme: starlight · Language: englishuk
Reset Theme & Language