Right Click?
I did also try this previously when trying to get my ini file stuff sorted about 10 days ago and it didnt work, but then i am not sure i put it in the root (I think i did)
Printable View
Right Click?
I did also try this previously when trying to get my ini file stuff sorted about 10 days ago and it didnt work, but then i am not sure i put it in the root (I think i did)
now that the ini object has been bought up, I wonder if it's causing my crashing troubles and not the list object? :S
I can't seem to get loading an ini file to work either. I first made an ini file and put an absolute path to it in the properties. This worked in Windows.
I then added the ini file to the root of my XCode project and added it to the project window (in the root). No INI file is picked up on the iOS device.
I then tried removing the absolute path in MMF, in which case when run from Windows it can't find the ini file anymore (it's now looking in the default windows dir). Compiled on the iOS device still the INI file is not picked up.
Can you please let us know how to get predefined ini files to work.
Yes, I forgot to do it for beta20 : the INI object does not work when the ini file has a pathname.
so to access the ini file we just use for example "filename.ini", and it should work?
I'm currently just using "Filename.ini" and at the start of my game I create all my groups and items which is working. However I'd like to be able to set up a few things in a default ini file as potentially you might want to put a lot of information in. Editing in the text editor is obviously much easier and avoids having to do it programatically via events.
Francois, when this gets sorted will we be able to create an INI file and copy it to the xcode project as discussed above? And if so, could we specify a path in Windows MMF so the INI can be in the same location as the MFA files (rather than in the Windows folder) and the iOS version of INI can just discard the path?