Custom page for all AG or PG enthusiasts.
   Stránka pre všetkých AG/PG nadšencov.

NUPL for Allied general

FAQ for original AG.exe with AutoScroll



What is NUPL for PG-DOS:
- an Editor to assign new units to countries 
- NUPL is a WIN95 program that can be used to help modify the New Unit Purchase List of Panzer General 1-DOS version.
- first NUPL-Editor wrote Fred Chlanda.                   
- NUPLed Version 0.2, by Fred Chlanda , September 1998 -  NUPL-Editor PG-DOS -download link:
http://www.wargamer.com/Hosted/ChlandaWorkshop/programs.htm#Panzer


What is NUPL for AG-Win:

- until  now  there was none NUPL for Allied general.
- so many players for such many years must play AG, e.g. Soviet union with only one available land transport,
- by using of Manual NUPL for Allied general ® , any skilled creator can change purchase manu under own decison,

Manual NUPL for Allied general ® provides unlimited abilities.
- Now you can reorganised Soviet purchase menu to have 5 land transports,
- Now you can add more tactical bombers for Italy,
- Now you can have more tanks for Poland (1939),
- Now you can add Tempest, Typhoon, Skua, Battle for U.K. and many more units for France, Czech, Poland, Romania, Slovakia,  Hungary, ......
Choose what you want. Now you can do anything.


Manual NUPL for Allied general ®

Below picture contains exact  offset position  for AG.exe file, which contains all purchase menu for all nations ever used in the Allied general.


Practical example

Starting address: 01884560
Nationality: GREEK
Whole offset bytes string:

079,001     255,255     255,255     255,255     124,000

255,255     121,000     255,255     255,255     255,255

152,000     153,000     154,000     155,000     255,255

255,255     255,255     255,255     125,000     255,255

 

Nr

Class

String of bytes

Designation of unit

ES

IS

PS

purchasable in the game?

1

Infantry

079, 001

Greek Inf

335

191

1

YES

2

Tank

255,255

none

none

none

0

none

3

Recon

255,255

none

none

none

0

none

4

Anti-tank

124,000

AF 37mm ATG

124

196

1

YES

5

Artillery

121,000

AF 75mm GUN

121

197

1

YES

6

Anti-Aircraft

255,255

none

none

none

0

none

7

Air Defense

255,255

none

none

none

0

none

8

Fortification

152,000

153,000

154,000

155,000

AD Mk I SP

AD Mk II SP

AD Mk I Fort

AD Mk II Fort

152

153

154

155

206

206

207

207

1

1

1

1

NO !!

NO !!

NO !!

NO !!

9

Fighter

255,255

none

none

none

0

none

10

Tact. Bomber

255,255

none

none

none

0

none

11

Level Bomber

255,255

none

none

none

0

none

12

Land Transport

125,000

AF Truck

125

209

1

YES

0

Ending bytes

255,255

----

---

---

---

----

 

 

ES - equipment slot is situated in the PANZEQUP.eqp - Total nr. of ES 449

PS - purchase slot is situated in the AG.exe - Total nr. of PS 465

IC – icon slot is situated in the TILEART.dat - Total nr. of IS 256

Some of the BASIC RULES:

(a) 255,255 – if some class is unused (e.g. Fighter in theGreek) offset string  is replaced by those 2 bytes. 
(b) each PS –consisted from 2 bytes – e.g. 153, 000  (153 + 0 x 256 = 153 ...... ES nr.153 = AD Mk II SP)
(c) Starting offset address for purchase menu:
- ag.exe without  AutoScroll -      ..................... 018 77 540
- ag.exe (v.1.2) with AutoScroll -  ................... 018 83 310
(d) When inserting or deleting any PS, always check total number of bytes (TNB) in the AG. exe file !! 
- ag.exe without  AutoScroll -      .....................    TNB    216 1664
- ag.exe (v.1.2) with AutoScroll -  ................        TNB    216 7611

 Another practical examples

                                                   2 byte integer

Bf109E              ES nr.001         bytes 001,000.......................... (001 + 0x256 = 001)

17 K18               ES nr.101         bytes 101,000.......................... (101 + 0x256 = 101)

ST T-60             ES nr.256         bytes 000,001.......................... (000 + 1x256 = 256)

IT Bersglri         ES nr.326         bytes 070,001 ..........................(070 + 1x256 = 326)

US M2A4           ES nr.356        bytes 100,001 ..........................(100 + 1x256 = 356)

US 90mm AD     ES nr.398        bytes 142,001 ..........................(142 + 1x256 = 398)

Known bugs

Only known bug (with no effect on the game) are corrupted designation of land transports. See picture below. (comment: by Manual NUPL were added another 2 transports for Germany - Ax Wagon and SdKfz 7)

 

 

Sequence of purchasable and (**) non-purchasable classes in the AG.exe

Infantry
Tank
Recon
Anti-tank
Artillery
Anti-Aircraft
Air Defense
** Fortification
Fighter
Tactical Bomber
Level Bomber
Land Transport

Sequence of nations in the AG.exe

Norway
UK
Italy
Poland and FPO
Germany
Belgium
France and FFR
USSR
USA
YUG
ROM
HUN
BULG
GREEK
FIN

Ag.exe v.1.2

01.** Austria share Norway purchase menu

02. Belgium has separated purchase menu

03. Bulgaria has separated purchase menu

04.** Czech share Norway purchase menu

05.** Denmark share Norway purchase menu

06. Finland has separated purchase menu

07.France has separated purchase menu

08. Germany has separated purchase menu

09. Greece has separated purchase menu

10.USA has separated purchase menu

11. Hungary has separated purchase menu

12. ** Turkey share Norway purchase menu

13. Italy has separated purchase menu

14. ** Luxembourg share Belgium purchase menu

15. Norway has separated purchase menu

16. Poland has separated purchase menu

17. ** Portugal share Norway purchase menu

18. Rumania has separated purchase menu

19. ** Spain share Norway purchase menu

20.USSR has separated purchase menu

21. ** Sweden share Norway purchase menu

22. ** Switzerland share Norway purchase menu

23. UK has separated purchase menu

24. Yugoslavia has separated purchase menu

 

 

Pozn. č. 1
Ospravedlňujem sa za Simplifying English, ale nemal som chuť to prekladať.

Pozn. č. 2
Flipicon môže síce Importovať a Exportovať ikonky, ale len v rámci jedného TILEART.dat. Čo však v  prípade ak máte ikonky roztrúsené medzi viacerými TILEART.dat a tieto chcete zlúčiť do jedného ?
Teda čo nabudúce ? Ak bude záujem, niečo o Importe a Exporte ikoniek medzi dvoma TILEART.dat.

Pozn. č. 3
27.04.2007 oslávil 25 rokov legendárny gumák alias specy alias gumená šunka alias Sinclair ZX Spectrum 48 Kb. Čo viacej mu zaželať, len ďalších 25 rokov!

Pozn. č. 4
France 1940 – experimental campaign for AG.
First screenshot:

Vytvorené v roku pána 27.04.2007 n.l., made by juloAG,        SLOVAKIA