Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 3 4 [5] 6 7 ... 37

Author Topic: Modding Tool: Raw Explorer - Beta 13 - Updated 4/25/2013 - (It's BACK!)  (Read 165119 times)

Eldrick Tobin

  • Bay Watcher
  • [ETHIC: MODDING_UNDWARFY: PERSONAL_MATTER]
    • View Profile
Re: New Modding Tool: Raw Explorer
« Reply #60 on: March 13, 2012, 01:09:21 am »

Bug Report (probably just the size of the mess I'm running is freaking it out... almost 6mb and 257 things in the raw dir. lots of cv and caste work)

No Screenshot -nothing interesting to see-

Error Report:
Spoiler (click to show/hide)

Not yet, But I know where the problem is based on your error log.  I haven't had much time to work on it the past 2 days.  I have some free timing coming up, and my weekend will be nice and free.

Email sent. File backed up on my github account as a just in case. EldrickWT-MLA-raw-objects-dir.zip

Hopefully no hair pulling will be involved.  :D
Logged
--
Eldrick Tobin
Behold the unimpressive Aspectus Lolin mod. || My Little Arachnid Fortress attempt...
I mumble to myself on tumblr... Sometimes about DF Modding.

BradUffner

  • Bay Watcher
  • BradUffner has begun a mysterious construction.
    • View Profile
    • Gump Studio
Re: New Modding Tool: Raw Explorer
« Reply #61 on: March 13, 2012, 03:30:53 am »

Bug Report (probably just the size of the mess I'm running is freaking it out... almost 6mb and 257 things in the raw dir. lots of cv and caste work)

No Screenshot -nothing interesting to see-

Error Report:
Spoiler (click to show/hide)

Not yet, But I know where the problem is based on your error log.  I haven't had much time to work on it the past 2 days.  I have some free timing coming up, and my weekend will be nice and free.

Email sent. File backed up on my github account as a just in case. EldrickWT-MLA-raw-objects-dir.zip

Hopefully no hair pulling will be involved.  :D

I couldn't sleep so I decided to take a look at your error.  The program was choking on the BODYGLOSS tokens, which I hadn't seen before.  After a few updates it is now reading your raws correctly.  Thanks for your help! I'll upload a new version.
Logged
Raw Explorer - Easily navigate and edit your raw files via GUI! - http://www.bay12forums.com/smf/index.php?topic=103360.0
Tile Genie - Merge multiple tilesets - http://www.bay12forums.com/smf/index.php?topic=77724.0

huhwhozat

  • Bay Watcher
  • cancels mysterious construction: taken by mood
    • View Profile
Re: New Modding Tool: Raw Explorer (Alpha 4 - Updated 3/13/2012)
« Reply #62 on: March 13, 2012, 06:11:29 am »

This is beautiful stuff, BradUffner.  I hope to see this tool go far.

Difficult feature request:  Integrate modified raws with currently existing saves for rapid testing.  AFIK, World Tinker (http://www.bay12forums.com/smf/index.php?topic=67059.msg1602138#msg1602138) is the only utility that does this at the moment, and it hasn't been updated in a while.
Logged
        Did you sense a disturbance in the dwarf?
        edit: ... as if millions of kittens suddenly cried out in terror, and were suddenly silenced.
        edit2: I fear something delicious has happened.
       

BradUffner

  • Bay Watcher
  • BradUffner has begun a mysterious construction.
    • View Profile
    • Gump Studio
Re: New Modding Tool: Raw Explorer (Alpha 4 - Updated 3/13/2012)
« Reply #63 on: March 13, 2012, 06:58:34 am »

This is beautiful stuff, BradUffner.  I hope to see this tool go far.

Difficult feature request:  Integrate modified raws with currently existing saves for rapid testing.  AFIK, World Tinker (http://www.bay12forums.com/smf/index.php?topic=67059.msg1602138#msg1602138) is the only utility that does this at the moment, and it hasn't been updated in a while.

I'll see if I can figure out what,  and how,  it does the merging. If it's a good fit for Raw Explorer ill try to add support for it.
Logged
Raw Explorer - Easily navigate and edit your raw files via GUI! - http://www.bay12forums.com/smf/index.php?topic=103360.0
Tile Genie - Merge multiple tilesets - http://www.bay12forums.com/smf/index.php?topic=77724.0

BradUffner

  • Bay Watcher
  • BradUffner has begun a mysterious construction.
    • View Profile
    • Gump Studio
Re: New Modding Tool: Raw Explorer (Alpha 4 - Updated 3/13/2012)
« Reply #64 on: March 17, 2012, 10:37:59 am »

Just a quick update since it's been a while.

I'm currently working on the tool to edit and maintain the token definition file that.  That's the file that will tell Raw Explorer what the different tokens are, what objects they can be used on, and what their arguments are.  Right now it starts off with a dump of the tokens that Raw Explorer generates with the "Export" function.  That creates a file with a list of all the tokens and what items they were used on.  The Definition Editor takes that and lets you edit the different ways the token can be used before saving it off as an XML file.

Currently it looks like this:
Spoiler (click to show/hide)

You can also see the new grids I'm going to be using in the main program in there.
Logged
Raw Explorer - Easily navigate and edit your raw files via GUI! - http://www.bay12forums.com/smf/index.php?topic=103360.0
Tile Genie - Merge multiple tilesets - http://www.bay12forums.com/smf/index.php?topic=77724.0

BradUffner

  • Bay Watcher
  • BradUffner has begun a mysterious construction.
    • View Profile
    • Gump Studio
Re: New Modding Tool: Raw Explorer (Alpha 4 - Updated 3/13/2012)
« Reply #65 on: March 19, 2012, 04:36:52 pm »

I ran in to a token in the raws that I'm not sure is valid or a mistake.  Could someone with more experience check this out?

In creature_small_mammals, in the RAT creature it has the token "[:GENERAL_POISON]".  As you can see, it has no name. Other creatures in the same file have the "GENERAL_POISON" value specified as "[CREATURE_CLASS:GENERAL_POISON]".  RAT is the only object in all the stock raws that I see this way, so I'm leaning twords it being a typo.

Is the nameless token valid, or is this a bug in the raw files?  If it is valid what is it's effect?
« Last Edit: March 19, 2012, 04:40:56 pm by BradUffner »
Logged
Raw Explorer - Easily navigate and edit your raw files via GUI! - http://www.bay12forums.com/smf/index.php?topic=103360.0
Tile Genie - Merge multiple tilesets - http://www.bay12forums.com/smf/index.php?topic=77724.0

Meph

  • Bay Watcher
    • View Profile
    • worldbicyclist
Re: New Modding Tool: Raw Explorer (Alpha 4 - Updated 3/13/2012)
« Reply #66 on: March 19, 2012, 10:10:28 pm »

My guess is that it is a typo. It can be easily tested in the Arena by poisoning the rat with a syndrome that should only affect the genera_poison class.

If you found this in the vanilla raws it might be good advice to send a little PM to Tarn about this. Otherwise it might be intentional, since rats are rather disease resistant and act more as carrier, and not as victims.

Still, I just came here to check up on your progress and leave a: Well done :) for you.
Logged
::: ☼Meph Tileset☼☼Map Tileset☼- 32x graphic sets with TWBT :::
::: ☼MASTERWORK DF☼ - A comprehensive mod pack now on Patreon - 250.000+ downloads and counting :::
::: WorldBicyclist.com - Follow my bike tours around the world - 148 countries visited :::

BradUffner

  • Bay Watcher
  • BradUffner has begun a mysterious construction.
    • View Profile
    • Gump Studio
Re: New Modding Tool: Raw Explorer (Alpha 4 - Updated 3/13/2012)
« Reply #67 on: March 23, 2012, 01:22:21 am »

Just a quick progress update today.

Most of my time since the last post has been taken up with ripping out my old UI controls and replacing them with a new UI library that has a lot more functionality.  Now that all that is done, and I'm just about back to where I was before, new features should start coming quickly. Other than that I've created a program for editing token and argument definitions.  I've added "sanity checking" to the raws, so you can scan for any conflicts of errors, like conflicting tokens, tokens with bad data, duplicate objects, and other stuff like that.

Here is a quick screenshot of the program with the new UI library.
Spoiler (click to show/hide)

That nested grid you can see there for the color will eventually list out the arguments as name value pairs that comprise the token's value.  In the case of COLOR, it would be the "foreground", "background", and "bright".  This should give some guidance as to what the arguments for a token are, and the ability for the program to restrict them to valid values.

The program will eventually support pluggable editors that can enhance it's functionality.  There are 3 "levels" of editor that can be made. "Object" editors will allow you an easy way to edit an object as a whole without directly messing with the tokens.  Token editors will let you edit token values without getting down to the argument level. And finally argument editors, which give the finest level of control.  Editor plugins can be created by anyone with .NET experience.

I'm planning a public web based app for maintaining a "dictionary" of tokens, their arguments and other meta data such as conflicting tags.  Anyone will be able to edit tag definitions through the site as new uses for tokens are discovered by modders, or new tokens are added by Toady.  The dictionary will be freely available for use by any other program or website that needs information about raws in xml format. Thinks of it like the token section of the wiki, but more programmatic and automated.  Raw explorer will be able to automatically update it's definitions from the site so it will always be up to date.
Logged
Raw Explorer - Easily navigate and edit your raw files via GUI! - http://www.bay12forums.com/smf/index.php?topic=103360.0
Tile Genie - Merge multiple tilesets - http://www.bay12forums.com/smf/index.php?topic=77724.0

Reudh

  • Bay Watcher
  • Perge scelus mihi diem perficias.
    • View Profile
Re: New Modding Tool: Raw Explorer (Alpha 4 - Updated 3/13/2012)
« Reply #68 on: March 23, 2012, 01:42:03 am »

You sir, are a genius.

FiveFives

  • Bay Watcher
  • and their UFO Connection
    • View Profile
Re: New Modding Tool: Raw Explorer (Alpha 4 - Updated 3/13/2012)
« Reply #69 on: March 24, 2012, 04:42:07 am »

I am so in love with this.
I've already begun reacquainting myself with token definitions in anticipation.
Logged

BradUffner

  • Bay Watcher
  • BradUffner has begun a mysterious construction.
    • View Profile
    • Gump Studio
Re: New Modding Tool: Raw Explorer (Alpha 4 - Updated 3/13/2012)
« Reply #70 on: March 24, 2012, 07:24:48 pm »

Update showing token definitions and arguments in the editor window.
Spoiler (click to show/hide)
Spoiler (click to show/hide)

The website for adding / editing token and argument definitions is almost ready.  There are a lot of tokens in the wiki that will need to be entered in the library.  I'm going to need your help with that part to make this successful.
Logged
Raw Explorer - Easily navigate and edit your raw files via GUI! - http://www.bay12forums.com/smf/index.php?topic=103360.0
Tile Genie - Merge multiple tilesets - http://www.bay12forums.com/smf/index.php?topic=77724.0

BigD145

  • Bay Watcher
    • View Profile
Re: New Modding Tool: Raw Explorer (Alpha 4 - Updated 3/13/2012)
« Reply #71 on: March 24, 2012, 07:57:12 pm »

Oh, wow. You've got me itching to mod now between this and S.L.A.D.E.
Logged

BradUffner

  • Bay Watcher
  • BradUffner has begun a mysterious construction.
    • View Profile
    • Gump Studio
Re: New Modding Tool: Raw Explorer (Alpha 4 - Updated 3/13/2012)
« Reply #72 on: March 24, 2012, 10:35:59 pm »

Some quick stats on the raws from the latest version of DF.
There are 971 unique tokens used in the raw files, with 1193 different usages.  A usage is where the same token is used in different ways with different arguments.  I'm going to set the site up in such a way so that it will be easy to find tokens that need to have work done to them.
Logged
Raw Explorer - Easily navigate and edit your raw files via GUI! - http://www.bay12forums.com/smf/index.php?topic=103360.0
Tile Genie - Merge multiple tilesets - http://www.bay12forums.com/smf/index.php?topic=77724.0

BradUffner

  • Bay Watcher
  • BradUffner has begun a mysterious construction.
    • View Profile
    • Gump Studio
Re: New Modding Tool: Raw Explorer (Alpha 4 - Updated 3/13/2012)
« Reply #73 on: March 25, 2012, 05:55:51 pm »

The website is coming along nicely.  For now editing is done in xml format, but I'll try to add some fancier controls to make it easier when I have time.  I want to get back to the "fun" stuff (I've never liked web design).
Spoiler (click to show/hide)

.....and I just noticed the html bug in the argument list.  But you get the idea.
Logged
Raw Explorer - Easily navigate and edit your raw files via GUI! - http://www.bay12forums.com/smf/index.php?topic=103360.0
Tile Genie - Merge multiple tilesets - http://www.bay12forums.com/smf/index.php?topic=77724.0

Reudh

  • Bay Watcher
  • Perge scelus mihi diem perficias.
    • View Profile
Re: New Modding Tool: Raw Explorer (Alpha 4 - Updated 3/13/2012)
« Reply #74 on: March 25, 2012, 05:58:42 pm »

Brad, when you complete this, the community will be indebted to you forever more. :D
Pages: 1 ... 3 4 [5] 6 7 ... 37