Author Topic: [PSX/PC] General editor - Hades Workshop (0.50b)  (Read 844972 times)

Caledor

  • *
  • Posts: 212
  • [ITA]
    • View Profile
    • Facebook Page
Re: [PSX/PC] General editor - Hades Workshop (0.41c)
« Reply #1675 on: 2020-03-16 04:43:21 »
Sorry to bother you again, but i was looking at command formulas and... isn't Jump very weak? Assuming same atk, def and multiplier, multiplying the attack (like shock, free energy etc) is better than multiplying [atk-def] like jump does.

Moreover, Power Jump grants only a minor improvement (x1.33) compared to something like power throw (x1.5 + vs. aerial bonus + berserk bonus) and is acquired similarly late. Also dunno what to think about the increased randomness in Trance Jump but i'll see that later.

What do you think, considering you didn't really change Jump in your mod?
Also, if i were to change it, could you please tell me where to look for among the CIL code section?

Tirlititi

  • *
  • Posts: 874
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.41c)
« Reply #1676 on: 2020-03-16 12:47:52 »
It is not very weak, no. The "physical strike" (Shock, Free Energy, etc.) formula is exactly the same (it also takes the defence into account) provided that it has a power of 15 (Free Energy is in this case for instance).

Damage Free Energy = (1.5 * Atk - Def) * Bonus
Damage Jump = (1.5 * Atk - Def) * Bonus
Damage Shock = (3 * Atk - Def) * Bonus

The difference is that Jump costs no MP, is available from the start and has the feature of making Freya untargetable for some time.
High Jump raises Jump's damage to "(2 * Atk - Def) * Bonus", which is the power of Scoop Art.
Of course, if you take damage boosts into account, then the attack command can be tremendously better (there's a reason why it's used in speedruns), but it requires a better preparation and being in front row.
However, the trance damage formula is really bad indeed. The added randomness (similar to Quina's attack) makes it very weak and it's not even counter-balanced by the multi-targeting since the damage are spread (so "more enemies = less damage per enemy").

In my mod, Spear has the same damage formula but it takes the properties of the weapon into account (elemental damage, killer abilities...) so it can be useful even in late game for damage. I had to edit the game's source code for that though. I also fixed the trance damage, removing the added randomness.

If you want to modify Jump's damage formula, you may need to edit the game's source code (that's the CIL code section, but I advise you to use an external tool, dnSpy, instead: it allows to modify the source code as well but it's way more advanced) but that depends on what you want:
1) If you want to make jump's damage use a different already existing formula (like Shock, where you control the multiplier), you can simply change it in the panel "Party -> Spells" and look for the abilities "Spear" at the end of the list: the first one holds the normal damage formula, the second one holds the trance damage formula.
2) If you want to use a new damage formula or if you want to modify Jump's "Freya leaves temporarily the field" principle, then you need to change the source code indeed. Specifically, you need the edit the class "btl_calc" (in dnSpy, open the game's "Assembly-CSharp.dll" and search for "btl_calc" inside the folder "-"). Here is what it looks like (I've rewritten the class in order to add comments and readability, but it's still C#). You can see that there is a case 48 and 83 for the formulae of Spear and Trance Spear in the main method CalcMain.

Caledor

  • *
  • Posts: 212
  • [ITA]
    • View Profile
    • Facebook Page
Re: [PSX/PC] General editor - Hades Workshop (0.41c)
« Reply #1677 on: 2020-03-16 13:03:00 »
Good news then, i was misled by Hades Workshop's effect description. Psysical strikes have a [Atk * Mul - Def] in their formula description, while Spear has a Mul * [Atk - Def] formula (description only).

Issue with solution 1) is that High Jump becomes useless. dnspy sounds exactly like what i need, i had already found spear and trancespear in Memoria Engine's source but with that tool i can even study your changes.

Tirlititi

  • *
  • Posts: 874
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.41c)
« Reply #1678 on: 2020-03-16 13:59:35 »
Ok I'm dumb ><

Damage Free Energy = (1.5 * Atk - Def) * Bonus
Damage Jump = 1.5 * (Atk - Def) * Bonus
Damage Shock = (3 * Atk - Def) * Bonus

They are not the same indeed. I stand corrected.
So actually, Jump's damage works as if you had 1 damage boost compared to the "attack command without damage modifier".

