Ludeon Forums

Ludeon Forums

  • August 11, 2022, 12:51:26 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2

Author Topic: [TOOL] RimDef - A Rimworld XML definition browser  (Read 7045 times)

m1st4x

  • Drifter
  • **
  • Posts: 74
  • Refugee
    • View Profile
[TOOL] RimDef - A Rimworld XML definition browser
« on: September 14, 2020, 01:46:45 PM »

<RimDef>

A Rimworld XML definition browser



It's been made to have an overview of what each mod adds into the game.

How to use:
1. Set path to Rimworld root directory
2. Filter by mod and definition-type
3. Select def to show details (description, recipe info, texture, xml-view)

More features to come:
- browse core definitions
- additional information for more def-types
- xml editing

It's work in progress - any ideas are welcome!

CHANGE LOG
-Version 1.0
  • Initial release
-Version 1.1
  • Multi version support
  • Core definitions for RW 1.1+
  • Show base stats for all def-types
  • Improved recipe details

Download at github.
https://github.com/m1st4x/RimDef

Prebuilt executable is provided.
Written in VS2019 / C# .NET 4.5.2

Check it out and leave me a comment.

-m1st4x-

</RimDef>
« Last Edit: September 24, 2020, 12:25:35 PM by m1st4x »
Logged

Canute

  • Transcendent
  • *****
  • Posts: 9999
  • Refugee
    • View Profile
Re: [TOOL] RimDef - A Rimworld XML definition browser
« Reply #1 on: September 18, 2020, 01:10:40 PM »

Hi,
i just got an idea.
Since you browser the /mods folder and basicly create a database of all defs of them, isn't it possible to safe that as a meta mod ?
My intention are to speedup the loading/startup process, maybe rimworld is faster when it just need to browser one big mod then 100+ small ones.

m1st4x

  • Drifter
  • **
  • Posts: 74
  • Refugee
    • View Profile
Re: [TOOL] RimDef - A Rimworld XML definition browser
« Reply #2 on: September 19, 2020, 07:49:50 AM »

RimDef is parsing each mod on demand.
Reading all at once takes its time depending on the amount of mods.
Sure Rimworld already has a good xml parser doing that job.
Logged

Canute

  • Transcendent
  • *****
  • Posts: 9999
  • Refugee
    • View Profile
Re: [TOOL] RimDef - A Rimworld XML definition browser
« Reply #3 on: September 19, 2020, 08:25:09 AM »

Ok, so you don't see an advance to combine them all to speed up the loading.
It just was an idea.

m1st4x

  • Drifter
  • **
  • Posts: 74
  • Refugee
    • View Profile
Re: [TOOL] RimDef - A Rimworld XML definition browser
« Reply #4 on: September 24, 2020, 01:20:09 PM »

Anyway - thanks for the input! Though I don't see how to speed up the loading time in that way.

RimDef is more meant to be a information/modding tool.
No more searching hundrets of directories and files to find some information.

Just released an update with new features!

Do you guys think it is a useful tool in general?

I haven't done much modding so far...
Most things that came into my mind have been done already or it's too much to go by my own.
So if someone needs a helping hand for a interesting project, let me know ;)

Chers,
m1st4x
« Last Edit: September 24, 2020, 01:39:08 PM by m1st4x »
Logged

thejogger1998

  • Muffalo
  • *
  • Posts: 3
  • Refugee
    • View Profile
Re: [TOOL] RimDef - A Rimworld XML definition browser
« Reply #5 on: October 26, 2020, 02:22:14 PM »

Wow this is awesome thanks,
but does this mod conflict with in game def editor ? ( I mean prepared carefully and in game char editor conflicted so I ask just in case )

Does this offers an option to add more traits ?

Thanks
Logged

m1st4x

  • Drifter
  • **
  • Posts: 74
  • Refugee
    • View Profile
Re: [TOOL] RimDef - A Rimworld XML definition browser
« Reply #6 on: November 08, 2020, 09:52:31 AM »

