Something simple, like Properties, but better?

Is there a package out there that’s like Properties, but only better?

I can’t really bother myself with all those overly bloated XML packages containing 300 classes and takes forever to learn how to use. I just want something simple, to the point, like Properties, but more advanced.

I want to define my game objects, such as units, their configuration, structures etc.

dom4j
commons configuration

not sure about your pricise need.

That’s what I meant by a overly bloated api, and a overkill system for something simple that I want to use it for.

what do you need to store?

My game is like C&C.

You have many races (2 to begin with), each race has it’s own type of vehicles; air units, ground units, naval units.

Each of those units have different configuration; forward speed, reverse speed, rotational speed, shoot frequency, shoot range, shoot damage, bullet type, etc etc.

etc.

A fairly common case. No common solutions?

The INI format sounds perfect for your problem. Even RA1 used it to store unit-settings.

[tank]
a=x
b=y
c=z

[ship]
a=p
b=q
c=r

Trival to write an exporter + parser for it.

HTH

Thanks, I found ini4j after your suggestion. INI4J seems to be a very clever system, check it out:
http://ini4j.sourceforge.net/tutorial.html