Shadowth117 / PSO2-Salon-Tool

A program to edit and convert between PSO2 .xxp and .cml files.
GNU General Public License v3.0
22 stars 3 forks source link

Unable to read .cmx files; parts will not be editable #9

Closed God-damnit-all closed 2 years ago

God-damnit-all commented 2 years ago

I've tried selecting the directory pso2_bin is in, the pso2_bin directory itself, and pso2_bin\data. I get this error every time:

image

It may be due to using a nonstandard path that was installed via PSO2 Tweaker:

image

(I'm not really sure what .cmx files even are, mind you. If they're a thing related to modding, then this is a pretty confusing error to get the first time I use the program.)

Shadowth117 commented 2 years ago

Are you using the latest release build of NGS Salon Tool and is your PSO2 client installation up to date? This is primarily meant to maintain compatibility with the current version, though I'm interested in maintaining compatibility with older versions of PSO2 to a point. The non standard path shouldn't matter.

Also, I assume this error is on launching? I also assume you are in fact setting it through this menu option? image

In any case, I can't reproduce this particular issue. My suggestions are:

  1. Ensure the vc_redist.x64.exe from the first instance of it on this page installed (Yes, I probably should note this.): https://docs.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-160
  2. Check that you're allowing the program permissions and that you have permissions to your pso2_bin folder.
  3. Check that the pso2Bin.txt is set to the correct directory (may be a permissions thing or a finnicky issue with the folder selector)
  4. Check that antivirus tools aren't restricting the program in some odd way.

As far as the error, you don't necessarily need to know. It is telling you how it is: it can't read a file that's integral to player part editing. That file is the "character making index" and contains indexing data for player parts. Naturally, it's rather important to this.

My guess based on your description is it's mostly likely that vc_redist library not being installed. I believe a lot of newer games already have this as required so I sometimes forget its importance.

God-damnit-all commented 2 years ago

Are you using the latest release build of NGS Salon Tool and is your PSO2 client installation up to date? This is primarily meant to maintain compatibility with the current version, though I'm interested in maintaining compatibility with older versions of PSO2 to a point. The non standard path shouldn't matter.

I downloaded NGS Salon Tool just today, v5.1, and I played PSO2NGS just today, so yes.

Also, I assume this error is on launching? I also assume you are in fact setting it through this menu option? image

Yes.

  1. Ensure the vc_redist.x64.exe from the first instance of it on this page installed (Yes, I probably should note this.): https://docs.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-160

It is already installed. Just in case, I downloaded it and ran the repair operation. No change.

  1. Check that you're allowing the program permissions and that you have permissions to your pso2_bin folder.

I've already used PSO2 Tweaker's Fix File Permissions feature, not that there should've been any issues to begin with.

  1. Check that the pso2Bin.txt is set to the correct directory (may be a permissions thing or a finnicky issue with the folder selector)

Just checked it. It is.

  1. Check that antivirus tools aren't restricting the program in some odd way.

No antivirus. It's an older machine, so I even disable Windows Defender through local group policy for performance reasons.

Shadowth117 commented 2 years ago

Seems to be an issue with handling motions for NA client specifically. I'll check into it more after work.

God-damnit-all commented 2 years ago

Seems to be an issue with handling motions for NA client specifically. I'll check into it more after work.

The idle motions in particular:

image

Shadowth117 commented 2 years ago

Am aware. After work.

Shadowth117 commented 2 years ago

Alright, the new push should solve that. Essentially, up to this point NA would always have both language slots stored for a name, but in this case one name was only in JP, slot 0.

https://github.com/Shadowth117/PSO2-Salon-Tool/releases/tag/V5.2

Edit: Thank you very much for pointing this out. Blindsided me a bit.

God-damnit-all commented 2 years ago

Alright, the new push should solve that. Essentially, up to this point NA would always have both language slots stored for a name, but in this case one name was only in JP, slot 0.

https://github.com/Shadowth117/PSO2-Salon-Tool/releases/tag/V5.2

Edit: Thank you very much for pointing this out. Blindsided me a bit.

When I use this, the bug is still present. When I compile from the source, the bug is fixed.

The exe in that release tag has the same checksum as 5.1. I think you uploaded an old version by mistake.

Shadowth117 commented 2 years ago

Ah thanks. Yeah was wrapping up a work meeting while doing that. Sorry there. Yeah it's fixed now. Thanks again.