Editing tools for the Next Generation of Winning Eleven games!

by the WE-NG Team

http://dte-ng.issextreme.com


1. ABOUT
2. DESCRIPTION
3. CHANGES
4. IMPORTANT NOTES
5. MENU DESCRIPTION
6. ACKNOWLEDGEMENTS

7. ADDENDUM



ABOUT

"DTE!/NG" is a set of tools that allows the edition of the soccer games created for the console Playstation-2 and PC by Konami.
These tools work under Win32.

To the date, the games that have been tested on are:

To the date, the toolkit is comprised of four applications:



AFS EXPLORER v3



DESCRIPTION

This software allows managing the AFS files found on many console games (such as Konami's Winning Eleven and Pro Evolution Soccer games for the PSX-2 and PC).
Those files contains most graphics and sounds of the game, as well as files containing another data.
This tool also allows the creation and use of AFP patches.
Appart from these basic functions for handling AFS files, the application
includes some specific options to be used with the previous games).

This application is designed to work under Win32 platforms, and has been tested to work under all avalaible 32-bit Windows OSs.



CHANGES

 

From
version 2.0
to
version 3.0
- Added plug-in support.
- Fixed "Import folder" function.
- Fixed "Import AFP patch" function.
- Added "Update" function.
- Added status bar.
- Configuration options increased. New option to enable/disable sub-AFS processing.
- Updated graphic support. Reflects improvements and fixes done on WEPictureDecoder engine.
- Added BMP importing/exporting menu options to graphic preview window, allowing the reduction of file size to adjust to reserved space if file results bigger when BMP is imported.
- Added combo boxes to graphic preview window. Allows selecting between picture, palette, alpha palette and alpha picture views.
- Added separators to main and graphic preview windows.
- Fixed graphic and sound player windows reposition.Windows weren't showed when main window was maximized.
- Improved file list updating speed.
- Changed font type of main window to system default font.
- Added toolbar with most important options.
- Added "ZLIB manager" window.

From
version 1.20
to
version 2.0
- Finished compatibility with WE7/PES3 AFS v2 files.
- Configuration options increased. Now you can set paths for external CES and hexadecimal (default) editors; plus options for enabling/disabling coherency check, and allow ignoring descriptor's length.
- Updated graphic support. WE7/PES 3 kits are now previewed.
- Added file time support. Due to lazyness I delayed the displaying of the date of files, now it's done ;)
- Removed the "Min. size" entry in the file list.
- Graphic preview window now resizeable.
- Sound player window is now independent.
- Improved "Modify reserved space" and "Create patch" windows. Now they use a treeview control to easier the management of files.
Note updating a treeview is slower than updating a listview, so it may take some time specially with pre-WE7 AFS files.
- ALL functions now fully support direct management of sub-AFS files. Now there's no need to perform multiple AFS regenerations; this means you can import folders and use AFP patches over sub-afs files.
- And dozens and dozens of additional small fixes!
In example, double-clicking over a .AFS file opens it with another instance of AFSExplorer, etc...

From
version 1.15
to
version 1.20
- Fixed bug on "Export file" menu option.
- Fixed bug: double-click had no effect on certain cases.
- Added "Play sound" to contextual menu.
- Improved picture hashing. Now images are located faster; this improves image processing speed in graphic preview window, noticeable on files with many images such as font files.
- Colorized file list to make it more intuitive.

From
version 1.0
to
version 1.15
- Added compatibility to new AFS format introduced in Winning Eleven 7.
- AFS files contained in the main AFS file are showed as dirs. They will be marked as "AFS Content" in the file list.
- Improved search function to work on sub-AFSs.
- Improved folder extraction function to extract files on sub-AFSs, too.
- Added playing support to .CES and .SPF files.
- Updated graphic preview to support new WE7 graphic files.
- Colorized list in rebuild AFS window to make it more intuitive.
- User can now tab between tree view and file list windows. '+' and '-' keypad keys now increase/decrease reserved space in rebuild AFS window.

From
version 0.90
to
version 1.0
- Added search function.
- Added snoop patch function in Create Patch window. This allows an easier handling of multiple AFP patches.
- Improved AFP patching. Minimized possible AFS malfunctions due to corrupted AFP files.
- Added keyboard accelerators.
- Added progress information windows for different operations.

From
version 0.80
to
version 0.90
- Added graphical preview of pictures (Winning Eleven/PES only).
- Integrated with WEPictureDecoder: it's opened when double-clicking over a file in "Files" list or over a picture in the "Graphical Preview" window.
- Some minor improvements.

