Can not migrate Zandronum 1.3 configs to 2.0 with Python script

Resolved Issues and Help get archived here for reference.
Post Reply
Mihail82
New User
Posts: 13
Joined: Sat Aug 25, 2012 10:28 am
Location: Russia, Saint-Petersburg

Can not migrate Zandronum 1.3 configs to 2.0 with Python script

#1

Post by Mihail82 » Tue Jun 02, 2015 5:44 am

I`ve just tried to migrate my config with Zandronum Config migrator (https://bitbucket.org/crimsondusk/zandr ... r/overview) and just get message "Nothing to migrate".

Example of config:

[spoiler]set fraglimit "30";
set iwad "doom2.wad";
set sv_motd " *** Welcome to Doom2 Old School Deathmatch server from WEBA ISP *** ";
set removebotswhenhumans "1";
set difficulty "5";
set deathmatch "1";
set spam_window "10";
set spam_limit "3";
set sv_hostname "ISP WEBA :: Old School Deathmatch";
set sv_maxclients "4";
set sv_maxplayers "4;
set timelimit "0";
set DmFlags "3101824";
set DmFlags2 "59508224";
set DmFlags3 "5";
set CompatFlags "394010113";
set CompatFlags2 "1";
logfile "/usr/games/doom2st/LOG/ServerDM_OLDSCHOOL.log";
set sv_website "http://d2st.weba.ru/wad/";

echo " ### Config MAP-List ### ";

clearmaplist;
addmap "map01";
addmap "map07";
addmap "map32";
maplist;

map "map01";

sv_maprotation true;
sv_randommaprotation false;[/spoiler]

User avatar
Sean
IRC Operator
Posts: 952
Joined: Thu Jan 16, 2014 9:09 pm
Location: United Kingdom
Contact:

RE: Can not migrate Zandronum 1.3 configs to 2.0 with Python script

#2

Post by Sean » Tue Jun 02, 2015 6:01 am

AFAIK it just migrates DMFlags etc. and you don't have any. So there's nothing to migrate.
<capodecima> i dont say any more word without my loyer jenova

Mihail82
New User
Posts: 13
Joined: Sat Aug 25, 2012 10:28 am
Location: Russia, Saint-Petersburg

RE: Can not migrate Zandronum 1.3 configs to 2.0 with Python script

#3

Post by Mihail82 » Tue Jun 02, 2015 7:18 am

Sean wrote: AFAIK it just migrates DMFlags etc. and you don't have any. So there's nothing to migrate.
Hm..

<set DmFlags "3101824";
set DmFlags2 "59508224";
set DmFlags3 "5";
set CompatFlags "394010113";
set CompatFlags2 "1";>

It`s not DMFlags? I thought that those strings and "CompatFlags" must be changed cause in script I see

"'name': 'sv_norocketjumping',
'oldset': 'dmflags2',
'oldbit': (1 << 19),
'newset': 'zadmflags',
'newbit': (1 << 9),"

and

"'name': 'compat_disabletaunts',
'oldset': 'compatflags',
'oldbit': (1 << 20),
'newset': 'zacompatflags',
'newbit': (1 << 20),"

Is the script case senstive cause i Have not "dmflags2" but "DmFlags2" for example?
Last edited by Mihail82 on Tue Jun 02, 2015 7:19 am, edited 1 time in total.

User avatar
Fused
Contributor
Posts: 663
Joined: Sat Nov 09, 2013 9:47 am
Location: Netherlands
Contact:

RE: Can not migrate Zandronum 1.3 configs to 2.0 with Python script

#4

Post by Fused » Tue Jun 02, 2015 8:52 am

Instead of all the extra quotes and semicolons, try migrating it like this:

dmflags 3101824
dmflags2 59508224
dmflags3 5
compatflags 394010113
compatflags2 1
My mods
Image Image

My socials
Image Image

Mihail82
New User
Posts: 13
Joined: Sat Aug 25, 2012 10:28 am
Location: Russia, Saint-Petersburg

RE: Can not migrate Zandronum 1.3 configs to 2.0 with Python script

#5

Post by Mihail82 » Tue Jun 02, 2015 9:39 am

Fused wrote: Instead of all the extra quotes and semicolons, try migrating it like this:

dmflags 3101824
dmflags2 59508224
dmflags3 5
compatflags 394010113
compatflags2 1
Worked in such way, thank you.

User avatar
Sean
IRC Operator
Posts: 952
Joined: Thu Jan 16, 2014 9:09 pm
Location: United Kingdom
Contact:

RE: Can not migrate Zandronum 1.3 configs to 2.0 with Python script

#6

Post by Sean » Tue Jun 02, 2015 8:54 pm

Ugh, I missed that. That's me at 7 in the morning, I guess.
<capodecima> i dont say any more word without my loyer jenova

Post Reply