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

Tirlititi

  • *
  • Posts: 886
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40b)
« Reply #1375 on: 2018-10-20 11:19:14 »
Try to right-click on HW (the program's .exe) and select "Run as administrator", it should fix the problem.
But then again, "NoName" files are not interesting for 3D models and that's not what you want to export.

lyokoffx

  • *
  • Posts: 27
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40b)
« Reply #1376 on: 2018-10-20 12:11:06 »
I thank you very much for your help it works without worry thanks to "Run as administrator"

and to have me warn of these file "NoName"

Thank you very much for this trick

I have a three question

1- you can facilitate my search by telling me that kind of model3D category for each folder ? dexprotation of "unity asset viewer" expmle "p0data2" = "weapon" (= exmple)

and what are the missing models ?

2- for the .bin of the psx version

are there any models under Hades Workshop to export ?

3- Is there a possibility that Hades Workshop becomes an SDK to compile its game FF9 since unity3D ?

because there are some keywords "unity asset viewer" "GameObject" "transform" I want to know who is the link unity3d with Hades Workshop ?

because there is more game engine and software3D



and thank you very much and thanks in advance
« Last Edit: 2018-10-20 18:45:44 by lyokoffx »

DracoMoye

  • *
  • Posts: 1
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40b)
« Reply #1377 on: 2018-10-20 14:05:06 »
When I try the background editor conversion HW crash.
File name :
Pic1_1_0.bmp
Pic1_1_1.bmp
...

Error Log :
Log Name:      Application
Source:        Application Error
Date:          2018-10-21 22:52:51
Event ID:      1000
Task Category: (100)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      DCM
Description:
Faulting application name: HadesWorkshop.exe, version: 0.0.0.0, time stamp: 0x5b38c355
Faulting module name: HadesWorkshop.exe, version: 0.0.0.0, time stamp: 0x5b38c355
Exception code: 0xc0000005
Fault offset: 0x010358ce
Faulting process id: 0x15ac
Faulting application start time: 0x01d469b1a17fc153
Faulting application path: D:\Games\FINAL FANTASY IX\HadesWorkshop\HadesWorkshop.exe
Faulting module path: D:\Games\FINAL FANTASY IX\HadesWorkshop\HadesWorkshop.exe
Report Id: f5d37569-790a-4009-a303-dd288be8e8eb
Faulting package full name:
Faulting package-relative application ID:
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Application Error" />
    <EventID Qualifiers="0">1000</EventID>
    <Level>2</Level>
    <Task>100</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2018-10-22T02:52:51.135109000Z" />
    <EventRecordID>991</EventRecordID>
    <Channel>Application</Channel>
    <Computer>DCM</Computer>
    <Security />
  </System>
  <EventData>
    <Data>HadesWorkshop.exe</Data>
    <Data>0.0.0.0</Data>
    <Data>5b38c355</Data>
    <Data>HadesWorkshop.exe</Data>
    <Data>0.0.0.0</Data>
    <Data>5b38c355</Data>
    <Data>c0000005</Data>
    <Data>010358ce</Data>
    <Data>15ac</Data>
    <Data>01d469b1a17fc153</Data>
    <Data>D:\Games\FINAL FANTASY IX\HadesWorkshop\HadesWorkshop.exe</Data>
    <Data>D:\Games\FINAL FANTASY IX\HadesWorkshop\HadesWorkshop.exe</Data>
    <Data>f5d37569-790a-4009-a303-dd288be8e8eb</Data>
    <Data>
    </Data>
    <Data>
    </Data>
  </EventData>
</Event>
« Last Edit: 2018-10-21 22:59:28 by DracoMoye »

Kefka

  • *
  • Posts: 202
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40)
« Reply #1378 on: 2018-10-23 13:13:23 »
@Kefka: Yes, it is possible with dnSpy again. In the "btl_calc::CalcMain", you need to put the line "btl_calc.CalcSub_15E(cALC_VAR);" a bit everywhere ^^'
Again, having a look at this file makes it easier to read the spell effects before editing the real thing (that has idiotic names and is harder to read).

