VOGONS


Mechwarrior 2 Decomp/Recomp

Topic actions

Reply 200 of 215, by Mikeyy00

User metadata
Rank Member
Rank
Member
Mikeyy00 wrote on 2026-11-30, 14:02:
Mikeyy00 wrote on 2026-11-30, 13:45:
gashoneil wrote on 2026-11-30, 11:51:

On the framerate, I think there is something odd going on. I have an RTX5090... so it isn't grunt that is the issue. I noticed a weird choppiness in recent versions of your release. Rolling back to an older version instantly resolved it. The FPS counter remains high. It is mostly apparent when rotating the view, a jittery movement despite the fps being high. I am working on a fork of your code and I am now merging your recent additions chunk by chunk to see when the issue is introduced. If I figure it out, I will post back. If it isn't tonight it will need to wait, travelling for work this week

The DOS renderer is really heavy for some reason. The non-DOS look gets almost 200fps on my setup. It's on my list to narrow down.. a 30 year old game should run 100fps+ on an Intel HD nevermind a 5090.

Going to pause fixes for today and have it hammer on performance fixes. It's been bugging me for a while as well that the DOS look feels like a 486 on my M4 Pro.

2.20 should have ~2x the FPS.. give it a shot and let me know?

Reply 201 of 215, by Mikeyy00

User metadata
Rank Member
Rank
Member
Mikeyy00 wrote on 2026-11-30, 14:14:
Mikeyy00 wrote on 2026-11-30, 14:02:
Mikeyy00 wrote on 2026-11-30, 13:45:

The DOS renderer is really heavy for some reason. The non-DOS look gets almost 200fps on my setup. It's on my list to narrow down.. a 30 year old game should run 100fps+ on an Intel HD nevermind a 5090.

Going to pause fixes for today and have it hammer on performance fixes. It's been bugging me for a while as well that the DOS look feels like a 486 on my M4 Pro.

2.20 should have ~2x the FPS.. give it a shot and let me know?

Base M5 Mac does a locked 120fps with 3440x1440 @ 8X AA.

I realized the game doesn't have an option to disable VSync, will add that in.

Something might have buggered up the enemy AI now too, having it fix that and will push 2.21.

Reply 202 of 215, by Mikeyy00

User metadata
Rank Member
Rank
Member
Mikeyy00 wrote on 2026-11-30, 14:33:
Base M5 Mac does a locked 120fps with 3440x1440 @ 8X AA. […]
Show full quote
Mikeyy00 wrote on 2026-11-30, 14:14:
Mikeyy00 wrote on 2026-11-30, 14:02:

Going to pause fixes for today and have it hammer on performance fixes. It's been bugging me for a while as well that the DOS look feels like a 486 on my M4 Pro.

2.20 should have ~2x the FPS.. give it a shot and let me know?

Base M5 Mac does a locked 120fps with 3440x1440 @ 8X AA.

I realized the game doesn't have an option to disable VSync, will add that in.

Something might have buggered up the enemy AI now too, having it fix that and will push 2.21.

With Vsync off, I get 600fps on the DOS renderer.

But it busted enemy AI - it's chewing on that now.

Reply 203 of 215, by Mikeyy00

User metadata
Rank Member
Rank
Member
Mikeyy00 wrote on 2026-11-30, 14:59:
Mikeyy00 wrote on 2026-11-30, 14:33:
Base M5 Mac does a locked 120fps with 3440x1440 @ 8X AA. […]
Show full quote
Mikeyy00 wrote on 2026-11-30, 14:14:

2.20 should have ~2x the FPS.. give it a shot and let me know?

Base M5 Mac does a locked 120fps with 3440x1440 @ 8X AA.

I realized the game doesn't have an option to disable VSync, will add that in.

Something might have buggered up the enemy AI now too, having it fix that and will push 2.21.

With Vsync off, I get 600fps on the DOS renderer.

But it busted enemy AI - it's chewing on that now.

Bugged AI should be fixed in 2.23

Reply 204 of 215, by Happy1337

User metadata
Rank Newbie
Rank
Newbie
Mikeyy00 wrote on 2026-11-30, 13:56:
Happy1337 wrote on 2026-11-29, 18:10:

Sorry, dont have a github account - but the mv2.log is only one line :

"look: the 3D looks need the 3d/ folder (models.prj, textures.prj) in the game folder - using the DOS look"

With dx12 the level loads, works for like 1sec. and than crashes the driver. It's fine with Vulkan

