English Amiga Board


Go Back   English Amiga Board > Main > Nostalgia & memories

 
 
Thread Tools
Old 03 February 2022, 11:43   #1
slx
Registered User
 
slx's Avatar
 
Join Date: Jan 2018
Location: Hungary / Pécs
Posts: 37
Lightbulb Defender of the Crown cheats with Action Replay

Hello,
I use the WinUAE and I was able to give myself more money
in Defender of the Crown
with the Action Replay ROM when I use the 't' and 'ts' and 'm' commands.
The money is at
020149

I would like to ask your help
1) how can make infinite health for the character while make raid or rescue mission;
2) instant win the jousts.
Can these be done with Action Replay?
slx is offline  
Old 03 February 2022, 12:47   #2
malko
Ex nihilo nihil
 
malko's Avatar
 
Join Date: Oct 2017
Location: CH
Posts: 4,886
Long time not done, but you can win the joust 100% by correctly placing your mouse between the two tents that are on the left on the global view screen. Once placed, leave it and watch
malko is offline  
Old 03 February 2022, 14:25   #3
jotd
This cat is no more
 
jotd's Avatar
 
Join Date: Dec 2004
Location: FRANCE
Age: 52
Posts: 8,200
Note that on that particular game, money is never/not always at the same location since the executable is loaded by the OS at a location depending on the boot sequence. Sometimes on the same boot sequence it can load at a different address.
jotd is offline  
Old 03 February 2022, 14:42   #4
grond
Registered User
 
Join Date: Jun 2015
Location: Germany
Posts: 1,918
Quote:
Originally Posted by malko View Post
Long time not done, but you can win the joust 100% by correctly placing your mouse between the two tents that are on the left on the global view screen. Once placed, leave it and watch
I heard about this back in the day but have never identified that spot. But I saw a youtube video that showed a mouse movement pattern that was a sure winner. When I played the game afterwards I was able to reproduce this mouse movement each time. It was a movement to the bottom left during the last few frames of the approaching opponent.
grond is offline  
Old 03 February 2022, 14:52   #5
malko
Ex nihilo nihil
 
malko's Avatar
 
Join Date: Oct 2017
Location: CH
Posts: 4,886
^ Just had a quick go for this screen-shot. Won 3 out of 3 jousts and left as the Champion .
Here is the spot

malko is offline  
Old 03 February 2022, 14:53   #6
kremiso
Registered User
 
Join Date: Dec 2020
Location: Italy
Posts: 1,901
in the Tosec there is a trained adf (and with a virus too )

Defender of the Crown (1986)(Cinemaware)(US)(Disk 1 of 2)[cr Powerslaves][t Stage II][v SystemZ v5.0].zip

btw i don't know what that stage II trainer does
iirc it should work on pal too, despite being us
kremiso is offline  
Old 03 February 2022, 15:20   #7
Rotareneg
Registered User
 
Rotareneg's Avatar
 
Join Date: Sep 2017
Location: Kansas, USA
Posts: 327
I prefer the "move down and left a bit" method, feels at least vaguely like you're trying to play a game.

At about 2:55 in this video:

[ Show youtube player ]
Rotareneg is offline  
Old 03 February 2022, 16:15   #8
malko
Ex nihilo nihil
 
malko's Avatar
 
Join Date: Oct 2017
Location: CH
Posts: 4,886
Quote:
Originally Posted by Rotareneg View Post
I prefer the "move down and left a bit" method, feels at least vaguely like you're trying to play a game.

At about 2:55 in this video:

[ Show youtube player ]
Without 'Action Replay' but OP has now two choices to win the joust in an easiest way
malko is offline  
Old 03 February 2022, 17:10   #9
slx
Registered User
 
slx's Avatar
 
Join Date: Jan 2018
Location: Hungary / Pécs
Posts: 37
I tried the mentioned
Defender of the Crown (1986)(Cinemaware)(US)(Disk 1 of 2)[cr Powerslaves][t Stage II][v SystemZ v5.0]
version.
It has different cursor and you have infinite money.
I played with Ivanhoe.
I started with 8 golds but it did not decreased when I bought my army... and that is all. So, you can earn gold but you can not spend any of it.
I got not robbed by other Lords!!!
But once my catapults were destroyed by bandits and they destroyed all of them! They destroyed in my army and in my castles, too!!!
I tried the robbery but I got caught. I tried to rescue a Lady and it was success!
So, the desired infinite health is not in this version! :'(
slx is offline  
Old 03 February 2022, 17:12   #10
slx
Registered User
 
slx's Avatar
 
Join Date: Jan 2018
Location: Hungary / Pécs
Posts: 37
Quote:
Originally Posted by malko View Post
^ Just had a quick go for this screen-shot. Won 3 out of 3 jousts and left as the Champion .
Here is the spot

Thanks! It is sooo fun! XD
slx is offline  
Old 03 February 2022, 22:21   #11
malko
Ex nihilo nihil
 