For example, go to the "case 19" (Physical Strike effect) and change it to this:
Code: [Select]
case 19:
btl_calc.CalcSub_13A(cALC_VAR);
btl_calc.CalcSub_141(cALC_VAR);
btl_calc.CalcSub_143(cALC_VAR);
btl_calc.CalcSub_159(cALC_VAR);
if (btl_calc.CalcSub_152(cALC_VAR))
{
btl_calc.CalcSub_15E(cALC_VAR);
btl_calc.CalcSub_203(cALC_VAR);
btl_calc.CalcSub_270(cALC_VAR);
}
break;
You should put the line before the "CalcSub_20X" ("DoSetDamage_..." in the readable version).

Hi Tirlititi, sorry for the late reply to the Ipsen Curse topic, but it took me a while to play up to that point in the game (my first playthrough with the Steam version). Plus, I've never used dnSpy before so I also had to learn debugging and stuff (still more of a beginner, lol..).

Anyway, I've found the btl_calc::CalcMain and tried to edit it like you told me (thanks for the easier to read version of the Btl_calc function, by the way), however afterwards when I click on 'compile' I get several entries of the following message:

"CS0266: Cannot implicitly convert type 'int' to 'byte'. An explicit conversion exists (are you missing a cast?)"

and in one case also the following:

"CS1503: Argument2: Cannot convert type 'int' to 'byte'."

The strange thing is, these error messages refer to places in the code that I didn't even edit. It also happens when I try to compile again without editing anything, so these errors must be in the vanilla code already. And because of this I can't seem to save my changes. Do you know what's going on?

On a related note, you said to always insert the line "btl_calc.CalcSub_15E(cALC_VAR);" right above the "DoSetDamage..." line. This works for Physical Strike, Magic Weapon, Throw, Spear & Trance Spear, and Sword Magic. However, there are other physical skills like Dark Side and Lancer which don't have a "DoSetDamage..." line, so I'm unsure of where I should add the "btl_calc.CalcSub_15E(cALC_VAR);" in these cases.

Tirlititi

  • *
  • Posts: 886
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40b)
« Reply #1379 on: 2018-10-24 15:43:36 »
@lyokoffx: Ok nice. It's weird that you need administrator rights to allow HW to create a file but okay.

