Résolu J'ai besoin d'aide pour créer mon eboot builder C#

DUB-STEP-VEZZ

Membre
Inscription
31 Août 2013
Messages
42
Réactions
2
Points
11 144
salut a tous je voudrais creer mon eboot builder MW2 , jarrive a creez l' eboot mais (vide) si je coche (redbox, staidy aim , etc ) sa me dit exeption non generé sa me ramene au codage.



void build(Build type)
{
Random rand = new Random();
if (rand.Next(0, 1000000) % 1000 == 0)
status.Text = "Infiltrating Rebel forces....";
else
status.Text = "Working...";

Modz mods = new Modz();

if (invchar.Checked)
mods.inv_char = 0x60000000;

if (steadyAim.Checked)
mods.steady_aim = 0x2F800000;

if (noRecoil.Checked)
mods.no_recoil = 0x18BAB0;

if (redBoxe.Checked)
mods.red_boxe = 0x2f800001;

if (laser.Checked)
mods.la_ser = 0x60000000;


if (loadsprx.Checked && !string.IsNullOrEmpty(sprxName.Text))
mods.load_sprx = sprxName.Text;


switch (Functions.compile(eboot_buffer, mods, Build.npeb_debug))
{
case "good":
status.Text = "Successfully created EBOOT";
break;
case "nodir":
status.Text = "ERROR: \"tools\" directory is missing. Please redownload and extract all files and folders!";
break;
case "noeboot":
status.Text = "ERROR: Failed to build EBOOT. Please try again.";
break;
}
}
 
Haut