HOME | DD

AddestorionVayanis — MMDAgent Tutorial by-nc

Published: 2011-09-18 06:10:54 +0000 UTC; Views: 125751; Favourites: 394; Downloads: 6934
Redirect to original
Description In the same vein as the Artoolkit_MMD tutorial [link] , the following is what I currently know about MMDAgent Voice Recognition software developed by the Nagoya Institute of Technology

Other tutorial links (VMDSpectrum [link] )

NOTICE - 5 September 2012
This tutorial may be out of date compared to MMDAgent 1.3 which was released last august. I am having issues changing all my commands to suit the newer version, so i am still using a backdated version. However, the sample.fst and .mdf files do have some pointers on what the slight alterations are.

MMDAgent
A speech recognition program developed by the Nagoya Institute of Technology using a variety of open source software, namely the OpenJTalk voice synthesizer, Julius voice recognition and MikuMikudance 3D rendering program.
Nico-nico douga - [link]

This is roughly what it would look like and what you could do with it: (this is after my edits)
[link]
summary of things you can do with it:
- have her respond to your vocal commands
- have all your motion datas and wave files on standby
- drag and drop models, even while halfway dancing
- can detect certain keyboard commands to replace vocal commands.

This is how i usually use MMDAgent to proofcheck models that i download from here.
[link]


-------------------------------------------------------------------------
Downloading
1. Go to [link]
2. Download the MMDAgent binary package for 32 bit windows
3. Download the Sample Script Binary Package
4. Unzip both files

Executing
1. The binary package for 32 bit windows has a .exe file named mmdagent.exe
2. The Sample Script Binary Package has a file named MMDAgent_Example.mdf
3. To run it, you need to drag the MMDAgent_Example.mdf and drop it onto the MMDAgent.exe icon. (you can’t run mmdagent.exe first, and then drag and drop the mmdagent_example.mdf onto it. Nothing happens)
4. A window should appear with a model named mei.
5. To make things run faster, you could just right click the .mdf file and set it to always open with mmdagent.exe. Doing so will enable you to just doubleclick the .mdf and it will load up in mmdagent.exe.

Usage
1. The default sample script responds to very limited words. This is a list of [command] – (response) - - {additional notes}
a. [konnichiwa] – (konnichiwa) -
b. [sayonara/bai bai] – (sayonara) -
c. [homupeji] – (MMDAgent no, hōmupēji o hyōji shimasu) - d. [Furusukurīn] – (Sukurīn no settei o, henkō shimashita) -
e. [toshokan] – (gives you directions to the library) -
f. [anata _ dare] – (self introduction of herself) - - {it doesn’t matter what you say in between anata and dare, but both words need to be said in the same sentence}
g. [Arigato] – (youre welcome, speak to me at any time) - - {notice a tone of voice shift between youre welcome and the second sentence. Demonstrates the different expressions available for use}
h. [kawaii/ kirei] – (Either says arigato or Hazukashiidesu using embarrassed tone) - - {demonstrates use of random numbers to vary responses}
2. Keyboard commands are available in the readme file included in the mmdagent32. Notable commands are:
a. lowercase d – toggles the full log. You will be able to see a transcript of what she thought you heard, and any actions she is undertaking.
b. Capital J – toggles the microphone input bar. The blue bar indicates current sound level, the white line indicates the sound detection treshhold and the orange line indicates speech detection. Use your control panel>>sound >>recording>>microphone to control the sensitivity of the microphone. If it is noisy, set it to lower values, but you’ll have to talk louder into the microphone. Adjust it until the ambient noise doesn’t cause the blue bar to exceed the white line.
c. lowercase l (elle, not eye) – toggles head looking at mouse. mei’s head will track your mouse.
d. capital F – toggles event/detection logs. These logs are to the right of mei (your right). You’ll have to rotate the view so you can see it.
e. Other commands are in the readme file.
3. if you drag and drop music files or mikumikudance .vmd files onto the mmdagent, it will play or run the motion. If the music file is in the same folder as a motion data (.vmd) file with the exact same name as the music file, both the motion data and music will play together.

