Project has been canceled, sorry.
THIS GENERATOR HAS BEEN UPDATED TO THE NEWEST VERSION. CHECK MY USERPAGE FOR MORE DETAILS
Hello again!
Are you a Taiko player? Good.
I decided to leave this small "tool" here. If you are too lazy to map, if you want to play something different, something harder, stupid, etc. bla blah
Last time I uploaded a C# app, but it was taking too much time to make a map. I ported it to PHP with a modified interface but that was a bad idea.
Psst, _Gezo_, I know you can make a use of this, somehow.
>> Clicky
[9th of Dec 2016] - THIS SOURCE IS OUTDATED AND UGLY
I'm not sure if I will update the source, sorry.
Hey, Howl made it already -> http://otrp.zxq.co/
I won't use it as a service (I wanted to, but my server does not have that much space) - and an obvious reason, the security. Do not use it as a service unless you do some sort of a file scanning. It's more like for a personal use. But if you want to use it as a public service, why not :p
The script generates 8 difficulties:
This is your file to edit.
Now go to the editor, and check the BPM:
http://puu.sh/jwMn6.png
OK, the BPM is 165, a fine, round value, leave it as it is. (a note here, if the beatmap has 120BPM, you can generate a 240BPM song. Just change it to 240, and pick the SV in the website form like 1.6 or something, as you like.
Next thing, the timing points:
OK, cool, no additional REDs. You can add your KIAI, change volume, sv changes as you prefer. Only the red ones screw the whole process, I don't know how to deal with that.
Custom starting-ending points - the script starts generating patterns from the first note in the file, and ends on the last note - I think this is a self explanatory.
Export your beatmap - be sure you were editing a proper difficulty.
Upload time!
You might get some errors here, this is normal. The E_ALL error_reporting was set on purpose. First thing will be the permission denied (possible error) if you are using it on a localhost. I could not test it on other machines/environments, so sorry if it will not work at all, sorry again. If you are a dev, you will handle it, I'm sure.
The script generated a download link, this might be a fail, because of the file names, explained in the Issues. You can always access the files directly from the "server" in the "mk" folder.
BE SURE to have the mk folder. You can add the folder checking if you want, I can't do it right now, I have to sleep =[
That's all, your beatmap is generated, have fun.
There is a HUGE downside of course, you have to "upload" the file, so I would suggest using a "light" mp3s if you are planning on using it on a server.
First thing is the upload, there is nothing to explain, simple file upload, except the output:
The whole process is:
What processing does, is importing the source of the beatmap, swapping all the necessary metadata, clearing the BeatmapID and SET, and setting it to Taiko, obviously.
Pattern generation starts from finding the starting point and ending point - that is, first note, and the last note. This is our timeline for the generator.
The next thing is defining the 1/1, 1/2 and1/4s depending on the BPM
Oh well, 1/1 and 1/2 are unused, I have no idea why I left them in there...
Next, defining an array with patterns depending on the difficulty.
Then goes the main loop, it generated a random number of patterns, depending on the currently processed difficulty.
At first, if the processed difficulty is set to ENDLESS, it just adds a (DON/KAT) note -> next 1/4 tick, repeat,
else it generates random patterns based on the random number (1, 3, 5, 7, 9 | 2, 4). The 2-note and 4-note patterns were explained in somewhere above.
4-note patterns were divided into two different cases, 4+2 and 2+4, randomly. While adding this pattern, the script is inserting an another 1/4 pause between 4 _ 2 or 2 _ 4 from obvious reasons.
The last step is adding the calculated 1/4 pause, and that's all you need to know. If you are brave enough, you can dig through this messy hell hole.
KELUN - CHU-BURA
In Flames - Black & White (Holy shit, look at H-TaikoGen difficulty at the point: (02:31:537) quite awesome seed... OK, maybe it's just cool for me)
And sorry if I rushed this too much, but I'm sleepy, and I would probably be too lazy to post it again.
If it's not working, please leave all the posts in here, I will try to look at it tomorrow. I'm afraid it won't even work for you, then I will request a thread close, because I don't have that much time for working on this project. It works perfectly fine on Localhost and on my website for me, and I hope it will also work for you.
Here goes nothing. *clicks Post button*
P.S. I was using this "tool" for training purposes a long time ago, and for a long time. It was awesome. It took one minute to generate a map. LMAO
Hello again!
Are you a Taiko player? Good.
I decided to leave this small "tool" here. If you are too lazy to map, if you want to play something different, something harder, stupid, etc. bla blah
Last time I uploaded a C# app, but it was taking too much time to make a map. I ported it to PHP with a modified interface but that was a bad idea.
Psst, _Gezo_, I know you can make a use of this, somehow.
Download
OK, so, the download:>> Clicky
[9th of Dec 2016] - THIS SOURCE IS OUTDATED AND UGLY
I'm not sure if I will update the source, sorry.
IMPORTANT
It's PHP, so you know what to do. Upload to your server, use localhost, whatever you like (you can abuse your friends to do it for you).Hey, Howl made it already -> http://otrp.zxq.co/
I won't use it as a service (I wanted to, but my server does not have that much space) - and an obvious reason, the security. Do not use it as a service unless you do some sort of a file scanning. It's more like for a personal use. But if you want to use it as a public service, why not :p
Old information
The script works by generating a random note at given time (the script handles it by itself), every 1/4 tick. Every pattern is separated by another 1/4 tick, which gives 1/2 pause between each pattern.The script generates 8 difficulties:
- E-TaikoGen - basically a singletap - a random note every 1/1
- N-TaikoGen - generates patterns from one note, and three notes.
- H-TaikoGen - generates 1, 3, 5 notes patterns
- H-ATaikoGen - "advanced", generates 1, 3, 5 notes patterns + doubles followed by another doublet, because a single one was destroying the rhythm (odd patterns perfectly match the rhythm, so '2 + _pattern spacing_ + 2' actually makes 5 notes - theoretically - so it does not destroy the rhythm, so this was needed for these patterns)
- I-TaikoGen - generates 1, 3, 5, 7 notes patterns
- I-ATaikoGen - generates 1, 3, 5, 7 notes patterns AND "4 + 2" or "2 + 4" patterns, as explained above
- W-TaikoGen - generates 1, 3, 5, 7, 9 notes patterns
- ENDLESS - generates a "neverending" pattern. Just a random note each 1/4 tick, with no pause.
Known Issues
- Beatmap SHOULD NOT have any BPM changes - it immediately ends up with a note displacement.
all the Timing Points that are NOT changing the BPM can be freely removed. It won't affect the patterns, except the first one, but that's obvious. - The script removes all the files from storyboard, and leaves only the needed files - the reason of it was, that I didn't need any of the storyboard files, as I am playing with maximum dim, custom skin. I'm sorry.
- The script MAPS ALL THE BREAKS - it generates patterns without any pause, so some maps may feel awkward to play.
- It may throw an error on non-ASCII characters or may not complete the generation - I totally forgot about this issue, I did not check it. I just did not have such beatmaps. If you really need to generate a beatmap from some weird named beatmaps, you will probably have to change the name. Sorry, I have no idea how to deal with that. There is the source code, go check the line 160 in stuff.php
- Pay attention to the BPM value. Be sure to check the BPM in the editor - the game shows you a round value, don't forget about that. Use the editor, this will be the first thing you need to check anyway.
- awesome (USE DOTS IN THE GENERATOR FORM, NOT COMMAS). - This script does not handle the URL upload - sorry, I used a simple form. Feel free to edit it as much as you want.
- The source code DOES NOT contain any comments and is a huge mess - might be an issue if you would like to work with the code. I'm extremely sorry for that, I removed all the comments while porting to PHP, but I will try to explain how the generator works, sorry. I should not upload such thing, but, meh :'P
- File UPLOADING - it may not be an issue, but you have to wait for an upload to see any errors, correct them, and upload again. I would suggest using localhost for that. If you can, please write a C# application (well, any other language will do). It would be better for all of us.
How to use
First thing you need to know is, that the script selects the first file from the alphabetical order, so if you are planning on using a beatmap that has few difficulties, check the screenshot below:This is your file to edit.
Now go to the editor, and check the BPM:
http://puu.sh/jwMn6.png
OK, the BPM is 165, a fine, round value, leave it as it is. (a note here, if the beatmap has 120BPM, you can generate a 240BPM song. Just change it to 240, and pick the SV in the website form like 1.6 or something, as you like.
Next thing, the timing points:
OK, cool, no additional REDs. You can add your KIAI, change volume, sv changes as you prefer. Only the red ones screw the whole process, I don't know how to deal with that.
Custom starting-ending points - the script starts generating patterns from the first note in the file, and ends on the last note - I think this is a self explanatory.
Export your beatmap - be sure you were editing a proper difficulty.
Upload time!
SPOILER
DAMN IT, I forgot about the "remember the form values", eh...ROFL, Polish version
You might get some errors here, this is normal. The E_ALL error_reporting was set on purpose. First thing will be the permission denied (possible error) if you are using it on a localhost. I could not test it on other machines/environments, so sorry if it will not work at all, sorry again. If you are a dev, you will handle it, I'm sure.
The script generated a download link, this might be a fail, because of the file names, explained in the Issues. You can always access the files directly from the "server" in the "mk" folder.
BE SURE to have the mk folder. You can add the folder checking if you want, I can't do it right now, I have to sleep =[
That's all, your beatmap is generated, have fun.
There is a HUGE downside of course, you have to "upload" the file, so I would suggest using a "light" mp3s if you are planning on using it on a server.
The Script
You don't really need to know how it works, you don't have to set up the code to make it work. Just copy-paste (I hope so), but some explanation would be awesome, right?First thing is the upload, there is nothing to explain, simple file upload, except the output:
echo "<div class='alert alert-success' role='success'>Beatmap has been created. <a href='mk/[TMG] ".rawurlencode($beatmap)."'>Click here to download your generated beatmap</a>";I added the rawurlencode(), because I couldn't download a beatmap with an apostrophe in it. It may cause some errors, but you can experiment with that.
The whole process is:
- UnZip
- Process the Difficulties
- Remove the storyboard
- Zip back
- Show the output
What processing does, is importing the source of the beatmap, swapping all the necessary metadata, clearing the BeatmapID and SET, and setting it to Taiko, obviously.
Pattern generation starts from finding the starting point and ending point - that is, first note, and the last note. This is our timeline for the generator.
The next thing is defining the 1/1, 1/2 and1/4s depending on the BPM
$Tick1o4 = (60 / ($BPM * 4)) * 1000;^ for example, this creates a 1/4 gap between the next note.
Oh well, 1/1 and 1/2 are unused, I have no idea why I left them in there...
Next, defining an array with patterns depending on the difficulty.
Then goes the main loop, it generated a random number of patterns, depending on the currently processed difficulty.
At first, if the processed difficulty is set to ENDLESS, it just adds a (DON/KAT) note -> next 1/4 tick, repeat,
else it generates random patterns based on the random number (1, 3, 5, 7, 9 | 2, 4). The 2-note and 4-note patterns were explained in somewhere above.
4-note patterns were divided into two different cases, 4+2 and 2+4, randomly. While adding this pattern, the script is inserting an another 1/4 pause between 4 _ 2 or 2 _ 4 from obvious reasons.
The last step is adding the calculated 1/4 pause, and that's all you need to know. If you are brave enough, you can dig through this messy hell hole.
Summary
I hope I did not forgot about anything, and everything is clear. Please kill me if it's not working. I can check the forum for messages/posts like once a day, sorry.Proof Beatmaps
Denkare - GeminiKELUN - CHU-BURA
In Flames - Black & White (Holy shit, look at H-TaikoGen difficulty at the point: (02:31:537) quite awesome seed... OK, maybe it's just cool for me)
And sorry if I rushed this too much, but I'm sleepy, and I would probably be too lazy to post it again.
If it's not working, please leave all the posts in here, I will try to look at it tomorrow. I'm afraid it won't even work for you, then I will request a thread close, because I don't have that much time for working on this project. It works perfectly fine on Localhost and on my website for me, and I hope it will also work for you.
Here goes nothing. *clicks Post button*
P.S. I was using this "tool" for training purposes a long time ago, and for a long time. It was awesome. It took one minute to generate a map. LMAO