.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > The Camo Workshop > WinSPWW2 > Campaigns, Scenarios & Maps
Notices


Reply
 
Thread Tools Display Modes
  #11  
Old October 25th, 2019, 07:42 PM
warhorse's Avatar

warhorse warhorse is offline
Private
 
Join Date: Mar 2006
Location: Birdsboro, PA
Posts: 21
Thanks: 1
Thanked 5 Times in 5 Posts
warhorse is on a distinguished road
Default Re: A scenario I made many years ago won't open in scenario selection.

Geez, sorry for all the trouble guys! It doesn't do that to mine, it does crash, but doesn't affect the O/S or anything? Will try the mentioned tips, appreciate it! My name is Mike, BTW, Mike Amos, so no D curse, haha!! Thanks again for looking at it, even after the trouble!
Reply With Quote
  #12  
Old October 25th, 2019, 07:48 PM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,487
Thanks: 3,956
Thanked 5,690 Times in 2,810 Posts
DRG will become famous soon enough
Default Re: A scenario I made many years ago won't open in scenario selection.

Yes please try the CMT and TXT file experiment and let me know how it worked
__________________


"You are never to old to rock and roll if you are too young to die".--- What do you expect to be doing when you are 80?


https://www.youtube.com/watch?v=8kWt8ELuDOc
Reply With Quote
  #13  
Old October 25th, 2019, 08:13 PM
warhorse's Avatar

warhorse warhorse is offline
Private
 
Join Date: Mar 2006
Location: Birdsboro, PA
Posts: 21
Thanks: 1
Thanked 5 Times in 5 Posts
warhorse is on a distinguished road
Default Re: A scenario I made many years ago won't open in scenario selection.

Ok, weird, but renaming any other cmt to 995 does the trick, no crash, scenario starts up fine and plays too. Here's the stumper for me, at least. ALL cmt files are 200 bytes, a renamed one is 200 bytes, no problem, but if I then alter the text within the cmt IN ANY WAY, and save, it crashes!? Interestingly enough they also usually wind up being 209-212 bytes? Any ideas why this would happen??!!
Reply With Quote
  #14  
Old October 25th, 2019, 09:06 PM
Mobhack's Avatar

Mobhack Mobhack is online now
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 5,955
Thanks: 464
Thanked 1,896 Times in 1,234 Posts
Mobhack is on a distinguished road
Default Re: A scenario I made many years ago won't open in scenario selection.

Don't manually edit the CMT file, ever. Save the game from inside the game with he desired new name.

maybe someone manually edited the CMT file? - And possibly with a text editor. CMT files are binary, the only time I have ever edited one successfully (other than using the game to save it) - is with a HEX editor.
Reply With Quote
The Following User Says Thank You to Mobhack For This Useful Post:
  #15  
Old October 25th, 2019, 09:44 PM
warhorse's Avatar

warhorse warhorse is offline
Private
 
Join Date: Mar 2006
Location: Birdsboro, PA
Posts: 21
Thanks: 1
Thanked 5 Times in 5 Posts
warhorse is on a distinguished road
Default Re: A scenario I made many years ago won't open in scenario selection.

Quote:
Originally Posted by Mobhack View Post
Don't manually edit the CMT file, ever. Save the game from inside the game with he desired new name.

maybe someone manually edited the CMT file? - And possibly with a text editor. CMT files are binary, the only time I have ever edited one successfully (other than using the game to save it) - is with a HEX editor.
Brilliant!! Those cmt files open in notepad as well, I am so used to editing game files in notepad, etc., that that is exactly what the problem was! Thank you so much, saved it from in editor, and now everything is fine, thanks guys!!
Reply With Quote
  #16  
Old October 25th, 2019, 09:58 PM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,487
Thanks: 3,956
Thanked 5,690 Times in 2,810 Posts
DRG will become famous soon enough
Default Re: A scenario I made many years ago won't open in scenario selection.

Post the corrected scenario, it might make it to the next patch
__________________


"You are never to old to rock and roll if you are too young to die".--- What do you expect to be doing when you are 80?


https://www.youtube.com/watch?v=8kWt8ELuDOc

Last edited by DRG; October 26th, 2019 at 10:35 AM..
Reply With Quote
  #17  
Old October 25th, 2019, 10:02 PM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,487
Thanks: 3,956
Thanked 5,690 Times in 2,810 Posts
DRG will become famous soon enough
Exclamation Re: A scenario I made many years ago won't open in scenario selection.

....and FYI I have been changing CMT files with EditPlus text editor for a couple of decades without trouble. It's how I use to renumber them
__________________


"You are never to old to rock and roll if you are too young to die".--- What do you expect to be doing when you are 80?


https://www.youtube.com/watch?v=8kWt8ELuDOc
Reply With Quote
  #18  
Old October 25th, 2019, 10:15 PM
Mobhack's Avatar

Mobhack Mobhack is online now
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 5,955
Thanks: 464
Thanked 1,896 Times in 1,234 Posts
Mobhack is on a distinguished road
Default Re: A scenario I made many years ago won't open in scenario selection.

Might work in overwrite mode, to ensure no extra characters get input in regular text editor mode (typically insert mode by default?).

A hex editor works on the existing chars so is always safe.
Reply With Quote
  #19  
Old October 26th, 2019, 10:24 AM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,487
Thanks: 3,956
Thanked 5,690 Times in 2,810 Posts
DRG will become famous soon enough
Exclamation Re: A scenario I made many years ago won't open in scenario selection.

As I said any CMT that includes the slot number was modified using EditPlus so that adds up to 522 CMT's in WW2 plus all the ones in MBT and every one of them is still 200 bytes but as well some scenario and map names were made larger than the game normally allows using the same editor. A good example of that is....

18 Grudge Match at Kapelsche Veer 1/45

if you try to save that in the game you only can get to

18 Grudge Match at Kapelsche Vee

.......just saying you can edit CMT's with a text editor and even make them longer than the game normally allows and the game won't blow up but it could be you need a good text editor that only adds what you want added.

( or maybe I've just been lucky for 20 years or maybe I just know what I'm doing )
__________________


"You are never to old to rock and roll if you are too young to die".--- What do you expect to be doing when you are 80?


https://www.youtube.com/watch?v=8kWt8ELuDOc

Last edited by DRG; October 26th, 2019 at 10:37 AM..
Reply With Quote
  #20  
Old October 26th, 2019, 12:32 PM
warhorse's Avatar

warhorse warhorse is offline
Private
 
Join Date: Mar 2006
Location: Birdsboro, PA
Posts: 21
Thanks: 1
Thanked 5 Times in 5 Posts
warhorse is on a distinguished road
Default Re: A scenario I made many years ago won't open in scenario selection.

Ok guys, here is the corrected scenario, appreciate all the advise, and prompt too! It's been many, many years since I dabbled with the SP series, so thanks for the tips! I like anything involving Minor countries, so hope to include some more scenario's involving the Early Bulgarians in Macedonia, Hungary, Rumanians, Polish, Yugoslavians and Slovakia!
Attached Files
File Type: zip spscn995.zip (77.6 KB, 626 views)
Reply With Quote
The Following User Says Thank You to warhorse For This Useful Post:
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 05:55 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.