Author Topic: How do you add a division to an existing league?  (Read 5367 times)

0 Members and 1 Guest are viewing this topic.

Offline andyk81

  • TRIAL
  • Posts: 2
  • Gender: Male
How do you add a division to an existing league?
« on: 15 February 2011, 15:46:00 »
Hi!

I'm new here, but I have enjoyd SWOS for many years. I hadn't played it for a couple of years, but as soon as I inserted the CD yesterday fond memories came flushing back.
But as always when I start to play this game I want to update it. So I downloaded an editor, and a league update. But that wasn't enough.
I have for many years now wanted to add a division in the Swedish league, but every time I try the game either crashes or it doesn't even start.
I have been up all night trying to figure it out. Surfing the net to find some clues but nothing. Then I stumble onto this site.

So can you help me?

I also wonder if it's possible to change the starting year? So it says 2010/2011 instead of 1996/1997?

Offline Synchronated

  • Superstar
  • ****
  • Posts: 881
  • Gender: Male
    • Synchronated SWOS Updates
Re: How do you add a division to an existing league?
« Reply #1 on: 16 February 2011, 02:06:55 »
I don't know about starting year. I think SWOES by Whiteulver has a hex edit for it but I never tried it (and it's in the PC version only).

Adding a division... you'd have to completely swap Sweden with another league that has enough teams and divisons for you. And change details of all teams in both. Using SWOES you can edit the sws.exe (or SWOS2 file if using the Amiga version) and change the league names to suit (although they cannot be longer that the original names so you'd want to swap it with a league with the same name length as Sweden/Swedish).

Hope that helps. Experiment a bit with SWOES and what you propose is probably possible.

Offline andyk81

  • TRIAL
  • Posts: 2
  • Gender: Male
Re: How do you add a division to an existing league?
« Reply #2 on: 16 February 2011, 14:35:00 »
Thanx.

I will try this.

And thanx for the updates. If you would like some help in futures updates just ask.
I'm about to update some of the minor leagues, like Faroe Islands and Iceland. Also I will update the Swedish league for the upcoming season.

Cheers mate

Offline JAX-TR

  • TRIAL
  • Posts: 10
Re: How do you add a division to an existing league?
« Reply #3 on: 15 July 2012, 12:36:27 »
Any news about your progress?  I want to add a second divison to the Turkish League. It is easy to speak but it is so difficult to do it.

Offline Fincad

  • PRO
  • **
  • Posts: 236
Re: How do you add a division to an existing league?
« Reply #4 on: 15 August 2012, 18:08:30 »
I tried to make a whole new lower division to an existing league for ex. sweden. Added teams, and changed team numbers (unique ones) and index numbers and also modified sws.exe (in folders exe and exe++) files with help of an hexeditor (teams, divisions, prom/releg. etc). Started the game, and the lower division was shown with the clubs and you could play f.e. a friendly game. But when you started a career with a new division team, it crashed and also crashed, if you played with some other team after the finishing season (when the game goes through the world).

I think there is needed some more editing in sws.exe or something, but my skills ends here, lol

Cheers.

PS. When trying to start a career with a new division team, dosbox gives the error "Illeagal read 1528380F   CS:IP 160:29b3f1"
« Last Edit: 16 August 2012, 15:14:42 by Fincad »

Offline Fincad

  • PRO
  • **
  • Posts: 236
Re: How do you add a division to an existing league?
« Reply #5 on: 18 August 2012, 08:20:03 »
Any help with this matter folks? Any programmers or other professionals around?

Cheers

Offline Synchronated

  • Superstar
  • ****
  • Posts: 881
  • Gender: Male
    • Synchronated SWOS Updates
Re: How do you add a division to an existing league?
« Reply #6 on: 18 August 2012, 11:57:14 »
I think changing the structure in a non-crash fashion would require working from the source code, which hasn't been released.
Hopefully at some point it will be released and some programmers become interested, and then updates can include as many or as few leagues as they like, or even some esoteric ideas (leagues from multiple time periods etc.).
You couldn't do it by hex editing the compiled executable as it currently is, other than by workaround tricks (like renaming a couple of leagues and replacing their data in order to swap their characteristics in terms of league structure).

Offline Fincad

  • PRO
  • **
  • Posts: 236
Re: How do you add a division to an existing league?
« Reply #7 on: 18 August 2012, 19:42:00 »
Roger that, thanks m8 for the answer..

Cheers

Fincad

Offline BB

  • TRIAL
  • Posts: 17
Re: How do you add a division to an existing league?
« Reply #8 on: 15 September 2012, 13:44:05 »
Is it possible in Malta League to include the first division and the second division also? For more information regarding league promotions and players please follow this link...http://www.soccerway.com/national/malta/first-division/20122013/regular-season/

Is it possible to include Malta as a National team without overwrite one.

Keep it up for the good work. Maybe one day we have a complete SWOS which everyone wants.


Offline Fincad

  • PRO
  • **
  • Posts: 236
Re: How do you add a division to an existing league?
« Reply #9 on: 18 October 2012, 09:16:31 »
Hi!
I have now tried and spend several hours try to solve this adding division thing althougt im not an expert with comps and stuff. But i managed to create extra division with added teams and also could start careers with them (teams in added division) and play normally. But still it crashes after end of the season when going through world (in that specific league after showing the national cup final result). I have tried lots of different variations in that specific hexoffset, but nothing.  I think like Sync has said, that this adding divisions cannot be done just by hexeditig .exe files.

Also noticed that if you double up the numbers of teams in main league (for.ex 10 to 20), it wont crash after a season, but if you use that "view world" option and try to view that league, it will crash.. Weird, cause in Syncs latest update (with added teams) dont have that effect.

Cheers
Fincad

PS. So i think its possible to play friendlies etc. with added divisionteams outside the careermode without crashing.

« Last Edit: 18 October 2012, 19:44:18 by Fincad »

Offline Synchronated

  • Superstar
  • ****
  • Posts: 881
  • Gender: Male
    • Synchronated SWOS Updates
Re: How do you add a division to an existing league?
« Reply #10 on: 19 October 2012, 17:28:07 »
Yeah it seems that as long as you know what you're doing with the unique IDs/hex (hex breakdown and list of in-use IDs are on whiteulver's swoes website) then you can add teams and divisions liberally. It will only crash in career mode, all other tournaments and teams work fine.

I haven't been able to crash the 'expanded' version of current v1.2 except in career mode, and I have played all the changed tournaments and used all the added teams.
« Last Edit: 19 October 2012, 17:32:39 by Synchronated »

Offline Fincad

  • PRO
  • **
  • Posts: 236
Re: How do you add a division to an existing league?
« Reply #11 on: 19 October 2012, 17:57:23 »
Btw, tested this ID thing. Changed some teams ID (in one league) starting from 5000 and it seemed to be working ok. Also worked fine in the career mode end of the season.
So i think team IDs  are not so relevant (how big is the number etc.) , as long as there is no duplicates..

Cheers

Fincad

Offline Synchronated

  • Superstar
  • ****
  • Posts: 881
  • Gender: Male
    • Synchronated SWOS Updates
Re: How do you add a division to an existing league?
« Reply #12 on: 19 October 2012, 18:00:59 »
Yeah it didn't make any difference when I changed all mine from 1794 onwards (as highest in game is 1793) to 178 onwards (as there are plenty free between 177 and 300ish).
When I deliberately created duplicates to run a test, the PC version didn't care and the Amiga version got confused as to which teams had been selected and then crashed as expected.

Offline 20030761

  • TRIAL
  • Posts: 2
Re: How do you add a division to an existing league?
« Reply #13 on: 27 August 2019, 23:15:26 »
Hi people,
How to add one more division for portugal league?
Is there any editor to add or edit the leagues?
Regards


Offline Playaveli

  • 'Sherlock'
  • Administrator
  • SWOS Legend
  • *****
  • Posts: 8680
  • Gender: Male
  • "SWOS - A way of life" (J.R.)
    • Visit me on Facebook
Re: How do you add a division to an existing league?
« Reply #14 on: 28 August 2019, 10:18:40 »
Hi people,
How to add one more division for portugal league?
Is there any editor to add or edit the leagues?
Regards

All answered in second post of this topic! Please read thoroughly.

For those about to SWOS - We salute you
http://www.facebook.com/playaveli.swos