Do Run Run STWRITER.PRGB„!B„! KICKOFF 2 FINAL WHISTLE TEAM EDITOR V4.19P ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ Welcome to the kickoff2 team editor. Included with the program should bethe following files: KO2_EDIT.PRG - The main program KO2_EDIT.DOC - This file KO2_GET.TTP - A utility to extract the teams contained in a league or cup file, so you can edit these. KO2_DISP.TTP - A small utility to display a team to check who is in it. KO2_TABL.PRG - A utility to print out a table for you to design your teams on. KICKOFF2.RSC - The resource file DATABASE.KO2 - The player database (see below) MENU_DEM.PRG - Short program to demonstate menu structure in the full version KICK_DEM.RSC - Resource file to complent above. L_POOL.SQD | SPURS.SQD | ARSENAL.SQD | MAN_U.SQD |- various teams I have created. ENGLAND1.SQD | FOREST.SQD | Please note that V4.19P requires FINAL WHISTLE or RETURN TO EUROPE to run. The kickoff2 team editor was conceived as I got bored with the standardteams supplied with kickoff2, and I wanted a way of designing my own. Myinitial solution was to use MMM (STFORMAT11) to manually edit the team data,but I soon decided this was far too difficult. To see if a program such as this was possible, I initially wrote a small .TTP program which scanned a team and printed out its data. I realised what a potentially useful utility a program such as this would be, so I wrapped a GEM interface around the program and added some extra features. KO2_EDIT.PRG ÿÿÿÿÿÿÿÿÿÿÿÿFunctionsÿÿÿÿÿÿÿÿÿThe menu bar.File - Contains the input/output options. Load .SQD - This option is used to load in a squad file, such as theexample.sqd file provided with this program. It should also load in filesfrom Anco's data discs, but I have been unable to find this out. Create team - This option brings up a dialogue box enabling the user toenter the teams name, which appears at the top of the window, and at theteam name section of Kickoff2 once the squad has been loaded. Click on OKto open the window, and CANCEL to cancel the option. Load .SAV - This is intended to load in player manager files, and isunselectable as it is not yet implemented. When I buy player manager, Ihope to be able to work out the structure of these files, to enable teamsfrom player manager to be converted to use the same names, which the loadplayer manager option if final whistle does not achieve. Save .SQD - Brings up the fileselector so that the user can save a squadthat has been edited or created. Only a window with the team titler canbe saved. Note that to load teams into kickoff2, they must be present inthe root directory of a disc. Save .SAV - Unselectable. Eventually will save out in player managerformat (I hope!!) Save Database - This saves out the player database, after it has beenedited. The player database is the programs store of players attributeswhich it uses for random teams. Players can be copied to and from it bydragging player's names over to another window in a similar manner tofile copying on the desktop. Quit - Quits the program, first bringing up a dialogue for confirmation.Quiting does not save the database or any teams in memory.Database - Contains the database options. Open database - Opens the database window, presenting the players names,their positions, and their current numbers. The window may be scrolled inthe usual way by using the scrollbar. Close database - Closes the database window, keeping any changes made toit. Random team - Brings up a dialogue for the creation of a team from thedatabase store. The dialogue will ask for the teams strengths, the numberof members in it, and the average flair, as well as the division the teamis to play in. The division option basically selects the average skill ofthe players. Once GO! is selected, the routine will pick a team, and thendisplay the newplayer window with details of the team selected. Note thatthis option will wipe whatever is currently in the window. Once this hasbeen done, the players can be viewed, and copied to a team window readyfor saving.Player - This controls the main functions of the program View statistics - Presents the players statistics in a similar manner topressing space in final whistle, but allows every aspect of them to bealtered. The up and down arrows increment or decrement the currentlystored value, whilst the keyboard can also be used to manually enter thevarious statistics. If Cancel is clicked upon the alterations will belost, whilst OK makes them permanent. If the players playing position (iedefender, midfielder, etc) is altered, the program automatically resortsthem and updates the window so that all players in the four groups aregrouped together. Delete player - deletes the currently selected player in the top window. Create player - brings up the same dialogue as view statistics, but thistime it is mostly blank (the last entered player will be displayed). Anewly created player is stored in the top window on the screen. New player window - brings up a new window which allows the temporarystorage of players when they are being manipulated. Evaluate player - Brings up a dialogue giving the players flair, averageskill and best position. Evaluate squad - Evaluates the squad in the top window, presenting thenumber of players, the average flair & aggression, and gives a smallcomment and some recommended formations for playing. These are meant asguidelines only - different classes of team require different tactics. Note that you must make sure that each position(1,2,3,4,5,6,7,8,9,10,11,12,14) is held by a player when you save a squad, asif this is not done, final whistle will not load the team in correctly. Basically, that's about all there is to the player editor. All I neglectedto say (I think) is that there is a maximum of one window open at any one timecontaining different teams, and that the database can contain a maximum of 100players. I hope you find the program useful! KO2_DISP.TTP ÿÿÿÿÿÿÿÿÿÿÿÿ To use KO2_DISP.TTP, just double click on it and enter the name of a team.Works best from a shell though! All it does is display each player in a teaamand the number that they play at. Someone might find it usefull! By the way,this is V1.00 of the kickoff editor, ie the one mentioned above as my initialprogram. KO2_GET.TTP ÿÿÿÿÿÿÿÿÿÿÿ KO2_GET.TTP should be double clicked on ,and then the name of a cup orleague file entered, such as league.lge or cup.cup. If the file is not in thesame directory as the .TTP program, its directory specification must also beentered, eg, A:\CUP1.CUP. The program, will extract all 8 teams, and save themaccording to their names, reporting on what it is doing as it runs. KO2_TABL.PRG ÿÿÿÿÿÿÿÿÿÿÿÿ This is a small program designed to print out a table for you to designyour own teams from scratch on. It was written for my STAR LC-10CL, and usesepson command sequences to first set your printer to condensed pica pitch, andthen to the IBM character set (ie the graphics one). The program printsthetable out and then exits. If the printer is off or not on-line when the programis executed, it will just return you to the desktop. I find it easier to enterteams I have designed if I copy the data from a table, as it is difficult tothink up of good statistics whilst you are typing. It also helps to place a30cm ruler underneath each line as you enter the data into the editor. MENU_DEM.PRG ÿÿÿÿÿÿÿÿÿÿÿÿ This is a short program that uses pull down menus to illustratethe functions in the shareware version. To exit, click again whilst not overthe menu bar.Source code & Updatesÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ The program was written completely using sozobon C, after following theexcellent tutorial in ST Format, as well as using reference material form thefollowing disks:ST Club TXD*17 disk, containing the professional gem programmers series, at thehithchikers guide to the BIOSMT Software disk DP10, containing the Conrado C tutorial and example files,which is an excellent introduction to the C language.The following PD programs were used in the creation of the program (not allPD)MKRSC, ST Club disk LAN.93, a basic resource construction kit containing fullsource code, which was invaluable as a reference.Sozobon C, MTS Disk DP5MMM, ST Format coverdisk 10, an excellent machine code monitor used to deciperthe team structure used in kickoff2 the final whistle.MONST, ST Fromat coverdisk 22, another machine code monitor, this time used tofind out why the editor kept crashing.GULAM, MTS Disk U38. Be careful if you buy this, as when I purchased it itcontained the germanic keyboard layout, and I had to hack it with MMM to makeit work with my UK ST. The program was compiled on a 520STFM, with a double sided disk drive,using batch files. Just shows you, you don't need a 1 MEG machine to get intoC! I only started programming in C in December 1990, and by July 1991, I hadfinished this program! Please write to me if you have any bug reprorts or suggestions as tofeatures you would like to see implemented in the next version.Anyway Send a cheque or postal order for œ5 to G. Douglas, 4 St. Guthlac Ave. Market Deeping Peterborough PE6 8BH Stating whether you require the source code as well as the updatedversion. It would also help if you said which PD library you obtained theprogram from, as this will allow me to check on the programs circulation. Your œ5 registration fee also entitles you to a printed copy of thismanual, and updates of the shareware version as soon as it is completed. Iwould also like to start a library of teams created with the editor, by you theuser. Just send me a disk with all of your squad files on it, and I shall addthese to my collection, and send you a disk full of all the teams I havecurrently collected. Note that often the windows will update incorrectly, and when you close awindow, it is not always the one underneath which comes to the top. Yes, I knowthese look like bugs, but they are included to convince you to buy the fullversion (is that a good excuse?) Hopefully the next version will be written in Lattice C V5, on the STE Ihope to be able to buy (dream on). A final point - would anyone like featuresto allow the creation of tactics/pitches/Special events/editing cups/editingleagues? I was going to include (some of) these features but decided not to dueto, respectively, a) too difficult b) they don't make much difference c) Verydifficult d) limited use e) again, limited use. What do you think? By the way, if you have a buggy version of final whistle that does notallow you to save leagues or teams, write to Anco enclosing your original diskand they will replace it for you. Most bugs are fixed, but the penalty arrowstill points the wrong way in certain cases! Also, I don't know if anyone hasnoticed this, but whilst playing kickoff2 with final whistle loaded a playertaking a corner often runs to the wrong corner spot (the one on the other sideof the pitch, over the half way line), lets you select the corner kick, andthen runs all the way up the pitch again to take it! Other points about kickoff -1) Can anyone out there actually do a set piece free kick and score?2) Can anyone flick the ball in the air and then do an over head kick?3) What do you think of Dino Dini's excuse for not making the pich look likethe amiga one in the literature accompanying the program?4) Why don't Anco make a cricket simulation like kickoff? (or failing that, adifferent sport - rugby perhaps?)G. Douglas, 31st August 1991 + 4th SeptemberVersion historyÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ4.00R - The first released version4.10 - The second version. Bugs fixed include one which crashed the program ifthe user shuts all the windows, and one in the random team subroutine whichhung the processor!4.15P - Whoops - I never actually got round to sending of V4.10 - I discoved abug in the evaluate team bit which caused some data corruption and crashed theprogram with a bus error. Fixed this. I also added the create team menu option,so you no longer have to do this by entering a name on the fileselector. Thissaves memory, and looks a lot nicer.4.16 - I didn't release this version. All that I changed was the save teamroutine4.17 - Changed the internal storage methods to try to allow the screen toupdate faster.4.18 - This version had some extra teams added to it, and I also wrote theutility KO2_GET.TTP to go with it.4.19P - Didn't change the actual editor this time, just added the KO2_TABL.PRGutility to the suite of programs.Key (to above) P - Version sent to a PD library R - Released version sent elsewhere (friends, etc.)Shareware version currently containsÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿMultiple team edit windowsPrint Team optionLarger database size (soon)Easier editing - no mandatory new player windowMore teams included - currently the whole of the english first division!Error traping functions to stop you saving a team with all the positions on thefield not filled upFaster loading of the database and created teamsA function to automatically select the position each player plays in, byexaminig their relative dataMore helpfull text in both of the evaluate squad optionsConfiguration optionsTo all PD libraries:ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ Please stock this disk!!!!!!!To all Magazine Coverdisk editors:ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ I don't mind if this gets put on a cover disk, but could you tell me ifyou intend to do so (address above) so I can purchase the mag!! (Doesn't matterso much with ST Format - I already buy it every month)To all people who have a copy of thisÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ Please send it to any PD library that doesn't currently have a copyProgram, teams and associated data files (c) 1991 G. DouglasUpdated 1992So far 2 people have registered and I know of 5 PD libraries with the program!