zerotacg / wildstar-tools

MIT License
0 stars 3 forks source link

question #2

Open valhallen13 opened 8 years ago

valhallen13 commented 8 years ago

hi,

i tried opening this project in order to study the maps and terrain, but i was unable to compile it for some reason. what compiler settings did you use when making this?

zerotacg commented 8 years ago

I only have very limited access to my development machine but I'll investigate. The data format seems to have changed though [0] I'll get back once I have further information

[0] https://bitbucket.org/mugadr_m/wildstar-studio/issues/12/wildstar-free-2-play-drop-6-wildstar

valhallen13 commented 8 years ago

Thanks for the quick reply, and i know that they have changed. But i am using a very old version of the game (beta) :http://www.ownedcore.com/forums/mmo/wildstar/wildstar-bots-programs/wildstar-memory-editing/462345-very-first-leaked-wildstar-client.html im only interested in the heightmap images (not 3d model) of the entire world so i can recreate it locally.

zerotacg commented 8 years ago

the path to the compiled library [0] seems to be incorrect for default build settings if you change it in the projects you want to build

    LIBS += -L$$OUT_PWD/../out -lwildstar_data_d

other then that in main.cpp of wildstar_area project you might have to add a dummy

CChunk::HeighMap dummy;

anywhere should be fine to fix a template issue I'd push the changes but currently don't have the possibility to do so on this machine

[0] https://github.com/zerotacg/wildstar-tools/blob/master/wildstar_area/wildstar_area.pro#L20

valhallen13 commented 8 years ago

thanks for the quick fix! now it compiles, but when i run it i get an error: 0x000007 or something like this, any idea what it could be?

zerotacg commented 8 years ago

not sure, I can run it, but I don't have any files to test it maybe the file format is incompatible

valhallen13 commented 8 years ago

It is ok, i managed to decode the heightmap. Your code was a great source of inspiration. Thanks a lot!