Post: Code Browser Source Code
03-05-2011, 02:40 AM #1
BuC-ShoTz
TeamMvKâ?¢
(adsbygoogle = window.adsbygoogle || []).push({}); I see alot of people making Code Browser and Finders.
this the way i would implement it.

This allows the end users to add codes to the browser.

Based on a xml file.

This is not fully complete.

It does function, the executable is in the bin\debug folder

If you use this source code please leave credits

You must login or register to view this content.

You must login or register to view this content.
(adsbygoogle = window.adsbygoogle || []).push({});

The following 19 users say thank you to BuC-ShoTz for this useful post:

Alexis Rhodes, Chrome Playa, cjmurder123, Correy, DEREKTROTTER, DreamKidzVa, GamingPresents, Ghost1990, IVThaKiller, JakeM, Jannis96, KillaPwner, Mabez96, matt944057, maxrox, Mr.Azoz, NeglectFate, CHAOZ, TheFallen
03-05-2011, 03:31 AM #11
IVThaKiller
Gym leader
Originally posted by ShoTz View Post
its already out and i made it so it wouldnt open 1.12, so it will be useless on the 1.12 release


Converting your tool to work on 1.12 would be easy right?

P.S.: I made my first .FF Viewer out of your first Xbox to PS3 converter, and the original .FF Viewer source. It failed some times, but I just wanted to share. Hahaha.
03-05-2011, 03:36 AM #12
BuC-ShoTz
TeamMvKâ?¢
[quote='[GzP] Engine;2714244']Converting your tool to work on 1.12 would be easy right?

P.S.: I made my first .FF Viewer out of your first Xbox to PS3 converter, and the original .FF Viewer source. It failed some times, but I just wanted to share. Hahaha.[/quote]

yea i already made the functions to open 1.12

here is the function to extract the patch

    private void openMW2()
{
var reader = new Reader(path + "\\" + filename, Endian.Little, 0);
reader.Position = 37;
int count = 23;
for (int i = 0; i <= count; i++)
{
try
{
string cs = reader.ReadHexString(2, Endian.Little);
int compsize = int.Parse(cs, NumberStyles.AllowHexSpecifier);
string data = Convert.ToString(reader.Position + compsize);
byte[] zlib = reader.ReadBytes(compsize);
var cr = new Writer(path + "\\" + namefix, FileMode.OpenOrCreate, Endian.Little, 65536*i);
cr.Write(DeflateStream.UncompressBuffer(zlib));
reader.Position = Convert.ToInt32(data);
cr.Close();
cr.Close();//close mutha******
}
catch
{
}
}
reader.Close();
GetGSCs();
}


you may have to tweak it for your use
and you need Ionic.Zip.dll
03-05-2011, 03:42 AM #13
CHAOZ
Banned
nice program name Happy
03-05-2011, 03:48 AM #14
IVThaKiller
Gym leader
Originally posted by ShoTz View Post
yea i already made the functions to open 1.12

here is the function to extract the patch
    
private void openMW2()
{
var reader = new Reader(path + "\\" + filename, Endian.Little, 0); reader.Position = 37; int count = 23; for (int i = 0; i <= count; i++) { try { string cs = reader.ReadHexString(2, Endian.Little); int compsize = int.Parse(cs, NumberStyles.AllowHexSpecifier); string data = Convert.ToString(reader.Position + compsize); byte[] zlib = reader.ReadBytes(compsize); var cr = new Writer(path + "\\" + namefix, FileMode.OpenOrCreate, Endian.Little, 65536*i);
cr.Write(DeflateStream.UncompressBuffer(zlib));
reader.Position = Convert.ToInt32(data);
cr.Close();
cr.Close();
}
catch
{
}
}
reader.Close();
GetGSCs();
}


you may have to tweak it for you use
and you need Ionic.Zip.dll


I did a quick conversion to VB.NET:
        Private Sub openMW2()