If you download the Source files of Alternate Fantasy, you'll have a description of the changes I made in the Readme.txt. I think that it can help you understanding what does what. However, the class "btl_calc" was completly changed and there is no details of the changes for that, except the description of the mod in its topic.
« Last Edit: 2020-03-16 14:01:43 by Tirlititi »

Caledor

  • *
  • Posts: 212
  • [ITA]
    • View Profile
    • Facebook Page
Re: [PSX/PC] General editor - Hades Workshop (0.41c)
« Reply #1679 on: 2020-03-16 14:31:35 »
So i'm right and jump is rendered completely worthless by... anything, like a killer ability. Unless they stack somehow.
Don't worry though, i'm comfortable with comparing changes and with the resources you provided i can change jump however i want. It's pretty easy to figure it out.
« Last Edit: 2020-03-16 14:59:01 by Caledor »

Tirlititi

  • *
  • Posts: 874
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.41c)
« Reply #1680 on: 2020-03-16 15:11:49 »
Still, "Command attack + 1 killer ability + front row" has same damage as "Jump + back row".

Caledor

  • *
  • Posts: 212
  • [ITA]
    • View Profile
    • Facebook Page
Re: [PSX/PC] General editor - Hades Workshop (0.41c)
« Reply #1681 on: 2020-03-16 19:27:12 »
This is what i came up with for Jump. A physical strike (thinking of atk mul of 1.3) that is boosted by Trance, Berserk, and by High jump (by 1.5 just like throw) and takes the element of the weapon. Funny how Freya's Jump actually became weaker with Trance despite being its main focus.

Code: [Select]
case 48:
case 83:
btl_calc.CalcSub_13A(calc_VAR);
btl_calc.CalcSub_141(calc_VAR);
btl_calc.CalcSub_143(calc_VAR);
btl_calc.CalcSub_151(calc_VAR);
if ((caster.sa[0] & 2097152U) != 0U)
{
calc_VAR.at_num = (short)(calc_VAR.at_num * 3 >> 1);
}
if (prog_no == 48)
{
if (btl_calc.CalcSub_152(calc_VAR))
{
btl_calc.CalcSub_203(calc_VAR);
}
}
else
{
if (btl_calc.CalcSub_152(calc_VAR))
{
int num14;
if ((num14 = (int)(calc_VAR.at_pow - calc_VAR.df_pow)) <= 0)
{
num14 = 1;
}
CALC_VAR calc_VAR33 = calc_VAR;
calc_VAR33.tg_flags |= 1;
if (calc_VAR.at_num < 4)
{
calc_VAR.at_num = 4;
}
int num15 = (int)((long)(num14 * (int)calc_VAR.at_num) / (long)((ulong)btl_util.SumOfTarget(0U)));
if (num15 > 9999)
{
num15 = 9999;
}
if ((calc_VAR.flags & 8) != 0)
{
calc_VAR.tg_flags |= 2;
}
calc_VAR.tg_hp = (short)num15;
}
}
break;

Also i want you to look at this 2 lines of case 19, Physical Strike:
Code: [Select]
btl_calc.ApplySpellElementBoost(calc_VAR);
if (btl_calc.ApplyWeapElement(calc_VAR))
{ [...] }

Dunno if elemental physical strikes exist, but doesn't this mean that the spell uses the element of the weapon for the sake of weaknesses/freeze/heat whatever and the element of the SPELL (not the weapon) for the sake of elm. boost alone?

Aka, an Excalibur II powered Shock will deal improved damage agains enemies weak to holy, BUT non-boosted damage if Steiner is equipped to boost Holy. But if we make Shock, dunno... Fire-elemental, Shock will deal improved damage against enemies weak to Holy (Excalibur II) AND if equipped to boost Fire.

Sounds like an oversight to me, like the first line should be ApplyWeapElementBoost instead of ApplySpellElementBoost.
« Last Edit: 2020-03-17 02:06:48 by Caledor »

Tirlititi

  • *
  • Posts: 874
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.41c)
« Reply #1682 on: 2020-03-16 20:00:35 »
Dunno if elemental physical strikes exist, but doesn't this mean that the spell uses the element of the weapon for the sake of weaknesses/freeze/heat whatever and the element of the SPELL (not the weapon) for the sake of elm. boost alone?
Yes exactly. Not sure if it's an oversight or anything, but that's indeed how it works.

