Gildor's Forums

Author Topic: Adding new games for Eliot.UELib.dll source code  (Read 60 times)
BatFan
Newbie
*
Posts: 30


Smasha


View Profile
Adding new games for Eliot.UELib.dll source code
« on: August 03, 2020, 16:56 »

Hello everyone and programmers
Not long time ago I decided to build support for game in UELibrary.dll Source code.
Okey so first I found in Uproperty.cs
Code:
public UProperty()
        {
            Type = PropertyType.None;
        }

And I started writing this code under
Code:
protected override void Deserialize()
        {
            base.Deserialize();

So at the beggining I add
Code:
if (Package.Build == UnrealPackage.GameBuild.BuildName.BatmanArkhamCity && Package.Version >= 805 //City
)
            {

The rest of code is

Code:
#region

                if (!Package.IsConsoleCooked())
                {
                    CategoryIndex = _Buffer.ReadNameIndex();
                    Record("CategoryIndex", CategoryIndex);

                    if (Package.Version > 805) //Missing
                        if (Package.LicenseeVersion > 101) //Missing
                            if (Package.EngineVersion > 7748) // Missing
                                if (Package.PackageFlags > 0x0088000D)

                                    ArrayEnum = GetIndexObject(_Buffer.ReadObjectIndex()) as UEnum;
                    Record("ArrayEnum", ArrayEnum);

                }
            }

And I still figure out what add after this code and I'm not sure how write code for PackageFlags.

It would be great if someone help me with high C#/C++ programming knowledge.

You will also help many modders in our discord club who are interested in modding Batman Arkham Games, we looking for person who might help us and able to decompile package in UE Explorer for edit packages.
Logged
BatFan
Newbie
*
Posts: 30


Smasha


View Profile
Re: Adding new games for Eliot.UELib.dll source code
« Reply #1 on: August 03, 2020, 21:34 »

In meanwhile I edited this code below for Flags parm but I'm not sure about that.

Code:
//Start if PackageFlags
         bool HasPropertyFlag( PackageFlags.PropertyFlagsLO flag )
        {
            return ((uint)(PropertyFlags & 0x0088000D) & (uint)flag) != 0;
        }

         bool HasPropertyFlag( Flags.PropertyFlagsHO flag )
        {
            return ((PropertyFlags >> 32) & (uint)flag) != 0;
        }

         bool IsParm()
        {
            return HasPropertyFlag( Flags.PropertyFlagsLO.Parm );
       
        }
and yes it is 32bit game.
Logged
Jump to:  

Powered by SMF | SMF © 2006-2009, Simple Machines LLC
Leviathan design by Bloc | XHTML | CSS