malko's Avatar
 
Join Date: Oct 2017
Location: CH
Posts: 4,886
^ Glad you like it
malko is offline  
Old 04 February 2022, 10:02   #12
slx
Registered User
 
slx's Avatar
 
Join Date: Jan 2018
Location: Hungary / Pécs
Posts: 37
Thank you all for your answers!
This was my last hope to get infinite health cheat for this game...
Bests!
slx is offline  
Old 05 February 2022, 08:46   #13
RichL
Registered User
 
Join Date: Jul 2020
Location: Birmingham, UK
Age: 50
Posts: 212
No one remember holding down K on the keyboard while the second disk loaded gave you 1024 knights?

Guess if you do it via WinUAE with a single disk drive set up, you’ll be able to do this.
RichL is offline  
Old 13 February 2022, 16:44   #14
Nightshft
Registered User
 
Nightshft's Avatar
 
Join Date: Mar 2018
Location: Austria
Posts: 617
Quote:
Originally Posted by slx View Post
Thank you all for your answers!
This was my last hope to get infinite health cheat for this game...
Bests!
Fencing in DOTC is really something special because you don't get any feedback if you've hit your enemy or he hit you. It's just that one of you two goes down at some point. Which makes it really hard to learn how to do better the next time. Something I really don't like in games, although DOTC is great. But just imagine, how much better the fencing minigame would have been when they'd added health bars (or heart symbols) at the top of the screen.

However, I took a closer look and tried to find the variables in memory. The actual values unknown it was a bit more effort and I had to use deep trainer methods to advance.

Okay, how does it work:

Method 1 - get stronger
-----------------------

When you chose Wilfred of Ivanhoe as your character:

at the start of the fencing scene, when you've not got hit
search for 3 words of "00 0c" in memory

Code:
f 00 0c 00 0c 00 0c
and when the cartridge finds it, just view the memory with "m"

Code:
015C76

m 015C76
:015C76 00 0c 00 0c 00 0c 00 18 00 18 00 18
            ^HP
The first 3 word values correspond to the HP of you 3 noble fighters and the next 3 word values to the health of the 3 mean enemies.
Underlined green and red in the attached screenshot.

What you want to do is increase your health by setting the first 0c to
a higher number. You can also set the first "18" to f.e. "01" and your enemy will go down on the first hit.

Note that you will have to repeat this at every fencing scene and in every room.

The 4 selectable main characters got quite different health stats - which are the values you have to search for:

Wilfred of Ivanhoe: 00 0c
(average at fencing)

Cedric of Rotherwood: 00 06 (!)
is shown with "average" at the selection screen, but then "poor" when the game begins.
Is he the first clickbait in computing history? (Joke)

Geoffrey Longsword: 00 12
(strong at fencing)

Wolfric the Wild: 00 0a
(average at fencing. Interestingly he is weaker than Wilfred)

So when you chose Geoffrey, just search for:

Code:
f 00 12 00 12 00 12
Note that using this method you can also revisit the memory area and find out which fencing techniques actually work well and which don't. For example I gave the enemy in the second room a HP of 1, but I couln't defeat him while fencing on the stairs. So I think you can really hit him only while standing above or maybe below the stairs.

Hope that helps.

I will also show an advanced method to get infinite health in fencing in my next post.
Attached Thumbnails
Click image for larger version

Name:	dotc hp values.JPG
Views:	78
Size:	23.6 KB
ID:	74704  

Last edited by Nightshft; 13 February 2022 at 17:35. Reason: typo
Nightshft is offline  
Old 13 February 2022, 17:33   #15
Nightshft
Registered User
 
Nightshft's Avatar
 
Join Date: Mar 2018
Location: Austria
Posts: 617
Method 2 - get invincible
------------------------

I dug deeper and searched for the routine that modifies the HP words. It took me a little time but it finally worked out.

You can find it with

Code:
f 4d ec 8e 50 53 76
which should be a quite unique signature and only be found once in memory (it was in all of my tries).

You will find the routine that subtracts HP from your fighters. See attachment.
Again with "m" you can view the memory there.
Code:
f 4d ec 8e 50 53 76
Search...
C14822
Ready.

m c14822
:C14822 4D EC 8E 50 53 76 38 00 34 36 38 00 48 C2 B4 BC
                     ^ here
Now you can patch it:
Skip the first 4 bytes, which means we work on the bytes: 53 76 38 00
This is the subq.l command

Overwrite it with: 4e 71 4e 71

which are two NOP commands.

Done.

Now when you get hit no HP are subtracted anymore, so you got invincible in sword-fighting.

Hope this takes the fright out of fencing in DOTC.
Enjoy!


PS:
You can set a breakpoint there. It gets triggered each time you get hit. And when you look at register A6 it will point exactly to the health vars be took a look at with the first method.
Attached Thumbnails
Click image for larger version

