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 2.3 years ago

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


Last updated: 2022-12-23 11:04pm
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 generate_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_groove_data.lua Generator here

---------------------------------------------------
Radar theme patch:
- DDR A3 by Curilang (link here)

Extract the patch content to your specified theme's folder. Generate your own ddr_groove_data.lua and place it to your specified theme's Scripts folder.
---------------------------------------------------

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

Offline waterdraik346
waterdraik346 Avatar Member
201 Posts
United States
Reg. 2011-11-22

"Wish I could change my username"
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 2.3 years ago

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


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.

Post #4 · Posted at 2021-12-08 01:27:12am 2.3 years ago

Offline Arcorann
Arcorann Avatar Member
59 Posts
Not Set
Reg. 2015-01-29

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 2.2 years ago

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


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.

Post #6 · Posted at 2021-12-11 11:27:01pm 2.2 years ago

Offline typeCHAOS
typeCHAOS Avatar Member
165 Posts
Canada
Reg. 2009-02-05

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 2.2 years ago

Offline n00b_saib0t
n00b_saib0t Avatar Member
2,282 Posts
United States
Reg. 2007-02-05

Nintendo Network ID: n00bsaib0tNintendo Switch Friend Code: SW-7875-2425-72033DS 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 2.2 years ago

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


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.

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

Offline n00b_saib0t
n00b_saib0t Avatar Member
2,282 Posts
United States
Reg. 2007-02-05

Nintendo Network ID: n00bsaib0tNintendo Switch Friend Code: SW-7875-2425-72033DS 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 2.2 years ago

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


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

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

Offline BlueSupernova22
BlueSupernova22 Avatar Member
85 Posts
United States
Reg. 2015-12-24

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 2.2 years ago

Offline PenTA_
PenTA_ Avatar Member
243 Posts
United States
Reg. 2016-12-23

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 2.2 years ago

Offline forcednature
forcednature Avatar Member
1,009 Posts
Germany
Reg. 2012-06-12

""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://i.imgur.com/SkGLw82.png

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

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


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.

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

Offline PenTA_
PenTA_ Avatar Member
243 Posts
United States
Reg. 2016-12-23

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 2.2 years ago

Offline BlueSupernova22
BlueSupernova22 Avatar Member
85 Posts
United States
Reg. 2015-12-24


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.

Post #17 · Posted at 2022-12-15 12:22:26am 1.2 years ago

Offline Landpaddle
Landpaddle Avatar Member
34 Posts
Not Set
Reg. 2022-11-16

First of all, thank you for sharing the Groove Radar generator! I used the tool to create estimated values for the official chart data spreadsheet project here: https://zenius-i-vanisher.com/v5.2/thread?threadid=11287

However, I noticed that the generator script fails when encountering a period before an equal sign in simfile BPM values. See the post here for screenshots of the generator output with and without the error: https://zenius-i-vanisher.com/v5.2/thread?threadid=5204&page=17#p451387

Is this something that can be fixed? I was able to open the file in ArrowVortex without issue and the BPM change was read at the right measure, so it seems to be possible to ignore the period.

Post #18 · Posted at 2022-12-15 11:31:13am 1.2 years ago

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


Last updated: 2022-12-15 11:33am
Please try this updated copy. Extract the content to your Songs folder. If you have steps updates to any song after this was generated, just delete the lua file of the song inside the subdirectory of _radar_cache folder and re-run the batch script.

https://www.dropbox.com/s/6cy6gwvfxt2j7ps/DDR_Groove_Radar_Generator.zip?dl=0

Post #19 · Posted at 2022-12-15 08:00:58pm 1.2 years ago

Offline Landpaddle
Landpaddle Avatar Member
34 Posts
Not Set
Reg. 2022-11-16

The updated scripts function and create the expected ddr_groove_data.lua file, but they still do not populate data for the "Teenage Kicks" file mentioned above if the period is not omitted.

Post #20 · Posted at 2022-12-16 01:50:53pm 1.2 years ago

Offline 幸福一家王小龙
幸福一家王小龙 Avatar Member
65 Posts
China
Reg. 2022-03-13

Why did my Groove Radar Data Generator fail.
https://media.discordapp.net/attachments/999643828921303070/1053305261516931152/unknown.png
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: 3% · Database: 4% · Server Time: 2024-03-28 08:20:40
This page took 0.016 seconds to execute.
Theme: starlight · Language: englishuk
Reset Theme & Language