Jump to content
Sign In to follow this  
Equinox

Request for some help modifying the Reader...

12 posts in this topic Last Reply

Highlighted Posts

Posted:
Last Online:  
 

I have a few very simple (I think) changes I'd like implemented in the Reader.

Problem is, I'm not a programmer, and I won't be able to learn C++ for another 2 years.  45.gif  I was wondering if there was anyone out there who knows C++ that might be interested in helping me?  My goal is making the Reader a bit more user-friendly by implementing a better description system for Exemplar properties.

Share this post


Link to post
Share on other sites
Posted:
Last Online:  
 

Maybe this is not exactly what you are looking for, but the upcoming SimCity Building Database will have some kind of Exemplar Description viewer. simrolle used a standalone version extensively for creating the program, and he also thought about implementing it on some form into the program itself.

 
Freehttp://img263.echo.cx/img263/91/exemplardescriptions5qv.th.gif>

Share this post


Link to post
Share on other sites
  • Original Poster
  • Posted:
    Last Online:  
     

    That's quite cool, but I've been doing the description and name altering myself since yesterday afternoon.  What I'm really shooting for is a way for the Reader to pick up user-friendly names for property values (e.g. for the Occupant Types property, showing CO$$, CO$$$, rather than the numerical values), in addition to a few very minor changes to the GUI.

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     

    Ah, yeah, that would be cool. It displays those things in the preview windows, but when you double click on a property, only those numerical values are displayed. It's esp. annoying with the the transit enabled tiles and other long rows of numbers. The database analyzer will show them in plain text, too, and you even can configure what you want to be displayed and what not.

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     

    Hmmm... I know a fair bit of C++. If the changes are simple I might be able to help.

    Share this post


    Link to post
    Share on other sites
  • Original Poster
  • Posted:
    Last Online:  
     

    Cool!

    Do you have MSN or AIM?

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online: A long, long time ago... 
     

    Equinox - you should be able to change the Property Value names by modifying ingred.ini in your Program Files/SimCity 4/Apps folder.

    You can edit in in Notepad. It basically defines properties for the game. I've done it several times without any adverse effects. Of course, you should save a backup before you change anything....

    Share this post


    Link to post
    Share on other sites
  • Original Poster
  • Posted:
    Last Online:  
     

    That looks like exactly what I want.  I'm not seeing any of my changes reflected in the Reader, though!  7.gif
    Do your changes show up in the Reader?

    Share this post


    Link to post
    Share on other sites
  • Original Poster
  • Posted:
    Last Online:  
     

    True, I've done that, but I want to create new descriptions for values for certain properties.
    e.g. I wanna have it display NDEX rather than 0xb5c00d01 in the OccupantGroups property.
    Ingred.ini is the right place to go, but the Reader doesn't pick up any changes I make to it.

    So, it looks like what I want here is for somebody to add the functionality of the Reader checking Ingred.ini and - even better - a custom user file of defined value descriptions.  ('cause I'm not too sure about adding new ones to Ingred.ini; as far as I can see, that file is for descriptions of preexisting OccupantGroups; besides which, it mentions if you add anything new here, be sure to do so in kSC4OccupantGroups.h as well! or something like that ... obviously, I don't quite have SC4's source code available.)

    Share this post


    Link to post
    Share on other sites
    Posted:
    Last Online:  
     

    Well, I figure I should mention, DatGen has a full, flexible plugin API that you can use to quickly pump out any tool you need. You don't have to be a C++ programmer, either. You can use C#, VB.NET, J# (java, basically), Perl, Python...any .NET supported language. The API is fully documented, as is DatGen's architecture. Check out www.datgen.info , the developers and tutorials sections. Writing plugins for DatGen is extremely easy, since you don't have to worry about writing all the code to load and parse the DBPF. You just need to write file type handlers (simpl classes to load and save individual file data, many of which are already written), and the plugins to display file type data.

    Share this post


    Link to post
    Share on other sites

    Sign In or register to comment...

    To comment in reply, you must be a community member

    Sign In  

    Already have an account? Sign in here.

    Sign In Now

    Create an Account  

    Sign up to join our friendly community. It's easy!  

    Register a New Account

    Sign In to follow this  

    • Recently Browsing   0 members

      No registered users viewing this page.

    ×

    Thank You for the Continued Support!

    Simtropolis depends on donations to fund site maintenance costs.
    Without your support, we just would not be in our 24th year online!  You really help make this a great community. *:thumb:

    But we still need your support to stay online. If you're able to, please consider a donation to help us stay up and running. This helps sustain a platform where we can share our community creations for years to come.

    Make a Donation, Get a Gift!

    Expand your city with the best from the Simtropolis Exchange.
    Make a Donation and get one or all three discs today!

    STEX Collections

    By way of a "Thank You" gift, we'd like to send you our STEX Collector's DVD. It's some of the best buildings, lots, maps and mods collected for you over the years. Check out the STEX Collections for more info.

    Each donation helps keep Simtropolis online, open and free!

    Thank you for reading and enjoy the site!

    More About STEX Collections