There's more logging enabled in >2.14, can you try again and see if the log has more info?

Tried again with v2.23
Log stays the same - but no more dx12 crashes !

edit:
2.16 -> still crashes driver
since 2.20 -> works fine

Reply 205 of 215, by Mikeyy00

User metadata
Rank Member
Rank
Member
Happy1337 wrote on 2026-11-30, 20:22:
Tried again with v2.23 Log stays the same - but no more dx12 crashes ! […]
Show full quote
Mikeyy00 wrote on 2026-11-30, 13:56:
Happy1337 wrote on 2026-11-29, 18:10:

Sorry, dont have a github account - but the mv2.log is only one line :

"look: the 3D looks need the 3d/ folder (models.prj, textures.prj) in the game folder - using the DOS look"

With dx12 the level loads, works for like 1sec. and than crashes the driver. It's fine with Vulkan

There's more logging enabled in >2.14, can you try again and see if the log has more info?

Tried again with v2.23
Log stays the same - but no more dx12 crashes !

edit:
2.16 -> still crashes driver
since 2.20 -> works fine

Well, if it works >2.20, we'll call it fixed.

Reply 206 of 215, by gashoneil

User metadata
Rank Newbie
Rank
Newbie

So I merged all the new code and found something interesting. The GPU is now locked at 50% and 120fps so a win there, however it is still all stutterly. I have my own mouse look mode for moving the head and not the mech torso when I hold control key and when I do that the rotation is buttery smooth. Similarly when I go into my new FPS mode the rotation is perfect - so the weird something only happens when you turn the torso or turn the mech (which affects everyone but me!) but it isn't the game engine as it works great with my mouse look code. I will have a look at the port's code for turning the mech or the torso and see what I can see.

PS thanks for all the updates - I am struggling to keep up!

Reply 207 of 215, by KHORG

User metadata
Rank Newbie
Rank
Newbie

2.24 has definitely fixed the cockpit lookaround function, it's smooth now. The AI didn't seem to have any problems in the missions I played on this version.

2.25 is getting deleted by Windows Defender after it downloads.

Re-tested on 2.29

  • The boundary walls on the Wolf trial missions are now being rendered in Satellite View, but the flat walkable apron that parallels the boundary walls should also be rendered in Satellite View.
  • There is a bug carried over from DOS where your mech can get stuck after bumping into certain non-walkable terrain. Setting the mech to full speed and wiggling backwards and forwards won't free it. One of the easiest ways to replicate this is by running into the middle of the obtuse-angled corner piece walls on the Falcon Trial missions. This occurs in locations where the player controlled mech is standing on what should be walkable terrain.
Last edited by KHORG on 2026-12-02, 13:46. Edited 1 time in total.

Reply 208 of 215, by Mikeyy00

User metadata
Rank Member
Rank
Member
KHORG wrote on 2026-12-01, 09:58:
2.24 has definitely fixed the cockpit lookaround function, it's smooth now. The AI didn't seem to have any problems in the missi […]
Show full quote

2.24 has definitely fixed the cockpit lookaround function, it's smooth now. The AI didn't seem to have any problems in the missions I played on this version.

2.25 is getting deleted by Windows Defender after it downloads.

  • The boundary walls on the Wolf trial missions are now being rendered in Satellite View, but the flat walkable apron that parallels the boundary walls should also be rendered in Satellite View.
  • There is a bug carried over from DOS where your mech can get stuck after bumping into certain non-walkable terrain. Setting the mech to full speed and wiggling backwards and forwards won't free it. One of the easiest ways to replicate this is by running into the middle of the obtuse-angled corner piece walls on the Falcon Trial missions. This occurs in locations where the player controlled mech is standing on what should be walkable terrain.

2.27 up.

Reply 209 of 215, by KHORG

User metadata
Rank Newbie
Rank
Newbie

On 2.27

  • The gunships on Umber Wall are not being rendered correctly in the centre of the left targetting MFD. They are instead being rendered somewhere offset and are occasionally popping into view in this MFD.
  • The Hovertrain on Umber Wall should have two small alternating red/blue lights on it's first carriage.
  • The Stormcrow on Umber Wall has do-not-disturb settings in it's AI file, it should not respond at all to receiving fire and should continue it's primary mission.

I think with the slightly large font it's using, it's struggling to fit all the post-mission text in horizontally.

This is DOS for a JF trial mission.

The attachment DOS trial 1.jpg is no longer available

This is the Decomp

The attachment trial 2.jpg is no longer available

