Skip to content
This repository has been archived by the owner on Sep 9, 2024. It is now read-only.

Releases: Xgames123/PrimitierModdingFramework

V0.5.1

01 Aug 13:12
Compare
Choose a tag to compare
V0.5.1 Pre-release
Pre-release

Release notes

Framework

  • Fixed project template doesn't have DirectDllLink=true set in .pmftoolconfig
  • Fixed JSON having single quotes in mod.json auto generation #5
  • Fixed loading multiple mods doesn't work #6
  • Fixed ICustomSavable.load doesn't get called
  • Fixed substances changing when a new substance gets added to primitier

Pmftool

  • Changed/Fixed --novr option in pmftool run now teleports the player to the camera so the chunks around the camera get loaded

Moving from last version to this one

Important

  • run dotnet tool update xgames105.pmf.pmftool --global
  • In your .csproj change the Version attribute to 0.5.1
  • In all classes that implement ICustomSavable add this to the constructor CustomSaveFileSystem.RequestLoad(this);

V0.5

11 Jul 11:03
3ef0b24
Compare
Choose a tag to compare
V0.5 Pre-release
Pre-release

You can find all pmf packages on nuget
Note: the git tag of this release is in the wrong place and I can't fix it

Release notes

Framework

  • (DOESN'T WORK) Added ICustomSavable to save data of a cube behaviour into the world file

  • Added PMFHelper.PrimitierDefaultFont to get the font used in Primitier

  • Added component dumpers for TextMeshPro, StartButton and CubeBase

  • Added OnEarlySubstanceInitialize to CustomSubstanceSettings

  • Added AddCustomCubeBehaviour to CustomSubstanceSettings

  • Removed OnFragmentInitialized and OnCollideWithCube from ICustomCubeBehaviour since they don't work (See docs for alternaives)

PMFTool

  • Added directly linking to the proxy dlls (This is better for your hard drive or ssd because it doesn't have to copy any files every time you run pmftool run)
  • Added pmftool run --start-slot 8 to start the game in a slot
  • Added detach flag to not attach to the Primitier process after running it
  • Optimised pmftool run to not copy every single file to the mods directory

Moving from older version to this one

Important

  • run dotnet tool update xgames105.pmf.pmftool --global

  • In your .csproj change the Version attribute to 0.5

  • If you use OnSubstanceInitialize to add a custom cube behaviour change that to AddCustomCubeBehaviour and return the cube behaviour like this

    From this

    OnSubstanceInitialize = (CubeBase cubeBase) =>
    {
        cubeBase.gameObject.AddComponent<Decay>();
    
    }

    To this

    AddCustomCubeBehaviour = (CubeBase cubeBase) =>
    {
       return cubeBase.gameObject.AddComponent<Decay>();
    }

Not required but you should do this

  • open .pmftoolconfig and add
    DirectDllLink=true
    Than run pmftool update-dlls

Optional

  • Remove unused OnCollideWithCube and OnFragmentInitialized methods

V0.4.1

27 Jun 11:46
Compare
Choose a tag to compare
V0.4.1 Pre-release
Pre-release

Release notes

  • Added a getting started video
  • Added Msbuild support
  • Moved all packages to nuget

You can find all pmf packages on nuget

V0.4

08 May 09:08
Compare
Choose a tag to compare
V0.4 Pre-release
Pre-release

A lot of things have changed in this update. so I recommend to look thru the demo mod to find what has change
(The old things should still work)

Big things

  • Added Custom asset loading
  • Added ICustomCubeBehaviour used to create custom CubeBehaviours
  • Added CustomSubstanceBuilder used for generating custom substances
  • Added PMFLocalizer to create custom localizations for Jp and En
  • Added --novr option to PMFTool run to enable the fly cam

Release notes

  • Changed the "Debug Tool" title to "Mod settings" in game
  • Added Toggle buttons to InGameDebugTool
  • Added PMFLocalizer to create custom localizations for Jp and En
  • Added CustomSubstanceBuilder used for generating custom substances
  • Added localizations for custom substance
  • Added Custom asset loading
  • Added ICustomCubeBehaviour used to create custom CubeBehaviours
  • Added PMFHelper.AutoInject() to automaticly find ICustomCubeBehaviour classes and injects them
  • Added CustomSubstanceSystem.GetSubstance to get a substance by its enum id
  • Added CustomSubstanceSettings param to CustomSubstanceSystem.LoadCustomSubstance
  • Added OnSubstanceInitialize action to CustomSubstanceSettings (This allows you to add components or do stuff when a new cube base using the substance is initialized)

V0.3.1

29 Apr 19:15
Compare
Choose a tag to compare
V0.3.1 Pre-release
Pre-release

Release Notes

  • Changed the icon because it was copyrighted (If you find the old one somewhere please let me know)

Note: The PMFLibV0.3.zip is V0.3 because it doesn't have an icon in it

V0.3

17 Apr 13:31
Compare
Choose a tag to compare
V0.3 Pre-release
Pre-release

This is a big update in getting started using pmf.
If this release has any problems please create a issue.

Release notes

  • Improved documentation (Hopefully)
  • Fixed debug tools from different mods not merging in to 1 debug tool
  • Fixed dlls in the Dlls folder were not being referenced by the DemoMod
  • Added a fly cam
  • Added PMFTool for easily running mods, packing mods and updating dlls for mods
  • Added a new PMF event (OnRealyLateUpdate)
  • Added custom object support (like drones and engines)
  • Added project templates for pmf

V0.2

20 Feb 11:30
Compare
Choose a tag to compare
V0.2 Pre-release
Pre-release

Release notes

  • Added dlls required to run the demo mod in a folder called Dlls (Now the demo mod works when you clone it)
  • Added Custom materials
  • Added sound dumping into ResourceXmlDumper
  • Added PlayerLife to PMFHelper
  • Changed the size of buttons on in game debug tool
  • Added [Obsolete("This is going to be implemented in the future")] to non working methods and classes
  • Added PMFSystem.IsEnabled()

V0.1

22 Jan 16:42
Compare
Choose a tag to compare
V0.1 Pre-release
Pre-release