Closed dinytick closed 2 years ago
o.0? you can run these things on android? who knew? :D
any way, you probably just need to do chmod +x /bin/ddr-radar-feet
, but i dont really know android (i use SFOS)
Thank you, it looks like that went somewhere!
And another dumb question incoming, but where would I get the .sm files from and how would I properly call it to get the ratings?
haha, no dumb questions, this shit is COMPLICATED, and i didn't write it to be instantly accessible; i wrote it so that i dont have to guess which of the three different difficulty rating systems the simfile author used.
SM files are the main simfiles. every song you play in stepmania/outfox/openitg/notitg/etc has either a DWI, or SM, or SSC file that contains the actual arrow patterns. (there may be other file types that i dont know about)
you can use SM files or SSC files in all of my scripts that say SIMFILE or SM_FILE, etc.
you CANNOT use DWI files in my scripts, though. for that, have a look at my DWI to SSC converter wrapper around stepmania: https://github.com/stepmania/stepmania/pull/2066
no problem! I assume that the .sm files have to be put in our home folder, is that correct?
as for properly calling it....im afraid you are SEVERAL steps away from doing that. first, you need to train the neural net with existing data.
this is NOT EASY to do, so ill just attach my training data.
radar-training-data.gz
-download it
-decompress it gunzip radar-training-data.gz
-and put it in $HOME/.cache/ddr-radar-feet/radar-training-data
then you can generate the neuralnets from the training data:
ddr-radar-feet --ensure
(this takes significant time, but only needs to be run once, or if you want to re-train it on new data)
and THEN run it to get the output, like this:
ddr-radar-feet singles expert ~/songs/DDR_18_A20PLUS/Hella\ Deep/Hella\ Deep.sm
14.26
if that last one fails, you might not have simfile-radar
in place, which is a necessary component to read the radar values from SM files. if you already know the stream/voltage/air/freeze/chaos values, you can pass them directly in and skip the SM file completely
if you DO wanna train it on your own data, put your songs here:
~/.stepmania/Songs/
e.g.:
~/.stepmania/Songs/DDR_18_A20PLUS/Hella\ Deep/Hella\ Deep.sm
and call ddr-radar-feet --ensure-training-radar-data
btw, ive been thinking about adding a few additional input neurons, like song-length and average-notes-per-second and max-notes-per-second, because SVAFC is not the most accurate measurement system for, say, stamina. (itg15 songs might show up as ddr-17, instead of 20+)
do let me know if you manage to get this working on an android device, that would be pretty cool
I couldn't get past the ensure step. radar-training-data is in the correct place.
no its not? its in root, not home (/
, not /home/dinytick/
)
edit: i see that the script is running rm -f
, which may be a bug.
edit again: doesnt appear to be a bug, it runs rm -f
only if the file doesnt exist already
oh geez, how did I screw that one up. i'll fix it.
EDIT: ok, so looks like it worked since it gives me this error now.
ok so now I get this error. I made a songs folder to place all my sm files.
if that last one fails, you might not have
simfile-radar
in place, which is a necessary component to read the radar values from SM files. if you already know the stream/voltage/air/freeze/chaos values, you can pass them directly in and skip the SM file completely
Dang, I do have simfile-radar in my bin..
is ~/bin on your path? (either add it to your path or use /usr/bin or something) is simfile-radar executable? (chmod +x)
also, test simfile-radar on its own if you still have problems. it requires IPC::Open2, and very little else, but i've only tested it on gnu/linux, not android
it is not in my path when I call the simfile
I am on ~ here. If I ls-a, bin and songs appear.
Thank you so much for putting up with me. I appreciate this. Do you have a paypal?
woo, victory! hey it was no problem at all, always glad when other folks can get some use out of my weird projects. i sure do: elliot.wolk@gmail.com
feel free to re-open this issue or whatever if you have any more issues :)
Hello!
Hope I am not bothering you with my questions. I was trying to use your ddr-radar-feet instructions to get the x-ratings of simfiles, but I keep running across errors such as this.
I am using Android Studio emulating a Pixel 3 on Android 10.0 if it happens to help.