1- The only "missing" models are the spell special effects (they are inside the files "efXXXX" in the resources.assets but in a PSX format that I don't know) and the fact that some models (typically the World Map) are splitted into pieces. For the rest:
- p0data2 contains the weapon models (".../battlemodel/6/") and the battle scenes (".../battlemodel/battlemap_all/"),
- p0data3 contains the World Map terrain (".../worldmap/prefabs/.../block....prefab") and the World Map structures/effects (".../worldmap/effectmodels/" and ".../worldmap/prefabs/effects/"),
- p0data4 contains pretty much all the field models ("assets/resources/models/") and battle models of the enemies and characters (folder "3" of the models); the related animations are in p0data6 (they are automatically used when you extract a model from the p0data5 archive).
There are also some special effects on the field or on the world map (I think they are called "SPS") in p0data1X archives. I'm not sure if they really are 3D models though.

2- For the PSX version, you can extract only the Battle Scenes as wavefront 3D models (.obj) using HW.

3- No. The references to GameObjects and such are because the game was developped using Unity. It's not HW's terminology to begin with.

@DracoMoye: This error log doesn't tell me anything interesting unfortunatly :/
Can you get a bit more precise on what you do before the program crashes? Do you see the preview of your .bmp images in the Background Editor? Is it when you click on "Apply" in the "Converter" panel that it crashes or right after selecting the .bmp file? You should maybe try to convert your .bmp into other image formats (if I recall correctly, PNG, TGA and TIFF should be ok). The .bmp formats are actually very diverse and maybe you're using a version that is not compatible.

@Kefka: No problem. Well done going this far (you did most of the job).
For the errors, they are caused by dnSpy but they are not problematic: you just need to write the type conversion yourself when these errors pop. For instance, if the line "byte x = 5;" gives an error, change it to this:
Code: [Select]
byte x = (byte)5;It's sometimes a bit more complicated, like "byte x = intvalue1 + intvalue2;" in which case you must also add parentheses around what needs to be converted:
Code: [Select]
byte x = (byte)(intvalue1 + intvalue2);What I personally do is that I create a .txt file in my mod's folder named after the class/method I edit and I put the code (and its modifications) in that file. This way, I only have to "Select All + Copy + Paste" when I change it (otherwise, I'd need to write these type conversions everytime because dnSpy doesn't register them after compilation).

For the Darkside and Lancer effects, you need to add the line after the "at_pow" variable is set (it's usually in the "Setup..." call but sometimes it's directly in the "case" code) and before it is used (again, it's usually in the "DoSetDamage..." but sometimes it's directly in the "case" code). So for Lancer and Darskide, you need to add "btl_calc.CalcSub_15E(cALC_VAR);" before that one:
Code: [Select]
if (cALC_VAR.at_pow - cALC_VAR.df_pow > 0)

lyokoffx

  • *
  • Posts: 27
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40b)
« Reply #1380 on: 2018-10-24 18:12:10 »
Thank you very much for your answer to all my questions

ca my enlighten

a curious question

Are you Tirlititi the creator of Hades Workshop?

thank you very much

Tirlititi

  • *
  • Posts: 886
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40b)
« Reply #1381 on: 2018-10-24 22:08:43 »
No problem.
And yes, that's me.

lyokoffx

  • *
  • Posts: 27
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40b)
« Reply #1382 on: 2018-10-25 12:31:46 »
Thanks for your honesty
 
glad to meet you

at the moment I forgot a very important question

can Hades Workshop also extract sound files?
for example, sound when a character moves or a blow and weapon?

and thank you for your help and thanks in advance

Kefka

  • *
  • Posts: 202
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40b)
« Reply #1383 on: 2018-10-25 13:23:03 »
Quote
@Kefka: No problem. Well done going this far (you did most of the job).
For the errors, they are caused by dnSpy but they are not problematic: you just need to write the type conversion yourself when these errors pop. For instance, if the line "byte x = 5;" gives an error, change it to this:
Code: [Select]

byte x = (byte)5;

It's sometimes a bit more complicated, like "byte x = intvalue1 + intvalue2;" in which case you must also add parentheses around what needs to be converted:
Code: [Select]

byte x = (byte)(intvalue1 + intvalue2);

What I personally do is that I create a .txt file in my mod's folder named after the class/method I edit and I put the code (and its modifications) in that file. This way, I only have to "Select All + Copy + Paste" when I change it (otherwise, I'd need to write these type conversions everytime because dnSpy doesn't register them after compilation).

For the Darkside and Lancer effects, you need to add the line after the "at_pow" variable is set (it's usually in the "Setup..." call but sometimes it's directly in the "case" code) and before it is used (again, it's usually in the "DoSetDamage..." but sometimes it's directly in the "case" code). So for Lancer and Darskide, you need to add "btl_calc.CalcSub_15E(cALC_VAR);" before that one:
Code: [Select]

if (cALC_VAR.at_pow - cALC_VAR.df_pow > 0)


Did it like you suggested, and after some playtesting I can confirm... it works like a charm now! I'm very pleased with the results, I've always liked the idea of such 'special conditions' within dungeons that force the player to stray from the standard fighting methods and think a bit outside the box. Oeil Vert was pretty good at that with its magic sealing, but Ipsen in vanilla was never all that spectacular. Now that it affects all damage formulas which somehow reference a weapon's attack power, this should make this portion of the game more interesting. Thanks again for your help!

