Wulf2k / DeS-ParamEdit

Demon's Souls Parameter Editor
8 stars 6 forks source link

Cannot load SpEffectVfxParam.param from Dark Souls. #4

Open shadowblade1001 opened 6 years ago

shadowblade1001 commented 6 years ago

Conversion from string "1[]" 'UInteger' is not valid. Picture Tested on newest version of ParamEdit.

Wulf2k commented 6 years ago

I was pretty sure I'd fixed all those types of errors, but apparently not.

I'll try get that one fixed soonish but a hardware failure has been hindering me for a bit now. Hope to get it resolved soon.

LordofSandvich commented 6 years ago

Can confirm it still happens, reports a data conversion error from an invalid type (seems like broken data) to another, real type.

Taking interest in this because I need to do this for a skeleton transformation :p

Wulf2k commented 6 years ago

I'll try make some time to check this out tomorrow.

On Feb 7, 2018 7:55 PM, "LordofSandvich" notifications@github.com wrote:

Can confirm it still happens, reports a data conversion error from an invalid type (seems like broken data) to another, real type.

Taking interest in this because I need to do this for a skeleton transformation :p

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Wulf2k/DeS-ParamEdit/issues/4#issuecomment-363976702, or mute the thread https://github.com/notifications/unsubscribe-auth/AOMBrh7dgC385fWB0jBBCY7LJsImQ8psks5tSlQYgaJpZM4QZsSH .

MakataUrugami commented 6 years ago

Aaaah, well hello... So, I had worked on that for a while and, this error is simple than looks. Simply go on the SpEffectVfxParam.paramdef files and change the strange value "1[]" to only 1. Isn't hard. If you use a hex editor, in the text view, you can see the names on the tabs like sfxId_01 or something. But there is the trick: I don't remember the wrong label name, but if you look carefully at the label names, you can see "(ADRESS) 1". This little space between (ADRESS) and "1" is the wrong value. And now, simply change the strange space to "00" in hex editor. It will work fine now. At least for me...

MakataUrugami commented 6 years ago

Maybe this is a small decompile problem, but isn't hard to fix, maybe... Another thing, when I recompile the param files, the program automatically changes the "." to ",". And if I compile with ",", the "," is removed. So, why not automatically change "," to "." on decompiling process of param editor?

undakovrist commented 6 years ago

Thanks MakataUrugami, I looked at it in a Hex editor and saw what you're talking about. The issue seems to be with "isFullBodyTransformProtectorId:1" in the SpEffectVfx.paramdef file.

notepad _2018-03-11_04-59-54

The 06 09 at the end should be changed to 00 00 and that appears to fix the issue of the Param Editor crashing upon trying to load it.

MakataUrugami commented 6 years ago

Yep, this is the label name that I forget to say xD. But anyway, good luck!

Wulf2k commented 6 years ago

That was some grade-A procrastination on my part.

Try out this one - https://github.com/Wulf2k/DeS-ParamEdit/releases/tag/2018-03-23-22