1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-01 16:37:45 +00:00
sapphire/src/tools/discovery_parser
2018-03-22 23:01:55 +01:00
..
CMakeLists.txt Added discovery parser 2018-03-22 23:01:55 +01:00
lgb.h Added discovery parser 2018-03-22 23:01:55 +01:00
main.cpp Added discovery parser 2018-03-22 23:01:55 +01:00
matrix4.h Added discovery parser 2018-03-22 23:01:55 +01:00
pcb.h Added discovery parser 2018-03-22 23:01:55 +01:00
README.md Added discovery parser 2018-03-22 23:01:55 +01:00
sgb.h Added discovery parser 2018-03-22 23:01:55 +01:00
tex.h Added discovery parser 2018-03-22 23:01:55 +01:00
tex_decode.h Added discovery parser 2018-03-22 23:01:55 +01:00
vec3.h Added discovery parser 2018-03-22 23:01:55 +01: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 ""