From
version 0.80
to
version 0.85
- Fixed a bug in the rebuilding function which caused some file lengths to be erroneus on certain cases.
- Improved ADX playing: now there are play/stop buttons as well as the option of looping the sound.
- Fixed a bug in the window title displaying which caused the app to hang when trying to load an AFS file that was located at a route with too many characters.

From
version 0.70
to
version 0.80
- Improved import function: now allows to rebuild the AFS.
- New option to play ADX sound files.
- More debugging.

From
version 0.61
to
version 0.70
- Added function to import a folder.
- Added contextual menu when right-clicking over a file.
- Some minor fixes.

From
version 0.40
(1st public release)
to
version 0.61
All the remaining features ;)

 


IMPORTANT NOTES

 

MENU DESCRIPTION

  1. File

    1. Open File...
      Imports an AFS file.

    2. Update...
      Updates AFS control data (headers and descriptors).
      Useful for fixing AFS v2 to behave as AFS v1 files.

    3. Configure...
      Options to configure the application.

    4. Exit
      Uhmm... what's this for? ;)

  2. Action
    The options of this menu provide a way of modifying the files contained in the AFS file.

    1. Import file...
      Replaces the file selected in the ("files" section).
      The imported file can't be greater than the currently selected file. In case the file is greater file won't be imported, but you'll be asked if you want to pre-adjust its reserved space, very useful to easier the regeneration of AFS files.

    2. Export file...
      Saves the file selected (in the "files" section).

    3. Import folder...
      Replaces the files of the seleted directory (in the "folders" section) and its subdirectories.
      The files you import, and the subdirectories, must have the same name than the original ones.
      You'll only be notified when trying to import a file that is bigger than the original reserved space, or
      when you could save AFS space on case the file is smaller enough
      .
      It's NOT necessary to import all files, it will only import those matching the previous two requeriments.


      NOTE: It will NOT import files into sub-AFS directories (they are AFS files...).

    4. Export folder...
      Saves the files of the seleted directory (in the "folders" section) and its subdirectories.

    5. Search...
      Opens a dialog box that allows to search for next file whose name contains the introduced string.
      Only single words can be searched. There's no need to use character * as wildcard: a search for "general" is equivalent to "*general*".


    6. Find next
      Same than search, looking for last searched string.

    7. Open with...
      Opens the currently selected file with the choosen tool. You can set those tools at the configuration window.

  3. Advanced
    Rooms some options that allow modifying the AFS structure.

    1. Modify reserved space...
      Opens a window that allows changing the reserved slot for each file.
      NOTE: WE7, WE7International and PES3 games for Playstation2 use an external file (filesize.afs or size_X.af, depending on the game) to get the reserved spaces. You'll need to recreate that file too when the AFS is regenerated (use "Filesize creator" plugin).
      Please, note, filesize.afs/data_X.afs are not AFS files despite of their extension, so they cannot be loaded with AFSExplorer.

    2. Import patch...
      Loads an AFS patch.
      Don't forget that a NEW AFS file is created when you apply a patch and it modifies the reserved spaces of the patched AFS file.


    3. Create patch...
      Opens a window that allows selecting which files you want to include in the patch, and creates it.
      If you select a file being an AFS you should not select any of it sub-files, as those sub-files are already contained by that AFS file.

    4. Play sound
      Plays the currently selected ADX, CES or SPF sound file.


  4. Advanced

    1. Graphic preview
      Togles visibility of graphic preview window. If not visible, software won't try to load file selected in the file list, so it'll be faster.

    2. Sound player
      Togles visibility of sound player window.

    3. ZLib manager
      Togles visibility of zlib manager window.

  5. Help
    Info about this software.

  6. Plugins
    Allows showing/hidding plugin windows.



ACKNOWLEDGEMENTS

This software uses code from zlib v1.1.4 Copyright (c) 1995-2002 Jean-loup Gailly and Mark Adler

This software uses AdxToWav() code Copyright (c) 2001 BERO

 

The author would like to thank the following people (in alph. order):

* Antiz:
For testing the AFS rebuilding and patch generation with his great chants
patch. Thanks mate!

* Ataru-CrespoGol:
For testing latest beta versions! Lots of great ideas!!

* Billy:
Many thanks for testing the ADX/SPF plugin ;)

