Closed Thread Icon

Preserved Topic: Importing an ANSi to a C++ program ... Pages that link to <a href="https://ozoneasylum.com/backlink?for=20984" title="Pages that link to Preserved Topic: Importing an ANSi to a C++ program ..." rel="nofollow" >Preserved Topic: Importing an ANSi to a C++ program ...\

 
Author Thread
xplicit_kontent
Nervous Wreck (II) Inmate

From: Surrey, BC
Insane since: Apr 2001

posted posted 06-14-2001 18:37

Ok. I'm stuck. I've made some wicked ANSi pics for a little RPG game I'm making for school. I want to know HOW you import an ANSi pic to a c++ program. The textbooks don't have jack crap about it!!!!!


------
"Guns Don't Kill People. People Kill People." - DMX
---

WarMage
Maniac (V) Mad Scientist

From: Rochester, New York, USA
Insane since: May 2000

posted posted 06-14-2001 22:26

Don't call me stupid, but wouldn't it just be a read function which reads in ANSI characters (i.e. bytes) and then you use a function which turns the bytes into readable characters.

When you say ANSI I believe you are refering to the 0-127 bit hex representaions? or are you talking of something else. I am not a C++ guy, but if you give me as much specifics about the file type you are pulling in, I can go and talk with my C++ guru buddy, and he will be able to give me/you a nice answer.

-mage-

xplicit_kontent
Nervous Wreck (II) Inmate

From: Surrey, BC
Insane since: Apr 2001

posted posted 06-19-2001 07:34

Well, I have a simple RPG test base game going on here. BUT, I don't find simple little characters appealing for craphics so I went out and used ACiD draw to make me some ANSi screens of some trees and crap. Now all I want to do is just replace the crap representation of pictures that I got and replace them with an ANSi picture. The file I saved it in is in *.ANS.


------
"Guns Don't Kill People. People Kill People." - DMX
---

Drakkor
Maniac (V) Inmate

From: Seatte, Warshington, USA
Insane since: Dec 2000

posted posted 06-19-2001 18:33

.ans sounds to me like a proprietary file structure. You're best bet is to try and find some info on the .ans structure. You can always pull the data out via binary read, you just need a map for the data, and any compression algorithms used. I would start by gathering more info on ACiD draw. I've never heard of it and I can't find it anywhere on the web (except on warez sites). Who makes it, what is their web url? As a last resort, you might try asking the makers for some help making the files.

If you can't get anywhere, try a different approach, use a standard format like gif or tiff, I could point you to lots of file structure site for those.




-It never hurts to always be right-

Drakkor
Maniac (V) Inmate

From: Seatte, Warshington, USA
Insane since: Dec 2000

posted posted 06-19-2001 18:34

Another thought, can ACiD draw export as anything else?


-It never hurts to always be right-

twItch^
Maniac (V) Mad Scientist

From: the west wing
Insane since: Aug 2000

posted posted 06-19-2001 22:49

heh

I remember ACiDdraw, back when I was an Ansikiddie.

heh.

too fuckin' funny.

« BackwardsOnwards »

Show Forum Drop Down Menu