0% found this document useful (0 votes)
12 views9 pages

Xbox File Management Tool

The document is a C# program for a Windows Forms application named Le_Fluffie, designed to manage Xbox files and plugins. It includes functionalities for loading plugins, reading RSS feeds, updating the software, and handling various Xbox file types such as STFS, SVOD, and FATX. The application also features a user interface for file management and provides options for editing achievements and gamertags.

Uploaded by

a99flock
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
12 views9 pages

Xbox File Management Tool

The document is a C# program for a Windows Forms application named Le_Fluffie, designed to manage Xbox files and plugins. It includes functionalities for loading plugins, reading RSS feeds, updating the software, and handling various Xbox file types such as STFS, SVOD, and FATX. The application also features a user interface for file management and provides options for editing achievements and gamertags.

Uploaded by

a99flock
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

// Program is protected under GPL Licensing and Copyrighted to alias DJ Shepherd

using System;
using [Link];
using [Link];
using [Link];
using [Link];
using [Link];
using [Link];
using [Link];
using [Link];
using [Link];
using [Link];
using [Link];
using [Link];
using DevComponents;
using [Link];
using [Link];
using X360;
using [Link];
using [Link];
using [Link];
using [Link];
using [Link];
using [Link];
using [Link];
using [Link];

namespace Le_Fluffie
{
public partial class MainForm : Office2007Form
{
public List<string> Files = new List<string>();
public RSAParams PublicKV;
Updater updr = null;
bool adjusturl = true;

void startss(object devmode)


{
SS x = null;
if (!((bool)devmode))
{
x = new SS();
[Link]();
}
if (x != null)
[Link] = "Loading Plug - In's...";
try
{
ToolStripMenuItem current = new ToolStripMenuItem("Current
Plugins");
string[] flz = [Link]([Link] +
"/plugins");
foreach (string s in flz)
{
try
{
if ([Link](s) != ".dll" ||
[Link](s).ToLower() == "[Link]")
continue;
LFPlugIn v = new LFPlugIn(s);
if ([Link])
{
[Link]([Link], null, new
EventHandler(plugclick));
[Link][[Link] -
1].Tag = v;
}
}
catch { }
}
[Link](current);
[Link]("Download Plugins",
null, new EventHandler(download_click));

}
catch { }
if (x != null)
{
while ([Link])
[Link]();
}
[Link]();
}

void download_click(object sender, EventArgs e)


{
PIDownloader pid = new PIDownloader();
[Link]();
}

void readrss()
{
[Link] = false;
[Link]();
try
{
[Link] x = new [Link]();
[Link]("[Link]
[Link] y = [Link]("title");
[Link] z = [Link]("link");
for (int i = 1; i <= 20; i++)
{
ListViewItem it = new ListViewItem(y[i].InnerText);
[Link] = z[i].InnerText;
[Link](it);
}
[Link] = true;
}
catch { [Link](new ListViewItem("Connection Error")); }
try
{
StreamReader x = new
StreamReader([Link]("[Link]
ResponseStream());
[Link] += "\r\n" + [Link]();
[Link]();
}
catch { }
[Link]();
}

void upd(object devmode)


{
if (!((bool)devmode))
{
updr = new Updater();
if ([Link])
[Link]();
}
[Link]();
}

public MainForm()
{
CheckForIllegalCrossThreadCalls = false;
string proc = [Link]().ProcessName;
int id = [Link]().Id;
Process[] lst = [Link]();
foreach (Process p in lst)
{
if ([Link] != proc || [Link] == id)
continue;
[Link]("This program is already open");
[Link]().Kill();
return;
}
InitializeComponent();
[Link]([Link] +
"/[Link]");
bool devmode = [Link]() == "devenv";
Thread y = new Thread(new ParameterizedThreadStart(upd));
[Link](devmode);
Thread x = new Thread(new ParameterizedThreadStart(startss));
[Link](devmode);
[Link]();
Thread z = new Thread(new ThreadStart(readrss));
[Link]();
PublicKV = new RSAParams([Link] + "/[Link]");
if (![Link])
{
[Link]("Cannot load KV");
[Link]().Kill();
return;
}
[Link]();
while ([Link])
[Link]();
Show();
while ([Link])
[Link]();
Enabled = true;
Select();
Focus();
if (!devmode)
{
[Link]();
updr = null;
}
[Link] = true;
}

private void Form1_Resize(object sender, EventArgs e)


{
[Link]();
}

void ReadFile(string file)


{
try
{
switch ([Link](file))
{
case [Link]:
{
LogRecord x = new LogRecord();
STFSPackage xPackage = new STFSPackage(file, x);
if (![Link])
return;
PackageExplorer xExplorer = new PackageExplorer(this);
[Link]([Link]);
[Link] += new [Link]([Link]);
[Link](ref xPackage);
[Link]();
}
break;

case [Link]:
{
SVODPackage hd = new SVODPackage(file, null);
if (![Link])
return;
HDDGameForm frm = new HDDGameForm(hd, file, this);
[Link] = this;
[Link]();
}
break;

case [Link]:
{
MusicFile xfile = new MusicFile(file);
MusicView xview = new MusicView(this, file, xfile);
[Link] = this;
[Link]();
}
break;

case [Link]:
{
GameGPD y = new GameGPD(file, 0xFFFFFFFF);
GPDViewer z = new GPDViewer(y, file, this);
[Link] = this;
[Link]();
}
break;
case [Link]:
{
FATXDrive xdrive = new FATXDrive(file);
[Link](file);
FATXBrowser y = new FATXBrowser(xdrive, file, this);
[Link] = this;
[Link]();
}
break;

case [Link]:
{
StatsForm x = new StatsForm(0);
[Link] = "Select Deviation";
if ([Link]() != [Link])
return;
GDFImage ximg = new GDFImage(file, [Link]);
if (![Link])
throw new Exception("Invalid package");
GDFViewer xViewer = new GDFViewer(ximg, this);
[Link] = this;
[Link]();
}
break;

default: [Link]("Error: Unknown file"); return;


}
[Link](file);
}
catch (Exception x) { [Link]([Link]); }
}

private void openAFileToolStripMenuItem_Click(object sender, EventArgs e)


{
string file = [Link]("Open an Xbox File",
"", true);
if (file == null || [Link](file))
return;
ReadFile(file);
}

private void aboutToolStripMenuItem_Click(object sender, EventArgs e)


{
About xAbout = new About();
[Link]();
[Link]();
}

private void packageCreationToolStripMenuItem_Click(object sender,


EventArgs e)
{
PackageTypeSel xSel = new PackageTypeSel();
if ([Link]() != [Link])
return;
PackageCreatez xCreate = new PackageCreatez(this, [Link]);
[Link]();
}

private void MainForm_FormClosing(object sender, FormClosingEventArgs e)


{
[Link]();
}

private void checkForUpdatesToolStripMenuItem_Click(object sender,


EventArgs e)
{
updr = new Updater();
[Link]();
[Link]();
}

private void MainForm_Shown(object sender, EventArgs e)


{
BringToFront();
}

private void fATXExplorerToolStripMenuItem_Click(object sender, EventArgs


e)
{
Drive_Selector x = new Drive_Selector(this);
if ([Link]() != [Link])
return;
Form y = null;
if ([Link])
{
if ([Link])
y = (Form)new FATXViewer([Link],
[Link], this);
else y = (Form)new FATXBrowser([Link],
[Link], this);
[Link]([Link]);
}
else
{
if ([Link]([Link]))
return;
if ([Link])
y = (Form)new FATXViewer([Link], [Link], this);
else y = (Form)new FATXBrowser([Link], [Link], this);
}
[Link] = this;
[Link]();
}

private void donateToolStripMenuItem_Click(object sender, EventArgs e)


{
[Link]([Link]);
}

private void multiSTFSFixerToolStripMenuItem_Click(object sender, EventArgs


e)
{
[Link] = false;
MultiSTFS x = new MultiSTFS(this);
[Link] = this;
[Link]();
}
private void achievementsToolStripMenuItem_Click(object sender, EventArgs
e)
{
string xtext = "How to Edit Achievements and Add Games\r\n\r\n" +
"After you open your profile, locate the Profile>Profile Tab." +
" You will see a list of games, which is all your games played.\r\
n\r\n" +
"To unlock any of those achievements, simply click on that game and
go " +
" to the Profile>Achievements tab where you will be able to mod the
achievements." +
" Just select an achievement, mod it, hit Save Achievement, do all
that you want, " +
" and then hit Save to Profile, Save Dash GPD, vwallah.\r\n\r\
nAfter unlocking all that you want, " +
"go to the Security tab and click Fix, you are all good to go.\r\n\
r\n" +
"To add games, simple open the multiadder, locate all that you
want, and hit OK.";
Helper xhlp = new Helper(xtext, (ToolStripMenuItem)sender);
[Link] = this;
[Link]();
}

private void packageCreationToolStripMenuItem1_Click(object sender,


EventArgs e)
{
string xtext = "Package Creation\r\n\r\nEverything is pretty much self
" +
"explanitory, the one thing I do need to explain is the Deviation
for SVOD " +
"(Game) packages. If you create a clean ISO from scratch, the
Deviation will be 0, " +
"but if it was extracted from a previous SVOD package, you need to
know the Deviation from " +
"that package.";
Helper xhlp = new Helper(xtext, (ToolStripMenuItem)sender);
[Link] = this;
[Link]();
}

private void gamertagEditingToolStripMenuItem_Click(object sender,


EventArgs e)
{
string xtext = "How to Edit Your Gamertag\r\n\r\n" +
"After you open your profile, locate the Profile>Profile Tab." +
" You will see a textbox wif your gamertag in that. Simply edit
the gamertag " +
"and hit Save Account. Be sure to go to Security and hit Fix <3";
Helper xhlp = new Helper(xtext, (ToolStripMenuItem)sender);
[Link] = this;
[Link]();
}

private void MainForm_DragDrop(object sender, DragEventArgs e)


{
string[] files = (string[])[Link]([Link]);
foreach (string x in files)
ReadFile(x);
}

private void MainForm_DragEnter(object sender, DragEventArgs e)


{
if ([Link]([Link]))
[Link] = [Link];
}

void plugclick(object sender, EventArgs e)


{
string locale = [Link]("Open a File", "",
true);
if (locale == null)
return;
// Integrate log choice
STFSPackage x = new STFSPackage(locale, null);
if (![Link])
return;
try { ((LFPlugIn)((ToolStripItem)sender).Tag).[Link](new
object[] { x, (Form)this }); }
catch (Exception z) { [Link](); [Link]([Link]); }
}

private void expandablePanel1_ExpandedChanged(object sender,


ExpandedChangeEventArgs e)
{
Refresh();
}

private void listView1_DoubleClick(object sender, EventArgs e)


{
if ([Link] == 0)
return;
[Link]((string)[Link][0].Tag);
}

private void refreshChatPageToolStripMenuItem_Click(object sender,


EventArgs e)
{
adjusturl = true;
[Link] = new Uri("[Link]
[Link]();
}

private void webBrowser1_NewWindow(object sender, CancelEventArgs e)


{
[Link] = true;
}

private void webBrowser1_Navigated(object sender,


WebBrowserNavigatedEventArgs e)
{
if ([Link] == "[Link]")
return;
if (!adjusturl)
return;
try
{
while ([Link] == null)
[Link]();
HtmlElement xele = [Link]("linkSkip");
if (xele != null)
{
adjusturl = false;
[Link]([Link]("href"));
}
}
catch { }
}
}
}

You might also like