S3D Profile Builder

Discussion in 'BigBox General Chat' started by Alex9779, Jun 18, 2016.

  1. Alex9779

    Alex9779 Moderator
    Staff Member

    Joined:
    Sep 4, 2015
    Messages:
    2,405
    Likes Received:
    731
    Ok this may sound a bit spooky but I made an S3D profile builder for the BigBox.

    I was having some troubles updating my profiles for the Dual, Pro, Hybrid-Pro, Hybrid-Dual and Hybrid Dual Mirrored so I had an idea...

    Because the FFF profiles of S3D are only renamed XML files I thought why not just make ONE profile and use XSL transformation to create the others.
    This way I would have to maintain only ONE profile and change and add new settings only there and then hit a button and create all the other profiles...

    And so I did it: https://github.com/Alex9779/BigBox-S3D-Profile-Builder

    The base profile is the "BigBox Dual.fff" and the XSLT files are used to transform it into the others using an XSLT processor. I am using the open source edition of Saxonica Saxon-HE.

    This is for the freaks, a normal user would just use the finished profiles I publish in the settings repo: https://github.com/Alex9779/BigBox-Settings
     
    #1 Alex9779, Jun 18, 2016
    Last edited: Jun 18, 2016
  2. Stian Indal Haugseth

    Stian Indal Haugseth Well-Known Member

    Joined:
    Sep 11, 2015
    Messages:
    573
    Likes Received:
    95
    Awesome! We could use someone like you in various projects I've been involved in the last years :)
     
  3. Miasmictruth

    Miasmictruth Well-Known Member

    Joined:
    Sep 4, 2015
    Messages:
    758
    Likes Received:
    112
    That's awesome! Can't wait to play with that, never thought about editing profiles in such a way. Nice work as usual!
     
  4. Alex9779

    Alex9779 Moderator
    Staff Member

    Joined:
    Sep 4, 2015
    Messages:
    2,405
    Likes Received:
    731
    BTW I verified the output and when doing so I found some errors in the profiles I manually created... I fixed the error and now the manually ones are equal to the generated... The profiles in the settings repo are still the manually ones...
     
  5. PsyVision

    PsyVision Moderator
    Staff Member

    Joined:
    Sep 4, 2015
    Messages:
    798
    Likes Received:
    248
    XSLT aaaaaaaaaarrrrrghhh hah :eek:
     
  6. Alex9779

    Alex9779 Moderator
    Staff Member

    Joined:
    Sep 4, 2015
    Messages:
    2,405
    Likes Received:
    731
    You know it you love it?
     
  7. Sarah Nicholson

    Sarah Nicholson Well-Known Member

    Joined:
    Dec 20, 2015
    Messages:
    319
    Likes Received:
    114
    I quite like XSLT, provided I've taken certain substances beforehand :) Ah, Muenchian grouping, those were the days...
     
  8. PsyVision

    PsyVision Moderator
    Staff Member

    Joined:
    Sep 4, 2015
    Messages:
    798
    Likes Received:
    248
    I've had to maintain a web application with XML produced by the database, through a VB COM tier server component and then run through XSLT to produce HTML on the client. It was/is hell.
     
  9. Alex9779

    Alex9779 Moderator
    Staff Member

    Joined:
    Sep 4, 2015
    Messages:
    2,405
    Likes Received:
    731
    LOL
    So you know it an can join the development :D:p
     
  10. Stian Indal Haugseth

    Stian Indal Haugseth Well-Known Member

    Joined:
    Sep 11, 2015
    Messages:
    573
    Likes Received:
    95
    It's not the mention of XSLT in that sentence that makes my hairs stand on edge :D
     
    Boerta likes this.
  11. Alex9779

    Alex9779 Moderator
    Staff Member

    Joined:
    Sep 4, 2015
    Messages:
    2,405
    Likes Received:
    731
    LOL
     

Share This Page