Caledor

  • *
  • Posts: 212
  • [ITA]
    • View Profile
    • Facebook Page
Re: [PSX/PC] General editor - Hades Workshop (0.41c)
« Reply #1683 on: 2020-03-19 16:12:14 »
https://imgur.com/a/WvbXtHI

I've noticed this minor issue in the equipment UI. With dnSpy i found the code portion that handles this section (EquipUI, mostly within DisplayParameter), but there's code for everything bar positioning (the ones that activate it, ArrowTween for the flashing of the arrow, colors...).

Dunno if a vector with absolute values exists somewhere or if there's an iterator that's supposed to align those numbers either.

Tirlititi

  • *
  • Posts: 874
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.41c)
« Reply #1684 on: 2020-03-19 16:41:27 »
The positions of UI elements are stored in one of the archives (I don't remember which one though) as Unity serialized objects ("Transform", "GameObject", etc...). I don't know of any tool that would display/mod them nicely but it may exist since it's Unity's format.

Inside the code, you can use lines like that one to change things.
Code: [Select]
// I think this was a working example for BattleUI
this.CommandPanel.GetComponent<UIWidget>().GetChild(0).GetComponent<UIWidget>().SetRect( X, Y, W, H );
// ... or lines like this
this.CommandPanel.transform.localPosition = new Vector3( X, Y, this.CommandPanel.transform.localPosition.z );

But ask TehMighty because he worked a lot on UI and succeeded in having great results.

Caledor

  • *
  • Posts: 212
  • [ITA]
    • View Profile
    • Facebook Page
Re: [PSX/PC] General editor - Hades Workshop (0.41c)
« Reply #1685 on: 2020-03-19 21:04:04 »
Thanks again Tirlititi!

The transform.localPosition worked somehow, but the best result i managed to achieve is fixing the position every time but one: the very first time it's displayed after a reset it's in the wrong position (x=288 instead of 292). I asked TehMighty just now cause maybe a more permanent solution (finding the actual transform file related to that) is needed.

Xenogears

  • *
  • Posts: 43
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.41c)
« Reply #1686 on: 2020-03-22 14:00:18 »
Hi, tell me how can I fix this through HadesW? Map:1807 Loc:88 Alexandria Castle/Hallway
https://drive.google.com/open?id=1TEST7L1PyIw1guMMuh0PHxiNjtIfZ8dk
 I understand that this is due to Widescreen mode, is it possible to somehow center, I do not want to disable this mod.
It should be like this.
https://drive.google.com/open?id=1n2pkpelAdPJsuRNsKbdBBxEVIMHDabi0


Tirlititi

  • *
  • Posts: 874
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.41c)
« Reply #1687 on: 2020-03-22 15:43:17 »
It's not currently possible Xenogears, unfortunatly. That's indeed a problem with the widescreen mode: background pictures have a size adjusted to the screen mode used in the PSX version. These backgrounds have not been extended for the PC port (it would have been a huge work).

What might be done to fix some of these problems is to reduce the camera bounds. It can be done in HW for each field script 1 by 1 but it would be much better to do it with dnSpy/source code modding.

It wouldn't fix many fields, like Observatory Mountain's fields.

Caledor

  • *
  • Posts: 212
  • [ITA]
    • View Profile
    • Facebook Page
Re: [PSX/PC] General editor - Hades Workshop (0.41c)
« Reply #1688 on: 2020-03-23 13:57:47 »
Reporting back after talking with TehMighty, in case you're interested.

The "Spirit value x position bug" is fixed by creating a new class inside EquipUI, like this.

Code: [Select]
    public class FixSpiritSkillNumberLabelPos : MonoBehaviour
    {
        void Start()
        {
            transform.localPosition = Vector2.right * 292;
        }

        void OnEnable()
        {
            transform.localPosition = Vector2.right * 292;
        }
    }

And using it inside ParameterDetailCompareHUD, like this:

Code: [Select]
public class ParameterDetailCompareHUD
    {
        public ParameterDetailCompareHUD(GameObject go)
        {
            this.Self = go;
            Int32 i = 0;
            Int32 num = 0;
            while (i < 10)
            {
                if (i != 4)
                {
                    this.ParameterLabel[num] = go.GetChild(i).GetChild(1).GetComponent<UILabel>();
                    this.NewParameterLabel[num] = go.GetChild(i).GetChild(3).GetComponent<UILabel>();
                    this.ArrowSprite[num] = go.GetChild(i).GetChild(2).GetComponent<UISprite>();
                    this.ArrowTween[num] = go.GetChild(i).GetChild(2).GetComponent<TweenAlpha>();
                    num++;
                }
                i++;
            }
            //This is the added line of code
            NewParameterLabel[3].gameObject.AddComponent<FixSpiritSkillNumberLabelPos>();
        }

        public GameObject Self;
        [...]
    }

Another minor graphical bug i discovered involves the "Remove Equipment" submenu. Parameter changes aren't displayed for the very first piece of equipment the arrow points to, but only after to press up or down to switch to another one. Fixed by adding this.DisplayParameter() here:

Code: [Select]
public override bool OnKeyConfirm(GameObject go)
{
bool flag2 = base.OnKeyConfirm(go);
if (flag2)
{
bool flag3 = ButtonGroupState.ActiveGroup == EquipUI.SubMenuGroupButton;
if (flag3)
{
this.currentMenu = this.GetSubMenuFromGameObject(go);
switch (this.currentMenu)
{
case EquipUI.SubMenu.Equip:
case EquipUI.SubMenu.Off:
FF9Sfx.FF9SFX_Play(103);
ButtonGroupState.ActiveGroup = EquipUI.EquipmentGroupButton;
ButtonGroupState.SetSecondaryOnGroup(EquipUI.SubMenuGroupButton);
ButtonGroupState.HoldActiveStateOnGroup(EquipUI.SubMenuGroupButton);
this.DisplaySubMenuArrow(false);
this.DisplayEquiptmentInfo();
// Line added here
this.DisplayParameter();
break;
case EquipUI.SubMenu.Optimize:
[...]

Xenogears

  • *
  • Posts: 43
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.41c)
« Reply #1689 on: 2020-03-28 12:43:15 »
It's not currently possible Xenogears, unfortunatly. That's indeed a problem with the widescreen mode: background pictures have a size adjusted to the screen mode used in the PSX version. These backgrounds have not been extended for the PC port (it would have been a huge work).

What might be done to fix some of these problems is to reduce the camera bounds. It can be done in HW for each field script 1 by 1 but it would be much better to do it with dnSpy/source code modding.

It wouldn't fix many fields, like Observatory Mountain's fields.

Hi, I already used the dnSpy program somehow, but I still need to find where to write all this. Albeoris told me that somewhere there are lines

public static Boolean IsNarrowMap()
    {
        switch (FF9StateSystem.Common.FF9.fldMapNo)
        {
            case 0052: // Prima Vista - Meeting Room
            case 0455: // Mountain - Base
            case 1507: // Conde Petie - Pathway
            case 1605: // Madain Sari - Eidolon Wall
            case 1606: // Madain Sari - Chamber
            case 1607: // Madain Sari - Kitchen
            case 1807: // Alexandira Castle - Hallway
            case 1823: // Alexandira Castle - Hallway
            case 2000: // Hilda Garde 2 - Deck
            case 2007: // Alexandira Castle - Altar
            case 2204: // Desert Palace - Odessey
            case 2208: // Desert Palace - Hallway
            case 2261: // Oeilvert - Bridge
            case 2363: // Gulug - Path
            case 2510: // Iifa Tree - Silver Dragon
            //case 3009: // Ending - TH
            //case 3010: // Ending - TH
            //case 3011: // Ending - TH
                return true;
        }
        return false;
    }

I managed. But now I do not know how to return the location to its original state after their conversation.
« Last Edit: 2020-03-28 13:32:15 by Xenogears »

Tirlititi

  • *
  • Posts: 874
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.41c)
« Reply #1690 on: 2020-03-28 19:33:47 »
Thanks Caledor.

@Xenogears: I don't understand what you mean. What did Albeoris tell you about these lines? What conversation (conversion?) are you talking about? What did you managed to do?

DV

  • *
  • Posts: 23
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.41c)
« Reply #1691 on: 2020-04-07 17:46:26 »
Hello everyone !

I am very curious how work modding with FFIX and that's why i decide to test HW !
However... i am big newbie with it  :roll: (never use C# on my life lol but i can learn... i think)

For my first experience, i add BigDragon on Evil Forest first zone (light clearing).... yeah, pretty brutal.

I follow theses steps on "Properly adding a new enemy to a battle (Steam)"
Dragon is present with Goblin and Fang, can attack Zidane but i have two issues :

- Dragon is called "Lame" (mean Knife in FR)
- All attacks from Dragon, Goblin and Fang display wrongly : sometimes there's is nothing (text box is empty), or None (EN)/Rien (FR) showed or EnnemyDummy for Dragon



As i said, i follow all steps from Tirlititi, use simply IA for Dragon (with 2/3 DragonClaw and 1/3 Thundaga), compare with other battles....
I didn't edit attacks and IA from Goblin and Fang and i copy all Dragon attacks from his original battle.
After few hours of testing... i am lost.

I am asking your help... i think i am dumb to find why it's broken ;D

Spoiler: Main_Init • show
Function Main_Init
    switch 2 ( GetBattleGroupId ) from 0 {
    case +0:
        InitObject( 2, 128 )
        InitObject( 3, 129 )
        break
    case +1:
        InitObject( 1, 128 )
        InitObject( 3, 129 )
        break
    }
    return


Spoiler: Dragon_Init • show
Function Big_Dragon_Init
    return


Spoiler: Dragon_ATB • show
Function Big_Dragon_ATB
    if ( GetRandom % 3 ) {
        set SV_Target = RandomInTeam(SV_PlayerTeam)
        Attack( 6 )
        return
    }
    set SV_Target = SV_PlayerTeam
    Attack( 9 )
    return
« Last Edit: 2020-04-07 17:48:40 by DV »

DV

  • *
  • Posts: 23
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.41c)
« Reply #1692 on: 2020-04-08 00:31:09 »
Hello everyone !

I am very curious how work modding with FFIX and that's why i decide to test HW !
However... i am big newbie with it  :roll: (never use C# on my life lol but i can learn... i think)

For my first experience, i add BigDragon on Evil Forest first zone (light clearing).... yeah, pretty brutal.

I follow theses steps on "Properly adding a new enemy to a battle (Steam)"
Dragon is present with Goblin and Fang, can attack Zidane but i have two issues :

- Dragon is called "Lame" (mean Knife in FR)
- All attacks from Dragon, Goblin and Fang display wrongly : sometimes there's is nothing (text box is empty), or None (EN)/Rien (FR) showed or EnnemyDummy for Dragon



As i said, i follow all steps from Tirlititi, use simply IA for Dragon (with 2/3 DragonClaw and 1/3 Thundaga), compare with other battles....
I didn't edit attacks and IA from Goblin and Fang and i copy all Dragon attacks from his original battle.
After few hours of testing... i am lost.

I am asking your help... i think i am dumb to find why it's broken ;D

Spoiler: Main_Init • show
Function Main_Init
    switch 2 ( GetBattleGroupId ) from 0 {
    case +0:
        InitObject( 2, 128 )
        InitObject( 3, 129 )
        break
    case +1:
        InitObject( 1, 128 )
        InitObject( 3, 129 )
        break
    }
    return


Spoiler: Dragon_Init • show
Function Big_Dragon_Init
    return


Spoiler: Dragon_ATB • show
Function Big_Dragon_ATB
    if ( GetRandom % 3 ) {
        set SV_Target = RandomInTeam(SV_PlayerTeam)
        Attack( 6 )
        return
    }
    set SV_Target = SV_PlayerTeam
    Attack( 9 )
    return


EDIT : Ok so i found why that didn't work.
1) I am dumb
2) I forget to copy ressources.assets from HW... I thought only p0data files store data combat but i was wrong...