dnSpy looks really promising I must say, from what can tell it should allow us to edit even those last bits of gameplay that Hades Workshop can't edit (yet). Just another quick question, if I want to make Flarestar hit always (it being unable to miss, that is), then I would simply have to delete the first 3 (or 4?) lines in its routine that deal with accuracy, right? This is Flare Star's formula from your document:

Code: [Select]
case 99: // Flare Star
            btl_calc.SetupAccuracyMagic(cALC_VAR);
            btl_calc.ApplyShellAccuracy(cALC_VAR);
            btl_calc.ApplyMultiTargetAccuracyPenalty(cALC_VAR);
            if (btl_calc.CheckRawAccuracyEvasionMiss(cALC_VAR))
            {
                CALC_VAR expr_29D6 = cALC_VAR;
                expr_29D6.tg_flags |= this.CALC_FLAG_MISS;
                cALC_VAR.tg_hp = (short)(target.level * cmd.aa.Ref.power);
            }
            break;

I'm unsure about deleting the fourth line since it's the start of an 'if' condition. Basically I want Flarestar to behave much like regular attack magic, in that it shouldn't miss (and it misses A LOT in vanilla, as I'm sure you've noticed already).

Tirlititi

  • *
  • Posts: 886
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40b)
« Reply #1384 on: 2018-10-25 17:00:17 »
@lyokoffx: Yes, HW can extract the sounds and musics (of the Steam version, not PSX) through the Unity Assets Viewer.
The musics are in the archive p0data61 and the other sounds are in the archives p0data62 and p0data63. I indexed the musics so the info box tells you which file corresponds to which music, but I didn't do it for the sounds, except for these battle sounds you're looking for. They are in the archive p0data62 (in the "Infos", you'll find descriptions like "soundeffect Battle Sound Knight Sword Slash" or "soundeffect Battle Sound Charge & Fist"...).

@Kefka: Exactly, dnSpy really deals with the source code of the game and you can change pretty much everything provided you spend enough time for it. For Flare Star's effect to never miss, you should indeed remove the lines related to accuracy, even the "if" block:
Code: [Select]
case 99: // Flare Star
            cALC_VAR.tg_flags |= this.CALC_FLAG_MISS;
            cALC_VAR.tg_hp = (short)(target.level * cmd.aa.Ref.power);
            break;
Also, that's an error from my end: it shouldn't display "this.CALC_FLAG_MISS" but "this.CALC_TGFLAG_HP" instead, because that's not the "miss" flag that is turned on but the "deals damage to target" flag. I fixed it.
It's just a number "1" anyway inside the dnSpy code.

PS: Since the last HW update, you can select "Unused XXX" in the list of spell effects. This allows you to code a completely new spell effect (deals damage to the target and heals caster's MP, to give a random example) without replacing any other. You just need to add a "case XXX" to this method in dnSpy.
« Last Edit: 2018-10-25 17:04:30 by Tirlititi »

Kefka

  • *
  • Posts: 202
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40b)
« Reply #1385 on: 2018-10-25 21:10:10 »
Thanks, you're the best! You really know the game's workings inside and out.

PS: Since the last HW update, you can select "Unused XXX" in the list of spell effects. This allows you to code a completely new spell effect (deals damage to the target and heals caster's MP, to give a random example) without replacing any other. You just need to add a "case XXX" to this method in dnSpy.

Now this part is certainly interesting, good to know! This opens up possibilities for up to 18 cool new attack types! I'll have to take my time to get some ideas. Hmm, maybe another MP damaging attack, but not as random as Hammer? Or perhaps a Gravity-type spell that uses current HP instead of max HP (like it does in most other FF games)... or maybe a spell that empties the trance gauge (is that possible? Just playing around with ideas)... Hmmm, I think this will be fun to play around with, hehe...

lyokoffx

  • *
  • Posts: 27
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40b)
« Reply #1386 on: 2018-10-26 16:40:56 »
Thank you very much for your help

lyokoffx

  • *
  • Posts: 27
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40b)
« Reply #1387 on: 2018-10-29 18:20:45 »
I still have a 2 question

