Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request support for UTF-16 encoded file path search #12

Open
dtlnor opened this issue Oct 8, 2021 · 1 comment
Open

Request support for UTF-16 encoded file path search #12

dtlnor opened this issue Oct 8, 2021 · 1 comment

Comments

@dtlnor
Copy link
Contributor

dtlnor commented Oct 8, 2021

From the research of the pfb file, I found that some path(or say file name) contains non-ascii character. Which would be splited by the search path function on that two byte character
file path generate by search path function in patch_005:

099_shell003_breathvacuum.pfb $ []
099_shell003_breathvacuum.user $ []
099_shell003_breathvacuum_effect.user $ []
099_shell003_breathvacuum_hit.user $ []
099_shell003_breathvacuum_move.user $ []
099_shell003_lightbulbbreath.pfb $ []
099_shell003_lightbulbbreath.user $ []
099_shell003_lightbulbbreath02.pfb $ []
099_shell003_lightbulbbreath02.user $ []
099_shell003_lightbulbbreath02_effect.user $ []
099_shell003_lightbulbbreath02_hit.user $ []
099_shell003_lightbulbbreath02_move.user $ []
099_shell003_lightbulbbreath_effect.user $ []
099_shell003_lightbulbbreath_hit.user $ []
099_shell003_lightbulbbreath_move.user $ []
099_shell05_breathvacuum.pfb $ []
099_shell05_breathvacuum.user $ []
099_shell05_breathvacuum_effect.user $ []
099_shell05_breathvacuum_hit.user $ []
099_shell05_breathvacuum_move.user $ []

the original path should be

enemy/em099/05/shell/EmShell003/prefab/ex_em099_shell003_breathvacuum.pfb
enemy/em099/05/shell/EmShell003/prefab/ex_em099_shell003_lightbulbbreath.pfb
enemy/em099/05/shell/EmShell003/prefab/ex_em099_shell003_lightbulbbreath02.pfb
enemy/em099/05/shell/EmShell003/user_data/effect/ex_em099_shell003_breathvacuum_effect.user
enemy/em099/05/shell/EmShell003/user_data/effect/ex_em099_shell003_lightbulbbreath_effect.user
enemy/em099/05/shell/EmShell003/user_data/effect/ex_em099_shell003_lightbulbbreath02_effect.user
enemy/em099/05/shell/EmShell003/user_data/ex_em099_shell003_breathvacuum.user
enemy/em099/05/shell/EmShell003/user_data/ex_em099_shell003_lightbulbbreath.user
enemy/em099/05/shell/EmShell003/user_data/ex_em099_shell003_lightbulbbreath02.user
enemy/em099/05/shell/EmShell003/user_data/hit/ex_em099_shell003_breathvacuum_hit.user
enemy/em099/05/shell/EmShell003/user_data/hit/ex_em099_shell003_lightbulbbreath_hit.user
enemy/em099/05/shell/EmShell003/user_data/hit/ex_em099_shell003_lightbulbbreath02_hit.user
enemy/em099/05/shell/EmShell003/user_data/move/ex_em099_shell003_breathvacuum_move.user
enemy/em099/05/shell/EmShell003/user_data/move/ex_em099_shell003_lightbulbbreath_move.user
enemy/em099/05/shell/EmShell003/user_data/move/ex_em099_shell003_lightbulbbreath02_move.user
enemy/em099/05/shell/EmShell005/prefab/ex_em099_shell05_breathvacuum.pfb
enemy/em099/05/shell/EmShell005/user_data/effect/ex_em099_shell05_breathvacuum_effect.user
enemy/em099/05/shell/EmShell005/user_data/ex_em099_shell05_breathvacuum.user
enemy/em099/05/shell/EmShell005/user_data/hit/ex_em099_shell05_breathvacuum_hit.user
enemy/em099/05/shell/EmShell005/user_data/move/ex_em099_shell05_breathvacuum_move.user

the full width is presented in the path
( so far this is the only case I have seen for the file name using a 2Byte character, also as ref em099 has presented in tdb file as class name too)

@dtlnor dtlnor changed the title Support for UTF-16 encoded file path search Request support for UTF-16 encoded file path search Oct 8, 2021
@wwylele
Copy link
Owner

wwylele commented Oct 8, 2021

🤣 Capcom please what the hell is this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants