Jump to content

Sacred 2 Downloads - Sacred 2 modding tool: .txt modmerging inserter


Recommended Posts

Sacred 2 modding tool: .txt modmerging inserter

View File

Inserts one mod's scripts into the other, kinda like a modmerging system for scripts and insanely fast. Works only on windows operating systems. Use together with S2CE_Extract.exe so you can pull one mod out and insert it somewhere else. Especially useful for mods based on other mods if the first mod gets an update.

Support for CM-patch 1.60 and all mods which came later.

  • NOT supported .txt files:
    • scripts
      • autoexec.txt
      • genMipMapInfo.tx
      • options_readme.txt
      • startPos.txt
    • scripts/server
      • questscripts.txt
      • respawn.txt
      • spawnpos.txt
      • worldobjecthints.txt
      • scripts/shared
      • defines.txt
      • staticinfo.txt
  • Partially supported define based comparison .txt files:
    • scripts/server
      • creature.txt
        • The "mapPosition"s at the end of the file are not supported due to two different safe patterns.
        • Everything else works.
      • quest.txt
        • Task Creatures work
        • Task Items work
        • Quests work
        • nothing else works
  • Fully supported define-based comparison .txt files:
    • scripts
      • behaviour.txt
      • heightmap.txt
      • landscape.txt
      • optionsDefault.txt
      • roadmap.txt
    • scripts/client
      • animation.txt
      • collision.txt
      • Eliza.txt
      • environment.txt
      • keycodes.txt
      • minitypes.txt
      • patches.txt
      • poidata.txt
      • relations.txt
      • soundcluster.txt
      • soundprofile.txt
      • soundresources.txt
      • surface.txt
    • scripts/server
      • balance.txt
      • blueprint.txt
      • creatures.txt
      • drop.txt
      • equipsets.txt
      • faction.txt
      • pathObjects.txt
      • portals.txt
      • region.txt
      • spawn.txt
      • treasure.txt
      • triggerarea.txt
      • triggervolumes.txt
      • waypoints.txt
      • weaponpool.txt
      • worldobjects.txt
    • scripts/server/heroes
      • centurio.txt
      • dragonmage.txt
      • dryadin.txt
      • highelve.txt
      • inquisitor.txt
      • seraphim.txt
      • templeguard.txt
    • scripts/shared
      • books.txt
      • creatureinfo.txt
      • iteminfo.txt
      • itemtype.txt
      • material.txt
      • spells.txt
      • typification.txt

 

The tool is completely coded in lua and fully open source. The Script is included in the upload since version 1.1.0.

Credits:

  • Luiz Henrique de Figueiredo, I used his srlua to compile the script into a standalone .exe.

 

Link to comment

I have a question for everyone:

 

Is it understandable how it works and what you need to do?

Do you understand the README file?

Do you understand what it does?

 

It is important to me, because if there are uncertainties I need to figure out how to explain things from my head better.

 

EDIT: Forgot to mention something in the description and readme file. The .txt files you want to insert all have to start with "DEFINES_" (without quotation marks). It's no big deal if you're using it together with the Extractor because it does that automatically (that's why I didn't notice), but the tool is intended to be a standalone modmerger so that's kinda bad.

EDIT2: Included it into 1.0.1s README file. All the main functionality is working. I'm postponing quality-of life improvements (like changing the "DEFINES_" behaviour) into the future.

Edited by Lindor
Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...
Please Sign In or Sign Up