1- can I also extract sprites from the "avatar" character? "the dialog box menu" all that is sprite 2d? PSX or steam?

2- and envirenment "alexendrie lindblum treno etc ..."

what is original format is what image2d or models 3d? PSX or steam?

And thank you in advance

Tirlititi

  • *
  • Posts: 886
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40b)
« Reply #1388 on: 2018-10-29 20:04:15 »
1- Most of the UI sprites are in the archive "Shared -> sharedassets2". You'll find there the avatars ("Face Atlas"), the icons ("Icon Atlas"), the sprites for the dialog boxes ("Gray Atlas" and "Blue Atlas"), etc...
For the PSX version, there are a lot of these sprites (but far from everything) in the two first sections of the "Environment -> Texts" panel.

2- I don't really get what you are talking about. If it's about the fields' backgrounds, they can be previewed in the "Environment -> Fields" panel and exported as images (both individually and altogether using "Manage Backgrounds -> Export" or "File Batching -> Export Field Backgrounds").
It came to my attention that exporting the backgrounds with file batching crashes if you don't untick the field "Opening-for-FMV". You should look for it toward the top of the list (it's the 21st of the list) and untick it when using File Batching.

Backgrounds are a custom format specially for the game. Except for the image compression, it uses the same format in the PSX and Steam versions. They are mostly 2D but there is a notion of depth allowing it to exist in a 3D environment.

Kefka

  • *
  • Posts: 202
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40b)
« Reply #1389 on: 2018-10-29 22:01:26 »
Hi tirlititi, I need your help again it seems. For some reason that I can't seem to figure out, when I add a new enemy to a battle, it doesn't perform any actions, even though its AI script is the same as in its original battle.

When I tried adding an enemy from one battle to another, I followed all the steps you posted on page 25:

I copy-pasted the enemy and its attacks from its original battle, and I kept the order of first having all attacks from the first enemy, then all attacks from the (newly added) second enemy.

Then I changed the default attack and made sure that the Animations field of each attack uses the proper enemy.

I added the new enemy to a group and wrote a very basic AI script (and to make sure that the AI script works, I've also used it in the enemies' original battle, and there it works flawlessly). The init_function is just a simple "return", but that should be fine, right? Here's the ATB function for your information:

Code: [Select]
    if ( !VAR_LocUInt8_31 ) {
        set VAR_LocUInt8_31 = 1
        if ( GetRandom & 1 ) {
            set #( SV_Target = SV_FunctionEnemy )
            Attack( 8 )
            return
        }
    }
    switch 4 ( GetRandom % 4 ) from 0 {
    case +0:
        set #( SV_Target = RandomInTeam(SV_PlayerTeam) )
        Attack( 3 )
        break
    case +1:
        set #( SV_Target = RandomInTeam(SV_PlayerTeam) )
        Attack( 4 )
        break
    case +2:
        set #( SV_Target = RandomInTeam(SV_PlayerTeam) )
        Attack( 5 )
        break
    case +3:
        set #( SV_Target = RandomInTeam(SV_PlayerTeam) )
        Attack( 6 )
        break
    }
    return

Now to sum it up: the battle loads correctly and the new enemy is there, but it doesn't do anything (the other enemies that were in this battle by default attack like normal).

One thing I've noticed though: I've added another Entry for the enemy via "Edit Entries" to have a second "Object" (entry type 2) entry, but when I open that same hsw file later the entry is changed to "Unknown" (entry type 255). Have you ever witnessed something similar?

