Project Open Downtown  -  Version 1.1.1 - 10 august 2025

The main objective of Project Open Downtown is to create an equivalent
of the source code of Downtown District, namely "wil.mis" and ALL
missions therein.

To get the compiled code, just extract "wil.MIS" and the folder "wil"
together and run "wil.MIS" in the miss2.exe compiler (made by DMA Design).

To install this open source version of Downtown District into GTA2, just
move all contents of the folder "Compiled code" into /GTA2/data/

Alternatively, you can compile the source code and drag "wil.SCR"
into /GTA2/data/ and all other .SCR missions compiled files 
to /GTA2/data/wil/

There is a backup of the original .SCR files, compiled by the original
authors from DMA Design.

Feel free to modify the code and make cool things with them.

Greetings from Valps.

----------------------------

All things of Downtown District I'm aware of are replicated using these codes.

Includes:
- All objects, parked cars, powerups, sounds, cranes, trains, gangs, kill frenzies etc.
- Training Mission tutorial
- All Yakuza Missions
- All Loonies Missions
- All Zaibatsu Missions
- "The Final Job" Mission

- All relevant counters, saved counters, functions, triggers and
objs now have decent names, inspired on bil.mis

--------------------

What's new?

* version 1.1.1

- Tutorial mission is not softlocked anymore if the player fails it. (Thanks
  Tezuro for finding this bug when playing Downtown rotated 90°)

- Fixed an annoying crash when compiling wil.mis. It was caused by some 
  MAP_ZONEs having 10 parameters instead of 11. It is meant to work with 
  10 parameters (in which the gang cars density is omitted) but for some 
  unknown reason sometimes this causes the compiler to crash.

* version 1.1.0

- I've learned that there is a way to nest two or more WHILE_EXEC without freezing the game, which the original devs have used it. The next two topics are consequences of that:
- The main loop subroutine was reworked and now it is exactly the same of the original wil.scr (to see that you might decompile the original wil.scr, the open source version and compare their subroutine "function1")
- All WHILE's were replaced by WHILE_EXEC, so all EXEC blocks which are inside a WHILE become obsolete and they were removed since now all commands are executed at the same frame. Now a lot of missions are executed faster.

* version 1.0.3

- Fixed a lot of crash issues when some mission fail conditions are triggered  (thanks to WordofWind for finding them)
  Missions fixed:
  
  - Taxi Drivers Must Die
  - Dementia to go
  - Get ZitZaki
  - Bank Robbery
  - Happy Gas Smash
  - Cop Car Crush
  - Bank Van Theft
  - Lick those Loonies
  - Yutes must die
  - Big Bank Job


* version 1.0.2

- The countdown timer in the mission "Wheeler-Dealer" is now very accurate


* version 1.0.1

- Fixed the mission fail check condition on clean-up of the mission "Yutes Must Die"
- Fixed the zaibatsu assassins trying to drive over the player in the mission "Who's Mad"
- Fixed the rooftop arrow of "Destroy J-Lab" and a spammed brief
- The district exit flag now no longer stays on player screen if he is playing a mission
- Some WHILE's replaced by WHILE_EXEC in missions script, then some missions will be a little faster


----------------------------

Little known issues:

- If you get an MAP_ZONE error when compiling, just close the miss2.exe
and try again. It's an occasional error, but isn't code fault.

- If the compiler crashes, just try again.

----------------------------

Credits:

Valps - Rework of the code
TradeMark (T.M.) - for his decompiler
Ben Millard - for keeping up Project Cerbera which includes easily accessible scripting information
Sektor - for keeping up GTAMP forum and Game Hunter

Special Thanks:

WordofWind - for testing this open code version