Dim reader As var = New Reader((path + ("\\" + filename)), Endian.Little, 0)
reader.Position = 37
Dim count As Integer = 23
Dim i As Integer = 0
Do While (i <= count)
Try
Dim cs As String = reader.ReadHexString(2, Endian.Little)
Dim compsize As Integer = Integer.Parse(cs, NumberStyles.AllowHexSpecifier)
Dim data As String = Convert.ToString((reader.Position + compsize))
Dim zlib() As Byte = reader.ReadBytes(compsize)
Dim cr As var = New Writer((path + ("\\" + namefix)), FileMode.OpenOrCreate, Endian.Little, (65536 * i))
cr.Write(DeflateStream.UncompressBuffer(zlib))
reader.Position = Convert.ToInt32(data)
cr.Close
cr.Close
Catch As System.Exception

End Try
i = (i + 1)
Loop
reader.Close
GetGSCs
End Sub


Instead of making it so it closes if it is the newer patch, why not just make it so they need a key to unlock that part of the program? Make a config file, that saves the key after key is inputed.. Key is randomly generated online, and can only be used lets say 5 times. Also, when tool is going to get confirmed; it must be connected to the internet and into your server.

(Just basic ideas).
03-05-2011, 03:49 AM #15
BuC-ShoTz
TeamMvKâ?¢
[quote='[GzP] Engine;2714165']In that case:



Form load:

    
PingTest();


PingTest:
     Sub

public void PingTest() {
if (My.Computer.Network.Ping("74.125.229.52")) {
// IP is Google.com
// Basically put any thing here. If formload is nothing, just leave this blank.
CheckProgram();
}
else {
MsgBox = "Error: Not internet available.";
}
}


CheckProgram:
    
Command.Text = WebBrowser2.Document.GetElementById("TEXT").InnerText;
// Make sure you have a webbrowser going to a website that has HTML text on it. [URL=https://ivthakillerhd.webs.com/GSCModer/V1-2/Version1.2.htm]Here is an example that I use in one of my tools[/URL]. The Command.Text is a label


Than make sure you add this:
          if ((WebBrowser2.Document.GetElementById("TEXT").InnerText == "/doSHUTDOWN")) {
// SHUTDOWN
MsgBox("Ha, you think you can leak my tool that easily?");
}
If


HTML Code for 'TEXT':
    <a id="TEXT">/doSHUTDOWN</a> // Leave it blank for nothing to happen basically.

This was from top of my head. There is obviously more advance ways, but this works.


(Used translator. Hope it works... It should give you a basic idea I guess.)[/quote]

thats pretty slick

i never sold it anyway so its all good, i was just waitng for the 1.12 release
03-05-2011, 03:55 AM #16
IVThaKiller
Gym leader
Originally posted by ShoTz View Post
thats pretty slick

i never sold it anyway so its all good, i was just waitng for the 1.12 release


Hahah, just chillin' for now?
03-05-2011, 04:07 AM #17
Nero.
Space Ninja
Originally posted by ShoTz View Post
I see alot of people making Code Browser and Finders.
this the way i would implement it.

This allows the end users to add codes to the browser.

Based on a xml file.

This is not fully complete.

It does function, the executable is in the bin\debug folder

If you use this source code please leave credits

You must login or register to view this content.

You must login or register to view this content.


LOL
Read the top of the program LOL Cool Man (aka Tustin)

The following 5 users say thank you to Nero. for this useful post:

BuC-ShoTz, IVThaKiller, JakeM,
03-05-2011, 04:52 AM #18
JakeM
ZOMG HaXz!
Originally posted by ShoTz View Post
thats pretty slick

i never sold it anyway so its all good, i was just waitng for the 1.12 release


A bit offtopic but did you ever figure out how to convert the biggest xbox patch to Ps3?
03-05-2011, 04:56 AM #19
IVThaKiller
Gym leader
Originally posted by ShoTz View Post

this guy must be 11 years old, he is mad cause i ignored him on msn, cant help but laugh!:black:

your mommy's calling you for a diaper change and a baba


Well, we now have a plain reason why he leaked.

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo