|
Perceptron
Модератор
Откуда: Ivanovo Регистрация: Май 2003
Всего: 502 сообщения
|
>So the only thing left for me to do is learn how the dam watcom thing works. The solution is: unpack archive (compiler) into any folder, create a new folder in it (for example, "data"), copy your script_name.ssl and into the "data" folder. Create this file p.bat: @echo off @if not exist %1.ssl goto DONE @copy %1.ssl temp.c @rem Watcom 11 users uncomment the following line: ..\wcc386 temp.c /pc /fo=temp.i /w4 @rem Microsoft Visual Studio 6 users uncomment the following line: @rem cl /P temp.c @copy temp.i temp.ssl @D:\bis\bis_co~1\dos4gw D:\bis\bis_co~1\compile temp.ssl @if %errorlevel% neq 0 goto ERROR @rem The path in the following two lines should point to the Fallout 2 folder: @rem md D:\Fallout2\data\scripts @copy temp.int D:\Fallout2\data\scripts\%1.int @del temp.c @del temp.i @del temp.ssl @del temp.int @goto DONE :ERROR @echo ERROR: %_CWDS%%1.ssl >> err.log :DONE Use file manager (Far, Total Commander) or use "command line" tool in Programs->Standard, go to the "data" folder and type following text in command line: p script_name See your script in D:\Fallout2\data\scripts. (Отредактировал(а) Perceptron - 23:29 - 31 Янв., 2005)
|
Отправлено: 23:23 - 31 Янв., 2005
|
|
Haris
Member
Откуда: Sweden Регистрация: Янв. 2005
Всего: 12 сообщений
|
Wow Perceptron. This is one of greatest watcom guides i ever seen. Cause this is the first thing that i menaged to use that worked except that it gets one error saying i am missing temp.int. Edit: Well now i figured it out. That missing temp.int file thing was just error in my script. But actuall compiling to .int was succesfull when i tryed with another script. So thanks everyone for learning me how to make my own .int script file. And this way i can work with them in devc++ blodshed and than compile em. Now i can finaly have custom scripts in my fallout 2 mods. (Edited by Haris at 2:02 - 1 Feb., 2005)
|
Отправлено: 0:09 - 1 Фев., 2005
|
|
Mangler
Member Регистрация: Янв. 2005
Всего: 22 сообщения
|
Watcom 11 eh? has anyone tried the OPEN WATCOM Compiler? supports XP/2000/98... but it can still cross-compile to DOS, or whatever.
|
Отправлено: 20:41 - 6 Фев., 2005
|
|
Haris
Member
Откуда: Sweden Регистрация: Янв. 2005
Всего: 12 сообщений
|
Why would i bother when using the same thing that original makers used takes 2 seconds to compile a file. I aint installing more langs or enviroments in to my pc. I am so sick of those.
|
Отправлено: 22:09 - 9 Фев., 2005
|
|
|
|