Unable to convert scenarios to FOG Unity
Moderators: Slitherine Core, FoG PC Moderator, NewRoSoft
-
- Field of Glory Moderator
- Posts: 14501
- Joined: Fri Oct 01, 2010 2:50 pm
Unable to convert scenarios to FOG Unity
I have created a _Convert folder and put it in FOG_Unity_Data. I have copied all my scenarios into _Convert and they are sitting there as "File folder(s)". I then boot up the game and press Alt Gr and the F5 key. Nothing happens. There is no _OUT folder in my _Convert folder. Please advise.
-
- Site Admin
- Posts: 13558
- Joined: Fri Apr 01, 2005 10:19 am
Re: Unable to convert scenarios to FOG Unity
This is one for Dan - I don't know enough about how this works to help unfortunately.
Re: Unable to convert scenarios to FOG Unity
Hello Pete,
Please get in touh with me on email, and send me a scenario or two which you were not able to convert, to see what'sgoing on in there.
Please get in touh with me on email, and send me a scenario or two which you were not able to convert, to see what'sgoing on in there.
Re: Unable to convert scenarios to FOG Unity
I had no trouble converting any of his scenarios.
kilroy
kilroy
-
- Field of Glory Moderator
- Posts: 14501
- Joined: Fri Oct 01, 2010 2:50 pm
Re: Unable to convert scenarios to FOG Unity
I just wonder if it is something to do with the way my computer is set up. I really don't have very good computer skills either which doesn't help.
-
- Field of Glory Moderator
- Posts: 14501
- Joined: Fri Oct 01, 2010 2:50 pm
Re: Unable to convert scenarios to FOG Unity
Yippee! The old boy has finally managed to do it. Thanks to Kilroy for his patience. 

