Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

SPWaW campaign - mouse freeze fix

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [Current Games From Matrix.] >> [World War II] >> Steel Panthers World At War & Mega Campaigns >> SPWaW campaign - mouse freeze fix Page: [1]
Login
Message << Older Topic   Newer Topic >>
SPWaW campaign - mouse freeze fix - 4/16/2020 4:57:45 PM   
Red_L.E.D.


Posts: 5
Joined: 4/16/2020
Status: offline
The mouse freezing when trying to change(or fix) units in a campaign happens when you mouse over a unit in the list and the pop up text tries to appear. If you have "LIVE DELAY" set to XXX then the mouse freezes immediately when you move it over a unit on the list.

So a simple fix here is to set a higher live delay value in the preferences. For example the default is "100" but this can be set to as high as "2000" if needed. And try to avoid holding the mouse over a unit for too long so that the pop up text does not try to load and freeze the mouse.


For a more detailed explanation of the bug and a more technical and permanent fix read this:

The bug seems to affect only newer systems. Testing on an old WinXP machine I saw the pop up text read "Select this unit $" and the mouse did not freeze.

There seems to be some error in the game code and using a hex editor one can find the reference "Select this unit %c" in mech.exe. That "%c" seems to be a reference to a character and when this is queried the pop up info should show a dollar sign "$". However one can fix this issue by removing the "%c" line from mech.exe (if you know how to use a hex editor). For example one can simply replace the "%c" with two spaces " ".

The pop up text in the campaign menu then no longer freezes the mouse and you get a pop up text "Select this unit " instead.

Funnily you could also replace it with a %d instead of spaces which then changes it to display a decimal instead of a character.
Post #: 1
RE: SPWaW campaign - mouse freeze fix - 4/16/2020 6:12:01 PM   
Major_Mess


Posts: 425
Joined: 2/8/2004
From: The True North. Strong and Free
Status: offline
Interesting, that issue has been haunting this game for years.

Hmmmmmm, are you sorta proficient with Hex Editing? I ask cuz there's a few values in the game that if adjustable could really improve the end product.
Movement rates is one. That is my current dragon to slay.
Understanding, and editing the National Characteristics is another.
There's more, can't recall what off the top of my head.

So I'm wondering if I could harangue you into doing some snooping for me.

cheers

A most humble Major Mess





_____________________________

Click below. You know you want to!!






(in reply to Red_L.E.D.)
Post #: 2
RE: SPWaW campaign - mouse freeze fix - 4/16/2020 6:32:24 PM   
Red_L.E.D.


Posts: 5
Joined: 4/16/2020
Status: offline
Movement rates can be changed by editing the oob files. Look for the "Speed" field in the oob editor. I lowered movement rates for all of the vehicles many years ago since I always felt the units moved too long distances in a turn. Some vehicles were ridiculously speedy.

As for the other stuff:

There used to be a mod for SPWaW by Panzer Leo called "H2H" (if i remember the names correctly). He did a lot of tweaks to the executable including changes to unit morale/experience, etc. There were other tricks too like hiding the text when units take casualties and so on.

I also remember there being a program that allowed you to edit the default values for different countries troop quality. That one worked from the command line and was fairly simple to use. "Mechedit" I think it was called.

(in reply to Major_Mess)
Post #: 3
RE: SPWaW campaign - mouse freeze fix - 4/17/2020 12:36:54 AM   
Major_Mess


Posts: 425
Joined: 2/8/2004
From: The True North. Strong and Free
Status: offline
Sorry, I meant the movement penalty points assigned to the different terrain. Like the attachment below.

Keeping in mind that the infrastructure was kinda primitive during WW2, mostly from WW2 scale destruction. Anyways,
I think we can tweak the penalties for all vehicle classes.

This is just a thought experiment right now, I'm spitballin' here.

Any Tank - movement penalties
pavement 1, that's OK
dirt road 1, s/b 2
trail 1, s/b 3
stone bridge 1, s/b 2
wood bridge 1, s/b 3
trees 2, s/b 4/5 ??

That's what I so poorly tried to describe.

From what hints I could winkle out from these forums, I believe that these attributes are associated with each class of unit, as opposed to being linked with the terrain.
I could very well be wrong.

I had the same thoughts as you about vehicle speeds, but when I did the math it's not so bad. I can't upload 2 pictures in a post so I'll post it next.


The skills Panzer Leo used were borrowed for the Enhanced Mod I link below. That mechedit program was also a tool for the team that created Enhanced.

cheers, and also mucho thanks for any help you can provide.

Major Mess




Attachment (1)

< Message edited by Major_Mess -- 4/17/2020 1:09:32 AM >


_____________________________

Click below. You know you want to!!






(in reply to Red_L.E.D.)
Post #: 4
RE: SPWaW campaign - mouse freeze fix - 4/17/2020 1:24:53 AM   
Major_Mess


Posts: 425
Joined: 2/8/2004
From: The True North. Strong and Free
Status: offline
Speeds in SPWaW

They sure seem to be far too fast, I agree.
Attached below is a chart I cranked out a while ago. I had my kid go over the math, we think it's correct.
Anyways, I went with the assumption that a turn is 5 minutes in length, and that each side is using the full 5 minutes simultaneously.
I then tried it another way just for laughs - each side uses half the 5 minutes.

Either way the speeds aren't that out of whack at all. What you have to do is ignore the stated speed of the unit on the screen. What that really represents is the MP's (movement points) it has used so far that turn.

cheers
Major Mess




Attachment (1)

< Message edited by Major_Mess -- 4/17/2020 1:25:12 AM >


_____________________________

Click below. You know you want to!!






(in reply to Major_Mess)
Post #: 5
Page:   [1]
All Forums >> [Current Games From Matrix.] >> [World War II] >> Steel Panthers World At War & Mega Campaigns >> SPWaW campaign - mouse freeze fix Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.116