Advertise Here
Advertise Here
Advertise Here
Advertise Here
Page 29 of 42 FirstFirst ... 4192427282930313439 ... LastLast
Results 281 to 290 of 415

Thread: besttt gama loader

  1. #281
    Junior Member
    Join Date
    27-06-2009
    Posts
    15
    Uploads
    0
    Likes
    0

    Re: besttt gama loader

    Quote Originally Posted by therapia View Post
    ti mistiko ton eksetheses idi oso gia to filos se isagogika se katalava apolita min anisihis
    xairomai pou me katalabebeis synexeise tin kali douleia

    filika

  2. Advertise Here
  3. #282
    Senior Member
    Join Date
    28-04-2009
    Location
    zakinthos
    Posts
    4,202
    Uploads
    0
    Likes
    1

    Re: besttt gama loader

    Quote Originally Posted by Mr_Nice View Post
    αυτό εδώ τι είναι αν καταλαβαίνεις ξέρεις πως αλλάζονται και τα ipolipa.sou ηπα αν θέλεις design σφύρα μου και θα στο κάνω.αυτά που κανεις εσύ τα κάνει ο γιος μου τώρα στο σχόλιο.

    παίξε εσύ το παιχνίδι σου και θα σε γελάνε oli.idi έρχουν αρχίσει μερική



    ContainerControl control1 = null; // this control from VS.NET which is status label and the progress Bar.
    object[] objArray1 = (object[]) inputObject; // here we will set inputObject to an object array
    Delegate delegate1 = (Delegate) objArray1[2]; // this will changed or update the text we have seen in the status Like " Not Cleaned. Card has no ATR ".
    Delegate delegate2 = (Delegate) objArray1[3]; // this will changed or update the progress bar.
    Delegate delegate3 = (Delegate) objArray1[4]; // this one will Enable or Disable the Control in the programme.
    ArrayList list1 = (ArrayList) objArray1[1]; // we will set the CMD or Command line argument from the File to list1.
    ArrayList list2 = new ArrayList(); // we will set the Resources Text File into this list2 .. when we need to update the OS of the Card.
    control1 = (Form) objArray1[0]; // it just to set the control to refresh them or changed their value.
    byte[] buffer1 = new byte[] { 2, 1, 0, 0, 0, 0x10, 0xd8, 0xde, 0x4a, 0x9a, 50, 160, 0x3d, 0xba, 0x5c, 0x73, 0x26, 0xbf, 0x3d, 0xf7, 0xeb, 0x70}; // the cleaning byte of the cards.
    string text1 = ""; // we going to use it inside this as a variables.

    // the Check routine here is for when the user changed "6 MHz" true or false simply will changed the Baud Rate of the Serial Ports.
    if (this.chkBx6Mhz.Checked)
    {
    // we will get here when the "this.chkBx6Mhz" is equal to true.
    this.serialPort1.BaudRate = 0x2580;
    }
    else
    {
    // we will get here when the "this.chkBx6Mhz" is equal to false.
    this.serialPort1.BaudRate = 0x1658;
    }

    // here we will open the port let say it's : Com1
    this.serialPort1.Open();

    // Here the try it is a reserved word in VS.NET it must be followed with catch or finally.
    try
    {
    // here we will set the Max = 100 , Min = 0 to the progress bar Properties.
    control1.Invoke(delegate2, new object[] { 100, 0 });

    // here we will set the status label into " Getting ATR ".
    control1.Invoke(delegate1, new object[] { "Getting ATR" });

    text1 = this.ReadATR(); // here we will set the ATR of the Card to the text1.



    // check routine .
    if ((text1.Length > 0) && (text1.Substring(0, 0x1c) != "3B9F210E47414D4D414341524420"))
    {
    // we will get here if the text1 is not empty and the card is not clean.
    control1.Invoke(delegate1, new object[] { "cleaning Card" }); // here will set the status to " cleaning Card ".
    this.SendString(buffer1, buffer1.Length); // here we will send the cleaning byte to the Cards.
    }
    text1 = this.ReadATR(); // Now we will read the ATR of the Cards again which will be clean.
    // Here we will check if the text1 is not empty. If it is empty we will get this "Card has no ATR".
    if (text1.Length > 0)
    {
    // we will get here if the text1 is not empty .
    // if the ATR we have got from the card is equal to "3B9F210E47414D4D414341524420". If not we will // get this " This is not a Gammacard. The Card ATR is "
    if (text1.Substring(0, 0x1c) == "3B9F210E47414D4D414341524420")
    {
    control1.Invoke(delegate1, new object[] { "Card is empty" }); // we will set the status to " Card is empty ".
    control1.Invoke(delegate2, new object[] { list1.Count - 1, 0 }); // we will set the progress bar with // the command line argument length or size Now a checking statement which will seek this index "312E31" and report back the value if it is Higher than zero .. we will get inside the if, to update the Card OS fro the Resources Text.
    if (text1.IndexOf("312E31") > 0)
    {
    control1.Invoke(delegate1, new object[] { "Card is beeing updated" }); // here will set the status to " Card is beeing updated ".

    Stream stream1 = Assembly.GetExecutingAssembly().GetManif estResourceStream(Assembly.GetExecutingA ssembly().GetName().Name.ToString() + ".osupdate.txt"); // here we will open the resources Text file which have a hexadecimal values to update the OS of the Card.
    StreamReader reader1 = new StreamReader(stream1);
    // the while loop is to read the file line by line and we will set the value of it to our variables list2.
    while ((text1 = reader1.ReadLine()) != null)
    {
    list2.Add(text1); // here we will add each line from the resouces text to our list2.
    }
    // the for loop here we will send the data from the list2 one by one to the Card.
    for (int num1 = 0; num1 < list2.Count; num1++)
    {
    text1 = this.SendData(list2[num1].ToString());
    control1.Invoke(delegate2, new object[] { list2.Count - 1, num1 }); // update the progress Bar .
    control1.Invoke(delegate1, new object[] { "Updating Card" }); update or change the status lable into "Updating Card".
    Thread.Sleep(500); // just not to kill the performance of the software while we are still in the loop it is really heavy one.
    }
    // this loop is for a user inform not that important.
    for (int num2 = 30; num2 > 0; num2--)
    {
    control1.Invoke(delegate1, new object[] { "Card is working. Please wait. (" + num2.ToString() + ")" }); // just a user inform.
    Thread.Sleep(0x3e8); // just not to kill the performance of the software while we are still in the loop it is really heavy one.
    }
    this.ReadATR(); // Now We will read the ATR of the Card if it fails the port Will close.
    control1.Invoke(delegate1, new object[] { "Update is done" }); // update or change status lable
    }
    // the for loop here we will gonna through the Command line Argument one by one
    // Send them to the Cards.
    for (int num3 = 0; num3 < list1.Count; num3++)
    {
    text1 = this.SendData(list1[num3].ToString()); // here is the function which will send the CMD.
    control1.Invoke(delegate2, new object[] { list1.Count - 1, num3 }); // update or change progress bar.
    control1.Invoke(delegate1, new object[] { "Programming Card" });// update or change status.
    // here is a check statement if the text1 which is the return from " this.SendData" is empty, then we will see a " Card Timeout " and we will exit from the loop here.
    if (text1 == "")
    {
    control1.Invoke(delegate1, new object[] { "Card Timeout" });
    break;
    }
    }
    control1.Invoke(delegate1, new object[] { "Successfully programmed" }); // Update or change the status.
    }
    else
    {
    // we will get here if the text1 above is an empty.
    control1.Invoke(delegate1, new object[] { "This is not a Gammacard. The Card ATR is " + text1 });
    }
    }
    else
    {
    // we will get here if the text1 above is an empty.
    control1.Invoke(delegate1, new object[] { "Card has no ATR" });
    }
    }
    finally
    {
    this.serialPort1.Close(); // we will get here if this procedure is end or catche's an error.
    }
    control1.Invoke(delegate3); // here we will Enable the Control or button in the form.
    }

    }

    Now the Read ATR Function which will be called from the Main Procedure:

    private string ReadATR()
    {
    // Here is the variable Scope.
    string text1 = ""; // we will use it to return back the Card ATR.
    byte[] buffer1 = new byte[0x100]; // buffer to read the the Data from the Card.
    this.serialPort1.RtsEnable = true; // I Suppose every body know what does : RTS, Mean.
    this.serialPort1.DiscardOutBuffer(); // don't know yet. but it is a reserved Words.
    this.serialPort1.DiscardInBuffer(); // don't know yet. but it is a reserved Words.
    this.serialPort1.RtsEnable = false;
    this.serialPort1.ReadTimeout = 0x3e8; // this the read time out to close the Port when we reach thisa Time in Hexadecimal.
    try
    {
    // The loop here is gonna read the data from the serial port which is Programmer that have the GammaCard on it.
    for (int num1 = 0; num1 < 0x20; num1++)
    {
    this.serialPort1.Read(buffer1, 0, 1); // here we will read the data from the serial ports.
    text1 = text1 + buffer1[0].ToString("X2"); // here we will set the two Hexadecimal to the text1 while we are in the loop.
    }
    }
    catch
    {
    }
    return text1; // here we will return back the string we have got from the card which is the Card ATR.
    }


    Now SendData Function which will be called from the Main Procedure:

    private string SendData(string DataOut)
    {
    string text1 = ""; // we will use it to set our buffer.
    byte[] buffer1 = new byte[0x100]; // buffer to read from the serial ports.
    // the loop here to set the buffer from the DataOut.
    for (int num1 = 0; num1 < (DataOut.Length >> 1); num1++)
    {
    text1 = DataOut[num1 * 2].ToString();
    text1 = text1 + DataOut[(num1 * 2) + 1].ToString();
    buffer1[num1] = byte.Parse(text1, NumberStyles.HexNumber);
    }
    return this.SendString(buffer1, DataOut.Length >> 1); // we will call function name "SendString" which will return the string. also we will send our variables between () to it.
    }

    Now SendString Function wich will be called from the above.

    private string SendString(byte[] Output, int OutLength)
    {
    string text1 = "";
    byte[] buffer1 = new byte[0x100];
    this.serialPort1.Write(Output, 0, OutLength); // here we will send the data to the serial port or actually to the card.
    buffer1[0] = 0x3f; // here we will set the buffer zero into 0x3f.
    // here a loop which i didn't understand it very well. at least now.
    for (int num1 = 0; num1 < OutLength; num1++)
    {
    buffer1[0] = (byte) (buffer1[0] ^ Output[num1]); // buffer[0] XOR Output[num1] and Converted to byte.
    }
    this.serialPort1.Write(buffer1, 0, 1); // here we will send the data to the serial port or actually to the card.
    try
    {
    this.serialPort1.ReadTimeout = 0x1388; // here we will set the read time out to 0x1388.

    for (int num2 = 0; num2 < 0xff; num2++)
    {
    this.serialPort1.Read(buffer1, num2, 1); // here we will read the byte from the serial port every time num2 changed until this number 0xff.
    text1 += buffer1[num2].ToString("X2") + " "; // here we will set two Hexadecimal to the text every time num2 changed until this number 0xff.
    // Check statement if num2 is equal to OutLength then Clear text1.
    if (num2 == OutLength)
    {
    text1 = "";
    }
    // Check statement if num2 is higher than OutLength plus 3 then change the Read Time out to 100.
    if (num2 > (OutLength + 3))
    {
    this.serialPort1.ReadTimeout = 100;
    }
    }
    }
    catch
    {
    }
    return text1; // here we will return back the string or hexadecimal we have got from the above procedure.
    }

    - About the button Load File .

    All we need to know is just that is gonna read the File ...
    and all the String or Hexadecimal Value in this Section between <cmd> Hexadecimal values </cmd> in either Nova_20070225.gam, Showtime_20070225.gam or any new file.
    will be set into this public Variables : CardCMDs;

    - Now the Clean Button :

    private void bnCleancard_Click(object sender, EventArgs e)
    {
    this.edtStatus.Text = ""; // we will set the Status Lable to empty.
    string text1 = ""; // we will need's it below.
    byte[] buffer1 = new byte[] { 2, 1, 0, 0, 0, 0x10, 0xd8, 0xde, 0x4a, 0x9a, 50, 160, 0x3d, 0xba, 0x5c, 0x73, 0x26, 0xbf, 0x3d, 0xf7, 0xeb, 0x70}; // this byte array is to clean the card which the same as the one we can found in the main procedure.
    // Check Statement the same as the one we can found in the main procedure.
    if (this.chkBx6Mhz.Checked)
    {
    this.serialPort1.BaudRate = 0x2580;
    }
    else
    {
    this.serialPort1.BaudRate = 0x1658;
    }
    this.serialPort1.PortName = this.cBxPort.Text.ToString(); // here we will set the port name properties.
    this.serialPort1.Open(); // here we will open the port.
    try
    {
    this.ReadATR(); // here we will read the Card ATR.
    this.SendString(buffer1, buffer1.Length); // here we will send the Cleaning byte to the Card.
    text1 = this.ReadATR(); // here we will read the Card ATR Again after we have Cleaned it.
    // Check Statement if the text1 is empty then we will see "Not Cleaned. Card has no ATR" in the status.
    if (text1.Length > 0)
    {
    // Check Statement if the text1 from 0 to 0x1c .. is equal to "3B9F210E47414D4D414341524420" then we will see the "Card Cleaned" in the status otherwise "Not Cleaned. The Card ATR is" .
    if (text1.Substring(0, 0x1c) == "3B9F210E47414D4D414341524420")
    {
    this.edtStatus.Text = "Card Cleaned";
    }
    else
    {
    this.edtStatus.Text = "Not Cleaned. The Card ATR is " + text1;
    }
    }
    else
    {
    // we will get here if the text1 is empty.
    this.edtStatus.Text = "Not Cleaned. Card has no ATR";
    }
    }
    finally
    {
    // we will get here if the above procedure is done.
    this.serialPort1.Close();
    }
    }
    herome bou boris na voithisis akou thelo na alaksis hroma stin bara apo prasini na tin kanis ble kseris pia leo afti pou fortoni kai na valis iho vale mia gata na niaourizi molis grapsi succesfull an to kanis tha sou ime ipohreos

  4. #283
    CCCAM GURU xaniaras's Avatar
    Join Date
    01-11-2008
    Location
    GREECE
    Posts
    2,652
    Uploads
    10
    Likes
    0

    Re: besttt gama loader

    Quote Originally Posted by dyndns View Post
    xaniaras pos to legane auto to programmataki tis Borland
    Workshop Resource Edit?
    Prin 10 hronia oloi oi pseutohacker tohane psomotyri

    An kapoios ehei pragmatika 2 mpales sto panteloni anevazei
    kapou sto 'mediafire' ton source code.


    Kapou tha ksethapsoume akoma kai assembler compiler



    etsi etsi ...ta palia kala disassembler filaraki



    to pragmatiko onoma tou arxeiou aytou kseris pio einai


    Struc has Child(ren). Size: 564 bytes.

    Child Type: StringFileInfo
    Language/Code Page: 0/1200
    Comments: paparies
    FileDescription: paparies
    FileVersion: 1.0.0.0
    InternalName: @@@dia.exe
    OriginalFilename: paparies.exe
    ProductName: paparies
    ProductVersion: 1.0.0.0
    Assembly Version: 1.0.0.0

    Child Type: VarFileInfo
    Translation: 0/1200

    as mou pi emena oti to pragmatiko onoma tou besttt loader
    den einai paparies.exe therapia???

    tora den exo xrono aurio 8a to kano xaniaras loader version 2009 kai 8a to anevaso edo

  5. #284
    Junior Member
    Join Date
    22-04-2009
    Posts
    11
    Uploads
    0
    Likes
    0

    Re: besttt gama loader

    Quote Originally Posted by therapia View Post
    vre pan haze pios sou ipe na to katevasis kai fisika ine diko mou 4 imeres pedeftika na to ftiakso ola ine aliotika to net framework 3.5 ta minimata pou vgazi ine ala ta ikonidia alla pia doulia ton alon vre vlamene?ehi o gamma loader koubi exit?

    ine poli efkolo kanis compile sto programma to version 2 se version 3,5

    bazis ena koumbi to obomazis exi

    grafis sto compiler

    me close()

    kai exis exit koumbi

    ta popup ta metaonomazis mono etsi den kanoun file programmataki

    rota tous programmatistes kai tha se poun pos kanoun programmatakia

  6. #285
    VIP Member dyndns's Avatar
    Join Date
    17-05-2009
    Location
    παραθαλάσσια
    Posts
    1,575
    Uploads
    7
    Likes
    0

    Re: besttt gama loader

    Mr. Nice
    an anehesai ligo kritiki...
    ponaei na diavazo auto to kommati pou anevases

    Epeidi variemai na mpo se analytikes leptomereies:
    <<< finally() is completely unnecessary in C++!!
    Using auto objects inside a try-block guarantees their destruction.
    Since objects' destructors run whether an exception has occurred or not, they are the proper place for releasing resources.>>>
    kai hardcode san
    <<< if .... != "3B9F210E47414D4D414341524420"))
    den hrisimopoioun oute oi programmatistes ton 150 Euro apo India

  7. #286
    Senior Member
    Join Date
    28-04-2009
    Location
    zakinthos
    Posts
    4,202
    Uploads
    0
    Likes
    1

    Re: besttt gama loader

    Quote Originally Posted by sakis65 View Post
    ine poli efkolo kanis compile sto programma to version 2 se version 3,5

    bazis ena koumbi to obomazis exi

    grafis sto compiler

    me close()

    kai exis exit koumbi

    ta popup ta metaonomazis mono etsi den kanoun file programmataki

    rota tous programmatistes kai tha se poun pos kanoun programmatakia
    vazis kai ena alo koubi kai vgaini mia hontri ha ha ha ti orea perigrafi vre pos ta vazis etsi ta koubia

  8. #287
    Junior Member
    Join Date
    22-04-2009
    Posts
    11
    Uploads
    0
    Likes
    0

    Re: besttt gama loader

    me to visual studio file kai den nomizo na exis gnosis programmatizmou allios tha ikssere poso efkolo ine na balis ena exit button

  9. #288
    CCCAM GURU xaniaras's Avatar
    Join Date
    01-11-2008
    Location
    GREECE
    Posts
    2,652
    Uploads
    10
    Likes
    0

    Re: besttt gama loader

    Quote Originally Posted by dyndns View Post
    Mr. Nice
    an anehesai ligo kritiki...
    ponaei na diavazo auto to kommati pou anevases

    Epeidi variemai na mpo se analytikes leptomereies:
    <<< finally() is completely unnecessary in C++!!
    Using auto objects inside a try-block guarantees their destruction.
    Since objects' destructors run whether an exception has occurred or not, they are the proper place for releasing resources.>>>
    kai hardcode san
    <<< if .... != "3B9F210E47414D4D414341524420"))
    den hrisimopoioun oute oi programmatistes ton 150 Euro apo India
    xaxaxax

    ta resta mou kai ena taxi na figo ...akou programatistes apo
    india ...malon programatistes apo germania se Assembly mou
    kani emena ...

  10. #289
    Senior Member
    Join Date
    28-04-2009
    Location
    zakinthos
    Posts
    4,202
    Uploads
    0
    Likes
    1

    Re: besttt gama loader

    Quote Originally Posted by sakis65 View Post
    me to visual studio file kai den nomizo na exis gnosis programmatizmou allios tha ikssere poso efkolo ine na balis ena exit button
    orea esi pou ehis kane mou tin hari na alaksis hroma stin bara fortomatos apo prasini se ble kai na valis iho ota grafi succesfull loade mia gata pou niaourizi

  11. #290
    Junior Member
    Join Date
    22-04-2009
    Posts
    11
    Uploads
    0
    Likes
    0

    Re: besttt gama loader

    siga re megale se ligo tha mas pis oti kai jafto efages 20 ores

    RectangleColor() eki bazis oti xroma thelis an kseris fisika

    kai pou blepis to prowblima stin mousiki den katalaba

Advertise Here

Similar Threads

  1. besttt gamma loader with emk v5.1
    By JOHNNY GR in forum Gamma Card
    Replies: 0
    Last Post: 21-01-2010, 15:16:37
  2. help needed, Problems with besttt loader ATR
    By kozzos in forum Gamma Card
    Replies: 1
    Last Post: 02-09-2009, 06:05:46
  3. Question besttt loader crashes (using CAS3+)
    By l_square in forum Gamma Card
    Replies: 3
    Last Post: 20-08-2009, 13:29:22
  4. Question Does anyone know where I found Besttt loader 2.1
    By josif01 in forum Gamma Card
    Replies: 2
    Last Post: 07-08-2009, 15:20:28
  5. besttt loader version 2.0 with bes file
    By therapia in forum Greek / Ελληνικά
    Replies: 43
    Last Post: 11-07-2009, 23:07:31

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •