SWOS 2020 Win32 Port Competition Changer.

More
4 years 3 months ago - 3 years 1 month ago #142458 by anoxic
SWOS 2020 Win32 Port Competition Changer v0.1.1b
Coding: AnoXic

Patch install new competition created in files LEAGUE.xxx and CUP.xxx where xxx is SWOS team number (ex. 028 is Poland).
Using: Run SWOS 2020 Win32 Port, then run the swscc.exe -i
LEAGUE and CUP file is a competition format in SWOS executable file.
Play-Offs for relegation and promotion NON WORKING yet.

Patch not modify executable file. Only memory at run-time.

Example change POLAND to two divisions.
First - 16 teams, Second - 10 teams. Promotion/Relegation - 3.
TEAM.028 must be changed manualy.

EDIT:: Fix errors with base address.

LEAGUE FILE STRUCT (in example):
43 - Competition ID
00 - Comp. Type (00 - League, 01 - Cup, 02 - Tournament)
1C - CompSWSNo (1c - 28 - Poland)
00, 00, 00, 00 - 4 bytes unknown yet
02 - Divisions Count
02 - Num. of Rounds
03 - Pts. for win
35 - Substitutes ( 3 from 5)
Now DIVISIONS...
10 - Teams in premier
00 - Promoted
00 - Prom. Play off
03 - Relegated
00 - Rel. Play off
00 - Possible Relative offset to PlayOffs
Then First Division (like premier - see above).
CUP:
9C - Comp.ID
01 - CompType
1C - CompSWSNo 
00, 00, 00, 00, 00 - 5 bytes unknown yet
10 - No.of Teams in first round (16 - means is 4 rounds)
01 - AwayGoals 
35 - Substitusions
03 - Name of first round ("THIRD ROUND" starts)
Now Rounds
54 - One Leg, Extra Time etc [First Round named in SWOS as "THIRD"]
94 - Two Legs, [Quarter-Final]
94 - Two Legs, [Semi-Final]
14 - Final, One Leg [Final]
Download

EDIT:
New version 1.2.1b:
* updated to SWOS v1.2.5
* definitions as XML file (not binary)
Mega Link
Zippyshare link

New version 1.2.2b:
* * Updated to SWOS version 1.4.2c
Mega Link
Zippyshare link

New version 1.2.3b:
* * Updated to SWOS version 1.5.2
Mega Link
Zippyshare link
Last edit: 3 years 1 month ago by anoxic. Reason: Update for new plugin version

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago #142581 by anoxic
SWOS 2020 Win32 Port Competition Changer v0.1.2b
Coding: AnoXic

DOWNLOAD HERE

Readme:

Patch install new competition created in files LEAGUE.xxx and CUP.xxx where xxx is SWOS team number (ex. 028 is Poland).
Using: Run SWOS 2020 Win32 Port, then run the swscc.exe -i
LEAGUE and CUP file is a competition format in SWOS executable file.
Patch can change any leagues in SWOS. (ex. LEAGUE.028 and LEAGUE.000 changing POLAND LEAGUE and ALBANIA LEAGUE).
Patch not modify any values in original executable of SWOS. Changes not be pernamently, works only if patch is ben appling.
Patch working with SWOS carrer mode.
Play-Offs for relegation and promotion NOT WORKING yet.

Example:
LEAGUE.028 and CUP.028 changing poland competition to 2 divisions First division 16 teams and second 10, 3 teams promoted/relegated.
TEAM.028 from data directory must be copied manualy to SWOS DATA directory.

CHANGE LOG:
0.1.2b
* Update to new SWOS 2020 v.1.0.1

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago #142588 by Kanchelskis
Cannot download it, it reports 403 Forbidden

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago #142589 by anoxic

Cannot download it, it reports 403 Forbidden


Probably your ISP blocking ZippyShare servers.
Here:
ALTERNATE DOWNLOAD

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago #142593 by Kanchelskis
Thank you!

The fact is involving only the memory while in process can open new frontiers of editing. Like custom charsets for single teams, or custom pitches for single teams. Am I wrong?

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago #142594 by anoxic
In teory this is possible, but hard to implement.
Structures of League and Cup (for nations) is static data,
pitches, charsets are loaded dynamic from swos code.
This means is required inject code into process in correct place.

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago #142598 by Kanchelskis
I see, I was just wondering if we just could load a different sprite file once it matches a team number (i.e.)
I think that the sider on PES (and originally Kitserver in the older versions) works not in this way but quite similar.

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago #142618 by anoxic
The following user(s) said Thank You: fyunkul

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago - 4 years 2 months ago #142631 by fyunkul
By using AG_SWSEDT, I added 3 more leagues for Turkey and created league.038 file but couldn't understand how to create cup.038 file.

Btw with this change my game crashes in career mode. If I can make it work then I will share the file here :)
Last edit: 4 years 2 months ago by fyunkul.

Please Log in or Create an account to join the conversation.

More
4 years 2 months ago #142642 by anoxic
Cup create manualy by hex editor i use HxD .
If your career crash, check is the number of teams by division is correct to your patch (Not to SWOS exe. Verification in AG-SWSEdt not working for patches only for exe).
Check how this made in orginal executable, competitions in SWOS executable begins bellow this string (Find on hexditor).
data\eurocup.tmd data\eurocwc.tmd data\uefacup.tmd\0
This is begin data of all SWOS Competitions.
00 02 FF 40 20 (...)
First competition in SWOS exe (btw. champions league),
All competition begins by this bytes:
0x00 - Nr of competition
0x02 - Type of competition (0 - league, 1- cup, 2- tournament)
0xFF - Nr of League ( 0xff - unknown(World/EuroCups etc), 0x26 - (38) - Turkey)
0x40 - Begin Month (0 - JAN, 0x8 - FEB, 0x10, MAR, 0x18 - APR, 0x20  - MAY ...etc)
0x20 - End Month
To find Turkey in executable check in SWOS Compet.Info when begin and ends. Go to hex-editor and find seqence:
01 26 58 18 
Turkey nr of comp. for cup is 0xA8. Then write own competition basing of original.
This solution works also for leagues.

Please Log in or Create an account to join the conversation.

Time to create page: 0.368 seconds
Powered by Kunena Forum