Jump to content
  • Advertisement


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


How do you create a file type

This topic is 5926 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

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!