.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
Notices


Reply
 
Thread Tools Display Modes
  #1  
Old March 7th, 2019, 03:38 PM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,493
Thanks: 3,965
Thanked 5,702 Times in 2,814 Posts
DRG will become famous soon enough
Exclamation Dosbox

If anyone has a copy of SP1 or SP2 running in DOSBOX let me know. There is a test I would like you to run

Don
__________________


"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
  #2  
Old March 7th, 2019, 08:09 PM
MarkSheppard's Avatar

MarkSheppard MarkSheppard is offline
Lieutenant Colonel
 
Join Date: Jun 2005
Posts: 1,378
Thanks: 101
Thanked 619 Times in 410 Posts
MarkSheppard is on a distinguished road
Default Re: Dosbox

What do you need run? Do you have a specific version of SP1/2 you need it run on? Keep in mind I may not be able to do it right away.
Reply With Quote
  #3  
Old March 7th, 2019, 08:22 PM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,493
Thanks: 3,965
Thanked 5,702 Times in 2,814 Posts
DRG will become famous soon enough
Default Re: Dosbox

Go to the map editor and create a short section of paved road on a clear map from left to right... it just has to be 4 - 6 hexes, not a long section----- when you are done that use the mouse to check the last section of road .....the right side if you place it left to right..... does it show a road tile but report being clear terrain?

Next using the same paved road double click on the map then move to another section of map and double click... you should not see a road..... do those hexes report a road when you place the mouse cursor over that hex?


Don
__________________


"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
  #4  
Old March 7th, 2019, 08:33 PM
MarkSheppard's Avatar

MarkSheppard MarkSheppard is offline
Lieutenant Colonel
 
Join Date: Jun 2005
Posts: 1,378
Thanks: 101
Thanked 619 Times in 410 Posts
MarkSheppard is on a distinguished road
Default Re: Dosbox

Okay, loaded Steel Panthers Arsenal version of SP2 in dosbox...

A. Left to right placed paved road on clear map; the last section of road (right side) shows a road tile, but instead reports clear terrain.

B. Double clicking on the map, then moving to another section and double clicking...I don't see a road, but when I put the info cursor over it, I get it reported as a paved road.
Reply With Quote
The Following User Says Thank You to MarkSheppard For This Useful Post:
  #5  
Old March 8th, 2019, 12:18 AM

lukerduker123 lukerduker123 is offline
Corporal
 
Join Date: Jul 2013
Posts: 113
Thanks: 29
Thanked 34 Times in 27 Posts
lukerduker123 is on a distinguished road
Default Re: Dosbox

Not sure if this matters or not, but this happens to me quite a bit in 'normal' SPMBT. Another bug I noticed recently is that deleting a bocage tile then adding it back again makes it far, far shorter.
Reply With Quote
The Following User Says Thank You to lukerduker123 For This Useful Post:
  #6  
Old March 8th, 2019, 01:30 AM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,493
Thanks: 3,965
Thanked 5,702 Times in 2,814 Posts
DRG will become famous soon enough
Exclamation Re: Dosbox

Quote:
Originally Posted by MarkSheppard View Post
Okay, loaded Steel Panthers Arsenal version of SP2 in dosbox...

A. Left to right placed paved road on clear map; the last section of road (right side) shows a road tile, but instead reports clear terrain.

B. Double clicking on the map, then moving to another section and double clicking...I don't see a road, but when I put the info cursor over it, I get it reported as a paved road.
As we suspected this goes back to the original game but as of the next patch both games will no longer do A or B.

It's a long story but Andy made a slight change to SPww2 code and gaps were noticed appearing in maps in sections of paved road but using older EXEs the road appeared perfectly normal but passing your mouse cursor down the road would reveal gaps where the road ended and the underlying terrain was reported..... but to anyone looking at the map it looked like continuous road. The problem did not occur with secondary roads.

What was happening was the last hex in a series of paved road that was put down was showing a road tile but road terrain was not actually being recorded so if you travelled a tank down that road you would go from road to clear then back to road again but everything looked OK.

If a mapmaker made a habit of laying a section of road then starting the next section from the next clear hex showing on the map a gap was being created. If however, the map maker made a habit of laying a section of road then starting the next section from the last tile of the road showing then a gap was not be created.

