
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
namespace MW2_Motd_Modder
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
openFileDialog1.ShowDialog();
}
private void button1_Click(object sender, EventArgs e)
{
}
private void button2_Click(object sender, EventArgs e)
{
BinaryWriter Bw = new BinaryWriter(File.OpenWrite(openFileDialog1.FileName));
for (int i = 0x4E; i <= 0x156; i++)
{
Bw.BaseStream.Position = i;
Bw.Write(textBox1.Text);
}
Bw.Close();
}
}
}
PICHU.

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;
namespace MW2_Motd_Modder
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void Form1_Load(object sender, EventArgs e)
{
openFileDialog1.ShowDialog();
}
private void button1_Click(object sender, EventArgs e)
{
}
private void button2_Click(object sender, EventArgs e)
{
BinaryWriter Bw = new BinaryWriter(File.OpenWrite(openFileDialog1.FileName));
for (int i = 0x4E; i <= 0x156; i++)
{
Bw.BaseStream.Position = i;
Bw.Write(textBox1.Text);
}
Bw.Close();
}
}
}
OpenFileDialog ofd = new OpenFileDialog();
restartdialog:
if (ofd.ShowDialog() == DialogResult.OK)
{
BinaryWriter Bw = new BinaryWriter(File.OpenWrite(ofd.FileName));
for (int i = 0x4E; i <= 0x156; i++)
{
Bw.BaseStream.Position = i;
Bw.Write(textBox1.Text);
}
Bw.Close();
}
else
{
DialogResult error = MessageBox.Show("You did not select anything! Do you wish to continue or quit the application?", "Warning", MessageBoxButtons.RetryCancel);
if (error == DialogResult.Retry)
{
goto restartdialog;
}
else
{
Close();
}
}
OpenFileDialog ofd = new OpenFileDialog();
restartdialog:
if (ofd.ShowDialog() == DialogResult.OK)
{
BinaryWriter Bw = new BinaryWriter(File.OpenWrite(ofd.FileName));
for (int i = 0x4E; i <= 0x156; i++)
{
Bw.BaseStream.Position = i;
Bw.Write(textBox1.Text);
}
Bw.Close();
}
else
{
DialogResult error = MessageBox.Show("You did not select anything! Do you wish to continue or quit the application?", "Warning", MessageBoxButtons.RetryCancel);
if (error == DialogResult.Retry)
{
goto restartdialog;
}
else
{
Close();
}
}
Copyright © 2026, NextGenUpdate.
All Rights Reserved.