The "Trial Concluded" heading and the initial fluff text have disappeared, and it's struggling to fit in the post-mission results table, dropping the time and the objective type.

The concluding fluff text has gone into the Aftermath tab I think.

Reply 210 of 215, by Mikeyy00

User metadata
Rank Member
Rank
Member
KHORG wrote on Yesterday, 09:36:
On 2.27 […]
Show full quote

On 2.27

  • The gunships on Umber Wall are not being rendered correctly in the centre of the left targetting MFD. They are instead being rendered somewhere offset and are occasionally popping into view in this MFD.
  • The Hovertrain on Umber Wall should have two small alternating red/blue lights on it's first carriage.
  • The Stormcrow on Umber Wall has do-not-disturb settings in it's AI file, it should not respond at all to receiving fire and should continue it's primary mission.

I think with the slightly large font it's using, it's struggling to fit all the post-mission text in horizontally.

This is DOS for a JF trial mission.

The attachment DOS trial 1.jpg is no longer available

This is the Decomp

The attachment trial 2.jpg is no longer available

The "Trial Concluded" heading and the initial fluff text have disappeared, and it's struggling to fit in the post-mission results table, dropping the time and the objective type.

The concluding fluff text has gone into the Aftermath tab I think.

2.3x should fix the 3 bugs above. Good call on the font, I'll check into that.

Reply 211 of 215, by Mikeyy00

User metadata
Rank Member
Rank
Member
Mikeyy00 wrote on Yesterday, 14:40:
KHORG wrote on Yesterday, 09:36:
On 2.27 […]
Show full quote

On 2.27

  • The gunships on Umber Wall are not being rendered correctly in the centre of the left targetting MFD. They are instead being rendered somewhere offset and are occasionally popping into view in this MFD.
  • The Hovertrain on Umber Wall should have two small alternating red/blue lights on it's first carriage.
  • The Stormcrow on Umber Wall has do-not-disturb settings in it's AI file, it should not respond at all to receiving fire and should continue it's primary mission.

I think with the slightly large font it's using, it's struggling to fit all the post-mission text in horizontally.

This is DOS for a JF trial mission.

The attachment DOS trial 1.jpg is no longer available

This is the Decomp

The attachment trial 2.jpg is no longer available

The "Trial Concluded" heading and the initial fluff text have disappeared, and it's struggling to fit in the post-mission results table, dropping the time and the objective type.

The concluding fluff text has gone into the Aftermath tab I think.

2.3x should fix the 3 bugs above. Good call on the font, I'll check into that.

Font should be good on 2.32

I'm having it do multi-hour play throughs to try and find more obscure bugs, but if you still notice stuff let me know.

Reply 212 of 215, by KHORG

User metadata
Rank Newbie
Rank
Newbie

I've finished the Wolf campaign and am halfway through the Jade Falcon campaign. I do have a parking lot for obscure bugs I've been keeping, but some of them I need to take some more screenshots to double check. I think the mech external view lighting/colouring is washed out in some missions and the building texture lighting on Blade Splint at night isn't quite right.

-------------------------------------------------------

That said, are you able to ask chat gpt what the behaviour of Star 2 on Umber Wall should be in the original code, if they are attacked by the player while their Mission 2 (DESTROY umbeare2) goal is active?

The WLD version of their mission goals is:

mission st2 -1 none
0 BEGIN V umbeST21 (Initial) -1 0 0 DEFAULT N none ""
1 DESTROY V userstar (C st0 1) -1 0 1 DEFAULT N none ""
2 DESTROY V umbeare2 (C 4) -1 2 1 DEFAULT N none ""
3 DESTROY V userstar (C st0 9) -1 0 1 DEFAULT N none ""
4 SLEEP V umbeST21 (C 0) 355 0 1 DEFAULT N none ""
5 RETURN V umbeST21 (S 2) -1 0 1 DEFAULT N none ""
end

Which translates that they should attack the Hovertrain (umbeare2) after sleeping. And the Userstar also becomes a valid target if it reaches navpoint umbegou1 (aka Complete st0 9).

However in the DOS version, if the Hovertrain and Player are both within range and valid targets, if Star 2 is shot at, the first Star 2 mech to be shot will change to attack the player and the second will completely ignore the player however many times it is hit.
The setup of the mission scripting suggests they have mechs-per-target=2 for the Hovertrain, and do-not-disturb=1, meaning both should be able to attack the player if fired upon. But that's not the AI behaviour occurring in DOS.