Sorry for this useless post :D

Tirlititi

  • *
  • Posts: 874
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.41c)
« Reply #1693 on: 2020-04-09 16:25:32 »
Fiou, thank you for telling me that you fixed it. I was thinking that there would be a bug with the copy/paste of enemies or abilities (there used the be some bugs with the same kind of effect as you had but I think it is fixed now).

Indeed, the resources.assets contains pretty much all the texts of the game among other things.

ERAISERZEE

  • *
  • Posts: 51
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.41c)
« Reply #1694 on: 2020-04-18 13:10:59 »
hello could you tell me why it doesn't open the p0data2.bin file of the mogouri mod?

Caledor

  • *
  • Posts: 212
  • [ITA]
    • View Profile
    • Facebook Page
Re: [PSX/PC] General editor - Hades Workshop (0.41c)
« Reply #1695 on: 2020-04-19 01:47:17 »
ERAISERZEE check your PMs, answered you there

DV

  • *
  • Posts: 23
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.41c)
« Reply #1696 on: 2020-04-19 03:25:49 »
Hi everyone,

I want to edit completely Focus and i see you can edit that with CIL or dnSpy... but i have 2 questions :

- First, with Tirlititi's files on dropbox, i find some informations about Focus on Source_btlCalc.cs.
So i found this code on btlCalc with dnSpy

