Author Topic: OXCTools  (Read 30183 times)

Offline Warboy1982

  • Administrator
  • Commander
  • *****
  • Posts: 2333
  • Developer
    • View Profile
OXCTools
« on: July 05, 2013, 10:13:56 pm »
so the past few days i've got it into my head that a modding interface might be a good thing, so i whipped up a little something in my spare time (see attachment).

i'm just wondering... who wants to help?

i've pushed it to a repo HERE.

the project is in it's infancy at the moment, step one will be reading in the YAML and displaying it in the lists. obviously i'll be "borrowing" heavily from the OXC codebase for certain things, like reading .pck files and so on, hence the choice to use C++ for this project.

i hope to integrate the map editor that luke and pmprog are working with as well, i realize this is written in C#, so i'm fine with having it as an unrequired stand alone executable.

created in Qt.

i won't be looking into any translated versions until the software is functionally complete.
« Last Edit: July 10, 2013, 11:06:30 am by michal »

Offline moriarty

  • Commander
  • *****
  • Posts: 1421
    • View Profile
    • Luke's OX mod site
Re: OXCTools
« Reply #1 on: July 05, 2013, 11:53:21 pm »
very nice. I'm looking forward to this :)

Offline luke83

  • Commander
  • *****
  • Posts: 1559
    • View Profile
    • openxcommods
Re: OXCTools
« Reply #2 on: July 07, 2013, 01:00:39 pm »
Cant wait for this also ;)

Offline kkmic

  • Commander
  • *****
  • Posts: 582
  • Undefined
    • View Profile
Re: OXCTools
« Reply #3 on: July 08, 2013, 09:56:15 am »
i won't be looking into any translated versions until the software is functionally complete.

I'd say that you don't bother with i18n. Proper modding articles are mostly found in English.

That being said, this is great news for the modding community
« Last Edit: July 08, 2013, 10:02:07 pm by kkmic »

Offline mercy

  • Colonel
  • ****
  • Posts: 341
    • View Profile
Re: OXCTools
« Reply #4 on: July 08, 2013, 02:47:20 pm »
Looks like the charm!

Offline SupSuper

  • Lazy Developer
  • Administrator
  • Commander
  • *****
  • Posts: 2162
    • View Profile
Re: OXCTools
« Reply #5 on: July 08, 2013, 05:50:41 pm »
Looks nice. :)

Personally I would've just written it in C# so I wouldn't have to worry about libraries and junk (it can still interface with native code), and just to get the OSS community up in arms. :P

Offline pmprog

  • Commander
  • *****
  • Posts: 647
  • Contributor
    • View Profile
    • Polymath Programming
Re: OXCTools
« Reply #6 on: July 08, 2013, 06:25:51 pm »
When I was chatting to Warboy I mentioned if it was C# we could merge it with the map editor and other tools I'm maintaining easier, but he is actually using the .NET framework with C++ so it should still be possible

Offline Warboy1982

  • Administrator
  • Commander
  • *****
  • Posts: 2333
  • Developer
    • View Profile
Re: OXCTools
« Reply #7 on: July 08, 2013, 06:28:16 pm »
actually i switched switched to Qt C++, because i have no idea how to use either of them, and the general concensus was that i shouldn't be using .net.

Offline Yankes

  • Global Moderator
  • Commander
  • *****
  • Posts: 3350
    • View Profile
Re: OXCTools
« Reply #8 on: July 08, 2013, 08:46:59 pm »
OSS can use .net too: mono :)

Offline myk002

  • Colonel
  • ****
  • Posts: 227
    • View Profile
Re: OXCTools
« Reply #9 on: July 09, 2013, 12:39:52 am »
OSS can use .net too: mono :)
while that is true, you have to make sure you don't use any microsoft-only libraries.  QT is much more likely to work cross-platform.

Offline mercy

  • Colonel
  • ****
  • Posts: 341
    • View Profile
Re: OXCTools
« Reply #10 on: July 09, 2013, 04:04:47 pm »
Can OXCTools show an Ufopaedia page, like the Sectoid Autopsy image for example and can it render fonts onto such an image?

It would be cool to see new research / discovery related text displayed on top of an artwork in order to calculate word count and maybe let us format the text via the basic  word processing functions: new line, space, etc.

Offline kkmic

  • Commander
  • *****
  • Posts: 582
  • Undefined
    • View Profile
Re: OXCTools
« Reply #11 on: July 09, 2013, 04:22:24 pm »
Warboy, will this tool share code with OXC or it will be completely standalone?

I'm asking because requests like the one above would benefit from the code sharing

Using the same data and renderer will result in the same result all the time, as oposed to having to update the tool if the OXC code changes. OTOH, the ufopaedia is completed and probably it won't change much...

Offline SupSuper

  • Lazy Developer
  • Administrator
  • Commander
  • *****
  • Posts: 2162
    • View Profile
Re: OXCTools
« Reply #12 on: July 09, 2013, 06:04:16 pm »
Reusing the code would likely be the best approach but also the most complex. OXC code is deeply entrenched in its libraries and dependencies (everything graphic expects SDL surfaces etc.) and I don't think Warboy fancies that when he's trying to make less work for himself. :P

Plus if he had done it in .NET he could just reuse the loaders from Daishiva's tools, obviously the superior solution. ;)

Offline pmprog

  • Commander
  • *****
  • Posts: 647
  • Contributor
    • View Profile
    • Polymath Programming
Re: OXCTools
« Reply #13 on: July 09, 2013, 06:31:47 pm »
Is it worth me looking at porting Daishiva's tools that I'm currently maintaining into QtCreator and Warboy's OXC Tools? I guess this is more of a question for Warboy than anyone else...

I can sort all (most) of Luke's changes out, whilst at the same time keeping us one nice clean tool that can access both original data formats and any new OXC formats

Offline Warboy1982

  • Administrator
  • Commander
  • *****
  • Posts: 2333
  • Developer
    • View Profile
Re: OXCTools
« Reply #14 on: July 09, 2013, 06:37:08 pm »
at this point it's all amorphous, i'm not really making any progress in either, because i'm learning as i go, and not many tutorials are dealing with my specific situation. i'm not sure how to even read in the ruleset yaml, apparently Qt can do it natively, or something, but it's a PITA, and i can't figure out how to include the yaml-cpp library, because apparently Qt isn't that kind of girl. so far it's taken me a week to get the tree view populated, and i'm pretty sure i didn't even do that right.