Last edited by KHORG on 2026-12-03, 13:14. Edited 1 time in total.

Reply 213 of 215, by KHORG

User metadata
Rank Newbie
Rank
Newbie

Still using 2.27 here.

What folder does the Mapview application want? I don't seem to have a "3d" folder with a models.prj in my DOS install, which is from an ISO rip of my very, very old Pentium edition cd.

  • Using MASC should have a chance of malfunction after a period. But I ran around in a Firemoth for 5 minutes with it turned on without any MASC malfunctions.
  • The large flame/smoke sprites on Blade Splint, Pyre Light, Plum Wine and other missions should show as a red shape in Image Enhancement mode, not blue.
  • Currently if you try to jumpjet higher than the marker between 180 and 185 on the altimeter, the altimeter hud readout breaks. Certain missions like Umber Wall should allow you to jumpjet pass the 200 marker, at which point the hud readout changes to >200.

Reply 214 of 215, by Mikeyy00

User metadata
Rank Member
Rank
Member
KHORG wrote on Today, 13:11:
Still using 2.27 here. […]
Show full quote

Still using 2.27 here.

What folder does the Mapview application want? I don't seem to have a "3d" folder with a models.prj in my DOS install, which is from an ISO rip of my very, very old Pentium edition cd.

  • Using MASC should have a chance of malfunction after a period. But I ran around in a Firemoth for 5 minutes with it turned on without any MASC malfunctions.
  • The large flame/smoke sprites on Blade Splint, Pyre Light, Plum Wine and other missions should show as a red shape in Image Enhancement mode, not blue.
  • Currently if you try to jumpjet higher than the marker between 180 and 185 on the altimeter, the altimeter hud readout breaks. Certain missions like Umber Wall should allow you to jumpjet pass the 200 marker, at which point the hud readout changes to >200.

3D is on the github repo.. its the various 3D edition files.

Reply 215 of 215, by Mikeyy00

User metadata
Rank Member
Rank
Member
KHORG wrote on Today, 11:25:
I've finished the Wolf campaign and am halfway through the Jade Falcon campaign. I do have a parking lot for obscure bugs I've b […]
Show full quote

I've finished the Wolf campaign and am halfway through the Jade Falcon campaign. I do have a parking lot for obscure bugs I've been keeping, but some of them I need to take some more screenshots to double check. I think the mech external view lighting/colouring is washed out in some missions and the building texture lighting on Blade Splint at night isn't quite right.

-------------------------------------------------------

That said, are you able to ask chat gpt what the behaviour of Star 2 on Umber Wall should be in the original code, if they are attacked by the player while their Mission 2 (DESTROY umbeare2) goal is active?

The WLD version of their mission goals is:

mission st2 -1 none
0 BEGIN V umbeST21 (Initial) -1 0 0 DEFAULT N none ""
1 DESTROY V userstar (C st0 1) -1 0 1 DEFAULT N none ""
2 DESTROY V umbeare2 (C 4) -1 2 1 DEFAULT N none ""
3 DESTROY V userstar (C st0 9) -1 0 1 DEFAULT N none ""
4 SLEEP V umbeST21 (C 0) 355 0 1 DEFAULT N none ""
5 RETURN V umbeST21 (S 2) -1 0 1 DEFAULT N none ""
end

Which translates that they should attack the Hovertrain (umbeare2) after sleeping. And the Userstar also becomes a valid target if it reaches navpoint umbegou1 (aka Complete st0 9).

However in the DOS version, if the Hovertrain and Player are both within range and valid targets, if Star 2 is shot at, the first Star 2 mech to be shot will change to attack the player and the second will completely ignore the player however many times it is hit.
The setup of the mission scripting suggests they have mechs-per-target=2 for the Hovertrain, and do-not-disturb=1, meaning both should be able to attack the player if fired upon. But that's not the AI behaviour occurring in DOS.

"The reported split matches the original DOS code. I checked the shipped Umber Wall table and confirmed that Star 2’s Hovertrain order has mechs-per-target=2 and do-not-disturb=1. DOS
uses the 2 to fill the Hovertrain assignment. The 1 still allows retaliation, but a separate rule checks whether a star mate is already targeting the same attacker. If that star mate
has the mission-assignment flag, DOS refuses to hand off the attacker. So the first eligible mech you actually hit can turn on you, and the other stays on the Hovertrain while the
first is engaging you. The rule checks the live assignment and has no Stormcrow-specific exception. The umbegou1 trigger can separately make the player a scripted target."