Tirlititi

  • *
  • Posts: 886
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40b)
« Reply #1390 on: 2018-10-29 22:30:54 »
Hum... This entry type turning to 255 is strange.
Your script should be fine. Did you put an "allocate 32" or higher? Since you're using a variable uint8_31, you need to allocate at least 32 bytes to local variables ; anyway even without, it should do something.
Maybe your new enemy has the flag "Link" in the "Group" datas, in which case you should remove it.
Or maybe you forgot to add a "InitObject" in the Main_Init function?

Kefka

  • *
  • Posts: 202
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40b)
« Reply #1391 on: 2018-10-30 17:48:09 »
I've just checked again to make sure: the new enemy has his InitObject in the Main function, and the enemy is not linked. Maybe I'll tweak the AI a bit more and see if I can solve it.

Or could you perhaps take a quick look at my hws file if you have time? I'm sure you can see any potential mistakes better than me.

Tirlititi

  • *
  • Posts: 886
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40b)
« Reply #1392 on: 2018-10-30 23:04:23 »
Yes, I can try to take a look at your .hws file (on this week-end, surely).
Maybe you can write this in your new enemy's "loop" function:
Code: [Select]
SetTextVariable(0, FirstOf(SV_FunctionEnemy[ATB]))
BattleDialog( X )
Wait( 1 )
loop
...where the battle dialog X is a "[NUMB=0]" message. You should at least see if the loop function runs and if the enemy's ATB fills up.

Kefka

  • *
  • Posts: 202
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40b)
« Reply #1393 on: 2018-10-31 17:24:22 »
Great, thanks a lot for your help! I've uploaded my hws file to Drop Box here:

https://www.dropbox.com/s/dbewj4ygzf4k67o/FF9%20Steam%20Enemies.hws?dl=0

The enemy in question is Ring Leader which I've packed into the same battle along Hecteyes in Terra.

Also, I've tried your loop function and the display of a battle message works fine. So I wonder why the enemy doesn't act even though its ATB bar apparently works correctly. Hmm...

lyokoffx

  • *
  • Posts: 27
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40b)
« Reply #1394 on: 2018-10-31 21:57:48 »
Thank you very much for your famous help

1 - the steam sprite is set I have it all back thank you very much

but the version of psx I find that the weapon



and the sprite "avatar" "dialog box" etc ... I have not found (for the PSX version) yet?

2- for funds that's exactly what I'm looking for but I want to know something

for export I do not have this box "Opening-for-FMV"

I have these 3case to uncheck



and when I'm doing my checkbox combination, I sometimes find myself in a 50MB file and in addition it lacks background details

and here I have two boxes



and I want to know the difference between "export" and "Batching"?


and not who can not say that name "Opening-for-FMV"

and thanks for everything and thanks in advance

Tirlititi

  • *
  • Posts: 886
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40b)
« Reply #1395 on: 2018-11-04 20:11:45 »
@Kefka: So, you are definitely doing something wrong (or maybe there was a bug in a previous version of HW and I don't remember fixing it and you are still using that old version of HW).

In your .hws file, there was no script update at all. There was only an unconfigured "Abadon + Amdusias" battle and 4 unconfigured "Hecteyes + Ring Leader" battles. When I say "unconfigured", it means that there was no entry added for the new enemy and no change in the "Main_Init" function. The enemy's stats and attacks were properly copied to the new battle and the group was properly setup. However, there was no proper script for him and it lacked its battle animations for some reason.

So you need:
- To do the steps 6) and 7) described there. Maybe you did on your end but shared an old .hws because none of these steps were put in the file you provided (and it cannot just be a bug with the entry: even your "Main_Init" function was not modified).
- To add the animations required to cast spells. The Ring Leader only uses 3 animations: select him, click on "Edit Resources", then "Add Animation" x3 and change them to "Cast Init", "Cast Loop" and "Cast End". Alternatively, changing the enemy's model ID to something else and switching it back will reset the resources (and thus automatically add these 3 animations).

