snake-biscuits / bsp_regen

Titanfall 1 -> 2 Map Converter
GNU General Public License v3.0
4 stars 4 forks source link

Add VPK filesystem from R1 #13

Open r3muxd opened 1 month ago

r3muxd commented 1 month ago

now you dont need to extract everything woo hoo

snake-biscuits commented 1 month ago

looking at the logs it looks like we need r1 dlls to compile

might look at using steamcmd to grab those, will have to instruct users on linking those dlls

r3muxd commented 1 month ago

r1 dlls should? be only needed at runtime will look at the rest in abit

snake-biscuits commented 1 month ago

unresolved external symbol, could be a compiler strictness thing

MSBuild version 17.11.2+c078802d4 for .NET Framework

  1>Checking Build System
  Building Custom Rule D:/a/bsp_regen/bsp_regen/CMakeLists.txt
  main.cpp
D:\a\bsp_regen\bsp_regen\src\main.cpp(373,48): warning C4267: '=': conversion from 'size_t' to 'uint16_t', possible loss of data [D:\a\bsp_regen\bsp_regen\bsp_regen.vcxproj]
main.obj : error LNK2019: unresolved external symbol "bool __cdecl InitFileSystem(char const *,char const *)" (?InitFileSystem@@YA_NPEBD0@Z) referenced in function main [D:\a\bsp_regen\bsp_regen\bsp_regen.vcxproj]
main.obj : error LNK2001: unresolved external symbol "class IBaseFileSystem * g_pFileSystem" (?g_pFileSystem@@3PEAVIBaseFileSystem@@EA) [D:\a\bsp_regen\bsp_regen\bsp_regen.vcxproj]
D:\a\bsp_regen\bsp_regen\bin\Debug\bsp_regen.exe : fatal error LNK1120: 2 unresolved externals [D:\a\bsp_regen\bsp_regen\bsp_regen.vcxproj]
Error: Process completed with exit code 1.
r3muxd commented 1 month ago

need to add filesystem.h/.cpp to project

On Wed, Sep 18, 2024, 1:46 AM Jared Ketterer @.***> wrote:

unresolved external symbol, could be a compiler strictness thing

MSBuild version 17.11.2+c078802d4 for .NET Framework

1>Checking Build System Building Custom Rule D:/a/bsp_regen/bsp_regen/CMakeLists.txt main.cpp D:\a\bsp_regen\bsp_regen\src\main.cpp(373,48): warning C4267: '=': conversion from 'size_t' to 'uint16_t', possible loss of data [D:\a\bsp_regen\bsp_regen\bsp_regen.vcxproj] main.obj : error LNK2019: unresolved external symbol "bool __cdecl InitFileSystem(char const ,char const )" (?InitFileSystem@@@.**) referenced in function main [D:\a\bsp_regen\bsp_regen\bsp_regen.vcxproj] main.obj : error LNK2001: unresolved external symbol "class IBaseFileSystem g_pFileSystem" (?g_pFileSystem@@3PEAVIBaseFileSystem@@EA) [D:\a\bsp_regen\bsp_regen\bsp_regen.vcxproj] D:\a\bsp_regen\bsp_regen\bin\Debug\bsp_regen.exe : fatal error LNK1120: 2 unresolved externals [D:\a\bsp_regen\bsp_regen\bsp_regen.vcxproj] Error: Process completed with exit code 1.

— Reply to this email directly, view it on GitHub https://github.com/snake-biscuits/bsp_regen/pull/13#issuecomment-2357554981, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK7NTZXB34ROHZW3VDUPOQLZXEHUFAVCNFSM6AAAAABOGNF4PKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJXGU2TIOJYGE . You are receiving this because you authored the thread.Message ID: @.***>