Hello guys, I wanna talking about posibility to construct a common C-Lib for us FE-Hack community.
C-Lib is a set of basic support libraries for C language programming, including various structures, variables, and function declarations and their reference. There has been 3 sets of different function libraries formed till now, I wanna call the Lib-A, B, and C:
- A: C-Lib by genius @StanH.
- B: Decomp project by community origined from @MisakaMikoto , and the corresponding C-Lib.
- C: Decomp project by StanH.
A and B is the commonly used Lib for now, both of which hold its advantages and disadvantages:
Lib-A is the earliest and is used for CHAX patches built by StanH, such as CHAX, SkillsLite, Skill-Name-Display on combat, etc. However, on the one hand, the functions involved are not as comprehensive as CLib-B, and on the other hand, the decompiled source code cannot be used directly through CLib-A.
Lib-B can directly copy source code from decomp, for example like C-Hack-Template, cSkillSys and other CHAX outputs, but it needs more works for porting existing jewels from StanH’s if you wanna use CLib-B.
It is @Vesly 's forking on CLib-A reminding me that it’s worth a discussion on issue which C-Lib to use and whether shall we build a common C-Lib. I would like to recommend you to try plan B here, but it seems that plan A is currently used by the majority for now.