Re: Unable to convert scenarios to FOG Unity
Already post in Scenario Design forum, sorry i don't know where i must post it
Hi,
I upgrade my Fog to Fog (U) without trouble.
I try to convert a lot of scenarii from v1 to V2(U), i follow your exelent instruction but i have a comment and an issue with convert process
the comment is there more easy if the converter display the progresion of convert process and if it can display there was and error occured and tell when it's finish.
Th Issue is i convert 265 Scen found on the Forun the converion make the job for 263 but hang with 2 ( without any message but break the conversion process and i must remove from convert dir to rerun the conversion.
The Scen are :
- Alternative Battle of Toro -> found here in version 1.1
- The Battle of Toro 1476AD -> found here in version 2.1
I can send zip file if you want to test conversion
Thanks in advance
Regards from France
Cheers
Hi,
I upgrade my Fog to Fog (U) without trouble.
I try to convert a lot of scenarii from v1 to V2(U), i follow your exelent instruction but i have a comment and an issue with convert process
the comment is there more easy if the converter display the progresion of convert process and if it can display there was and error occured and tell when it's finish.
Th Issue is i convert 265 Scen found on the Forun the converion make the job for 263 but hang with 2 ( without any message but break the conversion process and i must remove from convert dir to rerun the conversion.
The Scen are :
- Alternative Battle of Toro -> found here in version 1.1
- The Battle of Toro 1476AD -> found here in version 2.1
I can send zip file if you want to test conversion
Thanks in advance
Regards from France
Cheers
Semper Fi - Sicut Aquila
Re: Unable to convert scenarios to FOG Unity
You can see the conversion process'es feedback in the console log. Either by opening the console via the ~ keyboard shortcut, or by reading the <install_path>/FoG_Unity_Data/console_log.txt file's content.
It seems there are some older FoG(RB) legacy scenarios which are failing to convert, probably due to an older legacy format than the converted one. Please send me the files to <dan dot antonescu at newrosoft dot com> to see if there's anything I can do about them.
It seems there are some older FoG(RB) legacy scenarios which are failing to convert, probably due to an older legacy format than the converted one. Please send me the files to <dan dot antonescu at newrosoft dot com> to see if there's anything I can do about them.
Re: Unable to convert scenarios to FOG Unity
Thanks I Can't access to console with my french keyboard when i hit ~ nothing appear i send you the 2 Scen by mail
Thanks by advance
Cheers
Thanks by advance
Cheers
Semper Fi - Sicut Aquila
_[BUG] rev 1042 [Editor] Problem converting some legacy scen
Modified for rev 1043+.
The problem was an unusual </side> end element which never appeared in any of the legacy FoG(RB) scenarios, nor in any custom legacy FoG(RB) scenarios I've converted.
Uncommon side entry: <side name="Castilian-Aragonese" namesingle="Castilian-Aragonese">War of the Castilian Succession</side>
Usual side entry format: <side name="Castilian-Aragonese" namesingle="Castilian-Aragonese">War of the Castilian Succession />
The code will account from now on for this unusual format too.
The problem was an unusual </side> end element which never appeared in any of the legacy FoG(RB) scenarios, nor in any custom legacy FoG(RB) scenarios I've converted.
Uncommon side entry: <side name="Castilian-Aragonese" namesingle="Castilian-Aragonese">War of the Castilian Succession</side>
Usual side entry format: <side name="Castilian-Aragonese" namesingle="Castilian-Aragonese">War of the Castilian Succession />
The code will account from now on for this unusual format too.
Re: Unable to convert scenarios to FOG Unity
Hi there,
I have quite a few of the older scenarios as well, which won't convert. Comparing these to ones which have converted fine, I've spotted the presence of multiple "uniquename" fields alongside all the fields shown below in the more recent scenarios. My question therefore is - how do I go about converting these very old scenarios please?
EXAMPLE OF NON-CONVERTABLE GAME FILE:
<?xml version="1.0" encoding="UTF-8"?>
<game title="Untitled">
<side name="Romans" namesingle="Roman"/>
<side name="Britons" namesingle="Celtic"/>
<nation name="Rome"/>
<nation name="Cantii"/>
<scenario name="Historical" firstside="1" secondside="2" startturn="1" endturn="20"/>
<scenario name="Free Deployment" firstside="1" secondside="2" startturn="0" endturn="20"/>
<hexterrains>
<hexterrain name="Clear" movecost="1" combatname="" combatvalue="1"/>
<hexterrain name="(Unused-1)" movecost="2" combatname="" combatvalue="2"/>
<hexterrain name="(Unused-2)" movecost="2" combatname="" combatvalue="2"/>
<hexterrain name="Woods" movecost="1.5" combatname="" combatvalue="2"/>
<hexterrain name="Woods" movecost="1.5" combatname="" combatvalue="2"/>
<hexterrain name="Ditch" movecost="1.5" combatname="" combatvalue="2"/>
<hexterrain name="Gully" movecost="1.5" combatname="" combatvalue="2"/>
<hexterrain name="Water" movecost="999999" combatname="" combatvalue="1"/>
<hexterrain name="Scrub" movecost="1.5" combatname="" combatvalue="2"/>
<hexterrain name="Marsh" movecost="1.5" combatname="" combatvalue="2"/>
</hexterrains>
<hexsideterrains>
<hexsideterrain name="Blocked" movecost="999999"/>
<hexsideterrain name="Road" movecost="1"/>
<hexsideterrain name="Stream" movecost="1.5" combatname="" combatvalue="1"/>
<hexsideterrain name="Ford" movecost="1.5" combatname="" combatvalue="1"/>
</hexsideterrains>
<map cols="40" rows="50" oddcolsstarthigher="1" oddcolsendlower="0" side1edge="3" side2edge="1" deployzonesize1="5"
I have quite a few of the older scenarios as well, which won't convert. Comparing these to ones which have converted fine, I've spotted the presence of multiple "uniquename" fields alongside all the fields shown below in the more recent scenarios. My question therefore is - how do I go about converting these very old scenarios please?
EXAMPLE OF NON-CONVERTABLE GAME FILE:
<?xml version="1.0" encoding="UTF-8"?>
<game title="Untitled">
<side name="Romans" namesingle="Roman"/>
<side name="Britons" namesingle="Celtic"/>
<nation name="Rome"/>
<nation name="Cantii"/>
<scenario name="Historical" firstside="1" secondside="2" startturn="1" endturn="20"/>
<scenario name="Free Deployment" firstside="1" secondside="2" startturn="0" endturn="20"/>
<hexterrains>
<hexterrain name="Clear" movecost="1" combatname="" combatvalue="1"/>
<hexterrain name="(Unused-1)" movecost="2" combatname="" combatvalue="2"/>
<hexterrain name="(Unused-2)" movecost="2" combatname="" combatvalue="2"/>
<hexterrain name="Woods" movecost="1.5" combatname="" combatvalue="2"/>
<hexterrain name="Woods" movecost="1.5" combatname="" combatvalue="2"/>
<hexterrain name="Ditch" movecost="1.5" combatname="" combatvalue="2"/>
<hexterrain name="Gully" movecost="1.5" combatname="" combatvalue="2"/>
<hexterrain name="Water" movecost="999999" combatname="" combatvalue="1"/>
<hexterrain name="Scrub" movecost="1.5" combatname="" combatvalue="2"/>
<hexterrain name="Marsh" movecost="1.5" combatname="" combatvalue="2"/>
</hexterrains>
<hexsideterrains>
<hexsideterrain name="Blocked" movecost="999999"/>
<hexsideterrain name="Road" movecost="1"/>
<hexsideterrain name="Stream" movecost="1.5" combatname="" combatvalue="1"/>
<hexsideterrain name="Ford" movecost="1.5" combatname="" combatvalue="1"/>
</hexsideterrains>
<map cols="40" rows="50" oddcolsstarthigher="1" oddcolsendlower="0" side1edge="3" side2edge="1" deployzonesize1="5"
Re: Unable to convert scenarios to FOG Unity
Hand them to me at <dan dot antonescu at newrosoft dot com> and make a post in here about it (to know that you've sent them to me, in case you've send them to a wrong email address) and I will have a look at them to see what the problem is.
Re: Unable to convert scenarios to FOG Unity
Hi cothyso,
Many thanks for offering to look at these. I've just emailed you a sample of 7 VERY OLD scenarios which I'm struggling to convert.
All the best.
Mike
Many thanks for offering to look at these. I've just emailed you a sample of 7 VERY OLD scenarios which I'm struggling to convert.
All the best.
Mike
Re: Unable to convert scenarios to FOG Unity
Modified for rev 1043+.
There were 2 problems: a missing <year>0</year> element in 5 of the legacy scenarios and a missing nation attribute to all the <unit></unit> elements in another legacy scenario, situations which never appeared in any of the legacy FoG(RB) scenarios, nor in any custom legacy FoG(RB) scenarios I've converted.
Missing year element: <year>0</year>
Missing unit element's nation attribute: <unit side="1" imageid="macedonian-Cav-general-a" name="Macedonian General" retreatdirection="0" training="1" armour="2" rangedweapon="0" impactweapon="7" meleeweapon="5" experience="2" histstrength="500" commandradius="5" leaderrank="1" leaderprofile="3" trooptype="1"/>
Usual unit element format: <unit side="1" nation=1" imageid="macedonian-Cav-general-a" name="Macedonian General" retreatdirection="0" training="1" armour="2" rangedweapon="0" impactweapon="7" meleeweapon="5" experience="2" histstrength="500" commandradius="5" leaderrank="1" leaderprofile="3" trooptype="1"/>
The code will account from now on for this unusual formats too.
I've also changed all code's int.Parse() into int.TryParse() calls, just to make the code more stable in case of different unaccounted legacy scenarios format exceptions.
There were 2 problems: a missing <year>0</year> element in 5 of the legacy scenarios and a missing nation attribute to all the <unit></unit> elements in another legacy scenario, situations which never appeared in any of the legacy FoG(RB) scenarios, nor in any custom legacy FoG(RB) scenarios I've converted.
Missing year element: <year>0</year>
Missing unit element's nation attribute: <unit side="1" imageid="macedonian-Cav-general-a" name="Macedonian General" retreatdirection="0" training="1" armour="2" rangedweapon="0" impactweapon="7" meleeweapon="5" experience="2" histstrength="500" commandradius="5" leaderrank="1" leaderprofile="3" trooptype="1"/>
Usual unit element format: <unit side="1" nation=1" imageid="macedonian-Cav-general-a" name="Macedonian General" retreatdirection="0" training="1" armour="2" rangedweapon="0" impactweapon="7" meleeweapon="5" experience="2" histstrength="500" commandradius="5" leaderrank="1" leaderprofile="3" trooptype="1"/>
The code will account from now on for this unusual formats too.
I've also changed all code's int.Parse() into int.TryParse() calls, just to make the code more stable in case of different unaccounted legacy scenarios format exceptions.
-
- Lieutenant Colonel - Elite Panther D
- Posts: 1368
- Joined: Tue Dec 08, 2009 9:38 am
- Location: Italy
Re: Unable to convert scenarios to FOG Unity
Hi all!
I've updated my Fog to Fog(U) maintaining also the older version and would like to covert my many scenarios but i?m unable to find the folder where they are lodged.
Anyone may explain me where to look?
Moreover, I thought the two games would have retained separate folders for each one, while it seems they now share the same.
Is it ok?
And I haven't also understood which is the way to make the conversion.
Thank's for the help.
P.S.
I was also looking for finding the folder where the DAG custom armies are lodged but wasn't able to do it ..
I've updated my Fog to Fog(U) maintaining also the older version and would like to covert my many scenarios but i?m unable to find the folder where they are lodged.
Anyone may explain me where to look?
Moreover, I thought the two games would have retained separate folders for each one, while it seems they now share the same.
Is it ok?
And I haven't also understood which is the way to make the conversion.
Thank's for the help.
P.S.
I was also looking for finding the folder where the DAG custom armies are lodged but wasn't able to do it ..
"Audentis fortuna iuvat"
- Virgilius
(Good luck favours the brave)
- Virgilius
(Good luck favours the brave)