Editing
1. The sample script has a file named mmdagent_example.fst.
2. By default it is not associated with a program, but you can open it in notepad.
3. You will be able to see its full programming, with instructions on how to program it, plus all events and actions which can be taken.
4. The codes are arranged neatly so that you will learn how to perform your own basic programming. Note that the symbol # means comment (whatever is written along that same line will not affect the code and is used just as a comment)
a. 0011-0020 – initial setup and loading of models
b. 0021-0030 – teaches you how to use timers and single loop motions
c. 0031-0040 – teaches you how to use simple voice recognition, speech synthesis and motion.
d. 0041-0050 – teaches you how to queue two or more speech sentences together using SYNTH_EVENT_STOP
e. 0051-0060 – teaches you how to use different voice types. They are; normal, angry, bashful, happy and sad (the folder names in MMDAGENT>>Voice)
f. 0061-0070 – teaches you how to use random numbers to varied responses. This is the basis of IF/THEN/ELSE type programming. The random number in question is the command line 23 (VALUE_SET|random|0|100)
g. 0071-0090 – Teaches you how to add, delete, load, add motion to and change motion of models.
h. 0091-0100 – similar to 0031-0040. No need to reexplain myself.
i. 0101-0110 – Teaches you how to run programs. Webpages will load in your default browser. Programs can be loaded if you provide the full path to it (C:folder1subfolder3whatever.exe). Note: there must be NO SPACEBARS in between the path or else it will not load. You could either:
i. delete any spacebars in the path {may cause programs to not work}
ii. change any spacebars to an underscore ( _ ) {may cause programs to not work}
iii. (recommended) create a shortcut to the program you want to run, and place it in a place where the path to the shortcut has no spacebars. The shortcut name must have no spacebars. Shortcuts have an ending file extension .lnk, so you will have to run it like this: C:folder1subfolder3whatever.exe.lnk
j. 0111-0120 – teaches you about issuing keyboard commands. For now, it can issue commands to mmdagent, but if you know whats a windows class type, you can use this program to issue keyboard commands to other programs as well. Mine is able to control my windows media player classic. Will post more info on this subtopic if response to this article is good.
5. You should be able to program a variety of commands

Other Notes:
1. .pmx files will not work
2. Some models which contain certain abnormal textures will also not work.
3. Whether or not mikumikueffect works or not has yet to be determined


WARNING
1. This girl is hot. Literally. Activating MMDAgent raises the temperature of my intel i5 core to 83 degrees celcius from its usual 60 celcius. The temperature drops almost immediately back to 60 degrees once I shut her off.
2. She’s also high maintenance. She also uses my GeForceGT420M graphics card to an average of 60 % of the GPU clock, making it hard to run any other graphics demanding program at the same time. The clock increases if you activate self shadow (lowercase x keyboard)
3. And she’s a gold digger. A fully charged battery on my laptop can last 90 minutes on average, but only 45 minutes if she’s constantly running (discharge rate of 2.5 Watthour on standard, 5.3 Watthour when she’s running)


I’ld write more, but I figure those who are interested in this will either figure it out eventually, or ask in the comments.

Currently, my programming of my MMDAgent can do the following:
1. Replaces NIT’s Mei with LAT Kagamine Rin Append when starting up
2. Has 20 .pmd models on standby, switchable either by voice command or keyboard key hit.
3. Can play and dance to 18 songs and dance motions on command
4. Loads most of my programs on command.
5. Loads most of my regular webpages on command
6. Loads ALL my regular webpages on a single command.
7. Can stop music and dance when halfway playing, either by voice command or keyboard hit
8. Can change models while dancing
9. Can load up videos and music playlists in media player class, and control Play/Pause, Next or Previous Track, Volume adjustment, and Quitting on command.
10. Can shut herself down on command
11. Can interrupt herself shutting down in case the shutdown command was given unintentionally.
12. And finally, she can counter most Japanese swearing words with more than just 1 or 2 responses.

Disclaimer:
as per the readme agreement in MMDAgent, the pictures used for this deviation is based on a personal edit of the MMDAgent and should not be confused with the base program which this tutorial is meant to clarify.

--------------------------------------------------------------------------------
Edit 3/10/2011
--------------------------------------------------------------------------------
I changed the file download to a .zip file containing my edited mmdagent_example.fst.
It is my personal edits to see my present code condition, and not the .fst file initially distributed with the sample_script zip file.
To use this file, just copy it over the .fst file in the sample_script folder and use as described above. You are advised to keep your own backup copy of your .fst file just in case.

you may use this for your own entertainment and such. No credits to me are required, although i would be very interested to hear about your own additions, discoveries and innovations that you may develop.

However, I will not be held responsible for any problems it may cause, nor am i obliged to ensure that it works. This is merely to be used as a suggestion on how to code. All other copyrights are in their respective copyright readme files.


[new version uploaded on 18/11/2011 highlighting Value_GET functions and how they are used]

------------------------------------------------------------------------
Update 8/10/2011
-------------------------------------------------------------------------
you can open up the .mdf file in notepad, and there are some initial settings which you can modify at will

notably, the parameter you want to probably reduce is the one named Bullet frames per second (Bullet fps)
The standard 120 frames per second puts a heavy toll on your graphics card. Reducing it down to 30 or so will significantly reduce this load. You're free to set it to any value which suits you.

--------------------------------------------------------
update 29/11/2012
---------------------------------------------------------

And because i have been testing way too many models as of late, a new deviation would just about sum up some of the working ones i've been testing. Therefore, some models from pretty serious modelmakers on deviantart are in order...

