Experienced Elementalist
- Joined
- Aug 26, 2012
- Messages
- 248
- Reaction score
- 49
Step 1:
Include these files in your emu source and add them to your project.
If your not sure on how to do it google it xD
Step 2:
Go to program.cs and edit
to this
Step 3:
on Program.cs add at the top
there you go it really simple you can do so much with this xD surprised no one else hasn't done it so simple (if there a better way to do it dont mind telling) ive made it so you dont need a console at all but i can remove most off the Console.write and logging.write and so on so this a simpler ver and the console still shows if you know what your doing you go make it in to a full housekeeping.
Print screen:
You must be registered to see links
Include these files in your emu source and add them to your project.
If your not sure on how to do it google it xD
Step 2:
Go to program.cs and edit
PHP:
while (SilverwaveEnvironment.isLive)
{
Console.CursorVisible = true;
if (Logging.DisabledState)
Console.Write("silverwave> ");
ConsoleCommandHandeling.InvokeCommand(Console.ReadLine());
}
}
public static void InitEnvironment()
{
if (!SilverwaveEnvironment.isLive)
{
Console.ForegroundColor = ConsoleColor.White;
Console.CursorVisible = false;
AppDomain currentDomain = AppDomain.CurrentDomain;
currentDomain.UnhandledException += new UnhandledExceptionEventHandler(MyHandler);
SilverwaveEnvironment.Initialize();
}
}
PHP:
while (SilverwaveEnvironment.isLive)
{
Console.CursorVisible = true;
if (Logging.DisabledState)
Console.Write("silverwave> ");
ConsoleCommandHandeling.InvokeCommand(Console.ReadLine());
Application.EnableVisualStyles();
Application.Run(new EmuUi.Form1());
Application.DoEvents();
EmuUi.Form1 emu = new EmuUi.Form1();
emu.Activate();
emu.Show();
}
}
public static void InitEnvironment()
{
if (!SilverwaveEnvironment.isLive)
{
Console.ForegroundColor = ConsoleColor.White;
Console.CursorVisible = false;
AppDomain currentDomain = AppDomain.CurrentDomain;
currentDomain.UnhandledException += new UnhandledExceptionEventHandler(MyHandler);
Application.EnableVisualStyles();
Application.Run(new EmuUi.Form1());
Application.DoEvents();
EmuUi.Form1 emu = new EmuUi.Form1();
emu.Activate();
emu.Show();
emu.Activate();
emu.Show();
// SilverwaveEnvironment.Initialize();
}
}
on Program.cs add at the top
PHP:
using System.Windows.Forms;
there you go it really simple you can do so much with this xD surprised no one else hasn't done it so simple (if there a better way to do it dont mind telling) ive made it so you dont need a console at all but i can remove most off the Console.write and logging.write and so on so this a simpler ver and the console still shows if you know what your doing you go make it in to a full housekeeping.
Print screen:
You must be registered to see links
You must be registered to see links
You must be registered to see links