Name:	routine and bc2.JPG
Views:	101
Size:	106.1 KB
ID:	74705  

Last edited by Nightshft; 13 February 2022 at 21:15. Reason: typo
Nightshft is offline  
Old 07 March 2022, 05:19   #16
slx
Registered User
 
slx's Avatar
 
Join Date: Jan 2018
Location: Hungary / Pécs
Posts: 37
Thank you very much for your work!!!
slx is offline  
Old 07 March 2022, 10:10   #17
slx
Registered User
 
slx's Avatar
 
Join Date: Jan 2018
Location: Hungary / Pécs
Posts: 37
Wolfric the Wild's health is at C1571A
Cedric of Rotherwood's health is at C15772
Geoffrey Longsword's health is at C13A3A
slx is offline  
Old 07 March 2022, 22:31   #18
Nightshft
Registered User
 
Nightshft's Avatar
 
Join Date: Mar 2018
Location: Austria
Posts: 617
Like jotd already said the actual location of such variables depends on things like boot sequence, memory layout, which version of the game and so on.

Glad I could help.

If you want to tell... which version of DOTC do you run and what is your config? (A500 +512k expansion?)
Nightshft is offline  
Old 08 March 2022, 04:35   #19
stevsurv
Beta 1.666
 
stevsurv's Avatar
 
Join Date: Jun 2007
Location: in 1985
Posts: 384
Quote:
Originally Posted by RichL View Post
No one remember holding down K on the keyboard while the second disk loaded gave you 1024 knights?

Guess if you do it via WinUAE with a single disk drive set up, you’ll be able to do this.

This works with 2 drives as well. Tested. It only works with the 'Mirrorsoft' version and not the 'Cinemaware' version.


Hold down 'K' key when you see the Defender of the Crown screen and keep holding down even when selecting either of the 4 characters. Continue holding untill game loads. Check in the Seek Conquest - Build your Campaign Army screen you will have 1024 knights in both your 'Home Army' and 'Campaign Army'.


Game works in both PAL and NTSC.


These 2 zoned game files work perfectly -


Defender of the Crown (1986)(Mirrorsoft)(Disk 1 of 2)[cr].zip
Defender of the Crown (1986)(Mirrorsoft)(Disk 2 of 2).zip


enjoy!
Attached Thumbnails
Click image for larger version

Name:	DotC-load-PAL.png
Views:	57
Size:	139.7 KB
ID:	75007   Click image for larger version

Name:	DotC-main-PAL.png
Views:	58
Size:	42.9 KB
ID:	75008   Click image for larger version

Name:	DotC-load-NTSC.png
Views:	48
Size:	119.5 KB
ID:	75009   Click image for larger version

Name:	DotC-main-NTSC.png
Views:	58
Size:	49.2 KB
ID:	75010  
stevsurv is offline  
Old 08 March 2022, 06:08   #20
slx
Registered User
 
slx's Avatar
 
Join Date: Jan 2018
Location: Hungary / Pécs
Posts: 37
I used the
Defender of the Crown (1986)(Mindscape)[h New Stars]
but Nightshft hacks worked on the
Defender of the Crown (1986)(Mindscape)[h Thor - Odin - Thyrra]
version, too.
I used A500 with 1.3 ROM, OCS, 512 KB Chip + 512 KB Slow RAM config.

„...I gave the enemy in the second room a HP of 1, but I couln't defeat him while fencing on the stairs. So I think you can really hit him only while standing above or maybe below the stairs.
I notice this in all versions of this game. There is no animation for die on the stairs. It not happens in the C64 version neither!
In the C64 version the enemy had no HP left while we fought on the stairs and I started to go down the stairs and enemy AI followed my hero and the AI did not attacked my hero but the AI did not die either. So, I used the defense stand and pushed the AI to the upstairs and the enemy AI died when reached the upper floor... I was not even close to the AI and I did not swing with my sword at all.
I remember when I was a kid I played with the C64 version and ate Ritter Sports... I did not even know then what does this Ritter world means.
Then I got an AMIGA and I played the AMIGA version of the DotC and I was completely disappointed! I thought the AMIGA version will be superior to the C64 in every aspects! But NO! Sadly, this AMIGA game lacks of development because of the release of the AMIGA 1000... Sad but a lot of cool program had the same fate... like the UFO: Enemy Unknown (XCOM1) because the MicroProse forced to release this game when it lacked a lot of things... but this is another story.
slx is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Defender of the Crown 2 Gzegzolka support.Games 2 22 April 2014 15:27
Defender of the Crown Zeewolf Nostalgia & memories 29 18 December 2012 04:38
Defender Of The Crown 2 Retro1234 support.Games 1 16 May 2009 20:05
Defender of the Crown? cdoty project.Sprites 6 10 September 2006 14:52
Defender of the Crown june support.Games 11 19 October 2002 19:39

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 Off

Forum Jump


All times are GMT +2. The time now is 04:58.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.10954 seconds with 14 queries