The revised code reads if a road tile is actually on the hex and if yes makes that a road tile hex so all the maps and scenarios that have these little gaps here and there....and there are hundreds of them... will , with the next patch for both games....be automagically fixed... they will not report the underlying terrain so if a road looks like a road it WILL BE a road

...and it will no longer do B either


Don
__________________


"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
The Following 5 Users Say Thank You to DRG For This Useful Post:
  #7  
Old March 8th, 2019, 09:09 AM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,493
Thanks: 3,965
Thanked 5,702 Times in 2,814 Posts
DRG will become famous soon enough
Default Re: Dosbox

Quote:
Originally Posted by lukerduker123 View Post
Not sure if this matters or not, but this happens to me quite a bit in 'normal' SPMBT. Another bug I noticed recently is that deleting a bocage tile then adding it back again makes it far, far shorter.
That will be looked into as well but I have not been able to recreate the "far shorter" part. The code for each of the continuous terrain types is very similar but each one has it's subtle differences and it's those subtle differences that can bite you.

The best advice for map makers would be.....even if this does get fixed... is to remember, when filling a gap between two continuous terrain types.... roads, trenches, streams, hedgerows.... then " best practice" would be to click on the hex on EITHER SIDE of that gap and place the terrain so it spans those three hexes not just the one to one side of the gap or the other and the gap ( so three hexes not just two )

When we compile game code a report is generated that gives the details of the event and right now that report shows SPww2 game code compiles 13,335,132 lines of code

Thirteen MILLION, Three Hundred and thirty-five, one hundred and thirty-two lines of code....

Think about that a minute. Sometimes finding things like this once known and proved only narrows the search down to a fraction of that but even a fraction of that is a big number and Andy needs to know what fraction to look in

Don
__________________


"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; March 8th, 2019 at 09:16 AM..
Reply With Quote
The Following 3 Users Say Thank You to DRG For This Useful Post:
  #8  
Old March 8th, 2019, 09:40 AM
scorpio_rocks's Avatar

scorpio_rocks scorpio_rocks is offline
Major
 
Join Date: Aug 2013
Location: Yorkshire, UK
Posts: 1,047
Thanks: 366
Thanked 440 Times in 318 Posts
scorpio_rocks is on a distinguished road
Default Re: Dosbox

Quote:
Originally Posted by DRG View Post
... SPww2 game code compiles 13,335,132 lines of code

Thirteen MILLION, Three Hundred and thirty-five, one hundred and thirty-two lines of code....

Yikes!
__________________

"Gentlemen, when the enemy is committed to a mistake - we must not interrupt him too soon."
Horatio Nelson.
SPMBT Roundel Objectives Mod
SPMBT Small ID Flags Mod
WW2 Roundel Objectives Mod
Reply With Quote
  #9  
Old March 8th, 2019, 10:47 AM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,493
Thanks: 3,965
Thanked 5,702 Times in 2,814 Posts
DRG will become famous soon enough
Default Re: Dosbox

Yeah, it surprised me too but it is what it is..... a large and complicated program. A "line" of code might be as simple as a single }.......or not but still, its 13 million plus lines and they all have to "play nice" with one another and sometimes it creates sleepless nights when one misplaced } can stop the code from compiling or make it do things you don't realize are being done for a quarter century.
__________________


"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
  #10  
Old March 9th, 2019, 12:23 PM
MarkSheppard's Avatar

MarkSheppard MarkSheppard is offline
Lieutenant Colonel
 
Join Date: Jun 2005
Posts: 1,378
Thanks: 101
Thanked 619 Times in 410 Posts
MarkSheppard is on a distinguished road
Default Re: Dosbox

Quote:
Originally Posted by MarkSheppard View Post
Okay, loaded Steel Panthers Arsenal version of SP2 in dosbox...
This is a response to someone who sent me a PM asking what "Arsenal" was; but had "no messages" set; so I couldn't reply back to him via PM:

...

The Arsenal Version was the "bundled CD" re-release of SP1 through SP3 with all the campaign discs included back in 1998.

https://videogamegeek.com/videogame/...nthers-arsenal

The one unique thing on it was a modified version of SP3 with netcode for internet head to head.
Reply With Quote
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 04:11 PM.


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