V3 From middle and clockwise,
~Xenosnake 's Cyber Lat Gear Miku [link] performing Interstellar Flight sm8568000 using a different stage model (credits still being sourced)
MSN-04 Char's Sazabi (sm8550675) performing Packaged (mylist25972080)
~JessHolysAngel 's Electric Love Miku [link] performing Electric Love sm14410247
Nanami's Kisaragi Chihaya (sm12140696) performing Little Match Girl (sm13952228)
~Hanaminasho 's Artistic Miku [link] showing the menu attaching itself to the center of the model regardless of how short it is (shadow problem self repaired)
LAT Heart Beats Miku (sm15355081), LAT Rin Append [link] and ~Mamama7028 schoolgirl project diva Miku showing multiple model functionality [warning: every extra model puts extra strain on your CPU and GPU]
~midnighthinata 's Daughter of Evil Rin [link] performing Romeo and Cinderella (with the event/action log activated)
*capriciously-calm 's Yellow LAT Miku [link] performing Yellow [link] with Bone detection activated
=Jjinomu 's Rolling Girl LAT Miku [link] performing Two Faced Lovers sm15356537 showing how some shiny effects still load in MMDagent, although not sure why some do not.
LAT Rin Append [link] displaying a little menu which i created from the Library menu model included in MMDAgent.


V2 Preview inside the zip file credits:
MSN-04 Char's Sazabi (sm8550675) performing Packaged (mylist25972080)
Lat Rin Append [link] performing Go My Way [link]
Nanami's Kisaragi Chihaya (sm12140696) performing Little Match Girl (sm13952228) [note: voice monitor turned off]
Saboten Sakura Miku [link] performing Disappearance of Hatsune Miku ([link] )
Kio Gothic Miku [link] performing Disappearance of Hatsune Miku [side logs activated (shift + f)]
~Xenosnake 's Cyber LAT Miku with Bits [link] showing the menu function i added (menu model edited from the library.pmd model in MMDAgent. [note: all event log turned off ]
LAT Heart Beats Miku (sm15355081), LAT Rin Append and ~Mamama7028 schoolgirl project diva Miku showing multiple model functionality [warning: every extra model puts extra strain on your CPU and GPU]

-----------------------------------------------------------------------------------------
update 13/11/2011
------------------------------------------------------------------------------------------
been browsing nico-nico douga
[link]
this guy apparently has also been tweaking MMDAgent, although in japanese.

However, his .fst file gave me one important piece of information: how VALUE_GET function works.

in non-programmerish how to use:
State1 State2 VALUE_GET|variablename
state 2 State3 VALUE_EVAL_GET|variablename|variablevalue3
state 2 State4 VALUE_EVAL_GET|variablename|variablevalue4
state 2 State5 VALUE_EVAL_GET|variablename|variablevalue5
state 2 State6 VALUE_EVAL_GET|variablename|variablevalue6
this replaces the extra long code i used to detect the value of the datas.


in iostream.h C++:
this is the switch x function.


Also, check out the readme file he included.
It has like, super loads of credits and references to models, stages and motion datas across nico-nico douga. Trying them out. lol

update 12/12/2011
.pmx files may not be able to be loaded directly, but convert the .pmx to .pmd files using PMDEditor and it will work okay. Generally.

-------------------------------------------------------------------------
List of tested models
-------------------------------------------------------------------------
Before we proceed, there are a list of problems i'ld like to abbreviate, explain and propose solutions to:

Ground Shadow problem (GS)
Description - There is a problem which causes ground and self shadows to not load
Cause - MA Ambient Line value set to less than 1 (no edge lines)
Solution - change the value of MA Ambient Line value to at least 1. This will load up the shadow properly in MMDAgent.
Solution Flaw - Sometimes however, this will reveal unsightly black blotches on the model, and currently i am thinking of how to solve this. If you are a modelmaker, your help would be much appreciated because i dont know crap about whats going on in PMDEditor. Worse to worse, turn as many MA bones as possible to 1. If a tested model is marked with GS, it will be followed by MA bones which should be skipped to avoid black blotches

Skirt Physics (SP)
Description - skirt or other parts have physics which cause it to move upwards.
Cause - The Physics (PH in PMDeditor) setting for the loc y coordinate is too high (about 7-10 is considered high)
Solution - change that value to a lower value (i set it to 3 so that its same as the Lat Miku White model)

Texture Not Loading (TNL)
Descriptions - Textures appear white in MMDagent, but work fine in MikuMikuDance/PMDEditor
Cause - Textures may be non-RGB colored (Indexed color)
Identifying cause - jpeg and BMP files cannot be index color and will always load. PNG and TGA files may be indexed color, so if you have to take a wild guess, start with the PNG and TGA files first.
Solution 1 (if you have a photo editing software) - Convert the texture image back to RGB from whatever it was.
Solution 2 (if you dont have a photo editing software) - Open the texture with Paint and save it as jpeg. Then use PMDEditor to make it use the jpeg file as the texture.


