Image to Text Thing

Anything related in any way to game development as a whole is welcome here. Tell us about your game, grace us with your project, show us your new YouTube video, etc.

Moderator: PC Supremacists

Post Reply

Would this...err...image encryption apparatus be of any use? o.o

Umm...no. (I'm a fe-male! o.o)
0
No votes
VERY YES! (I'm male and proud!)
4
100%
VERY NO!! (I don't like hiding...umm...images? o.o)
0
No votes
Yes. (Maybe it could come in handy, some day.)
0
No votes
Hamm Sammich. (I don't like discussing me and my hidden images! o_O)
0
No votes
 
Total votes: 4

Guest

Image to Text Thing

Post by Guest »

I had/might still have a goal, which is to make a sprite ripping program. What it'd do is load, say, a screen shot of a game. Then it'd divide it up into 16x16 pieces, and make each piece an array. Next, it'd compare every part of the array and delete any parts that it has a copy of, to keep from ripping multiple of the same tile. Then, one by one, with each array that doesn't have a match; it'd draw to the screen, and save to a .bmp. You would still get some junk tiles, but you'd basically get all of them on the screen. (Junk tiles, as in, it making separate tiles out of where your mouse is, or your character). But that'd be okay, I guess, you can just delete them....Anyway, to do that, I decided to make a few practice programs first.

My first attempt failed so bad that my computer froze and i had to reboot.

My second attempt actually did pretty good, and I even remembered to lock buffers this time. :) Anyway, my second attempt actually developed into a sub-par program that might actually be useful. What I did was practice making images text and back. So I made it so you can load an image, convert and save it as ASCI text, delete the original image and still be able to view the image in the program.(the RGB of each pixel of teh image is saved, when loaded they are put into an array and redrawn.)

Anyway, to make a long story short, I have an image encryptor type deal. If you have a picture or something you don't want to be found, or you just want to mess around, take the image, name it "JD" (don't ask why I chose that name. o.o) and then run the program. It'll prompt you for a username and password, if the password is incorrect, it'll instantly close. If correct, it'll open a menu. It tells the valid command. Anyway, hit the "1" button (load an image into the array), then hit "f1" (save image to a text file). Now, hit "esc" (terminate program) and delete the image. Open the program again, this time hit "f2" (load .txt file into array) and "s" to view. (Don't worry, the main menu has a display of commands.) And if you have multiple saved .txt files that you want to view, once you are viewing an image, use arrows to scroll through them. Below, hopefully, will be some screenz.

What is the point of this program? It was originally intended for practice, as mentioned above. But, as i said, it may be useful. because it is password protected, and it allows you to delete the original image and still view it, it's pretty good. And, it saves it with ASCII, making it appear as hundreds of unreadable symbols. This would be perfect for...say..hiding an image? Why would you want to hide an image? Use your imagination. :mrgreen:


Okay, be happy everyone, I used paragraphs. NO COMPLAINING THIS TIME!

YES! Yay for free image hosting!

Image
That is a picture of that ghetto password box. But it works aight.

Image
A picture of the main menu. I shrank all these pictures a little, I hope youc an still read it. remember, this program took under 30 minutes to make, it works, but isn't pretty (without pretty pictures, that is. :))

Image
Just to show you, ANY unsuspecting person would not think THIS is an image. Seriously, who would make a whole program to decode that garbage, not even knowing if it's an image? o.o

Anyway, I would post a picture of what it looks liek when you view an image, but I don't have any good ones for POSTING. So, use your imagination. :)

Anyone actually WANT that random program? Tell me, I'll e-mail it. Zipped, it's about 400 KB.

It's getting late, so night. Please vote on the poll, I don't care what you say, because I didn't intend to make a USEFUL program. But now that it's make, I want to know if it IS actaully useful to anyone.
Last edited by Guest on Tue Jan 25, 2005 9:31 pm, edited 4 times in total.
User avatar
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
Posts: 10294
Joined: Thu May 20, 2004 2:04 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Dreamcast, SNES, NES
Programming Language of Choice: C/++
Location: Studio Vorbis, AL
Contact:

Post by Falco Girgis »

This is what Arce uses when he doesn't want to get caught looking at porn. :roll:

I commend him though, it's a great idea and I'm sure it'll be useful to every single teen out there who is constantly hiding their pr0n from their parents.

Congratulations, you've not only made the best post that you've ever made in your life, but you've also contributed a huge breakthrough in the pr0n media.

I'm serious, great job.
User avatar
JS Lemming
Game Developer
Game Developer
Posts: 2383
Joined: Fri May 21, 2004 4:09 pm
Location: C:\CON\CON

Post by JS Lemming »

Arce, I was planning on makeing a tile ripper a while ago. But if you want to I won't bother. :spin:
Small girl at the harbor wrote:Look Brandon, that crab's got ham!
Guest

Post by Guest »

OMFG, what type of pig would use that for PORN? O.O

It's for...errr...taking...errr...making code meassages. Yeah that's it, making code meassages. :oops:

Aww, wtf. Porn is true, I won't lie...x.x

Anyway, JS Lemming, yes I am still wanting to make that ripper. However, it'll take me a while. If you want to make one, feel free. x.x

BUT, I was ALSO planning on making a level re-creator! That might be a bit hard, and maybe impossible, but I think I can. It'll do the same as the image ripper, save them in arrays, but also it'll save all the tiles in arrays. It'll compare the tiles with the image, and if they match, return the tile number. So it'll create the array for you. Example:

egg = 1
pipe = 2
:pipe: :egg: :egg: :egg:
:pipe: :pipe: :pipe: :egg:
:egg: :egg: :pipe: :pipe:
:egg: :pipe: :pipe: :pipe:

It'll load one copy of ":egg:" in an array, and when it splits the image, it'll compare them. If the :egg: array equals that part of the screen, return 2. Then, in the main array, put a two. So it'll make the array to create the level for you. See what I mean? I doubt it. but whatever.

2111
2221
1122
1222

O.o
O.o
O.O
User avatar
spideyspiderman2000
Chaos Rift Demigod
Chaos Rift Demigod
Posts: 1177
Joined: Fri Sep 17, 2004 9:28 pm
Location: Stupid Kansas
Contact:

Post by spideyspiderman2000 »

Cool. Looks useful and stuff.
South Park wrote:Mr Garrison: Okay class. Can anybody tell me what "Sexual Harrassment" is?

Cartman: Isn't that when you're having intercourse with a special lady friend, and some other guy comes up behind you and tickles your balls?
I HATE Jack Thompson!
User avatar
JS Lemming
Game Developer
Game Developer
Posts: 2383
Joined: Fri May 21, 2004 4:09 pm
Location: C:\CON\CON

Post by JS Lemming »

Ermmm. I don't think a level re-creator would be practical. It would only recret a screen shot sized area. You can go ahead and make the ripper arce, I have a mini game to shred together.
Small girl at the harbor wrote:Look Brandon, that crab's got ham!
User avatar
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
Posts: 10294
Joined: Thu May 20, 2004 2:04 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Dreamcast, SNES, NES
Programming Language of Choice: C/++
Location: Studio Vorbis, AL
Contact:

Post by Falco Girgis »

Well now that everybody knows of its existance and point, you may as well post its development. What is wrong with people knowing about it? That'll just make it more popular and it's always a good thing to have a "dev-journal" sort of thing when you finish a project.

My "Game Careers and Design" book says that potential employers are most interested in seeing dev-journals than anything else. That's why all of my stuff has a nice "dev topic".
Guest

Post by Guest »

Ermmm. I don't think a level re-creator would be practical. It would only recret a screen shot sized area. You can go ahead and make the ripper arce, I have a mini game to shred together.
There are multiple web sites where people with *LOTS* of spare time take like 20 screen shots of a full NES level, and put them all together, edit out charactors, and allow you to download. Slid oone of themz in, and you'd have a FULL level remade. :)

I think it'd help with Nestix, but whatever, I won't try to make it.
Post Reply