----------------------------------------------------------------------- SwGroup - Name Editing - File Grouping and TC Adaption Program by Ben Smit - email: bens@dbn.lia.net (c) Copyright ProAsm - http://users.lia.net/util - http://www.wangsdojo.com/proasm ----------------------------------------------------------------------- Introduction ------------ Shadow Warrior does not utilize group .GRP files or allow you to change Episode, Level Titles or Map names, but now with SwGroup you can do just that. You can also change the Cheat codes, Skills, Inventory and Weapon names, re-direct some Tiles, set Weapon Strengths and ammo amounts. Make you own Fortune Cookie sayings and "Get" or "Need" key sayings. Some functions can also be disabled or enabled. When your TC or Addon executes it will take care of any duplicate files in the folder and also "all" .ART .VOC and .KVX files for you. NB.. SwGroup is no longer compatible with either of the two UK registered versions of Shadow Warrior and a note in your info files should point this out. Should a user have a UK version of Shadow Warrior, the original SW.EXE should be sent to him/her or they can download it from my site at ftp://venus.dbn.lia.net/users/bens/public/swusa.zip NB.. Maximum number of files in .Grp file is 250 Name Changes ------------ With SwGroup you can change the names of any Cheat code, Inventory, Skill requirement, Weapons, Map names, Map Titles, Episode names and Episode information. Just move the Cursor to the appropriate name and press Insert. Type over what name you want and press Enter. Episodes -------- While editing the Episode or Episode names should a '^' be used as the 1st character, the Big Red letters will be used otherwise if the '^' is ommited from an episode name, the Smaller Silver letters will be used. You need to experiment with this to master your requirement. Weapon Strengths and Ammo Amounts --------------------------------- Weapon Quantity - must be 3 figures Weapon Strength - 0 to 9 SwGroup now offers you the option of changing the amount of ammo for certain weapons as well as the weapon strengths. Please note changing weapon strengths will also effect the Enemy that use that particular weapon against the player. Ammo amounts can be from 000 to 999. Weapon strengths range from 0 to 9 with 2 being the default. After a strength of about 7 the strengths become devastating. NB.. The strength of the Ripper Heart is actually the strength of the Rippers scratching the player. Tile Re-Direction ----------------- Tile numbers must be 4 figures Some Tiles can also be re-directed so that you can make your own tiles in place of the original and just tell SwGroup where they are. This can sometimes save you many megabytes of space in the .GRP file. For instance you can put your end message in in say Tile 5700 as everyone making a TC has a Tiles022.art and point the Ten Screen Tile 5109 to your tile at 5700. The only thing by doing this is that SwGroup will switch off the color inversion, in otherwords you will see it as a normal tile. Should you want to retain the color inversion then you will need to extract the palette files from SW.GRP and rename to the following and add them into your MyTc.GRP file. 3dRealms Presents Tile 2325 = 3drealms.pal - rename to 3drealms.pax Ten Screen Tile 5109 = ten.pal - rename to ten.pax These files are only 768 bytes long so it won't buldge your TC to much - much better than the large Tiles009.art (.5 meg) and Tiles019.art (2.6 meg) that you'd need for the 1 or 2 tile changes. Saving Games ------------ Your TC or Addon will have it's own personal 10 saved games. When the player saves a game it will go under the 1st 4 characters of your MyTc.sav. If your TC name has less than 4 characters it will pad the name with x's. Cheat Codes ----------- Most used cheat codes can be changed to whatever you like for your TC. If you like getting a lot of email - then change the codes ;-) Fortune Cookie Sayings ---------------------- All Fortune Cookie sayings can now be changed to whatever you like. You need key and You got key ---------------------------- These descriptions can now be changed to whatever you like. It is especially handy with the "You need key" as you can now put in a "riddle" or "clue" for the player on where the key is. Sound File List Re-Allocations - (vers 6+) ------------------------------------------ There are some items that all share the same sound file. The following all share THROW.VOC Lo Wangs hitting with his fists Lo Wang throwing Shurikens Lo Wang throwing Sticky bombs Lady Ninja throwing Arrows Lady Ninja throwing Sticky bombs Ninja throwing Shurikens Moving the cursor around the Menu The following all share BOLT1R.VOC Cocking the Rocket Launcher Cocking the Grenade Launcher Cocking the Rail Gun Cocking the Goro Head Should you wish to have individual sounds for each, just select that item and type in a new LIST number. This is the list supplied by 3DRealms called SWSOUNDS.TXT Other sounds you can redirect are :- The sound when you first start up Shadow Warrior "You no mess with a Lo Wang" The four Skill sounds :- "You are a tiny grasshopper" "A Ninja knows no fear" "Who Wanta some Wang" "No pain no gain" PC Crash Recovery ----------------- Should the user's PC crash or hang during the game, your TC will know about this and when next executed a Crash Recovery program will come into effect and sort out all the unecessary files in the folder. Swgrp.Bin Editor ---------------- Press 'Ctrl F1' to edit the Swgrp.Bin If you have the SWGRP.BIN file supplied with SwGroup then by pressing Ctrl F1 while in SwGroup the Swgrp Editor will be activated giving you the option of editing the SWGRP.BIN file which you can add into your .GRP file to advertise your site or TC or whatever. This is the very last screen displayed when exiting Shadow Warrior. Running SwGroup --------------- SwGroup will first prompt you for a group filename of which you respond with a Filename depending on what you you call your TC. Up to a normal DOS based 8 character filename is permitted. Although a 5 or less character name would be an advantage if you use the Windows Frontend as described later. SwGroup will now ask you if want "Demos" switched off at the start of your TC. This could be usefull if you don't want any Demos running with you TC or perhaps someone else's demo running. Next SwGroup will ask if you want a .Bat (Batch) file created. Many Frontend Launchers need a .Bat file to execute the TC, but if do not need one or you are generating your own then just answer "N" else SwGroup could overwrite your present one and that could be disaterous. Frontend Launcher ----------------- Now SwGroup will ask if you want a MS-DOS Frontend Launcher added infront of the TC Launcher offering the following options :- Single Play - Multi Play - Readme - Uninstall - Quit Should you select "Y" for this request then there two options available to you. 1) A Text based Frontend Launcher 2) A Graphic based Frontend Launcher Should you select (2) then certain rules need to applied. First create yourself a graphic picture in a 640 x 480 x 256 color PCX format. If you have Paint Shop Pro or any equivalent type of program then use it. NB.. Remember the graphic must be resized to 640 x 460, this is because the selection takes place on the bottom line of the screen. The length can now be anysize up to 500k When your graphic is completed RENAME it to MyTc.PXX In other words the .PXX filename must be the same as your .GRP filename. On startup the MyTc.COM file will look for this file, and if it is NOT found the Text Frontend Launcher will come into effect. NB... If the .Com program receives any '/' parameter then the Frontend Launcher (Graphic or Text) will be by-passed Windows 95/98/NT Frontend Launcher ---------------------------------- SwGroup will now ask if you want a Windows based Frontend Launcher. Should you reply 'Y' the you will be asked for the "Name" of your TC / Addon and "by whom". So if your TC is "The Lone Wang Ranger" for instance, you should enter TLWR for the name of your TC. SwGroup will then make the Windows Exe TLWRWIN.EXE On the other hand if you use the filename LONEWANG, Swgroup will now make the Windows Exe LONEWWIN.EXE If any of these items is different then the ICON will NOT be installed on his/her Desktop. He/she will have to create their own shortcut to the Desktop or to wherever. It thus advisable to keep the name of your TC file to UNDER 6 characters ie.. 5 or less, as if you made the name 8 characters, SwGroup will use the 1st 5 and add "WIN" to that. Next you will be prompted for what you want on the "Desktop" Icon. Normally this is only the name of your TC / Addon. NB.. The next time you compile with SwGroup, it will look for the file MyTcWin.exe and if found, it will NOT prompt you again if you want a Windows Launcher. You need to DELETE the file if you want to do it over again. Dual Frontend Launchers ----------------------- Even if you have your Own Frontend Launcher or you selct to use the Windows 95/98/NT one offered by SwGroup, you can still select the MS-DOS one SwGroup offers as it will be bypassed if it receives any form of '/' parameter from another Launcher. This can be handy should the user wish to execute the TC from MS-DOS. A special note on Demo's (v5.8+) -------------------------------- Up to now Demo maps have not been catered for in SwGroup simply because there are NO demo maps supplied with the Shadow Warrior Registered version 1.20 - Those of you who have demo's, got them from the SW Shareware version 1.10 To Record Demo's for your TC ---------------------------- NB.. you must state which level you want to record. Levels 1 to 4 is the shareware episode and 5 to 28 is the registered episode. So you can record any level from 1 to 28, provided of course you have that many levels in your TC. Lets say you want to make a demo of level 7 1. First compile your TC with SwGroup as normal. 2. Copy the "MyTc.Com" and "MyTc.Grp" files into the SW folder. 3. From the command prompt enter the following. MyTc.Com -demo7 or from Windows - "Start" - "Run" - then type in :- c:\sw\mytc.com -demo7 click "Ok" (this is provided your drive/folder is c:\sw) 4. While you are playing the level it will now record everything to a file called DEMO.DMO Recording will stop when you exit the game. It is a good idea to keep your Demo's fairly short. Rather have four short demo's than 2 long ones. 5. Now once you exit from the recording, rename this DEMO.DMO to anything you like with a .DMO extension, lets say MyTcdem1.Dmo NB...... "NEVER" call your Demo's "DEMO1.DMO" or "DEMO2.DMO" They will overwrite the original SW demo's ;-( 6. Now record your second and any other demo's you want using the method detailed above. 7. Next create yourself a Demo "Run" file using Notepad or any other text editor you may like to use. Just list the sequence in which you want the demo's played when the user starts up your TC. ie... MyTcdem1.dmo MyTcdem3.dmo MyTcdem4.dmo MyTcdem2.dmo 8. Now save this file as "Anything.RUN" "Anything" can be up to 7 characters. ie... MyTcdem.run NB..... "NEVER" save this file as "DEMOS.RUN" It will overwrite the original SW run file ;-( 9. Move these .DMO and .RUN files into wherever you have SwGroup and re-compile. When SwGroup asks if you want to switch off Demos, just press "Enter" or say "N" and you will be asked for the name of your "Run" file. Just enter the "Anything" here. Then Compile as normal. ----------------- Multiplay Configuration ----------------------- Should the builtin Frontend Launcher be selected a multiplay menu has now been added for the user to configure the folowing : Multi Play Type - Serial, Modem or Network ComPort Number - 1,2,3,4 ComPort Speed - 9600, 19200 or 38400 Connection Type - Dialmode, Answer Mode or Already Connected No. of Players - 2 to 8 depending on type. Dialing Type - Tone or Pulse dialing Select RTS File - Up to 20 RTS files can be selected Player Name - Select a name Modem Init String - ATZ or whatever you need Phone Number - Up to 6 numbers can be stored. Socket Number - 34889 or whatever you need The phone numbers can be upto 17 numbers or if you add 2 spaces you can put someone's initials in if need be. ie.... 01213,123475 SW RTS Files --------- Should you want to add an RTS file or files with your TC you then have the a few options. Select the main one (or the only one) and call it the same name as your TC or .GRP file - ie.. if your .Grp file is WangB.Grp then name your RTS file WangB.RTS NB.. Your main or only RTS file MUST be in the SwGroup folder. This is so when you compile with SwGroup, it will look for this RTS file and if found it will inform the COM file of it's presence. Also only this RTS file will go into the .GRP file. Should you have more than one, the others will have to be zipped seperately with the final package. Now when the user selects Multi Play - your main or only RTS file will be displayed as the Default file. This RTS file will also be deleted when the user selects the "Uninstall" function. Should the user have multiple config (.CFG) files then he/she must select the default SW.CFG file else your RTS files will not work. The COM file modifies the SW.CFG file with the user's selected RTS filename and then restores the original on game exit. -------------------- SwGroup will now look for a file, the same name as your "TC" .SWG This file stores all the name changes you made last time and saves you having to type them all in again. SwGroup will create you one when you exit after your changes. SwGroup will now display a screen with all the original Shadow Warrior Titles. Just follow the on screen information to edit these Map names, Titles and or Episode then press F10 when completed. Pressing Esc will abort the process. F1 will give you some guidance. Enable / Disable Functions -------------------------- The following items can be disabled oe enabled :- Lo Wangs fists. The 2nd Uzi Submachine Gun. The Uzi or Uzi's from reloading. The Riot guns second choice. The Riot Gun from reloading. The 3 way switching of the Goro (Gaurdian) Head. The fire being spawned when you shoot the Goro Head The use of the Ripper Heart. All Fortune Cookie sayings. The "Sticky" in the Sticky Bombs New disables in v5.7 Gaurdian spawning Gorohead Big Ripper spawning Heart Ninjas spawning Weapons Coolie spawning Ghosts Serpent Boss spawned Heads Sumo Boss spawning Head New disables in v6.0 Ninjas throwing Shurikens SumoBos Spawning Gas SumoBos Shooting LadyNinja throwing Sticky Bomb LadyNinja shooting Arrows Start and end animations Displaying Ten screen Monty Python rabbit larger Throwing 3 Shurikens (/1) (If disabled shurikens are thrown one at a time) Weapon Reloads -------------- These weapons can have the number of rounds set before they reload. NB.. These numbers must be 3 digits - ie.. 50 = 050 Single Uzi Dual Uzi's Riot Gun Weapon and Ammo Pickup amounts (vers 6+) ---------------------------------------- The amount of ammo given for each weapon picked up can now be changed to whatever you like. Shurikens Riot Gun Uzi Missile Launcher Grenade Launcher Sticky Bombs Rail Gun Gaurdian Head Also the amount of ammo when picked up can also be changed. Frontend Launcher Graphic Text Colors ------------------------------------- 000 - Frontend Graphics PXX Text Deselect Color (SwPxx) 255 - Frontend Graphics PXX Text Selected Color (SwPxx) Colors for :-  SINGLE PLAY - MULTI PLAY - ETC.....  which appear on the MS-DOS Graphics Frontend Launcher are entered here. These last two functions on this page are the Deselect and Selected color numbers (must be 3 digits) - ie.. 3 = 003 These are the Text colors seen by the utility SWPXX.COM for the .PXX file you would use if you selected the Graphics Frontend Launcher. Using SwPxx : SwPxx.com MyTc.Pxx As all PCX (PXX) graphic pictures set there own colors during design it was necessary to have this utility. During compiling "F10" SwGroup will create a .GRP file, a .COM file and a MyTcWin.exe file (if you requested it) with the filename you selected. A .BAT file will also be created if you requested one. The only files you now need for the game itself are MyTc.Bat - (Optional) MyTc.Com - The TC/Addon Adaption program MyTc.Grp - The Group file MyTc.Pxx - The graphic Startup file (Optional) MyTc.Txt - Your information file about your game MyTcWin.exe - (Optional) The Windows 95/98/NT Frontend Launcher This eliminates the problem of having all sorts of duplicate files in the Shadow Warrior directory as one never know's which file belongs to which map and many map developers always use the same .ART files etc. MyTc.com Parameters ------------------- MyTc.com will accept any of the standard Shadow Warrior parameters as well as a few extra's as shown below. MyTc.com /C (Wangbang) MyTc.com /W (Wangbang) MyTc.com /U (Uninstall) MyTc.com /R (Readme) Uninstall --------- The /U parameter will now delete all the relevant files for your TC including itself, all the saved game files and return to MS-DOS. The "/C" parameter will take care of the Commit.dat file and then executes the Commit.exe file for multiplay purposes. On exiting the game the Commit.dat file will be restored. Readme ------ The /R parameter will display your MyTc.txt file. External or Windows Frontend ----------------------------- Should you wish to have your own Frontend Launcher which is possibly a batch file or a EXE program you created with C++, Visual Basic, or some programming language, then your Frontend Launcher must :- For Single Play. MyTc.com /X For Multi Play - you make the changes to the Commit.dat file MyTc.com /W MyTc.com will now setup the TC and execute Commit.exe Remember on exiting the game it is also up to your Frontend Launcher to restore the Commit.dat file back to normal. Should your Frontend Launcher NOT do any changes to the Commit.dat file then it MUST execute :- MyTc.com /C MyTc.com will now setup the Commit.dat and execute Commit.exe MyTc.Com will auto restore the Commit.dat file at game end. MyTc.com /U MyTc.com will now delete all the relevant files (uninstall) MyTc.com /R MyTc.com will display MyTc.txt All other SW parameters can then follow if any. NB... Your Frontend Launcher MUST NOT have the same name as the .Com or .Grp files as it will crash, in other words if the .Com is MyTc.com then your Launcher CANNOT be MyTc.exe User Maps --------- User maps can also be made for your TC by others and to load them, all that is needed is :- MyTc.com -map Mapname.map or in WangBang MyTc.com /C -map Mapname.map (The /W parameter is also permitted) Build ----- A MyTc.com /B has been added so the user can design a map for your TC using your .ART files. When he/she exits Build, these art files will be deleted. Grouping -------- Only files with these extensions can be grouped in MyTc.GRP .art .anm .bin .dat .dmo .kvx .map .pal .sym .txt .voc .mid As far as text (.TXT) files are concerned only the "Swvoxfil.txt" and the "Swplock.txt" files will be accepted into the .Grp group file - all other text (.TXT) will be ignored. A word of advise - do not have any files with the above extensions that are not required by your game in the directory when grouping with SwGroup as they will all go into the .GRP file which only makes it unnecessarily bigger. -------------------- NB.... SWGROUP ONLY SUPPORTS THE REGISTERED VERSION 1.2 OF SHADOW WARRIOR DISCLAIMER ---------- I ASSUME NO LIABILITY FOR DAMAGES, DIRECT OR INDIRECT WHICH MAY RESULT FROM THE USE OF SWGROUP - (SWGRPxx.COM). ------------------------------------------------------------------------ All the Names that you can edit with SwGroup -------------------------------------------- All map names can be at least 7 characters long even those that are less at the moment. Only present map names that are 8 characters long can remain 8 characters in SwGroup. All other names have a max length as seen below. They can be shorter but not longer. ^Episode ------- ^Enter the Wang ^Four levels (Shareware Version) ^Code of Honor ^Eighteen levels (Full Version Only) ^Skill ------ ^Tiny grasshopper ^I have no Fear ^Who wants Wang ^No Pain, No Gain Levels Level Titles ------ ------------ $bullet.map Seppuku Station $dozer.map Zilla Construction $shrine.map Master Leep s Temple $woods.map Dark Woods of the Serpent $whirl.map Rising Son $tank.map Killing Fields $boat.map Hara-Kiri Harbor $garden.map Zilla s Villa $outpost.map Monastery $hidtemp.map Raider of the Lost Wang $plax1.map Sumo Sky Palace $bath.map Bath House $airport.map Unfriendly Skies $refiner.map Crude Oil $newmine.map Coolie Mines $subbase.map Subpen 7 $rock.map The Great Escape $yamato.map Floating Fortress $seabase.map Water Torture $volcano.map Stone Rain $shore.map Shanghai Shipwreck $auto.map Auto Maul tank.map Heavy Metal (DM only) $dmwoods.map Ripper Valley (DM only) $dmshrin.map House of Wang (DM only) $rush.map Lo Wang Rally (DM only) shotgun.map Ruins of the Ronin (CTF) $dmdrop.map Killing Fields (CTF) Inventory and Weapons [Q] = Can change Quantities [S] = Strengths --------------------- Kevlar Armor Vest +100 [Q] (actually the strength) Armor Vest +50 [Q] MedKit +20 [Q] Fortune Cookie +50 BOOST [Q] Fortune Say: Portable MedKit [Q] Gas Bomb [S] Flash Bomb Caltrops Night Vision Goggles Repair Kit Smoke Bomb Shurikens Sticky Bombs [Q] [S] UZI Submachine Gun [S] Uzi Clip [Q] Missile Launcher [S] Missiles [Q] Nuclear Warhead Grenade Launcher [S] Grenade Shells [Q] Rail Gun [S] Rail Gun Rods [Q] Riot Gun [S] Shotshells [Q] Guardian Head [S] Firebursts [Q] Ripper Heart [Q] [S] Deathcoils Heat Seeker Card Maximum Cookie [Q] Sword Strength [S] Coolie Ghost [S] Hornet [S] Weapon and Ammo pickup amounts ------------------------------ Shurikens Riot Gun Uzi Missile Launcher Grenade Launcher Sticky Bombs Rail Gun Gaurdian Head Cheat Codes ----------- swchan swgimme swtrek swgreed swghost swmap swname Tile Re-Direction ----------------- 2324 - Menu Background 2325 - 3D Realms Presents 5109 - Ten Screen 2870 - SW Menu Icon 5120 - Tally Screen 2326 - Crosshair 2366 - Shadow Warrior Tm 2427 - Top Menu Bar 2434 - Bottom Statusbar 2435 - Inventory Window 5262 - Coolstuff 1st screen 5261 - Coolstuff 2nd screen 4979 - Coolstuff 3rd screen 5111 - Coolstuff 4th screen 5118 - Coolstuff 5th screen 5113 - Coolstuff 6th screen Sayings you can change ---------------------- You never going to score. 26-31-43-82-16-29 Sorry, you no win this time, try again. You try harder get along. Be a nice man. No man is island, except Lo Wang. There is much death in future. You should kill all business associates. (c)1997,3DRealms fortune cookie company. Your chi attracts many chicks. Don,t you know you the scum of society!? You should not scratch yourself there. Man who stand on toilet, high on pot. Man who fart in church sit in own pew. Man trapped in pantry has ass in jam. Baseball wrong. Man with 4 balls cannot walk. Man who buy drowned cat pay for wet pussy. Got the RED key! Got the BLUE key! Got the GREEN key! Got the YELLOW key! Got the GOLD master key! Got the SILVER master key! Got the BRONZE master key! Got the RED master key! You need a RED key for this door. You need a BLUE key for this door. You need a GREEN key for this door. You need a YELLOW key for this door. You need a GOLD key for this door. You need a SILVER key for this door. You need a BRONZE key for this door. You need a RED key for this door. Items you can Disable --------------------- Lo Wangs Fists The 2nd Uzi The Uzi Reloading The 2nd Riot Gun The Riot gun reloading The 3 way Goro Head Switch The fire the Goro Head spawns The Ripper Heart The Fortune Cookies The "Sticky" in the Sticky Bombs Gaurdian spawning Gorohead Big Ripper spawning Heart Ninjas spawning Weapons Ninjas throwing Shurikens Coolie spawning Ghosts Serpent Boss spawned Heads Sumo Boss spawning Head SumoBos Spawning Gas SumoBos Shooting LadyNinja throwing Sticky Bomb LadyNinja shooting Arrows Start and end animations Displaying Ten screen Monty Python rabbit being larger Shurikens throwing 3 at a time Dedicated sounds you can change ------------------------------- Shadow Warrior startup screen Moving the cursor in the Menu Lo Wangs hitting with his fists Lo Wang throwing Shurikens Lo Wang throwing Sticky bombs Lo Wang throwing Gas canaster Lo Wang throwing Caltrops Shurikens Richochet sounds Cocking the Shurikens Cocking the Sticky Bombs Cocking the Rocket Launcher Cocking the Grenade Launcher Cocking the Rail Gun Cocking the Goro Head LadyNinja shooting Arrows LadyNinja throwing Sticky bombs Ninja throwing Shurikens Skill 1 - You tiny grasshopper Skill 2 - A Ninja knows no fear Skill 3 - Who wanta some Wang Skill 4 - No pain - No Gain Medkit +20 - Pickup sounds Portable Medkit " Gas Bomb " Flash Bomb " Caltrops " Smoke Bomb " Nuclear Warhead " Other items that can be changed ------------------------------- Menu Items :- ^NEW GAME ^PLAY IT ON TEN ^LOAD GAME ^SAVE GAME ^OPTIONS ^COOL STUFF ^QUIT You found a secret area! PRESS (Y) TO QUIT, (N) TO FIGHT ON. SHADOW WARRIOR(tm) Version 1.2