Make the [#include] section work with artmd.ini as well

Bug #895621 reported by reaperrr
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ares
Fix Released
Wishlist
DCoder DCoder

Bug Description

The [#include] feature has already proven to be extremely useful for me, unfortunately it only works with rulesmd.ini.

It would be great if [#include] would work for artmd.ini as well, since artmd.ini isn't much less cluttered than rulesmd.ini.

Revision history for this message
WoRmINaToR (worminator) wrote :

not really that cluttered, especially if you take a little bit of time to organize it into different sections (like I did). Besides, even that is already partially done for you by WestWood.

In any case, it DOES serve to reason that if you can do [#include] for rulesmd.ini, you should be able to do it for the other .ini's as well.

Revision history for this message
DCoder DCoder (dcoder1337) wrote :

Uh, it is not specific to rulesmd and should already work just fine. Can you show me some sample code where it doesn't?

Revision history for this message
reaperrr (reaperrr) wrote :

@WoRmI: Sorry, i used the wrong word, "huge" would have been more fitting. I prefer multiple small files over one huge monster ini.

@DCoder: My artmd.ini is unmodified except for this:
[#include]
1=artmd_2.ini
(also tried += and 16= to make sure there's no conflict between this and the [#include] section of my rulesmd.ini, which has 15 entries)

and inside artmd_2.ini, there's just this:

[GI] ; GI
Cameo=GDGIICON
AltCameo=GIUICO
Sequence=GISequence
Crawls=yes
Remapable=yes
FireUp=2
PrimaryFireFLH=480,0,105
SecondaryFireFLH=480,0,90

Yet the GI neither uses the Guardian GI icon, nor has the FLH moved forward (original value is 80,0,xx).

My attempt from yesterday was to cut all infantry entries from artmd.ini and paste them to artmd_2.ini, as a result they had no icons, animations etc.

So as far as I can tell, it really doesn't work...

Revision history for this message
DCoder DCoder (dcoder1337) wrote :

Okay, that sounds weird. I'll take a look.

Revision history for this message
Bug Importer (bug-importer) wrote :

Code related to this issue has just been checked in!
Author: DCoder
Location: trunk, r712
Revision comment:
Fixed issue #1012 - [#include] works in all INI files now.
Related to issue 1012 .
SVN: http://svn.renegadeprojects.com/Ares/712

Revision history for this message
reaperrr (reaperrr) wrote :

ok, I noticed the "Awaiting Confirmation of Resolution from Me" section in "My View" a while ago, so before I forget to confirm it again: Seems to work perfectly now.

Revision history for this message
DCoder DCoder (dcoder1337) wrote :

Thanks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.