All YM_model type kaito, gakupo and hiyama kyoteru [link] - no problems

All Nakao mikus - works
All Yukiwane (ゆきはね) mikus [link] - works after PMX conversion

All Saboten Miku Models [link] - no problems

All LAT type miku, rin and tetos - (for LAT neru, see nico links below) [miku] [link] [teto] [link] [rin] [link] - the face MA does not have a line ambient value of 1. When you do set it to 1, black patches appear above. There is a way to fix it, which is:
Select only the face MA, select the vertices and mesh, then apply Edit>Outline>Average Apex with a very very small number, followed by Edit>Outline>Average. This however will reduce the maximum framerate that can be achieved by this model in MMDAgent.

Saboten Aoki Lapis - GS

Onto Deviantart modelmakers

~Mamama7028 [link]
Project Diva Miku [link] - no problems whatsoever
Project Diva Miku Chibi - [link] - no problems

~Xenosnake 's Cyber LAT Mikus [link] [link] [link] [link] - no problems whatsoever (may contain Kios, Nakaos, Pirons, CSs)

~SakuneUtau04 's Dancer Miku [link] - no problems whatsoever

=Kaida19th
SeeU version 3.0 - [link] - Seeu 3.0 and 3.0s will work fine. But the 2.5 version and Nio version - SP
Meltdown Rin take 2 - [link] - no problems
Saihate Miku - [link] - a part of her jacket is permanently pointed upwards. Solution: use the PMDViewer to select and delete the bones attached to her jacket, but dont seem to be a part of the IK bones. (using the bone menu wont work, you have to use your mouse to do this)

*capriciously-calm 's Yellow LAT Miku [link] - no problems

~daybreak123
Saihate Hatsune and Zatsune Miku [link] : GS - MA8
Rockish punkish miku - [link] - no problems
Rolling Girl (Diva Extend type) - [link] - no problems
Joker LAT Miku - [link] - GS - MA 4, 6, 12 and 15. You may also want to delete the mesh for MA18 (fangs). Then it loads up without problems

~kurumi13 's Neko Miku v2 [link] - GS - MA MA4,11,16,17,18,19, 23,27,28,29,30,31,32 (most of them are extra facial effects)
Notably, this is among the few models with special features which dont crash MMDAgent (the other being the xenosnake models). Even her tail's physics work. Figuring out why.

~JessHolysAngel 's Electric Love, Melody Line and Sweet Devil mikus [link] - no problems whatsoever

*RavenUzuki-Chan
Punk Miku, Rin, Teto [link] - Miku and Teto - no problems. Rin - GS - MA6, 12, 24 and 33. Additionally, rin has a glasses positioning problem.

~YamiSweet :
Kokoro Rin - [link] - no problems
Rock Luka Kio type - [link] - GS


~midnighthinata
Untouchable miku [link] - Advised to use the version without wing physics. For the model with the wing physics enabled, the wings just fall to oblivion, never to be seen again. The same applies to ARToolkit_MMD
Victorian style Miku, Neru, Teto [link] , [link] , [link] . - no problems
Eager Love Revenge Lat miku [link] , - no problems
sweet lolita LAT miku [link] - no problems
Daughter of Evil and World is Mine Rin [link] [link] - no problems

~Hanaminasho
Artistic Miku [link] - GS and TNL
Snow Miku [link] - crashes
Bride Animasa Miku [link] - no problems at all
Dreamy Theather type Luka [link] - GS

~TwilightAnimeLife 's Tonio model - [link] - crashes

=Jjinomu
Rolling Girl LAT Miku [link] - no problems in MMDAgent. Shininess effect doesnt load in ARToolkit_MMD
LAT Len [link] - no problems
Meltdown Rin - [link] - TNL
Little Red Riding Miku (limited time)- [link] - TNL

*SachiShirakawa
cantarella kaito and miku version 2 [link] - no noticable problems
Kon version 2 [link] - GS
Kimono Luka [link] - GS - change Line Ambient vakue to 1 for all except MA9, 12 and 13

~DG-H
DT Append Miku [link] - crashes. May be a non-standard bone problem. Loads normally in ARToolkit_MMD though.

~Haruhi-chan4ever 's Space Miku [link] - GS

~L3nkun 's SeeU version 1.5 - [link] - GS

*shadoouge
Sekiranun Graffiti Miku [link] - her chest appears brighter than every other part of the model for some reason. Fix: change all MA diffusions set at 0.8 to 1. Shirt also has a noticeable texture change. Fix: change the texture for MA5, 6 and 7 from 4,5 and 4.bmp to 6.bmp.
Snow LAT Miku [link] - no problems

