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

ToraCarol

  • Cool newbie
  • *
  • Posts: 68
  • Karma: 6
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40b)
« Reply #1350 on: 2018-08-09 19:15:33 »
In fact was a question to someone who knows, not you specifically.. so don't worry..ahah!

I'm also posting it on an Italian forum, but I was interested to share it also with you guys, for this reason I was askin.
About the english description there's no need to worry, I do it in any case ;P

Covarr

  • Covarr-Let
  • Administrator
  • No life
  • *
  • Posts: 3985
  • Karma: 122
  • Just Covarr. No "n".
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40b)
« Reply #1351 on: 2018-08-09 19:27:25 »
We don't have a strict rule regarding what language you use, but we generally prefer English, because the site staff all speaks English and it's quite difficult to adequately moderate things we don't understand. I've seen some people post dual-language posts with the content in both English and another language; I think that's a good compromise.

ToraCarol

  • Cool newbie
  • *
  • Posts: 68
  • Karma: 6
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40b)
« Reply #1352 on: 2018-08-09 19:40:02 »
Ok thanks for the informations, I guess I'll try to post here when I'll have also a full english version  8-)

Kanitel

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40b)
« Reply #1353 on: 2018-08-16 07:25:10 »
Pease help me. I am use Alternate Fantasy mod with FFIX Scaled Battle UI. After i use Hades Workshop and do some changes,game stuck on loading screen and don`t work. With vanilla files all just fine and changes work perfect.
etc. Sorry for my English.  :oops:

Tirlititi

  • Freak
  • *
  • Posts: 522
  • Karma: 68
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40b)
« Reply #1354 on: 2018-08-16 17:20:32 »
Unfortunatly, it is not possible to use Hades Workshop after installing a mod that changes the engine, not without workarounds.
You can still use HW to mod anything that is not the engine, though: just don't copy/paste the Assembly-CSharp.dll that is generated by HW after your changes.

Things you can change this way:
- Any text/name/description...
- Enemy data,
- Tetra Master data,
- Everything under the Environment panel.

In particular, the player's abilities, the items and shops are inside the engine and can only be modified with dnSpy or a similar tool, after the engine is modded as in your situation.

Kanitel

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40b)
« Reply #1355 on: 2018-08-16 18:24:55 »
Thank you for fast reply! Omg so simple and other time so complicated... 

Incinerator

  • Crazy poster
  • *
  • Posts: 174
  • Karma: 10
  • I’d rather have 1 real friend than a thousand fake
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40b)
« Reply #1356 on: 2018-08-16 22:57:37 »
To all regrading the model importer in Unity Assets Viewer, to import characters without crashing HW, the character you are either swapping or replacing must be re-rigged and skinned with the target’s appropriate skeletal bone structure. This also insures the charatcer animates properly (mesh deforms) with that target’s animation.
e.g.
swapping Lani model with Beatrix; rig and skin Beatrix’s bones to Lani’s model accordingly, these bones of Beatrix that animate her now applied to Lani correctly, so Lani doesn’t deform improperly. (Ex. Limbs flapping, folding erratically)
i show visual example once i return to the studio.
That’s just getting it to successfully import in HW without crashing, it will still crash in game as per all my tests.
Possibly add/modify function in AssemblyCSharp regrardding the limits/requirements of models like done with HD backgrounds handle.
This is for importing characters only.

omnilynx

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40b)
« Reply #1357 on: 2018-08-17 05:23:00 »
I think I found a bug in Hades Workshop, but I'm not sure, it could be some weird glitch in my game files. I noticed that whenever I edit the status effect on the spell Silence, it also modifies the status effect on Doom. Likewise Earth Shake seems to be paired with Slow and Dragon's Crest is paired with Annoy. Any time I change the status effect for one of them, the other also changes. There may be others as well, those are just the ones I verified.

Any ideas/fixes?

Incinerator

  • Crazy poster
  • *
  • Posts: 174
  • Karma: 10
  • I’d rather have 1 real friend than a thousand fake
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40b)
« Reply #1358 on: 2018-08-17 16:29:41 »
I think I found a bug in Hades Workshop, but I'm not sure, it could be some weird glitch in my game files. I noticed that whenever I edit the status effect on the spell Silence, it also modifies the status effect on Doom. Likewise Earth Shake seems to be paired with Slow and Dragon's Crest is paired with Annoy. Any time I change the status effect for one of them, the other also changes. There may be others as well, those are just the ones I verified.

Any ideas/fixes?

My only speculation be you changed status effcts from the “Edit Status” sub menu instead drop down, Seems odd from this angle, but I’m not near my pc to see.


@Tirlititi
Will there be a CIL macro for this?
Perhaps it will solve the game crashing problem.
« Last Edit: 2018-08-17 21:13:08 by Incinerator »

omnilynx

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40b)
« Reply #1359 on: 2018-08-18 01:55:24 »
My only speculation be you changed status effcts from the “Edit Status” sub menu instead drop down, Seems odd from this angle, but I’m not near my pc to see.

Welp, you're absolutely correct. Thanks!

Tirlititi

  • Freak
  • *
  • Posts: 522
  • Karma: 68
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40b)
« Reply #1360 on: 2018-08-18 19:28:27 »
No, I don't plan on making any other CIL macro.

Incinerator

  • Crazy poster
  • *
  • Posts: 174
  • Karma: 10
  • I’d rather have 1 real friend than a thousand fake
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40b)
« Reply #1361 on: 2018-08-18 23:25:25 »
No, I don't plan on making any other CIL macro.

Understandable.

Kefka

  • Crazy poster
  • *
  • Posts: 145
  • Karma: 8
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40b)
« Reply #1362 on: 2018-10-04 17:30:02 »
Hello tirlititi,

just wondering if it is possible to change the battle music for certain story battles? For example, the boss battles against Scarlet Hair and Tantarian have the normal battle theme playing, and I'd like to change that to the boss battle theme. Is this determined somewhere in the scripts of their respective field files?

Tirlititi

  • Freak
  • *
  • Posts: 522
  • Karma: 68
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40b)
« Reply #1363 on: 2018-10-04 19:23:38 »
No, it's determined in a couple of .txt files of the "resources.assets" archive. The files are called "BtlEncountBGMMetaData.txt" (for battles on the field) and "WldBtlEncountBGMMetaData.txt" (for battles on the map).

The files present like this :
Code: [Select]
{
  "ID of Field": {
    "ID of Battle in the Field": "ID of Battle Music",
    ...
  },
  ...
}
Battles have the music ID "0" (for normal encounters), "35" (for bosses) and "111" (for Hunter's Chance). Some battles are not registered in these files, when they don't stop the music played in the field (the "Don't Stop Music" battle flag is also checked for them in the "Enemy" panel).

Kefka

  • Crazy poster
  • *
  • Posts: 145
  • Karma: 8
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40b)
« Reply #1364 on: 2018-10-13 14:27:45 »
Quote
Battles have the music ID "0" (for normal encounters), "35" (for bosses) and "111" (for Hunter's Chance). Some battles are not registered in these files, when they don't stop the music played in the field (the "Don't Stop Music" battle flag is also checked for them in the "Enemy" panel).

Thanks, I really appreciate it.

On a related note, I tried adding random encounters to a field that previously didn't have them by copying the following lines to the Main_Init script:

Quote
    SetRandomBattleFrequency( 60 )
    SetRandomBattles( 2, 859, 849, 854, 854 )
Now I get proper random encounters in that field, but the music doesn't change to the battle theme. Instead, the normal field music keeps playing. Is there any sort of SoundCode that I have to add somewhere in the field script for that?

Tirlititi

  • Freak
  • *
  • Posts: 522
  • Karma: 68
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40b)
« Reply #1365 on: 2018-10-13 17:30:08 »
No: as you can see from the format of the "BtlEncountBGMMetaData.txt", the battle musics are not linked by "1 Battle -> 1 Music" but rather by "1 Field + 1 Battle -> 1 Music". So you need to add a line for your new battle (or, more precisely, to your new use of a battle inside a field) inside this .txt file.

No sound code needs to be added in the field script.

Little Cloud

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40b)
« Reply #1366 on: 2018-10-14 06:32:18 »
Hi, just wanted to say awesome tool, man, many thanks, have been using it for months, but now I'm posting for the first time here. I can do a lot with HW, but how do I open that resource.assets file, never had such a file format before, do I need a special tool to open it? Sorry to bother you, but I'm at a complete loss here, but thanks for this great tool, man!

vomitrocious00

  • Fast newbie
  • *
  • Posts: 9
  • Karma: 0
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40b)
« Reply #1367 on: Yesterday at 23:38:07 »
Is there a way to change the Encounter Rate on Steam to something similar to the PS version?
I've noticed I'll run through an entire dungeon with maybe 1 or 2 encounters.

Tirlititi

  • Freak
  • *
  • Posts: 522
  • Karma: 68
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40b)
« Reply #1368 on: Today at 07:26:39 »
@Little Cloud: The resources.assets file is an Unity archive and it can be opened with a few tools available on the internet.
Hades Workshop can also open it a bit more conveniently: go to "Tools -> Unity Assets Viewer" and open the FF9_Launcher.exe in this tool. From there, you can access to all the Unity archives of the game. The resources.assets is in the list "Archive -> Shared Assets -> Resources".

It contains pretty much all the texts of the game (that's why HW generates a new one when exporting as Steam mod), card datas, spell animation datas, copies of the PSX world map chunk, a few images (though most interesting images are in the "sharedassets2" archive), some meta-data files like the one discussed above, etc...

Contrary to what happens when you open the datas within the main frame of HW, the changes you will make on the archives ("right-click -> import selection") will apply directly on the archives and replace them on your hard drive, instead of letting you doing it yourself.

@vomitrocious00: That's a big unknown for me. You can find there a discussion on this encounter rate. I must be missing something because there doesn't seem to be a big difference between the way random encounters are coded in the Steam version compared to the description that SoftReset did on the PSX mechanics. There is no doubt that the encounter rate is lower on Steam though... So either a little change in the mechanics is enough to produce that effect, or I didn't catch a condition to launch a random encounter that would have been added for Steam.

If you want to adjust numbers inside the code to increase the encounter rate, it's in the method "ProcessEncount" of the class "EventEngine". You can edit it in HW in the "CIL Code" panel, but it is much more convenient and safer to use the tool dnSpy as it allows to edit the source code in C# and not the assembly code in CIL. I don't know what to change in order to get the exact same encounter rate as the PSX version.
There are also random encounter rates inside the Field scripts but they are the same between PSX and Steam version and it would be uselessly tedious to change them for each field.

lyokoffx

  • Newbie
  • *
  • Posts: 1
  • Karma: 0
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40b)
« Reply #1369 on: Today at 13:43:30 »
Hello everyone

I have a 3D model export problem FF9 I have this message has it


is there a way to export its model without worry?

And thank you in advance
« Last Edit: Today at 13:46:58 by lyokoffx »