]> git.xonotic.org Git - xonotic/xonotic.wiki.git/blobdiff - Xonotic_Bot_Orchestra.md
Add explanation for modes/types/mutators/mods and server types
[xonotic/xonotic.wiki.git] / Xonotic_Bot_Orchestra.md
index 5641b1164b2dc7d5fd3fdce079cb9cdecb06b112..40c4020227bf9c5a0d480f337cc665fac2bffa3f 100644 (file)
@@ -31,65 +31,74 @@ Creating a bot script
 To create a bot script, first you need to prepare a MIDI file, for which you need to take care of:
 
 -   percussion must be on track 10 only; percussion was mapped manually by me in midi2cfg-ng.conf by “similar sound”; you may want to read that file for reference so you can assign percussion instruments the way you want
--   program change event for Accordeon, Harmonica and Tango Accordeon uses the `!#%'n Accordeons
-    * anything else uses the `!\#%’n Tuba
+-   program change event for Accordeon, Harmonica and Tango Accordeon uses the @!#%'n Accordeons
+-   anything else uses the @!\#%'n Tuba
 
 Then, you run in misc/tools/ of Xonotic:
 
-perl midi2cfg-ng.pl midi2cfg-ng.conf *MIDIFILE.mid* *transpose* \> \_<sub>/.xonotic/data/x.cfg\_
-(you\\ also\\ can\\ use\\ any\\ other\\ .cfg\\ name\\ here,\\ but\\ it\\ must\\ be\\ in\\ the\\ same\\ directory\\ as\\ config.cfg\\ and\\ I\\ prefer\\ x.cfg\\ because\\ the\\ unmodified\\ tuba-play.cfg\\ uses\\ it)
-In\\ case\\ not\\ all\\ notes\\ could\\ be\\ played,\\ information\\ is\\ printed\\ to\\ help\\ you\\ choose\\ the\\ *transpose*\\ parameter.\\ You\\ should\\ try\\ 0\\ at\\ first.
-h2.\\ Vocals
-In\\ order\\ to\\ play\\ vocals,\\ you\\ need\\ to\\ put\\ an\\ additional\\ file\\ *MIDIFILE.mid.vocals*\\ next\\ to\\ your\\ MIDI\\ file.\\ An\\ example\\ vocals\\ file:
-\\ scale\\ 0.5
-18240\\ sound/ikamusume-op/01-shinryaku.ogg
-65142\\ sound/ikamusume-op/02-kirakira.ogg
-72868\\ sound/ikamusume-op/03-kagayaku.ogg
-80594\\ sound/ikamusume-op/04-minna-de.ogg
-87629\\ sound/ikamusume-op/05-hajimemashou.ogg
-91392\\ sound/ikamusume-op/05-hajimemashou.ogg
-95831\\ sound/ikamusume-op/06-horahora.ogg
-103465\\ sound/ikamusume-op/07-wagamama.ogg
-111191\\ sound/ikamusume-op/08-ochitari.ogg
-118426\\ sound/ikamusume-op/09-ikan-deshou.ogg
-122312\\ sound/ikamusume-op/09-ikan-deshou.ogg
-126505\\ sound/ikamusume-op/10-honto.ogg
-134216\\ sound/ikamusume-op/11-yasashii.ogg
-142034\\ sound/ikamusume-op/12-motteru.ogg
-149253\\ sound/ikamusume-op/13-anata.ogg
-157440\\ sound/ikamusume-op/14-hitoribocchi.ogg
-164936\\ sound/ikamusume-op/15-umi-no.ogg
-172800\\ sound/ikamusume-op/16-ichigen.ogg
-176548\\ sound/ikamusume-op/17-kigen-mo.ogg
-180311\\ sound/ikamusume-op/18-shiawase.ogg
-184228\\ sound/ikamusume-op/19-mamorimasu.ogg
-191770\\ sound/ikamusume-op/20.ogg
-195840\\ sound/ikamusume-op/21-iikanji.ogg
-203520\\ sound/ikamusume-op/22-iikanji.ogg
-211200\\ sound/ikamusume-op/23-higashi.ogg
-218880\\ sound/ikamusume-op/24-otakara.ogg
-226560\\ sound/ikamusume-op/25-iikanji.ogg
-234240\\ sound/ikamusume-op/26-iikanji.ogg
-241920\\ sound/ikamusume-op/27-tanjouseki.ogg
-249600\\ sound/ikamusume-op/28-konomama.ogg
-257111\\ sound/ikamusume-op/29-shinryaku.ogg
-264791\\ sound/ikamusume-op/30-keikaku.ogg
-272548\\ sound/ikamusume-op/31-shinryaku.ogg
-The\\ numbers\\ are\\ measured\\ in\\ MIDI\\ ticks,\\ but\\ are\\ multiplied\\ by\\ the\\ scale.\\ I\\ made\\ this\\ file\\ by\\ first\\ using\\ audio\\ files\\ inside\\ Rosegarden\\ and\\ positioning\\ them\\ right,\\ and\\ then\\ getting\\ the\\ numbers\\ out\\ of\\ the\\ compressed\\ XML\\ Rosegarden\\ writes\\ as\\ its\\ own\\ file\\ format.\\ Another\\ idea\\ to\\ get\\ these\\ numbers\\ may\\ be\\ the\\ event\\ list\\ editor\\ in\\ your\\ MIDI\\ app.
-h2.\\ Performing
-To\\ perform,\\ copy\\ the\\ files\\ tuba-play.cfg,\\ tuba-record.cfg\\ and\\ tuba-settings.cfg\\ to\\ your\\ Xonotic\\ config\\ directory\\ (</sub>/.xonotic/data/ on Linux) and edit them to your taste. Then:
-
-./all run +exec tuba-play.cfg +map *opera*
+    perl midi2cfg-ng.pl midi2cfg-ng.conf MIDIFILE.mid transpose > ~/.xonotic/data/x.cfg
+
+(you also can use any other .cfg name here, but it must be in the same directory as config.cfg and I prefer x.cfg because the unmodified tuba-play.cfg uses it)
+In case not all notes could be played, information is printed to help you choose the *transpose* parameter. You should try 0 at first.
+
+Vocals
+------
+
+In order to play vocals, you need to put an additional file *MIDIFILE.mid.vocals* next to your MIDI file. An example vocals file:
+
+    scale 0.5
+    18240 sound/ikamusume-op/01-shinryaku.ogg
+    65142 sound/ikamusume-op/02-kirakira.ogg
+    72868 sound/ikamusume-op/03-kagayaku.ogg
+    80594 sound/ikamusume-op/04-minna-de.ogg
+    87629 sound/ikamusume-op/05-hajimemashou.ogg
+    91392 sound/ikamusume-op/05-hajimemashou.ogg
+    95831 sound/ikamusume-op/06-horahora.ogg
+    103465 sound/ikamusume-op/07-wagamama.ogg
+    111191 sound/ikamusume-op/08-ochitari.ogg
+    118426 sound/ikamusume-op/09-ikan-deshou.ogg
+    122312 sound/ikamusume-op/09-ikan-deshou.ogg
+    126505 sound/ikamusume-op/10-honto.ogg
+    134216 sound/ikamusume-op/11-yasashii.ogg
+    142034 sound/ikamusume-op/12-motteru.ogg
+    149253 sound/ikamusume-op/13-anata.ogg
+    157440 sound/ikamusume-op/14-hitoribocchi.ogg
+    164936 sound/ikamusume-op/15-umi-no.ogg
+    172800 sound/ikamusume-op/16-ichigen.ogg
+    176548 sound/ikamusume-op/17-kigen-mo.ogg
+    180311 sound/ikamusume-op/18-shiawase.ogg
+    184228 sound/ikamusume-op/19-mamorimasu.ogg
+    191770 sound/ikamusume-op/20.ogg
+    195840 sound/ikamusume-op/21-iikanji.ogg
+    203520 sound/ikamusume-op/22-iikanji.ogg
+    211200 sound/ikamusume-op/23-higashi.ogg
+    218880 sound/ikamusume-op/24-otakara.ogg
+    226560 sound/ikamusume-op/25-iikanji.ogg
+    234240 sound/ikamusume-op/26-iikanji.ogg
+    241920 sound/ikamusume-op/27-tanjouseki.ogg
+    249600 sound/ikamusume-op/28-konomama.ogg
+    257111 sound/ikamusume-op/29-shinryaku.ogg
+    264791 sound/ikamusume-op/30-keikaku.ogg
+    272548 sound/ikamusume-op/31-shinryaku.ogg
+
+The numbers are measured in MIDI ticks, but are multiplied by the scale. I made this file by first using audio files inside Rosegarden and positioning them right, and then getting the numbers out of the compressed XML Rosegarden writes as its own file format. Another idea to get these numbers may be the event list editor in your MIDI app.
+
+Performing
+----------
+
+To perform, copy the files `tuba-play.cfg`, `tuba-record.cfg` and `tuba-settings.cfg` to your Xonotic config directory (~/.xonotic/data/ on Linux) and edit them to your taste. Then:
+
+    ./all run +exec tuba-play.cfg +map opera
 
 The performance will soon begin, and your task is to move the camera appropriately for a good recording!
 
 Recording
 ---------
 
-To make a video, you first run a performance as above, and then find out the file name of the .dem file in your Xonotic demo directory (\~/.xonotic/data/demos/ on Linux). Then you do:
+To make a video, you first run a performance as above, and then find out the file name of the .dem file in your Xonotic demo directory (~/.xonotic/data/demos/ on Linux). Then you do:
 
-./all run +exec input-demoseeking.cfg +exec tuba-record.cfg ~~demo *demos/demofilename.dem*
-You can use the keys m,.~~ for seeking, where , and . go backwards and forwards by a small step, and m and - seek by a large step. Press x to start/stop video capture.
+    ./all run +exec input-demoseeking.cfg +exec tuba-record.cfg -demo demos/demofilename.dem
 
-Enjoy!
+You can use the keys `m` `,` `.` for seeking, where `,` and `.` go backwards and forwards by a small step, and `m` and `-` seek by a large step. Press `x` to start/stop video capture.
 
+Enjoy!