Code: [Select]
case 44:
{
ELEMENT elem2 = target.elem;
if ((elem2.mgc += target.elem.mgc / cmd.aa.Ref.power) > 99)
{
target.elem.mgc = 99;
}
break;
}

But this code only prevent to exceed 99 of magic... no ? If i need to totally change how works Focus, i need to edit this or something else ?

- I never use DnSpy before : i want to edit btl_calc for example but when i compile files, i get a lot of error about some missing method System.UIInt16, System.Object, System.Byte, System.Void, ect...

Spoiler: show



How fix that ? ...  :-[

Thanks you in advance !

Tirlititi

  • *
  • Posts: 874
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.41c)
« Reply #1697 on: 2020-04-20 13:14:02 »
Hello DV,
Well, for your first question: this code actually adds magic to the targets and is not only about capping it to 99, although that's not so obvious (even for people that are a bit used to coding).
Code: [Select]
if ((elem2.mgc += target.elem.mgc / cmd.aa.Ref.power) > 99)There's a "+=" operation there, which adds things but also return the value of "elem2.mgc" after it was updated for a comparison with "99".
You can read that line as this instead, for clarity:
Code: [Select]
elem2.mgc += target.elem.mgc / cmd.aa.Ref.power;
if (elem2.mgc > 99)

The errors you get with dnSpy means that, for some reason, dnSpy doesn't have access to a proper "System.dll"... which is strange because it should be right there, next to the "Assembly-CSharp.dll" that you opened.
Check the list of DLLs that dnSpy opened on the left of the window, it might be that dnSpy opened automatically two different "System.dll", one of which being so dull that it doesn't even define basic types... if that's the case, right-click on the duplicate(s) (the one(s) that are not located inside FF9's game folder) and remove them ("Remove System.dll"; don't worry, it only removes it from dnSpy, it doesn't delete the file from the disc).

That being said, you'll surely have more errors when that one will be fixed. A tedious error that dnSpy gives is "Cannot implicitly convert type '[Type A]' to '[Type B]'. An explicit conversion exists (are you missing a cast?)". Everytime this error appears, you need to add explicitly a cast to [Type B]... and dnSpy just immediatly forgets about it after compilation, such that when you edit the method/class a second time, these errors reappear.

I just updated the class "blt_calc" in my dropbox in order to have a proper compilable code in dnSpy (and added readability things). You can copy/paste the whole class from there and do the changes on that copy: it won't trigger the conversion errors described above.
« Last Edit: 2020-04-20 13:15:51 by Tirlititi »

DV

  • *
  • Posts: 23
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.41c)
« Reply #1698 on: 2020-04-21 01:57:06 »
Thank you again for his answer Tirlititi !

....
*after few hours*
Me :


I can now compile new code with your btl_calc class... but i didn't understand something : which Assembly-CSharp.dll I need to edit ?

Maybe i forget to mention that but i use Moguri Mod : when i patch it, Assembly-CSharp.dll is totally different from NMM used with HW : i can't find btl_calc on this .dll patched by Moguri...

Btl_calc is available on Assembly-CSharp.dll from NMM but how i can replace modifications added ? (can't replace .dll otherwise, game have some troubles lol)

I am a little lost ^^




DV

  • *
  • Posts: 23
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.41c)
« Reply #1699 on: 2020-04-21 15:58:27 »
Sorry for double post, i can't edit my previous message (don't know why  :-\).

After an entire night searching about that, i finally find : i complety forget Memoria use scripts to edit various things.

But Memoria.compiler didn't work on my side (can't find files location, something like else). What a pain lol

So, i use Dnspy to edit Memoria.scripts.dll directly and finally, i can modify Focus and all !

Thanks again Tirlititi for pointing me in the right direction : I hope I hold all the cards this time :)