1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-26 14:37:44 +00:00
sapphire/src/tools/pcb_reader
Lucy fce3397b92 Add missing includes for *nix
(cherry picked from commit 769edce0c883960ca9eac69a8e05e89760dafafd)
2023-01-20 06:54:51 +01:00
..
nav vs2019 support & dropping std::experimental::filesystem 2019-10-14 18:41:28 +11:00
cache.h pcb_reader: 2019-01-26 15:39:20 +00:00
CMakeLists.txt Initial commit of Sapphire for FFXIV 3.0 "light rewrite" 2021-11-27 00:53:57 +01:00
exporter.h hopefully builds on linux this time 2019-01-20 21:24:36 +00:00
exportmgr.h pcb_reader: 2019-01-26 16:07:07 +00:00
lgb.h Map previously unmapped eobj and enpc 2022-01-23 23:00:50 +01:00
main.cpp Initial commit of Sapphire for FFXIV 3.0 "light rewrite" 2021-11-27 00:53:57 +01:00
matrix4.h Code style adjusted for 2 spaces and various other small things, checkout CodeStyle.xml for details 2018-08-29 21:40:59 +02:00
navmesh_exporter.h vs2019 support & dropping std::experimental::filesystem 2019-10-14 18:41:28 +11:00
obj_exporter.h vs2019 support & dropping std::experimental::filesystem 2019-10-14 18:41:28 +11:00
pcb.h Add missing includes for *nix 2023-01-20 06:54:51 +01:00
README.md updated pcb_reader to read territorytype from ffxivexplorer export 2017-12-10 14:46:30 +00:00
sgb.h begin tools cleanup, lgb group dumping 2019-04-11 19:06:27 +10:00
threadpool.h Tiny cleanup 2023-01-18 21:44:26 +01:00
vec3.h Code style adjusted for 2 spaces and various other small things, checkout CodeStyle.xml for details 2018-08-29 21:40:59 +02:00

collision data exporter for sapphire

compile with STANDALONE defined to compile without boost and sapphire dependencies

usage:

  • regular
  • compile with root sapphire dir cmakelists
  • sapphire/src/tools/bin/pcb_reader2 "<path/to/game/sqpack/ffxiv>"
  • standalone
  • compile main.cpp with STANDALONE defined in build arg
  • download ffxivexplorer http://ffxivexplorer.fragmenterworks.com/
  • ffxivexplorer > path/to/ffxiv's/game/sqpack/ffxiv/0a0000.dat
  • exd/territorytype.exh > File > Export and copy territorytype.exh.csv from exproted directory to pcb_reader.exe directory
  • ffxivexplorer > path/to/ffxiv's/game/sqpack/ffxiv/020000.dat
  • ctrl click the following:
  • bg/ffxiv/[REGION]/common/collision
  • bg/ffxiv/[REGION]/[dun|fld|twn|etc..]/common/collision/
  • bg/ffxiv/[REGION]/[dun|fld|twn|etc..]/collision/
  • bg/ffxiv/region/shared/[for_bg|for_hou]/
  • bg/ffxiv/[REGION]/[dun|fld|twn|etc..]/ZONE/level/
  • bg/ffxiv/[REGION]/[dun|fld|twn|etc..]/ZONE/collision/
  • bgcommon/world/sys/shared/for_bg/ and File > Export Raw to pcb_reader exe dir (common and shared files are optional but you will be missing a lot of objects if you skip them)
  • note: at this time ffxivexplorer is still missing some hashes, though any tool which can export the exds should work fine
  • main ""