password, text help thing...

This is a discussion on password, text help thing... within the Tech Board forums, part of the Community Boards category; I have this program I made... it doesn't do much but... It takes a file and takes it apart byte ...

  1. #1
    Registered User
    Join Date
    Aug 2004
    Posts
    731

    password, text help thing...

    I have this program I made... it doesn't do much but...

    It takes a file and takes it apart byte by byte and puts it together in a txt file. (Or a file type of yoru choice).

    But now when I put it into a file it comes out like this...

    Code:
    Ћ  H@M̉EsmЋF+ًMLF   ujE   X/E   #}   MMM	
    UE؃;rm
    E @ #M+]M+؋FmЋN  U;  }u  DEe DUAMu
    Well I was wondering if that type of "code" is even possible to read.

  2. #2
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    >It takes a file and takes it apart byte by byte and puts it together in a txt file.
    To what end?

    >Well I was wondering if that type of "code" is even possible to read.
    Not with my character encoding setup.
    My best code is written with the delete key.

  3. #3
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    I have no idea what you are trying to do. If a file contained readable characters, and your program translates it into garbage, then your program is probably not right. If it was not readable before, then it won't be readable afterwards - garbage in, garbage out.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  4. #4
    Registered User
    Join Date
    Aug 2004
    Posts
    731
    well that is the problem also.

    This isn't making any sence to me, but when I use a hex editor it displys the same thing.

    Notepad reads bytes as characters so when I through a byte in a .txt file notepad reads it has the character not the byte number.

    And this is my first time working with "raw" code type stuff.

  5. #5
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    >And this is my first time working with "raw" code type stuff.
    Raw code type stuff almost always shows up as garbage when translated into the available character encodings for viewing as text.
    My best code is written with the delete key.

  6. #6
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    I still am not clear what you are trying to do. If you try to display, for example, a .exe you will see apparently random garbage from the character set you have loaded for your language.

    Give us an example of what you are reading, what you are expecting and what you are getting.
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  7. #7
    Registered User
    Join Date
    Aug 2004
    Posts
    731
    Well saddly yes...

    I took a exe and turned it into a .txt.

    And your right I got no were. Is there anythign that could translate (let's say) Delphi exes?

  8. #8
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    Translate into what? Are you trying to decompile programs? You can get programs that convert binary machine language into higher up languages. I've only seen them go to assembly, and Java can be converted from byte codes back to source (C# can too). But it sounds like you really don't understand what is going on under the surface, and I suggest that before you start messing with machine language, you learn, at the very least, assembly and the principles surrounding it.

  9. #9
    Registered User
    Join Date
    Aug 2004
    Posts
    731
    yes my uncle did assembly for a job once. He was telling about that a little.

    Well I think I am gong to give up on that, but I have anoutehr question but I started anouther topic for that because it is completely different.

  10. #10
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    Would You Stop That!?

  11. #11
    Registered User
    Join Date
    Aug 2004
    Posts
    731
    stop what?

    and sorry for what ever I did to annoy you.

  12. #12
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    You start a new project every 2 days! We help you with one, spend time finding resources for you, and then at the first sign of trouble you change your mind and move onto something else.

  13. #13
    Registered User
    Join Date
    Aug 2004
    Posts
    731
    sorry I try not to, but there is no way I can do with this project, and both projects are linked.

    If you want to know what I am realy doing is trying to hack games. I am determained to hack game maker games even if my own.

    I myself have spent hours and hours trying to do stuff. Compairing files and text and everythign I can think of.

    And everythign I ask still helps me even if I quit. That is the most important thing I have learned on this forum and that is what you guys taut me if you taut me anythign at all.

    And yes I do appreciate your help and I do know how you feel because I help people with game maker and I do alot for a person but they didn't like it.

  14. #14
    Super Moderator
    Join Date
    Sep 2001
    Posts
    4,913
    Well I'm sorry I brought it up, but please try in future to do a bit more research on a subject before you come to us for help on the project.

    edit: And what you are trying to do sounds a tad against forum rules. I would check with a mod before proceeding to a flaming.
    Last edited by sean; 12-27-2004 at 07:37 PM.

  15. #15
    Registered User
    Join Date
    Aug 2004
    Posts
    731
    yes yes I know I have ben now.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. A bunch of Linker Errors...
    By Junior89 in forum Windows Programming
    Replies: 4
    Last Post: 01-06-2006, 02:59 PM
  2. struct question
    By caduardo21 in forum Windows Programming
    Replies: 5
    Last Post: 01-31-2005, 04:49 PM
  3. little text thing that is above your avatar
    By canine in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 08-31-2002, 08:12 PM
  4. Accessing a Specific Text Line Inside CEditView :: MFC
    By kuphryn in forum Windows Programming
    Replies: 2
    Last Post: 04-14-2002, 09:12 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21