Forums
September 18, 2021, 11:01 AM

Author Topic: Ghost Replays 0.4.1  (Read 2118 times)

0 Members and 1 Guest are viewing this topic.

Offline Masta

  • Hero Member
  • *****

  • Norway Norway
  • Posts: 542
    • View Profile
Ghost Replays 0.4.1
« on: May 23, 2020, 12:00 PM »
Ghost Replays

How to use:
  • Press Ctrl + Alt + C at any point after the start of the turn and before the start of the next turn to create a ghost.
  • Ctrl + Alt + A to toggle ghost replay functionality.
  • Ctrl + Alt + S to toggle using the Shared folder
  • The Shared folder is a folder located in the Ghosts folder. Ghost files from this folder will be played if the Shared folder option is turned on ingame.
  • The ghost file is located in User/Ghosts/n, where n is the largest numbered folder in the Ghosts directory.
  • The ghost file in the largest numbered folder is the one that will play at the start of the turn.
  • Ghosts can be created ingame or from replays.
  • The transparency values in wkGhostReplays.ini range from 0 to 100.

Known issues and limitations:
  • One ghost can be played at a time.
  • The only sprites implemented are midair and rope attached.
  • Rope collision is not implemented.
  • Alt, Esc and Win key hides the ghost, this is a workaround to allow minimizing and quitting, the ghost can be brought back with Ctrl + Q.
  • Only supports DirectX 9.
  • Unstable recording of ghost if Vsync is enabled.
  • No map recognition, ghosts will play on any map.
  • The position of the ghost is unaffected by the chat window.
  • Unoptimized ghost files.

Version: 0.4
Download
« Last Edit: June 24, 2020, 12:43 PM by Nonentity »

Offline Sensei

Re: Ghost Replays
« Reply #1 on: May 23, 2020, 02:08 PM »
Lol! Last night was playing with Cueshark and was telling him how angry I am on you to give us a sneak peak of this module months ago and then disappear! As he mentioned, this one should be game changer.

Great work man, thank you!
Collection of WA interviews, league clanners and CWT matches.



Click to join Worms Armageddon community on Discord Server!


Offline LEGi0N

Re: Ghost Replays
« Reply #2 on: May 23, 2020, 03:27 PM »
Nice one! Managed to get the "WAghost" file created, but not sure how to replay it during a game. Is there a special key combination?

Edit: Managed to get it working. Misread the first line as needing to press Ctrl+N twice, but you only need to do it once and it creates the ghost from the beginning of the turn up until the point you press Ctrl+N.

Also, disabling both vsync settings prevents the ghost from flickering if anyone has that issue. There is screen tearing without vsync, but you can disable it, create a ghost using a replay file, then enable vsync again for racing against it.
« Last Edit: May 23, 2020, 04:08 PM by LEGi0N »

Offline j0e

  • Sr. Member
  • ****

  • Canada Canada
  • Posts: 436
    • View Profile
Re: Ghost Replays
« Reply #3 on: May 24, 2020, 03:52 PM »
This looks awesome! So far I haven't been able to make it work. My ghosts folder stays empty no matter what I do. I have all wk modules disabled except GhostReplays. Both vsync options off and using Direct3d9shader.

Offline Kradie

Re: Ghost Replays
« Reply #4 on: May 24, 2020, 05:27 PM »
This module will likely be more incompatible when 3.8 releases in the coming days.

Offline philie

Re: Ghost Replays
« Reply #5 on: May 25, 2020, 10:36 PM »
eh, i dont get it...

so i press ctrl+n (once) during a replay and it records the current turn as ghost. right?
(at least a WAghost file gets created)

and then i start a game and the ghost should load automatically? at least it doesnt with me...

Offline j0e

  • Sr. Member
  • ****

  • Canada Canada
  • Posts: 436
    • View Profile
Re: Ghost Replays
« Reply #6 on: May 26, 2020, 01:52 AM »
Which version of the game is this for? I'm using 3.7.2.1 CD version. Maybe it only works on the Steam version?

Also I assume you're supposed to press Ctrl+N during your actual turn, but can you also press it during a replay, so you don't mess up your run?

Offline philie