After this fix, it was all good on my end. However, the other battles were you added more enemies (you have battles with 4 Ring Leaders) are not working correctly because you didn't add any "InitObject" line in those battles' script either.

@lyokoffx:
1- For the PSX version, HW can't show these "avatar" and "dialog box" images indeed. I don't know if I will ever add them. I think that one of Zidane_2's tools can extract all the images of the game though... But they are not easy to use.

2- I didn't understand all of your question, but "File Batching -> Export Field Backgrounds" and "Manage Background -> Export" are nearly the same.
In "Manage Background -> Export", you can preview what you will export and choose if you want to export only the selected layers (if you export all the layers, you will see all the frames of the windmills' wings on top of each others).
In "File Batching -> Export Field Backgrounds", you can export quickly a large number of backgrounds.

Apparently, the latest versions of HW have some problem with the PSX japanese version of the game, because you should have the names of the fields instead of those "0000000000..." things. You should go to "File -> Preferences -> PSX -> Charmap -> Japanese" when using the PSX japanese version of the game in order to display texts properly.

"Opening-for-FMV" is the name of one field (it's an empty field that is the first one to be used when the player hits "New Game" and its main purpose is to launch the opening FMV before switching to the "Prima Vista/Cargo Room").
« Last Edit: 2018-11-04 20:14:14 by Tirlititi »

lyokoffx

  • *
  • Posts: 27
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40b)
« Reply #1396 on: 2018-11-05 16:15:46 »
I thank you very much for your help and I am very sorry for my spelling because I am weak in English

and I see that I find my repency easily with you

1- apparently this is the case when I disable "Opening-For FMV" the export takes place without Crash and I have consider that it is a parameter like "Merge Tilestes" or "Sort Tileset by Depth" or " Exprort Selected Only " and that was not the case Thank you so much for this information I would say as a problem resolut

it remains this little concern from the question I want to know is "Merge Tilestes" and "Sort Tileset by Depth" when it is deactivate the tiff file is very inflate in this weight has 50.8 MB I want to know why?


2- and a very impressive qestion is it that exsists a tool such as Zidane_2 to extract the sound of the weapon? because they are difernate from the Steam version


3- I do not have "Charmap" here


and they have corrected in some section but not in English but in "field" I try with "japanese" but it remains on -> ("000000000 ..." in the section "field")


4- another very important question I now have the "model3D" and the other resource that you helped me to extract


and I decide to create my games FF9 But on "PSX"

is the models3D of steam compible for a game with a real compilation engine that reads in a real PSX that link that I discovered a long time ago? http://www.psxdev.net/

or is it worth it in "Hades Workshop"?


5- Can you explain to me how it works the notion of depth for a 3D effect for the interaction between the model3d and the backgrounds?

for now I'm trying to learn unity3D thanks to these models

or tell me a video that uses the same notion in unity3D ?



for now I'm learning the basics of video games After at least it would be easier to do it under PSX


and thanks for everything and thanks in advance

Tirlititi

  • *
  • Posts: 886
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40b)
« Reply #1397 on: 2018-11-06 21:35:24 »
1- You know that the backgrounds are made with several layers, right? "Merge tilesets" puts everything in a single layer so it decreases the .tiff file a lot. On the other hand, if you don't merge them, you have all the layers and animation frames available in the image file.
"Exporte selected only" will only export the layers (= tileset) that are ticked in the background preview.
"Sort by depth" changes the layers' order in the exported .tiff. By default, the layers are exported with their internal data order, but it won't always display well (because some layers that should be behind are placed on the front when this option is not used).

2- No, I don't know the format of the PSX sounds and Zidane_2 didn't work on it, for what I know.

3- Yes, that was "Game Alphabet", not "Charmap", sorry ^^'
The "000000..." names are a bug. I would fix it eventually but I am on a break regarding the development of HW.

