It would be really cool to have this Java supported!
Printable View
It would be really cool to have this Java supported!
A few of bugs:
If you go to build, it asks for "data/runtime/ini++.mfx" which doesn't exist. I had to copy and rename "ini++15.mfx" to "ini++.mfx" for it to work.
If you try to update an existing file, it doesn't write any new data, instead creating a group called "[]" with nothing in it.
If you try to open a second file after opening a first file, then write to it, it just rewrites what it wrote to the first file, which is basically a duplication, no new data can be added to the second file.
This has caused me great frustration, and I've resorted to using the default ini extension in the mean time.
I'm looking forward to that fix.
I'm still using the previous version of the INI object until I can locate what is causing the 1.5 version to fail to update the INI in memory (and thus not allow saving new groups).
It is definitely a bug that "Change group" with "Ensure new group" does not create a new group at all.
Jax, this version do have some sort of Checksum verifier?
I've just got back from being away after being ill, so sorry for the delays everybody.
It turns out that, as Ryan said, the installer is incorrect. It installs it as INI++.mfx in one directory and INI++15.mfx in another directory. This is one of the things causing problems for people. If you installed it probably the best thing to do is uninstall, redownload the original Ini++ and wait for the update in a few days time (hopefully).
Bruto: As mentioned in a PM, that was for Ini++ v2.0 which I decided against writing for now (I probably will for MMF3 but under a different name). I'll look into it after I fixed bugs though.
Pixelthief: "Change group" with "Ensure new group" does not create a new group at all -- if I understand it, that is not actually a bug. See the blog.
See my blog post about the changes such
Ok but uh, how do we create a group now? :S
My issue is that I need to instantiate new groups to save data at runtime, and I cannot seem to figure out a way to do that. It appears that in the previous version, taking either the action
"Change group (ensure new group)"
or
"Set item in group" (nonexistant group)
would create a new group of that kind. With this update, neither of those are working, and for the life of me I cannot really figure out how to make a new group
My code is clearly using both the "Change Group" *and* "Set value of group" functions and neither is working :( But hey, besides that one small glitch your update looks awesome! Would be nice to get that hammered out. But uh, considering those change group / set item functions previously created the groups, wouldn't it make sense to restore that functionality? It would make it more backwards compatible, and I think it makes sense in each case.
But yarr, good work!
One question, the ini++ doesn't overwrite the file it is compressing?
What do you mean Bruto?
(Just a note: The new version has been sent off and should be released in a few days time)
Sent via PM.. looking forward to the next version!
I'm hoping this is fixed, but if you have initial data in the ini+ object, and no ini file exists, using the load ini command creates a blank ini file. I thought this created a new ini file with the default data in it (please correct me if I'm wrong).
Has this been fixed in the new version?
Mobichan