Jump to content

Recommended Posts

Posted

Hi,
I made this small HF Skill Pch Generator for shared 273 files in PHP based in the correct script/formula made by @xeL. Credits to him! (Send him a beer if you can)

 

This program can:

- Extract abnormal_type, attribute and target_type from current skilldata.txt, skill_pch.txt and skill_pch2.txt

- Generate skill_pch.txt and skill_pch2.txt based in extracted (or custom) abnormal_type, attribute and target_type

 

How to use.

Extract:
- Put skilldata.txt, skill_pch.txt and skill_pch2.txt in the "source" folder and run extract.(sh|bat)
- Find the extracted data in the "data" folder. abnormal_type.json, attribute.json, target_type.json, manual_pch_info.txt etc.

 

Generate:

- Put skilldata.txt in the "source" folder and abnormal_type.json, attribute.json and target_type.json in the "data" folder and run generate.(sh|bat)

- Find the generated skill_pch.txt and skill_pch2.txt in the root folder.

 

Info:

- In the "data_back" folder you can find the full abnormal_type.json, attribute.json and target_type.json for retail H5. This match the original skilldata.txt.

- The original skilldata.txt/skill_pch.txt have some wrong skill names, for example "s_mental_impoverish_ chance1" (have a space before chance1). Fix this problems first.

 

https://mega.nz/file/YRFmBTja#IOCTHc7DRwpxHVTCEFd20QGZkqy_m4Zk9k0Umt25aIM

 

Notes:

- Why PHP? Because I like it.

- Ugly code? I made this in small free time.

- Can be optimized? SURE! When I have free time :)

 

Again, big thanks to @xeL!!!

 

 

  • Like 2
  • Thanks 1
  • Upvote 1
Posted

Thanks for this! I've done this for epilogue too, and I'm not sure if it's different, but I'm porting L2H to H5, so it's nice to have this as a reference :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...