What I am trying to do is make a front-end application for the mugen 2d fighting game engine that uses command line arguments.
Right now I am just trying to make a button that will run the mugen.exe file.
So first I tried this;
System.Diagnostics.Process.Start("C:\Users\Mary\Downloads\mugen100\mugen1\mugen.exe")
Mugen gives me an error that says it can't load data/Mugen.cfg. Data is a folder in the mugen1 directory. If I run mugen by clicking it or even with the command line it runs fine.
So I tried making a bat file for it and run that instead.
System.Diagnostics.Process.Start("C:\Users\Mary\Downloads\mugen100\mugen1\mugenbat.bat")
If I click on the bat file, no problem at all, when I run this button I get
'This appilaction has fail to start because side-by-side configuration is incorrect. Please see the application event log for more information" In the prompt.
Application even log reports back for sidebyside
"Activation context generation failed for "C:\Windows\system32\mugen.exe". Dependent Assembly Elecbyte.MUGEN.libs,processorArchitecture="x86",type="win32",version="1.0.0.0" could not be found. Please use sxstrace.exe for detailed diagnosis."
I am a noob, but "C:\Windows\system32\mugen.exe". doesn't look like the right thing to me, but hey maybe I am wrong, either way i do not know how to fix it.
Elecbyte.MUGEN.libs is in a folder inside of the mugen1 directory.
Again, mugen works and so does the bat as long as I don't run them through VB Express.
If you don't know what mugen is and just in case it is important, it can be downloaded from here,
"http://www.elecbyte.com/"]http://www.elecbyte.com/"
Thanks for any info. I am a total VB noob so I bet it is something easy or at least I hope it is.