RimDef is a stand-alone application, not a mod, so no conflicts at all.
Editing the definitions within the tool is not implemented so far.
If you're interested, I can add this feature - not a big deal.

Logged

cloirecroms

  • Muffalo
  • *
  • Posts: 5
  • Refugee
    • View Profile
Re: [TOOL] RimDef - A Rimworld XML definition browser
« Reply #7 on: November 12, 2020, 01:17:27 PM »

Seem not working if i use it on Rimworld steam version.
Logged

m1st4x

  • Drifter
  • **
  • Posts: 74
  • Refugee
    • View Profile
Re: [TOOL] RimDef - A Rimworld XML definition browser
« Reply #8 on: November 13, 2020, 06:04:27 AM »

Did you set the path to Rimworld root directory?
Not the /Mods folder!
Logged

cloirecroms

  • Muffalo
  • *
  • Posts: 5
  • Refugee
    • View Profile
Re: [TOOL] RimDef - A Rimworld XML definition browser
« Reply #9 on: November 17, 2020, 12:10:36 PM »

yes it is not working.
i try to set it on the Rimworld root, insite the steam folder.
Maybe because my mod is downloaded with steam workshop? as the mod location is not in the Rimworld root. Well i try to target the mod folder but it still not working.
Logged

m1st4x

  • Drifter
  • **
  • Posts: 74
  • Refugee
    • View Profile
Re: [TOOL] RimDef - A Rimworld XML definition browser
« Reply #10 on: November 27, 2020, 12:55:37 PM »

Okay, can you give me the directory structure of your steam installation?
I'll then try to adapt it
Logged

Bandw2

  • Muffalo
  • *
  • Posts: 5
  • Refugee
    • View Profile
Re: [TOOL] RimDef - A Rimworld XML definition browser
« Reply #11 on: May 20, 2021, 10:08:35 PM »

I'm posting in here since i see you updated the git 19 days ago

so steam has a Steam workshop folder, so items downloaded from the steam workshop go into a separate file structure.

B:\Steam\steamapps\workshop\content\294100\WORKSHOPID_ISLOTSOFNUMBERS\MODCONTENTS

is how mine is set up. if you include an optional 2nd file path for a workshop directory, they'd put in the 294100 (rimworld's steam ID i think) and then every folder in there is a mod with the normal architecture.

like B:\Steam\steamapps\workshop\content\294100\708455313\About\About.xml as an example for where the about file might be

workshop location is changeable, so it'd be best if people manually entered it, like mine is on a separate drive from rimworld

edit: could you make this so it compiles Defs after Xpaths are applied?

that's why I found this program and what I'm looking for. Something is causing a mod's patch to fail and the only thing i can think of is a third mod is patching the def, because it looks like it should be working.
« Last Edit: May 20, 2021, 10:13:01 PM by Bandw2 »
Logged

m1st4x

  • Drifter
  • **
  • Posts: 74
  • Refugee
    • View Profile
Re: [TOOL] RimDef - A Rimworld XML definition browser
« Reply #12 on: June 17, 2021, 12:24:26 PM »

Hey mate, thanks for the information. I'm working on it.

Q: what's the path of the core module in the steam version?
Logged

keyara

  • Muffalo
  • *
  • Posts: 8
  • Refugee
    • View Profile
Re: [TOOL] RimDef - A Rimworld XML definition browser
« Reply #13 on: July 21, 2021, 04:18:51 PM »

Just in case your still looking. Here's how to find the rimworld core and royalty and ideology.
D:\Steam\steamapps\common\RimWorld\Data
Here's where the steam workshop mods are:
D:\Steam\steamapps\workshop\content\294100
I am really looking forward to your application as I have the same problem I can't figure out who is causing problems through XML errors. If you need help I am interested, I'm not that good but I am a quick study.
Logged

m1st4x

  • Drifter
  • **
  • Posts: 74
  • Refugee
    • View Profile
Re: [TOOL] RimDef - A Rimworld XML definition browser
« Reply #14 on: August 01, 2021, 04:00:12 PM »

Thanks mate! I'm gonna update soon.
Logged
Pages: [1] 2