nervous shadow Posted November 29, 2003 Share Posted November 29, 2003 I've been learning c and c++ for a bit, and i decided to make a mod. however when i try to view the testmod (thought it wise to do what the thing gave me for a test) i get an error, this happens when loading a map with the mod. Heres the pic for you... i only have the mod's .dll in a pk3 and a description.txt in its folder.. My question is should i be using a specific compiler/writer or something?, because im using a d/led one as i cant aford microsofts visual c++.. Link to comment Share on other sites More sharing options...
Wudan Posted November 29, 2003 Share Posted November 29, 2003 How in the hell did you get a .qvm? It's supposed to be loading .dlls. I'll be using Dev-Cpp, which uses the MingW compiler system. If it works I'll post a tutorial and source/project files at mt-wudan. You can't blame Raven though, I'm sure they had their reasons. Link to comment Share on other sites More sharing options...
razorace Posted November 30, 2003 Share Posted November 30, 2003 Well, at least we know that .qvms should still technically work. Link to comment Share on other sites More sharing options...
nervous shadow Posted November 30, 2003 Author Share Posted November 30, 2003 thanks for the advice, i have it fixed, im now using visual c++ 6.0 i got off a mate, getting other stupid errors now like: "g_weapon.obj : error LNK2001: unresolved external symbol _RegisterItem g_weapon.obj : error LNK2001: unresolved external symbol _BG_FindItemForWeapon Debug/game.dll : fatal error LNK1120: 65 unresolved externals Error executing link.exe. game.dll - 66 error(s), 0 warning(s)" *mutters* and before you ask no the .sln isn't in because if it is i get no compiler supports it, and i cant change the thing that teh tutorial wants... again help would be good of you guys Link to comment Share on other sites More sharing options...
Wudan Posted November 30, 2003 Share Posted November 30, 2003 http://www.codeproject.com/tools/prjconverter.asp This is from another thread in this forum, it'll convert the .sln for you. Everybody else who has done this says that it'll work. Link to comment Share on other sites More sharing options...
nervous shadow Posted November 30, 2003 Author Share Posted November 30, 2003 Ok i've done that, it makes a prjconverter in the same folder as it is in, what do i do with this?, it still says "visual c++ version 7.00" if i look inside.. Link to comment Share on other sites More sharing options...
Wudan Posted December 1, 2003 Share Posted December 1, 2003 You convert the .sln to a .dsw with it. When I get MSVC 6 I can write a tutorial on it. Link to comment Share on other sites More sharing options...
nervous shadow Posted December 1, 2003 Author Share Posted December 1, 2003 It works i have done most of my mod now i need to get a few things sorted, will post new thread bout that Link to comment Share on other sites More sharing options...
recombinant Posted December 28, 2003 Share Posted December 28, 2003 Has it been confirmed that we cannot create QVMs at all? Or are we limited to DLLs on Windows and Shared Objects on Linux? (...and any clues about what component model the Mac version uses???) Thanks! Link to comment Share on other sites More sharing options...
recombinant Posted December 28, 2003 Share Posted December 28, 2003 I may have answered my own question... It looks like lcc (formerly distributed with the JK2 sdk) is specifically a C compiler, and since C++ has been introduced it can't be used for compiling JKA sdk code. Does this sound like a plausible reason? Link to comment Share on other sites More sharing options...
Fracman Posted December 28, 2003 Share Posted December 28, 2003 Is there JA running on Linux (i mean the full game, not only the dedicated server? If yes, there must be a way to do QVM files. Couldn't we use gcc instead of lcc? Link to comment Share on other sites More sharing options...
Wudan Posted December 28, 2003 Share Posted December 28, 2003 Use gcc, get .so (Shared Object) files, these work on Linux. Link to comment Share on other sites More sharing options...
recombinant Posted December 29, 2003 Share Posted December 29, 2003 Originally posted by Fracman Is there JA running on Linux (i mean the full game, not only the dedicated server? If yes, there must be a way to do QVM files. ...in answer to this particular question, the answer is no. Sure, you can use gcc to compile it for linux, but it would be for the dedicated server only, since there isn't a Game UI. Since we're creating a single-player TC kind of thing, and not a multiplayer/server-side mod, the primary platforms we would build for at this point are basically just Win32 and Mac OSX (I don't think you can install mods on XBox, but I could be mistaken. In which case I'm assuming the DLL version should work on it - but I could be mistaken in that too!! ). Which brings up a question on my part... Does anyone know if Raven (or Aspyr) have provided any information regarding building the SDK on/for Mac OSX? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.