=kogaan
Kagamine Len LAT type - [link] - no problems

=kogaan 's LAT Kagamine Len - [link] - no problems

*VocaloidAddict922
Sega Meltdown Rin - [link] - ground shadow problem requires complicated fix with some tradeoffs, but can work in MMDAgent. Awaiting creator's response.

~Bloodobsessed
Disappearance LAT Rin - [link] - GS - MA28, 29 and 45.
Disappearance Miku - [link] - no problems

~Alelokk
DT Disappearance Miku ~Hanaminasho collab - [link] - crashes MMDAgent, but will load in ARToolkit_MMD. ARToolkit_MMD reveals no ground shadow, so apply the fix below and it should have shadows even in ARToolkit. Source of crash still being assessed

~Ame-Yuki 's Formal Dress LAT Miku [link] - no problems. This model loads up the shininess effect in both MMDAgent and ARToolkit_MMD

=ZiiiChan 's Rolling Girl Miku [link] - change v_nor.png to RGB and delete 01.spa association to MA15, then everything loads fine.

~Kanahiko-chan 's Beach PD Len [link] - GS

~YellowDesuCake 's Conflict Miku [link] - no problems

~iiRichie 's Summer Miku [link] - GS. Delete all MAs which use t005.spa for it to work in ARToolkit_MMD

~SatariaMityo 's Monochrome sky LAT miku [link] - no problems

Kio Gothic Miku [link] (新キオ式ミク ゴス衣装) - no problems

Masisi's Chihaya Kisaragi models - [link] - no problems


Obtained via Niconicodouga or Youtube

