Search found 10 matches

by noid
Tue Feb 11, 2003 4:00 pm
Forum: Fallout Editing
Topic: New F2 compiler/decompiler
Replies: 29
Views: 26327

[quote="Red"][Mainly, - Are local_vars saved? - Are variables in the script scope destroyed when leaving the level of the map, or the actual map? - Soemthing else I can't remember right now][/quote] I just did some testing, op_local_var() variables are stored in the map save file (e.g. sav...
by noid
Tue Feb 11, 2003 3:36 pm
Forum: Fallout Editing
Topic: Search order for files in DAT archives.
Replies: 0
Views: 5093

Search order for files in DAT archives.

These are the three rules that fallout2.exe uses to search for data files. If patch000.dat is found. Search order: - patch000.dat - critter_dat and master_dat (from fallout2.cfg) If patch000.dat does not exist but patch001.dat, patch002.dat, ... patchNNN.dat exist. (Must be at least two patch dats, ...
by noid
Mon Feb 10, 2003 5:41 pm
Forum: Fallout Editing
Topic: New F2 compiler/decompiler
Replies: 29
Views: 26327

Re: Scope question

[quote="Red"]"exported" variables last for the durection of the engine. That means that if you quit the game the variable is lost, or is it stored with the savegame and "lost" when you start a new game?[/quote] There are multiple levels of variables. First there are tho...
by noid
Mon Feb 10, 2003 5:13 pm
Forum: Fallout Editing
Topic: New F2 compiler/decompiler
Replies: 29
Views: 26327

A new version of the compiler / decompiler is out. You can get it from: http://members.fortunecity.com/noid84/compiler/f2compiler-1.01.zip Fixes include: * Incorrect decompilation with nested if statements is fixed (thanks to SerdarG for pointing this out). * Uses correct line terminator under windo...
by noid
Sun Feb 09, 2003 2:13 am
Forum: Fallout Editing
Topic: New F2 compiler/decompiler
Replies: 29
Views: 26327

[quote="Red"]To that effect I was wondering wether that import/export stuff was really supported in the normal compiler Here's my extraction line: [code]E:\games\Fallout2_extracted_reference\data\scripts>for %a in (*.int) do @D:\apps\ruby\bin\ruby \games\falloutdec\decompile %a[/code][/quo...
by noid
Sun Feb 09, 2003 2:04 am
Forum: Fallout Editing
Topic: New F2 compiler/decompiler
Replies: 29
Views: 26327

[quote="Jargo"]But found problem with: [code]if (op_local_var(11) != 0 == 0) then[/code] or [code]if (op_global_var(6) != 0 == 0) then[/code] in decompiled file DCVic.int What does this mind: [i](a != 0 == 0) [/i][/quote] != and == have the same precedence, so the decompiler doesn't put in...
by noid
Wed Feb 05, 2003 3:02 am
Forum: Fallout Editing
Topic: New F2 compiler/decompiler
Replies: 29
Views: 26327

[quote="Jargo"]But native interplay names are little hard to understand why not make it compatible with ipp. And the ssl file is not very readable in "txt edytor" what edytor you use?[/quote] The interplay names are those used by the original interplay compiler (examine fallout2....
by noid
Wed Feb 05, 2003 2:55 am
Forum: Fallout Editing
Topic: New F2 compiler/decompiler
Replies: 29
Views: 26327

[quote="ABel"] Where did you get all the information? And why you used that strange interpreted language, is there any way to make a Win32-executable?[/quote] I got the Interplay syntax from the KA compiler docs. The KA compile.exe was used to compile simple test programs, which I then han...
by noid
Mon Feb 03, 2003 4:58 am
Forum: Fallout Editing
Topic: New F2 compiler/decompiler
Replies: 29
Views: 26327

[quote="Helios2000"] decompile:2452:in `require': No such file to load -- getoptlong (LoadError) from decompile:2452 this is my problem.[/quote] Does this file exist ?: c:\usr\local\lib\ruby\1.6\getoptlong.rb If not then the interpreter was not installed into the root directory. The ruby i...
by noid
Sun Feb 02, 2003 5:49 pm
Forum: Fallout Editing
Topic: New F2 compiler/decompiler
Replies: 29
Views: 26327

New F2 compiler/decompiler

There is a new compiler / decompiler for fallout 2 at:





http://members.fortunecity.com/noid84/c ... mpiler.zip





Documentation isn't finished yet, but there is a start.





Comments anyone?