Posts: 364
Threads: 41
Joined: Aug 2014
Reputation:
0
I wonder if it possible to create a txt file in game, but I'm not talking about a regular file created by libraries.
I wonder if it possible to use those f-functions (fopen, fclose), I ******d this yet I couldn't find anything.
And if not, when using ini libraries it is possible to insert a formatted string into a file right?
(Haven't used ini libraries in a while..)
Posts: 511
Threads: 13
Joined: Jun 2012
Reputation:
0
yes, as he said above, but, i advice you using ******'s one, (y_ini) Fast saving and loading.
Posts: 364
Threads: 41
Joined: Aug 2014
Reputation:
0
As I've stated.
I'd like not to use any sort of library, I want to use functions instead but if that isn't possible.
Then y_ini would be the one I'd go with.
Posts: 4,885
Threads: 57
Joined: Jun 2012
Reputation:
0
Depends on what your doing, if it's a user file system then you will want y_ini at the very least if you are just exporting/importing data then the file functions alone are suitable.
Posts: 364
Threads: 41
Joined: Aug 2014
Reputation:
0
No, no, I'm actually attempting to create a dynamic system that'll create information into an ini file.
Also I'd like it to create a file using a function in pawno, I wonder if fopen wouldn't just open a ini file or a txt one but create one aswell if it exists?
Anyways it's not for loading or saving, it's just for simple writing.
Posts: 364
Threads: 41
Joined: Aug 2014
Reputation:
0
I know that, but if you could read my post above and reply.
And I'd like to mention again, does fopen creates/opens a file or just opens it?