Data Realms Fan Forums
http://45.55.195.193/

Index.ini
http://45.55.195.193/viewtopic.php?f=1&t=25533
Page 1 of 1

Author:  Asklar [ Fri Sep 16, 2011 1:37 am ]
Post subject:  Index.ini

Is there a limit on how many IncludeFiles I put into it?

Because in a compilation mod I'm making it doesn't count the last three ones I place, but if I place them in another part it does load them.

Author:  salt_1219 [ Fri Sep 16, 2011 4:50 am ]
Post subject:  Re: Index.ini

I have not run into a limit and i've had tons of includefiles

Author:  Asklar [ Fri Sep 16, 2011 5:02 am ]
Post subject:  Re: Index.ini

Wierd.

Well, it's okay, I sorta fixed it.

Author:  MaximDude [ Sun Sep 18, 2011 10:20 pm ]
Post subject:  Re: Index.ini

There's all sorts of random bull♥♥♥♥ going on with .ini's.

I have one that crashes the game (Clean crash, no 'blah blah line blah etc', just an AbortScreen) if it exceeds 600 lines (Regardless if the lines have something or just blanks), while I have another with 2000~ lines and it works just fine...
Can't seem to fix the problem either.

Happens rarely.

Author:  The5 [ Mon Sep 19, 2011 12:27 am ]
Post subject:  Re: Index.ini

Sometimes some .inis did not load for me too. It was due to errors in the .ini that was loaded before them in the index.ini.
There was no error either, the game just launched but some of my stuff and all mods loaded after mine were completely missing.
It's sometimes due to wrong tabs, like when you forget to insert one.

Author:  Asklar [ Mon Sep 19, 2011 1:31 am ]
Post subject:  Re: Index.ini

Yeah, weegee explained me what the problem was, it is with tabbing.

If you have in the index.ini three IncludeFiles which open other "index.inis", for example:

Code:
DataModule
    ModuleName = LOLOLOL
    IncludeFile = lol.rte/Devices/Index.ini
    IncludeFile = lol.rte/Actors/Index.ini
    IncludeFile = lol.rte/Effects/Index.ini


And in the lol.rte/Actors/Index.ini I have:
Code:
    IncludeFile = lol.rte/Actors/SoldierLight.ini
    IncludeFile = lol.rte/Actors/SoldierHeavy.ini
    IncludeFile = lol.rte/Actors/SoldierOP.ini


Those tabs shouldn't be there. CC will load those files though, but won't read anything else in the main Index.ini, so the Index.ini of the Effects won't load. You won't get any kind of errors; but the mod will load halfways.

I hope you guys get my explanation, and remember: IncludeFiles only need tabs if they are in the main Index.ini, anywhere else they don't need tabs. At all.

Page 1 of 1 All times are UTC [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/