Subject452 Posted June 2, 2002 Share Posted June 2, 2002 After installing the source code, i went 2 the gamedata\code dir and ran buildvm.bat, it didn't build the qvms but gave syntax errors like "command or filename incorrect", then i ran cgame, game and ui.bat but they gave the same errors, then i took a look at the contents of the batches but that seems to be alright. although lcc.exe is in the bin dir the batch files dont seem to run it. I was wondering is it just me or have more ppl been experiencing this? Maybe someone would be kind enough to test it? Link to comment Share on other sites More sharing options...
RenegadeOfPhunk Posted June 2, 2002 Share Posted June 2, 2002 I've got the same problem. I saw in another thread that the DOS path to the 'bin' directory needed to be set - and I've done that, with no improvement in matters... Does anybody know what to do?!!!! Link to comment Share on other sites More sharing options...
Subject452 Posted June 2, 2002 Author Share Posted June 2, 2002 i can still remember the time idsoftware gave f*uped batches for the vm releases and now raven is doing the same? ( I tried the placing the 1.29 batch files (the working ones) from q3 in the specific dirs and editing the paths and files and ran it but no luck. Link to comment Share on other sites More sharing options...
WD_Rage Posted June 2, 2002 Share Posted June 2, 2002 I haven't had one problem with the batches. The only thing I can think of is you're missing the jk2mpgamex86.dll file, which the compiler builds. If you've built the .dll file, look in your Debug folder under code. If you don't have a Debug folder, then you don't have the .dll file. That's the only thing I can think of. Link to comment Share on other sites More sharing options...
RenegadeOfPhunk Posted June 2, 2002 Share Posted June 2, 2002 I have 2 jk2mpgamex86.dll files - (one in my GameData directory and another in GameData\code\Final...) but anyway - aren't the .bat files suppost to build the qvm files directly from the source files? It shouldn't have anything to do with any .dll's should it? Also, what's really driving me mad is that the batch files are producing output like this: C:\Program Files\LucasArts\Star Wars JK II Jedi Outcast\GameData\code\game\vm>../w_saber.c Bad command or file name And yet I know that file exists - and the path is correct. Is the problem that it's not using old DOS-stylie paths? i.e. C:\PROGRA~1\LUCASA~1\STARWA~1\GAMEDATA\CODE\GAME\VM ? Guess I might be clutching at straws a bit here... Link to comment Share on other sites More sharing options...
WD_Rage Posted June 2, 2002 Share Posted June 2, 2002 From my understanding of the readme file, you have to compile the .dll file: "8. Perform a Build All command and it should build a DLL for the game. At this point you have two options. You can run the debugger, choosing 'jk2MP.exe' as the executable host which will load your DLL for debugging or you can build the VMs for distribution. When you release mods, you must build new VMs and put them in a pk3 file." Since JK2 is the first Q3-based game that I've ever really edited, I'm new to all of this. The only thing I can tell you is that I have followed the directions to the letter and haven't had one problem. Link to comment Share on other sites More sharing options...
RenegadeOfPhunk Posted June 2, 2002 Share Posted June 2, 2002 Well - I've followed the steps in that .txt file too, to the letter as far as I can see - but mine ain't working!! For whatever reason... Hmm - just noticed this in the output: set cc=..\..\..\bin\Icc -DQ3_VM -S -Wf-target=bytecode -Wf-g -I..\..cgame -I..\..\game -I..\..\ui Syntax error That can't be good!! (Just incase it helps, this is the line copied directly from the .bat file itself... set cc=..\..\..\bin\lcc -DQ3_VM -S -Wf-target=bytecode -Wf-g -I..\..\cgame -I..\..\game -I..\..\ui %1 ) I guess it explains all the other errors at least. The only trouble is I don't know enough about DOS crap to know what's wrong with that SET command. Anybody got any ideas? Link to comment Share on other sites More sharing options...
WD_Rage Posted June 3, 2002 Share Posted June 3, 2002 If you're getting a syntax error, it may be in the file itself. I just ran the game.bat and found that I forgot to add a ; at the end of a line. I would've caught it if I had paid attention to the compiler. Link to comment Share on other sites More sharing options...
normal Posted June 3, 2002 Share Posted June 3, 2002 Originally posted by RenegadeOfPhunk .. What operating system are you using ROP? Link to comment Share on other sites More sharing options...
RenegadeOfPhunk Posted June 3, 2002 Share Posted June 3, 2002 No - hang on. The syntax error I'm talking about seems to be in the .bat file itself - not in the source code. I've only made the one change to the actual source code described in the MakeAMod_readme.txt file (the change of rocket-speed thing...) and that compiles fine. (I've checked the compiler output in VS6 and while their's a worrying amount of warnings, there are 0 errors) Link to comment Share on other sites More sharing options...
RenegadeOfPhunk Posted June 3, 2002 Share Posted June 3, 2002 Originally posted by normal What operating system are you using ROP? '98... Link to comment Share on other sites More sharing options...
normal Posted June 3, 2002 Share Posted June 3, 2002 Originally posted by RenegadeOfPhunk '98... Thought so, I am putting together new versions of the .bat files for '98 users. Having someone get me some details on Win98 command-line applications first, though. I'll post them up once I get the information. Link to comment Share on other sites More sharing options...
RenegadeOfPhunk Posted June 3, 2002 Share Posted June 3, 2002 Your a star. Cheers man. So I guess the problem is that the old devs are using 2000 / XP machines, and they haven't taken account of us poor suckers still using 9x OP's...?! Link to comment Share on other sites More sharing options...
normal Posted June 3, 2002 Share Posted June 3, 2002 Originally posted by RenegadeOfPhunk Your a star. Cheers man. So I guess the problem is that the old devs are using 2000 / XP machines, and they haven't taken account of us poor suckers still using 9x OP's...?! Yep. Link to comment Share on other sites More sharing options...
Subject452 Posted June 3, 2002 Author Share Posted June 3, 2002 Yes seems OS related, or rather something to do with dos, i think it's the cc variable thats causing everything. Link to comment Share on other sites More sharing options...
UGG Posted June 3, 2002 Share Posted June 3, 2002 Try this. http://ugg.codealliance.ca/modbat/ Link to comment Share on other sites More sharing options...
normal Posted June 3, 2002 Share Posted June 3, 2002 Nice Job! even though I don't need the new bat files. Link to comment Share on other sites More sharing options...
PurplWulf Posted June 3, 2002 Share Posted June 3, 2002 ok, I used the new batch files for win98 (which I'm running) and it created a vm folder with a bunch of .asl files in that folder, but no .qvm file when I did the build for the mod, it output the .dll to the code/final folder so I have 3 new files in the code/final folder: jk2mpgamex86.dll jk2mpgamex86.exp jk2mpgamex86.lib I guess I'm totally clueless here, but how to do I get the .bat file to create the jk2mpgame.qvm file? do I need to move the files into the game directory? or is there something else I'm missing? the purple one Link to comment Share on other sites More sharing options...
UGG Posted June 3, 2002 Share Posted June 3, 2002 They are asm files, and the qvm files should be in "code\base\vm" Nice Job! even though I don't need the new bat files. Cheers! I rushed off and made them before I saw that you were making them too. Oh well... Not that it matters much, but it would be cleaner to use the set cc= line. Anyone know why it doesn't work in Win98? Link to comment Share on other sites More sharing options...
PurplWulf Posted June 3, 2002 Share Posted June 3, 2002 doh, yep, it sure was, thanks UGG I'm an idiot the purple one Link to comment Share on other sites More sharing options...
Subject452 Posted June 3, 2002 Author Share Posted June 3, 2002 Thank you for taking your time and making these new batches, they work great. Link to comment Share on other sites More sharing options...
pbsaint Posted June 3, 2002 Share Posted June 3, 2002 Nice job with the batch files! It seems like in those that come with the toolkit the "set cc=..." line takes up more than one line and therefore it doesn't work in win9x. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.