Ruleset installation user interface

Thread in 'Discussion' started by PetitPrince, 13 Feb 2007.

  1. I would make a system la Heboris where you change ruleset ingame rather than a manual .ini modification. Most people are either too dumb and/or lazy to make the changes themselves. Plus, it's more user-friendly.
     
  2. tepples

    tepples Lockjaw developer

    I was planning that. But how would the user install new rulesets?
     
  3. A subfolder "rulesets" where Lockjaw would search for files ?
     
  4. Or a .ini file ?
     
  5. But we don't want .ini files.
     
  6. Sounds remarkably similar to using an emulator with roms. [​IMG]
     
  7. Uh, how many times are we going to split this topic?
     
  8. What about having a ruleset in an XML file? For that matter, rulesets and skins could be combined into one XML file, and there could simply be a folder for those, and people could select from a list of them ingame. And, they could also save the current ruleset out to an XML file from ingame as well.
     
  9. Brought up before, shot down before, XML cited as overkill and stuff like JSON or custom notation as better. I disagree due to XML's reusability via not just direct parsing but transformations through XSLT, but whatever.
     

  10. Shhh!! Stay on topic or we'll get split into a new topic on splitting.
     
  11. Cubicz

    Cubicz Unregistered


    I propose every post of every thread be split into a separate topic, to prevent the horrendous possibility of off topic topics.


    I jest [​IMG][​IMG][​IMG]
     
  12. DIGITAL

    DIGITAL Unregistered


    But in doing that, we'd have too many similar topics. [​IMG]

    Hmm, this post is only making the off-topic chain longer. Not good...
     
  13. Oh, I get it.


    You're doing this to mock me, leaving me with the shame of being the only person to have a topic split twice for the reason that I couldn't get everyone to stay on-topic. Figures, I always get the shaft.
     
  14. tepples

    tepples Lockjaw developer

    But where would this folder be placed in the file system? How should I handle the case where the game is installed for all users, and a user tries to edit a ruleset but cannot write to the folder containing rulesets because another user (e.g. the admin) owns it? I suggest the following:
    • Rulesets installed in rules.ini are read-only.
    • Rulesets installed in /home/Pino/.ljrules/ or ...\My Documents\ljrules\ are read-write.
     

  15. I wouldn't take it personally at all. It's just in tepples' nature to like distinct topics. Though I wouldn't personally have made the second split (they're all "lockjaw" topics, and nothing more, to most people here), I was getting tempted to make the first split.


    For the record because of your topic I played more Master than Death yesterday for the first time in forever. Nothing impressive to report, though I'm at least 30 seconds faster than last time I was into it. And my grades were terrible because I get way too many singles in 20G with all the habits I've adopted from Death.


    ...and thusly the cycle of off-topicness is complete.
     
  16. I don't know. You're the programmer ^^ . (but I don't like programs who put stuff into My Documents)
     
  17. A. There's nothing wrong with splitting topics, it just organizes things better.


    B. Putting rulesets in a folder in the home folder (or the preferences folder in Windows, which seems to be most commonly C:\Documents and Settings\username\Application Data) sounds like a great idea.


    C. Thank you tepples for all the great work you've put into this game!
     
  18. DIGITAL

    DIGITAL Unregistered


    Wouldn't the root folder of Lockjaw make a logical place for such a folder?
     
  19. tepples

    tepples Lockjaw developer

    True, for rules that are installed for all users by the administrator. But normal users cannot write to C:\Program Files\(product)\rules; only the admin can. Current plan is to search both the app's folder and %appdata%\(publisher)\(product)\rules for rulesets.
     

Share This Page