just wondering... HOW DO YOU MAKE A CUSTOM FILE TYPE!?!?!?!?!?!??!?!?!?!?!??!?! like rif-raf's FLE has the FLE saving thing... i wanna save a single mesh (some meshes loaded in and dropped) to a "*.whatevernameicomeupwith" file... if u no what i mean... like slim shady's *.SSL (i think its that...??)...yeah....
custom file types...
Blitz3D Forums/Blitz3D Programming/custom file types... Why would you want to? You would use a custom filetype if you had an application that saves information that isn't available with other formats, or if you want to save information in a way that is easy to load into your app.
Examples of exprters for some different formats:
http://www.blitzbasic.com/codearcs/codearcs.php?code=1033
http://www.blitzbasic.com/codearcs/codearcs.php?code=866
http://www.blitzbasic.com/codearcs/codearcs.php?code=819
http://www.blitzbasic.com/codearcs/codearcs.php?code=580
Examples of exprters for some different formats:
http://www.blitzbasic.com/codearcs/codearcs.php?code=1033
http://www.blitzbasic.com/codearcs/codearcs.php?code=866
http://www.blitzbasic.com/codearcs/codearcs.php?code=819
http://www.blitzbasic.com/codearcs/codearcs.php?code=580
I've asked for this once.....still don't understand the reply I got....:)
You can create files with any name (and extension) you like and write anything you like into them.
You just write the info into the file you want.. don't know why the thought of that would confuse anyone.
oh... lol that easy??? ;D
thnx!
yeah... just wanted a filetype thats interchangable in my apps... :D
...im just gunna make a function that loads it into blitz
thnx!
yeah... just wanted a filetype thats interchangable in my apps... :D
...im just gunna make a function that loads it into blitz
yeah. as long as you read it in the same way you wrote it out, it's not that difficult.
I think what he might mean is the reading back in part.
Lets say he writes out, 2 bmps(textures) and the model they are used for. to say a file called "ship.mpk" then how does he read these back into a game.
I think.
Lets say he writes out, 2 bmps(textures) and the model they are used for. to say a file called "ship.mpk" then how does he read these back into a game.
I think.