Jump to content
Agony

RF Parser Core sourcecode/project C#

Recommended Posts

This is a separate project i split up from a separate editor project i was working on for Alpha version.

It has no UI.
It builds a DLL you can use in other projects/tools.

You need to write structures for each file/for the version of the files it will be used with.
You may need to add support for ND file headers.

Common usage would be:

  • Create a new instance of the "Loader" class.
  • Call "Loader" class method "Load" with file name and path ("C:/stuff/itemLooting.dat" etc).
  • You can load multiple files this way.
  • You can access them from the "Loader" class ("myLoaderInstance.helmetItem") modify/display etc.
  • You can save the files by calling "Loader" class method "Save" with file name and path.

 

  1. The structures are classes in the Structs folder
  2. Common/Definitions.cs contains various lists/maps for types to get human readable text for display.


And if you do - please share or make a merge request at gitlab.

You can find this from gitlab:

You must be a registered member of RF-Dev and logged in to view this content.

Or from the RF-dev gitlab group:
You must be a registered member of RF-Dev and logged in to view this content.

You can also visit our Discord for questions: 
 You must be a registered member of RF-Dev and logged in to view this content.

And feel free to donate bitcoins if you find this useful:
You must be a registered member of RF-Dev and logged in to view this content.

 

You must be a registered member of RF-Dev and logged in to view this content.

Edited by Agony
Included example

Share this post


Link to post
Share on other sites

No it is not looting editor.

It is any version as long as you write the structures (the .cs files in struct folder) to match your version.

It is up to you to implement it for your own projects/tools  or scripts to actually display/edit data.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...