Archived

This topic is now archived and is closed to further replies.

How do you create a file type

This topic is 5622 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I was messing with the Warcraft III editor and was wondering how did they create there file type, or for that matter how do you create any type of file? Its not knowing the path but walking it.

Share this post


Link to post
Share on other sites
two words, very easily, another two words, with skill, hehe
Nam u just open a file stream the write say a header with info about it, then whatever data there is, its completly up to you, the actuall extension you give the file doesnt matter at all, its just the data that is in it... just look up a tut on file IO.

CEO Platoon Studios

Share this post


Link to post
Share on other sites
Step 1. Open Notepad.
Step 2. Type junk into Notepad.
Step 3. Save your file, change the drop down box to All Files. Enter the name, I.sux
Step 4. Gaze in awe at your new filetype.



Feudal Conquest, An Online Strategy Game, has just become an Open Beta!

We''re looking for Beta Testers!

If you''re interested or just want more information, head on over to: http://www.feudalconquest.com

Share this post


Link to post
Share on other sites