Re: Ghost Replays
« Reply #7 on: May 26, 2020, 09:05 AM »
Which version of the game is this for? I'm using 3.7.2.1 CD version.

yea, me too.
anyway, with the wk in my wa-folder, every game crashes after a few mins. without the wk, everything is fine.

Offline Sensei

Re: Ghost Replays
« Reply #8 on: May 27, 2020, 11:38 AM »
Which version of the game is this for? I'm using 3.7.2.1 CD version.

yea, me too.
anyway, with the wk in my wa-folder, every game crashes after a few mins. without the wk, everything is fine.

That's weird. Maybe graphics from advanced settings interfeer with wkghost. Try setting them on direct3d 9 shader and turn off vsyncs if you didn't.
Collection of WA interviews, league clanners and CWT matches.



Click to join Worms Armageddon community on Discord Server!


Re: Ghost Replays
« Reply #9 on: May 27, 2020, 01:07 PM »
Which version of the game is this for? I'm using 3.7.2.1 CD version. Maybe it only works on the Steam version?

Also I assume you're supposed to press Ctrl+N during your actual turn, but can you also press it during a replay, so you don't mess up your run?

Works on non steam version. And yes, it works from replay too.


yea, me too.
anyway, with the wk in my wa-folder, every game crashes after a few mins. without the wk, everything is fine.
It crashes when I shift+esc or alt+F4 (sometimes), but no crash if I press escape and minimize on game button.
« Last Edit: May 28, 2020, 03:19 AM by pavlepavle »

Offline philie

Re: Ghost Replays
« Reply #10 on: May 31, 2020, 10:28 PM »
Try setting them on direct3d 9 shader and turn off vsyncs if you didn't.

seems like my standard settings xD

It crashes when I shift+esc or alt+F4 (sometimes), but no crash if I press escape and minimize on game button.

it even crashes, when i just watch a game and dont press anything.

Offline Masta

  • Hero Member
  • *****

  • Norway Norway
  • Posts: 542
    • View Profile
Re: Ghost Replays
« Reply #11 on: June 03, 2020, 10:58 AM »
Unfortunate that it does not work for everyone. At this point I am not completely sure why, but I have created a test module which can bring us closer to figuring out why it does not work on all computers.

In the frontend the test module will show Test with a white line under it.
Go ingame and press Ctrl + N. A a still worm should appear below the white line:

* wkGhostReplaysTest.dll (9.5 kB - downloaded 24 times.)

Offline rUNaW4y

Re: Ghost Replays
« Reply #12 on: June 03, 2020, 04:17 PM »
Unfortunate that it does not work for everyone. At this point I am not completely sure why, but I have created a test module which can bring us closer to figuring out why it does not work on all computers.

In the frontend the test module will show Test with a white line under it.
Go ingame and press Ctrl + N. A a still worm should appear below the white line:

[attachment=1]

Hi man, making the exception for several game crashes due to .dll, your testing module works for me if I press ctrl+n but my Ghost folder is still empty.

Offline j0e

  • Sr. Member
  • ****

  • Canada Canada
  • Posts: 436
    • View Profile
Re: Ghost Replays
« Reply #13 on: June 03, 2020, 05:52 PM »
Same as rUn4w4y: The testing module works (worm shows up) but Ghosts folder remains empty. This is on Windows 7, CD version, 3.7.2.1

Game hangs every time after round ends- black screen with nothing but Test and the worm below it,  must kill process in Task Manager with Ctrl+Alt+Del to exit.

Tried with and without other WK modules - same behaviour in both cases. (I thought game hanging on black screen might have been caused by lack of d3d9wnd but it isn't - it's caused by GhostReplaysTest)

Tried also on my Win10 PC - WA notifies on startup it failed to load  wkGhostReplays.dll
« Last Edit: June 03, 2020, 11:00 PM by j0e »

Offline Masta

  • Hero Member
  • *****

  • Norway Norway
  • Posts: 542
    • View Profile
Re: Ghost Replays
« Reply #14 on: June 04, 2020, 12:51 PM »
That test was just related to drawing. Here is another test module which should create some folders. This time go ingame and check the Ghosts folder. Four folders should now be located in the User/Ghosts/ directory.