4- I don't know this PSX development kit. There doesn't seem to be a 3D engine included in this kit (there's a project of a 3D game and the guy developped his own 3D engine). So Steam 3D models are not usable and even using the PSX models would not be usable as it is.
But in general, if you have models in one format, it shouldn't be a big wall to have compatibility or to do format conversion. That really doesn't seem to be the hardest part of the work.

5- Satoh explained it very nicely there (and in the following post) and Lein even showed a picture of a similar situation. You can see that the backgrounds are pictures splitted in several layers, some of them being in front and some in the back.

lyokoffx

  • *
  • Posts: 27
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40b)
« Reply #1398 on: 2018-11-07 17:27:35 »
I thank you very much for your help you enlighten me with this information

1- ah good there is animation of these tif 50mo I open with photochop there is only one layer and unity and I can not find any animation or it can run these animation?

yes I know that these images are composed of several layers to play their animtion

a small question in this point to facilitate my task what are the box to check and uncheck to detach the ground as a ".tif " independently to move the character 3D background image to reutiliser for a simulation 3d ?

5- and thank you so much for the link

I just used the tools Zidane_2_Tools but I can not extract anything from my file FF9.IMG extracted under a virtual drive here is my example under cmd

Code: [Select]
ffix_img_extr.exe <C:\Users\PC\Desktop\Nouveau dossier> <C:\Users\SonyNintendo\Desktop\Nouveau dossier\Nouveau dossier>

ffix_img_extr.exe <C:\Users\PC\Desktop\Nouveau dossier> <C:\Users\SonyNintendo\Desktop\Nouveau dossier\Nouveau dossier/>


FF9_img_extractor.exe C:\Users\PC\Desktop\Nouveau dossier C:\Users\SonyNintendo\Desktop\Nouveau dossier\Nouveau dossier/


FF9_img_extractor.exe C:\Users\PC\Desktop\Nouveau dossier C:\Users\SonyNintendo\Desktop\Nouveau dossier\Nouveau dossier


ffix_img_extr.exe (<C:\Users\PC\Desktop\Nouveau dossier/to/ff9.im> <C:\Users\SonyNintendo\Desktop\Nouveau dossier\Nouveau dossier/to/extract>)

ffix_img_extr.exe C:\Users\PC\Desktop\Nouveau dossier/to/ff9.im> C:\Users\SonyNintendo\Desktop\Nouveau dossier\Nouveau dossier/to/extract>

ffix_img_extr.exe <C:\Users\PC\Desktop\Nouveau dossier/to/ff9.im> <C:\Users\SonyNintendo\Desktop\Nouveau dossier\Nouveau dossier/to/extract>

3- It's worthless for your effort I hope you correct this

4- thank you very much for this information I did not know that there is a 3d engine with this SDK and the idea also for the conversion of models

and thanks for everything and thanks in advance

Tirlititi

  • *
  • Posts: 886
    • View Profile
Re: [PSX/PC] General editor - Hades Workshop (0.40b)
« Reply #1399 on: 2018-11-07 18:15:12 »
1- Ah, so photoshop does not feature multi-layer tiffs...
You can use Gimp (it's a free image tool) to open the tiff layers and export them in another format, but I don't know which one would be suitable for it.
I don't understand what you want to do with the backgrounds... You can, in the "Manage Background" window, untick all the tilesets except for the main one (usually the last) and export it using the option "Export Selected Only" (the two other options are not important in this situation).

5- In command lines, you need to write the paths inside quotes when there are spaces, so it would be something like this:
Code: [Select]
ffix_img_extr.exe "C:\Users\PC\Desktop\Nouveau dossier\ff9.img" "C:\Users\SonyNintendo\Desktop\Nouveau dossier"If you don't have a ff9.img file but only a .bin, you need to use a tool (like CDmage) to extract the .img out of the .bin (Zidane_2's tools is always using the .img).