sm8550675 - Sazabi model - no problems
sm9965772 - Rockman zero model - no problems
sm13567741 - Piron Miku Maid models - no problems
Project Diva Snow miku - [link] - crashes
sm13824038 - 'Gosick' miku (password required) [officially discontinued. Dont bother asking me for it, i abide strictly by author's rules]
sm11360016 - petite miku - SP & (model with groove bones (Grv) causes it to crash)
sm15355081 - Heart Beats miku - no problems
sm14113395 - LAT type Neru - white, normal and black school uniforms no problem. White school uniform crashes
sm14475754 - Aoi Tori Kisaragi Chihaya - hair physics makes it defy gravity (video merely links to the download account, does not actually show the model in question)
TheAnimeLover40's Standard Rin - [link] - no problems
sm14913870 - Kyun Vampire Girl LAT Miku - PMX model - conversion to pmd required. Works normally once in PMD form.





-------------------------------------------------------------------------+++++
Current crazy ideas
-------------------------------------------------------------------------+++++
In theory, the following two projects are possible, though both of them will be extremely long because of the sheer number of keyboard detection and the inability of MMDAgent to do simple math:

Project Diva within MMDAgent - using timers and keyboard inputs, it will be possible to have a rhythm game inside MMDAgent, possibly using new models and motion data. However, detecting the time will be the single hardest part, and it gets longer and tougher depending on how many 'keys' you want to key in for a song. (World is Mine has 383 keys)

Raising Simulation - after going through some of the base ideas behind Idolmaster, it may be possible to program MMDAgent to randomly behave and evolve according to some code. The code would probably use 'emotion' variables, and its up to you to balance out these variables, decide what factors influence them, and work out scenarios on how she'ld respond to all of them. It would be a potentially endless code, even if you dont expect her to retain her personality across your usage of the program.

The ideas mentioned above are not easy one bit. It may be simple in concept, but the implementation will be brutal. If you do choose to pursue such projects, i either recommend you to program it in a simpler programming language like Warcraft Map Editor or C++. If it cant work there, dont even think about trying it with MMDAgent.
Since we now know how VALUE_GET works, it may be a lot simpler and faster compared to what i had to use before

-------------------------------------------------------------------------
References:
-------------------------------------------------------------------------
MMDAgent homepage - [link]

The wiki of MMDagent. Note that its in japanese. Google translate it if you have to: [link]

Google translate - [link]
VocaloidOtaku.net MMDAgent specific thread - [link]
Mikuchan.org MMDAgent specific thread - [link]
LAT Kagamine Rin Append Module - [link]

got a youtube video up for starters - [link]
Related content
Comments: 330

Manyanmay In reply to ??? [2012-06-05 15:33:42 +0000 UTC]

i can't understand- where to DL?? how to use??.....

👍: 0 ⏩: 1

AddestorionVayanis In reply to Manyanmay [2012-06-06 03:14:35 +0000 UTC]

go to the link mmdagent.jo in the description

left click what you need to download (description). Now, it will lead you to the Sourceforge page.
if you have popup blockers or javascript disablers (like noscript), you will need to disable them. The download will then start in about 5-15 seconds.

Then the download option will pop up, and download it.

As for how to use it... you have to read the description. the explanation is really long

👍: 0 ⏩: 1

Manyanmay In reply to AddestorionVayanis [2012-06-06 09:48:01 +0000 UTC]

I understand, but how to drop the mmdagent example? i can't do it/

👍: 0 ⏩: 1

AddestorionVayanis In reply to Manyanmay [2012-06-06 12:29:54 +0000 UTC]

you probably want to copy the contents of the mmdagent_example folder into the mmdagentwin32 folder. From there, left click and hold the mmdagent_example.mdf file, drag it directly over the mmdagent.exe icon, and then release. It should open it.

👍: 0 ⏩: 1

Manyanmay In reply to AddestorionVayanis [2012-06-08 15:58:11 +0000 UTC]

i'll try.

👍: 0 ⏩: 0

StarDream1 In reply to ??? [2012-04-22 00:50:47 +0000 UTC]

Help me. How to put Windows 100%?

👍: 0 ⏩: 1

AddestorionVayanis In reply to StarDream1 [2012-04-22 02:48:32 +0000 UTC]

drag and drop the model file onto the model in MMDAgent. But not all will work. I have not bought any windows 100% models yet, so i havent tested them out.

👍: 0 ⏩: 1

StarDream1 In reply to AddestorionVayanis [2012-04-22 02:49:06 +0000 UTC]

Ok.

👍: 0 ⏩: 0

StarDream1 In reply to ??? [2012-04-21 19:32:49 +0000 UTC]

I have Aoki Lapis Win100%. I can use MMDAgent.

👍: 0 ⏩: 0

kidkazma In reply to ??? [2012-04-09 20:34:48 +0000 UTC]

It doesn't say mmdagent exe, it only says mmdagent, why is that?

👍: 0 ⏩: 1

AddestorionVayanis In reply to kidkazma [2012-04-10 02:36:53 +0000 UTC]

probably because you've set your windows explorer to hide the file extensions, so it should just be showing up as MMDAgent in that case.

If you want to see the extensions of all your files:
Windows explorer > Organize (top left corner)> Folder & search options > View > uncheck the box for 'hide extensions for known filetypes'

👍: 0 ⏩: 0

Shin001 In reply to ??? [2012-04-02 10:55:47 +0000 UTC]

Wow! I never thought that MMD could be use like this.

👍: 0 ⏩: 1

AddestorionVayanis In reply to Shin001 [2012-04-02 14:17:25 +0000 UTC]

technically it isnt. But the people who developed this program did use the base code as the model visualization engine.

I find that it is a very interesting development of technology.

👍: 0 ⏩: 1

Shin001 In reply to AddestorionVayanis [2012-04-02 14:31:50 +0000 UTC]

I see, dang!

👍: 0 ⏩: 0

vladkorotnev In reply to ??? [2012-03-28 20:29:59 +0000 UTC]

Hi, could you please pack all the models you used here into a single ZIP and put it here for download? Thanks!

👍: 0 ⏩: 1

AddestorionVayanis In reply to vladkorotnev [2012-03-29 02:59:27 +0000 UTC]

sadly no, because most of these models have strict no-redistribution rules, but there is nothing preventing me from announcing where to download them.

Furthermore, i frequently update the list with new models i tested, so there is no guarantee that any zip file i create wont change again anyway.

👍: 0 ⏩: 1

vladkorotnev In reply to AddestorionVayanis [2012-03-29 03:22:16 +0000 UTC]

I see, thanks for your help.

👍: 0 ⏩: 0

RibbonChocola In reply to ??? [2012-03-23 14:02:17 +0000 UTC]

nee, how to move model to righ/left?
i wanna used 2 model but don't know how to move the one of them, can you tell me?

--
Yesterday was History, Tomorrow still Mystery, then Today is Story!!
- Bad english grammar QuQ-
do you....wanna play truth or dare...with me? |D

👍: 0 ⏩: 1

AddestorionVayanis In reply to RibbonChocola [2012-03-23 15:14:43 +0000 UTC]

easy way to shift models is drag and drop.

The more complicated way is to program it with some response and then change the model. The one i used is:

(initially, i made a modeltype variable and set it to 1)

the VALUE_GET will detect whats the value of a certain variable. I use this to keep track of the current model. So for me, 1 is Rin Append, 2 is LAT Miku, 3 is Gothic miku

if the 'i' key is pressed, if it detects the modeltype as 1 (rin append), it will change it to Miku LAT and change the modeltype to 2. Moving on, if it detects modeltype as 2 (Miku LAT), it will change it to Kio Miku and change modeltype to 3. Finally, it will loop it back to the beginning. If it detects modeltype is 3 (Kio miku), it will change it back to rin append and set the modeltype to 1.


1 7000 KEY|i VALUE_GET|modeltype

7000 8001 VALUE_EVENT_GET|modeltype|1 MODEL_CHANGE|mei|Model\Miku\MikuLAT\LATwhite2.pmd
7000 8002 VALUE_EVENT_GET|modeltype|2 MODEL_CHANGE|mei|Model\Miku\KioGothicmiku2\Gothicmiku2.pmd
7000 8003 VALUE_EVENT_GET|modeltype|3 MODEL_CHANGE|mei|Model\Rin\RinAppendLAT\rinappend.pmd

8001 2 VALUE_SET|modeltype|2
8002 2 VALUE_SET|modeltype|3
8003 2 VALUE_SET|modeltype|1

so with this code, every time i press the 'i' key, it will scroll through these 3 models. If you want to add more, you'll have to keep adding more lines of code.

the path cannot have spacebars in them. you'll need to rename your models accordingly. If the models are in the same folder as MMDAgent, you can straight away use the path from there. Or else, type out the full path ( like: D:\Programs\MikuMikuDanceE_v729\UserFile\Model\Rin\RinAppendLAT\rinappend.pmd

👍: 0 ⏩: 0

Enigma-Nyx In reply to ??? [2012-03-12 09:43:46 +0000 UTC]

I don't get how to edit the script to make it load a certain model on start up... I typed the location of the model, and started the program, and it didn't work right...

Also... Is it normal for it to respond to you if you say "How are you?" in the right tone? 'Cause it did for me.

👍: 0 ⏩: 2

AddestorionVayanis In reply to Enigma-Nyx [2012-03-12 10:46:26 +0000 UTC]

it is possible that the words How Are You
sounds a lot like kirei (cute)
and she's supposed to respond 'arigato' or 'hazukoshidesu'

👍: 0 ⏩: 1

Enigma-Nyx In reply to AddestorionVayanis [2012-03-13 00:28:04 +0000 UTC]

Perhaps. She usually responds with the latter one, but uses both... But I have to say it almost like "How're you?" to make her do anything.

👍: 0 ⏩: 1

AddestorionVayanis In reply to Enigma-Nyx [2012-03-13 01:02:30 +0000 UTC]

without any changes, the chance for an 'arigato' response is 20%. Kawaii, kirei work too. The list of all default words she responds to are up there under the Usage part of the description.

As for models, you can drag and drop, but some models have problems which are only visible in MMDAgent. So, there's a long list of models i already tested.

👍: 0 ⏩: 1

Enigma-Nyx In reply to AddestorionVayanis [2012-03-13 06:25:56 +0000 UTC]

Really? That's odd.

Lol Yeah. I figured that out the creepy way when a model loaded up white. xD Curse irregular textures.

👍: 0 ⏩: 1

AddestorionVayanis In reply to Enigma-Nyx [2012-03-13 08:45:58 +0000 UTC]

those textures are indexed colors, of which mmdagent cannot render even though they work fine in MMD. Your option is to convert that texture file's image type back to RGB using gimpshop, photoshop or whatever imaging program which supports channels.

👍: 0 ⏩: 1

Enigma-Nyx In reply to AddestorionVayanis [2012-03-14 00:30:22 +0000 UTC]

Hmmm I'll try that.

👍: 0 ⏩: 0

AddestorionVayanis In reply to Enigma-Nyx [2012-03-12 10:32:58 +0000 UTC]

the path to the model must be without any spacebars, so you'll need to rename your models and all the folders leading to that model so that they dont have spacebars in them.

As for her responses, it tries to transcribe what you say into japanese text, so if the transcribed text matches something that she's supposed to respond to, yes she will respond. Still, tone is quite important when practicing with her.

👍: 0 ⏩: 1

Enigma-Nyx In reply to AddestorionVayanis [2012-03-13 00:29:36 +0000 UTC]

Ah... Okay! Thanks. I got it. I can't stand looking at Mei xD My spacebar was my problem!

I see. xD Yeah. It's hard to get her to respond when your friend is making you laugh.

👍: 0 ⏩: 0

Meghan-Zurosaki In reply to ??? [2012-03-11 09:46:12 +0000 UTC]

*head spinning* @^@ Dear god, I am so confused.

👍: 0 ⏩: 1

AddestorionVayanis In reply to Meghan-Zurosaki [2012-03-11 10:14:00 +0000 UTC]

half of this is how to program her.

If you want a basic introduction to what it does, you just read Downloading, Executing and Using.

Then try these words:
konnichiwa, sayonara, homuupeji, anata wa dare, kawaii

If you want to go further, then you read on. lol

👍: 0 ⏩: 1

Meghan-Zurosaki In reply to AddestorionVayanis [2012-03-11 10:16:05 +0000 UTC]

thxs my mind just out there, because of all the MMD stuff I'm working on learning, then I add this one! XD

👍: 0 ⏩: 1

AddestorionVayanis In reply to Meghan-Zurosaki [2012-03-11 10:40:47 +0000 UTC]

youre better off learning MMD first. Most of the additional programming will be a lot more awesome with knowledge of MMD.

👍: 0 ⏩: 1

Meghan-Zurosaki In reply to AddestorionVayanis [2012-03-11 11:15:35 +0000 UTC]

Okay, thxs.

👍: 0 ⏩: 0

laughingmatter205 In reply to ??? [2012-02-23 06:30:50 +0000 UTC]

x.x for somone whos never programed b4...... is there any steps i have 2 do b4 i install this program?

👍: 0 ⏩: 1

AddestorionVayanis In reply to laughingmatter205 [2012-02-23 07:35:13 +0000 UTC]

nope. The program itself is already good to run at the startup. The sample script provided already includes some basic examples of how it can be used.

In any case, the programming only comes in when you feel as if the basic program is getting boring. The stuff you could make MMDagent do is quite vast.

👍: 0 ⏩: 0

cadegrey In reply to ??? [2012-02-21 18:45:33 +0000 UTC]

So I guess there's not hope for us 64-bit users, then.

👍: 0 ⏩: 1

AddestorionVayanis In reply to cadegrey [2012-02-22 01:20:24 +0000 UTC]

i'm a 64 bit user as well. but my windows is the windows 7 premium 64 bit.

i'm not sure if you have the same type

👍: 0 ⏩: 1

cadegrey In reply to AddestorionVayanis [2012-02-22 01:21:09 +0000 UTC]

Actually, mine is, too. XD

👍: 0 ⏩: 1

AddestorionVayanis In reply to cadegrey [2012-02-22 01:32:45 +0000 UTC]

so... describe what you're encountering.

👍: 0 ⏩: 1

cadegrey In reply to AddestorionVayanis [2012-02-22 01:33:55 +0000 UTC]

It just says it's for 32 bit, and with my past experiences with other programs, I'm pretty sure it won't work...

👍: 0 ⏩: 1

AddestorionVayanis In reply to cadegrey [2012-02-22 01:36:34 +0000 UTC]

it does. This one does not require additional .dll support files to make it work unlike other 32 bit programs like ARToolkit_MMD. And even for ARToolkit_MMD, they do provide the additional .dll files to make it work.

so, its still usable.

👍: 0 ⏩: 1

cadegrey In reply to AddestorionVayanis [2012-02-22 01:37:00 +0000 UTC]

Oh! Okay!

👍: 0 ⏩: 1

AddestorionVayanis In reply to cadegrey [2012-02-22 01:38:57 +0000 UTC]

so let me know what happens next.

doubleclicking MMDAgent.exe should merely load up a blue screen with a frame rate counter and a orange voice transcriber

you need to drag and drop mmdagent_example.mdf from the sample script folder onto MMDagent.exe to load up anything worth making sense out of

👍: 0 ⏩: 1

cadegrey In reply to AddestorionVayanis [2012-02-22 01:40:18 +0000 UTC]

I actually tried this a while back. (maybe a month or two ago) But nothing happened. And since I really don't know any Japanese, I guess I won't really be able to do anything, anyway.

👍: 0 ⏩: 1

AddestorionVayanis In reply to cadegrey [2012-02-22 01:49:59 +0000 UTC]

me neither. i'm just using google translate all the way. Since it does transcribe what you say (or what it thought you said), it makes good practice for learning japanese.

her voice recognition was calibrated against japanese newscasters, so if she transcribes your pronunciation consistently, then you could use those words as voice commands

👍: 0 ⏩: 0

CarolineShirosaki In reply to ??? [2012-02-21 03:07:40 +0000 UTC]

the zip file just has two "fst" files in it

👍: 0 ⏩: 1

AddestorionVayanis In reply to CarolineShirosaki [2012-02-21 07:43:03 +0000 UTC]

actually, you dont need the zip file in this deviation. its only for people who want to upgrade their own programming of MMDAgent.

You just need to follow the Download, Execute and Usage parts of the tutorial. I've tested the download, so it does work. Sorry for the long delay, i have bad internet where i am.

👍: 0 ⏩: 3

CarolineShirosaki In reply to AddestorionVayanis [2012-02-21 22:03:30 +0000 UTC]

i'm spamming you so much...
i made it work but the model won't show

👍: 0 ⏩: 1

AddestorionVayanis In reply to CarolineShirosaki [2012-02-22 01:17:59 +0000 UTC]

uh.... so... which is the latest comment?

got it to work? or do yo get a blue screen with a moving orange bar?

👍: 0 ⏩: 1

CarolineShirosaki In reply to AddestorionVayanis [2012-02-22 02:55:47 +0000 UTC]

no, i got MMD agent to work ^^u

👍: 0 ⏩: 0


<= Prev | | Next =>