Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 9 10 [11] 12 13 ... 37

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

Askot Bokbondeler

  • Bay Watcher
  • please line up orderly
    • View Profile
Re: New Modding Tool: Raw Explorer (Alpha 13 - Updated 4/11/2012)
« Reply #150 on: April 13, 2012, 01:36:57 pm »

Help window doesn't seem to be opening.  :(
Also, how do I access the part of this program where it sorts inorganics?

the program is in alpha. it is likelly that those features haven't been implemented yet

hey look, a ninja
updated download?

Not yet, ran in to some bugs last night.  It's not quite where I want it to be yet.
ok, best luck with that

BradUffner

  • Bay Watcher
  • BradUffner has begun a mysterious construction.
    • View Profile
    • Gump Studio
Re: New Modding Tool: Raw Explorer (Alpha 13 - Updated 4/11/2012)
« Reply #151 on: April 13, 2012, 01:39:46 pm »

The inorganic stuff is under the tools menu.

...Which seems to be broken in the current build... <sigh>Add one more bug to my list.
Sorry about that.
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

The first Beta version has been released!  Get Beta 1 from the first post.

Things finally seemed stable enough, and enough features exist to actually move Raw Explorer from Alpha to Beta Stage.
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

Ehh.. You may want to hold off on the update for a sec. I just found a pretty major bug.  I'll have it fixed in a few minutes.
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

Ok, Beta 1.1 is up. This will fix the crash that happens after opening some of the dialogs and then trying to edit the object that was displayed from before the dialog.
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

Markus

  • Bay Watcher
  • [Alignment:Lawful Bacon]
    • View Profile

Impressive work, sir. I applaud your fine effort.

Now, to MOD some more!
Logged

Askot Bokbondeler

  • Bay Watcher
  • please line up orderly
    • View Profile

deleting objects isn't working for me

BradUffner

  • Bay Watcher
  • BradUffner has begun a mysterious construction.
    • View Profile
    • Gump Studio

deleting objects isn't working for me

Fixed in beta 1.2, which I just uploaded.

*update*
In case anyone hasn't noticed, the menu to update token definitions has moved from Help to Tools.  I think it makes more sense there.
« Last Edit: April 13, 2012, 06:29:47 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

Askot Bokbondeler

  • Bay Watcher
  • please line up orderly
    • View Profile

fantastic! thanks

edit: what's a gump?
« Last Edit: April 13, 2012, 06:20:25 pm by Askot Bokbondeler »
Logged

BradUffner

  • Bay Watcher
  • BradUffner has begun a mysterious construction.
    • View Profile
    • Gump Studio

fantastic! thanks

edit: what's a gump?
"Gump" comes from the old MMO "Ultima Online".  Gumps where little visual forms that the server could send to the client for things like menus and buttons and other UI stuff.  I wrote a program for people who ran Server Emulators to help them design gumps without having to look at the ugly text code.  In a lot of ways Gump Studio is a lot like Raw Explorer in what it does.  I bought the domain name Gumpstudio so that I could host the project there.  I've been hosting all my other stuff there since it's the only domain I own.
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

Webcarrots

  • Bay Watcher
    • View Profile
Re: New Modding Tool: Raw Explorer (Alpha 13 - Updated 4/11/2012)
« Reply #160 on: April 13, 2012, 08:37:37 pm »

Help window doesn't seem to be opening.  :(
Also, how do I access the part of this program where it sorts inorganics?

The Help menu is just a place holder until I can actually write some documentation.  There may be some other buttons and menus scattered around that don't function yet either.  The inorganic stuff is under the tools menu.
Thanks for replying. And jeez you update fast! Adding and removing is in! This was the bit I was waiting for! Thanks for this program, I think it'll make modding DF a lot easier.  :D
Logged

BradUffner

  • Bay Watcher
  • BradUffner has begun a mysterious construction.
    • View Profile
    • Gump Studio

The next version will include batch scripting.  You will be able to run 2 different kinds of scripts, the first works at the library level, the 2nd works on specific selected objects only.

Scripts will be stored as text files in the "Scripts" folder, which will be read out when the program starts and will show up as a menu.  They can be organized by sub folder, and the script menu will mimic it's layout with submenus.

This is an example of a script that can be run on an entire library to remove the aquifers from the game.
Spoiler (click to show/hide)
I'm still working out the details, so things will probably change slightly. For those of you familiar with it, this script is indeed written in VB.NET, I plan to also support C#.  I originally tried both LUA and Javascript, but couldn't get it working the way I wanted.

It'll probably be a few days yet before I have this working the way I want and get all the bugs worked out, but I'll be posting updates and snippets of scripts to use as examples of doing different things.
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

Final form of a script in vb.net to remove the aquifer tokens:
Spoiler (click to show/hide)

Same script in C#:
Spoiler (click to show/hide)

Each script can override "runGlobalSCript", "runBatchScript", or both.  runGlobalScript is run once each time the script is run, before runBatchScript is called.  runBatchScript is called once per object in the batch of selected objects.  Both function are passed a reference to the RawLibrary that has all of the objects and sources in it so that you can do things like add or remove objects from the library, or mess with all of the objects in some way. runBatchScript is passed a reference to one RawObject each time it's called, as well as a reference to the RawLibrary that it's in.

You will be able to make full use of the .net framework and call any public classes that RawExplorer has defined internally as well as any public methods on them.  You should be able to do almost anything with this, from popping of dialogs and prompting for input on what actions to take to reading and writing files.
« Last Edit: April 16, 2012, 08:16:37 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

Reudh

  • Bay Watcher
  • Perge scelus mihi diem perficias.
    • View Profile

I'm downloading the actual program now. YAYAYAYAYAYAY!


Well done brad on making it to Beta!

Jeoshua

  • Bay Watcher
  • God help me, I think I may be addicted to modding.
    • View Profile

I've spent some considerable amount of time editing the token definitions and uploading them to the database.  There's quite a lot missing and I've been focusing on the creatures.

I hope I've put stuff in the correct format, but looking through I notice that there needs to be a definition of subtypes for Creatures.  There are two subtypes of creature token:

CREATURE:CREATURE
CREATURE:CASTE

This needs to be sorted out, so that we can place caste tokens below and as children of their respective castes.

Also, I'm having some trouble in figuring out how to define the [BODY: token.  It takes a list of body parts, but I don't know where to tell the program to find these parts, or how to tell the program that the list can be ANY size, and contain any valid name data for those body parts.

And, as a feature request, I would like to be able to put the application focus on the list at the right, then type in the name of something and have it come up.  You know, like Windows Explorer or one of a myriad of user interfaces that use this kind of lookup.
« Last Edit: April 18, 2012, 02:29:06 pm by Jeoshua »
Logged
I like fortresses because they are still underground.
Pages: 1 ... 9 10 [11] 12 13 ... 37