* Burgy:
Has helped a lot testing the software! Don't miss his site: http://issrealgame.fr.st
Maker of the fabulous WE6FE L1/L2 French League patch!

* d4lton:
Another excellent tester, and a graphic design master too! ;) Maker of the great WE6FE Liga Argentina patch.
Has done a great, great job testing newer versions! He has also been the animated logo designer.
http://www.023.com.ar/we

* Eriol:
Has helped a lot testing the programs.

* Evilgab:
Thanks to him many of the latest improvements have been added, thanks to his suggestion and bug tracking.
http://www.weitalia.da.ru

* El_Hacker:
Designer of the GREAT!! original logo.

* Goku:
Has helped testing the software and giving all support I've needed! He is the one who has designed the DTE-NG website!
The best WE/PES site ever!: http://www.issextreme.com

* Honome:
He was who convinced me to start this stuff. With his unvaluable help in the research and test, this project could not be performed! He lost lots of CDs burning them to test that things worked... until he knew he could have used CD-RWs xDDD
He is one of the makers of the impressive WE6FE WE-Classic and Campeonato Brasileiro patches
!
http://www.w11.com.br
http://www.weclassico.hpg.ig.com.br

* K0H:
For spending some of his short spare time testing the util. He is the "Graphic Master" ;) as you can see on the great WE6FE WEHispano patch.
http://www.wehispano.tk

* KOC2000:
Has tested .FNT files and ID edition features. Thanks ;)

* Mauras:
Has tested the utils with his portuguese league patch. Has always offered his help when I've needed it. Obrigado!
http://www.lusowedit.html

* Mephisto:
He has provided invaluable help due to his tests with plugin development.

* MikeOM:
Thanks for being such a great guy! Babe's power!! xD


* RCE & WARPJAVIER:
They found WE7 encryption algorithm! Great job they've done!!

* Rh4psody:
A "Class A" tester this one ;) Hope it helps on his fabulous, state-of-the-art patches!
http://www.wedoit.da.ru

* ShinjiOno:
Thanks for the bug reports mate!

* Solidus J2k:
Great help since he tested the new patching format with his chants patch. His great chants patch has been the first released using AFP patch format!
http://w11extremo.da.ru

* TCrew:
Thanks to his posts and his home page I've been able to have a reference point from where to start this project!
http://www.total-amiga.com/we6

* Txema7:
Thanks to his testing on AFSExplorer, the bug on window title displaying could be fixed ;)

* All the other people I've forgotten:
If I've done so, sorry for it!

* (All people at the ISSExtreme forums):
Thanks for the feedback and suggestions!


------------ Tato

IMPORTANT:
*** You must own an original copy of the game to use these utils ***
*** Use of copies is only allowed to those who own the original ***

 

ADDENDUM


How to correct a WE7/PES3 AFS file

In previous AFS files, the length of the file was located in two places: headers and descriptors.

[AFS MAIN HEADER]
[HEADER FILE 0]
...
[HEADER FILE N]
HEADERS
[FILE 0]
...
[FILE N]
FILE DATA
[DESCRIPTOR FILE 0]
...
[DESCRIPTOR FILE N]
DESCRIPTORS

The length given at headers was used by the game but had a serious limitation: the game hanged if the length was lower than the reserved space - 2048, whilst the field at descriptors seemed not to affect the games when modified.

Therefore the length given at descriptors in AFSExplorer was used to know the real length of files;
this way you can freely insert files without the limitation of the header and therefore insert small files without having to modify the reserved space for that file.

But, with the arrival of WE7/PES3 games, Konami has slightly modified the structure of AFS files.
The descriptor's field has been filled with some unknown data and this causes AFSExplorer to show the length of files incorrectly (you'll probably get a coherency error message when loading the file).

Fortunately, you can fix WE7/PES3 AFS v2 files to behave as older AFS v1 files.
Just follow this instructions:

With the new AFS file you'll be able to fully insert/extract files much smaller than the reserved space again.

====================================================

Configuration settings

Here are the recommended settings depending on the AFS file you want to load.

+ "Coherency check" --------------- ACTIVATED
+ "Sub-AFS processing" ---------- ACTIVATED
+ "Ignore descriptor's length ----- DEACTIVATED

+ "Coherency check" --------------- ACTIVATED
+ "Sub-AFS processing" ---------- ACTIVATED
+ "Ignore descriptor's length" ---- ACTIVATED

* If you use an AFS v2 file fixed by the method described in How to correct a WE7/PES3 AFS file, use the recommended settings for OLD files.