Wintermute Engine Forum
Wintermute Engine => Scripts, plugins, utilities, goodies => Topic started by: MMR on June 10, 2004, 05:54:45 PM
-
Well, here is a new plug-in for WME ;D
You can download it from here: http://www.algarinejoven.com/wintermute/ejemplos/filesDLL.exe
Basically it can:
* Create text files
* Write inside them
* Read from them
* Delete text lines
* Know how many lines has a file
It's the first version, but works pretty well ;)
I also include a example project wich uses all these functions.
I hope this could help you to develop you game ::)
Note: The DLL file must be in the same folder wme.exe is
EDIT: Updated link
-
Great job, Manuel. It seems to be working nicely. Thanks :)
-
Ahaha, at last you finished it!
You're da man!
So how did you finally got rid of the annoying memory leak problem?
-
Well, here is a new plug-in for WME
-
This is great, thank you for sharing it with us!
-
Whoooooooooooooooooooooooo !!!!
GREAT WORK MMR!!!!
-
Thanks to all of you!
McCoy: So how did you finally got rid of the annoying memory leak problem?
Mnemonic told me to reserve the memory for the string through WME scripting. That's why you have to write something like...
var MyString = new String(256);
And then use MyString in some functions call ;)
-
Yes, so that the string is entirely managed by WME. One thing, MMR, the cleanest solution would be to pass the length of the pre-allocated string to the plugin, so that it doesn't oveflow when reading a long line from the file.
-
Yep, you're right.
I've done it, and the file is Updated ;)
-
Hello
Please fix this link becuse it dont work
with thanks
-
Ron_Emad2: This is a very old thread. In the meantime, WME got native support for file access. See the File object in documentation.
-
Oh Forgive me
i find it in documentation
thanks
-
dead link
Error 404 - No Encontrado :'(
-
Please, read Mnemonic's post.
-
hi,MMR.Thank you very much!
Link is bad, can provide a new Download address? Thank you very much! ???
-
Please, read the thread.
-
Hi lfkk77,
This plugin is not needed as that functionality is already implemented in the current version of WME.
Cheers!