kytulendu / GWDatBrowser

GWDatBrowser allows you to browse through the contents of the Guild Wars .dat file.
23 stars 9 forks source link

Error: Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll #1

Open agaertner opened 5 years ago

agaertner commented 5 years ago

What is this error about? I installed VS2013 and have the correct buildtools but this error pops up when building anyway

Building MFC application with /MD[d] (CRT dll version) requires MFC shared dll version. Please #define _AFXDLL or do not use /MD[d]

kytulendu commented 5 years ago

Try to build it as release build, or change GWDatBrowser project properties in C++ -> Code Generation -> Runtime Library of debug build to "Multi-threaded Debug (/MTd)".

agaertner commented 5 years ago

Ok it build, but when trying to launch it it gives me an error that says "BASS.dll" was not found and nothing happens. Ok nvm. you provided the Bass.dll. Now I get a second error that says "Couldn't open HKEY_CURRENT_USER/SOFTWARE/ArenaNet/Guild Wars" even with admin privileges. I checked the Registry and it appears that the key does not exists. Even though I have installed GUILD WARS yesterday. Anyway I will manually add the Path key to the existing ArenaNet folder that was created for Guild Wars 2 under HKEY_LOCAL_MACHINE.

I created this reg file for it.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\ArenaNet\Guild Wars]
"Path"="F:\\Games\\GUILD WARS\\Gw.dat"

Now it seems to be working :)

agaertner commented 5 years ago

Ok so sad that they have ids and not names.

I need to find those frames the abilities had (https://wiki.guildwars.com/images/3/3b/Skill_icon_frame_elite.jpg) I suspect they have it separate from any ability icon and just use it like an overlay. I need this frame.

edit: Unfortunaly, I couldn't find them with your program. Not even 3DRipperDX picked them up, eventually I found all frames in one texture file with uMod V53 Alpha.

God job on this browser still.

kytulendu commented 5 years ago

It might be auto generated on runtime, that why it not on the dat file. also I didn't write this, so I can't take the credit. I just found it on xentax forum and put the source code here :P

Deadsimon commented 3 years ago

Is it possible that you can build this and put it up as a release exe? Had major issues with linking

callumhutchy commented 2 years ago

I have recently built this by changing to /MT and setting the registry key. @agaertner I have also found the skill overlays you were looking for. As a side project, I'm going to see if I can make any progress on working on some of the file formats that were never documented.