![]() |
![]() |
#21 | |
Registered User
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
|
Quote:
he should try to create an extended adf - like dlfrsilver is doing all the time - so we can share this dump and are not restricted by CrAPS guidelines. Last edited by emufan; 26 January 2014 at 23:40. |
|
![]() |
![]() |
#22 |
old bearded fool
![]() Join Date: Jan 2010
Location: Bangkok
Age: 55
Posts: 698
|
Thanks! I tested the "Build Fort" entry via cheat, you need roughly 5000 gold to afford a fort. The game lets you pick a general and place it on the war map.
|
![]() |
![]() |
#23 |
Join Date: Jul 2008
Location: Sweden
Posts: 2,268
|
Thanks. It's a pretty interesting game with interesting graphics design. This series of games are probably the only Amiga games ever made in Japan, and the whole of East Asia. At least I've never seen any other Amiga games from there, so they stand out in this way, too.
|
![]() |
![]() |
#24 |
Registered User
Join Date: Jun 2012
Location: mt meru / hyberborea
Posts: 33
|
thanks, modrobert - works very well so far. i tested a couple of hours and everything seems alright. will let you know if some issue arises.
btw, maybe we should document the bugfix here, so other ppl using the bad floppies can fix it with a hexeditor (just in case the fixed files disappear from the web again). iirc the problem was that the value 0x16 is written into the d0 register instead of 0x15, right ? what's the exact byte sequence one has to look for ? |
![]() |
![]() |
#25 |
old bearded fool
![]() Join Date: Jan 2010
Location: Bangkok
Age: 55
Posts: 698
|
On the first disk 'ROMIIA' the file to patch is: data_a/rom2
Look for: Code:
BF EC 5F 3C 65 00 05 38 70 00 Code:
70 16 BE 80 66 04 70 15 60 04 For those who are interested, here's the assembly with some comments. Original (with "Build Fort" bug): Code:
cmpa.l $5F3C(a4),a7 bcs $80CB16A ;this will never happen, c compiler bloat? moveq #0,d0 move.b $B(a5),d0 ;d0 will be #$16 when bug occurs after selecting "build fort" asl.l #2,d0 ;now d0 is #$58 with bug lea -$17B4(a4),a0 ;get jump table offset start movea.l 0(a0,d0.l),a0 ;bad a0 now points to string data instead of correct jump vector (which is -4) jsr (a0) ;the instruction causing "address error" when a0 points to memory with odd address unlk a5 ;a lot of this shit going on in almost every subroutine, C or Pascal? rts Code:
moveq #$16,d0 ;bug command for "build fort" cmp.l d0,d7 ;check if "bad fort", register d7 includes current menu command from previous check bne.s foo1 ;if other command, lets skip this moveq #$15,d0 ;d0 was bad #$16, lets move #$15 there instead bra.s foo2 ;end patch, byte count match foo1 move.b $B(a5),d0 foo2 asl.l #2,d0 ;after patch, d0 will be #$54 when "build fort" was selected lea -$17B4(a4),a0 ;get jump table offset start movea.l 0(a0,d0.l),a0 ;a0 now points to the correct jump vector for "build fort" jsr (a0) unlk a5 rts ![]() Last edited by modrobert; 28 January 2014 at 17:04. |
![]() |
![]() |
#26 |
Registered User
Join Date: Jun 2012
Location: mt meru / hyberborea
Posts: 33
|
that's really cool. thanks!
|
![]() |
![]() |
#27 |
Registered User
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
|
|
![]() |
![]() |
#28 |
Registered User
![]() Join Date: Sep 2018
Location: Falun
Posts: 36
|
Hi does anyone know where to find this patched file?
|
![]() |
![]() |
#29 |
CaptainM68K-SPS France
|
I have access to an original dump of ROTK II
|
![]() |
![]() |
#30 |
Registered User
![]() Join Date: Sep 2018
Location: Falun
Posts: 36
|
Would you please share?
Last edited by jedvard; 17 September 2018 at 12:14. |
![]() |
![]() |
#31 |
CaptainM68K-SPS France
|
yes but not yet, i'm at work.
|
![]() |
![]() |
#33 |
Registered User
![]() Join Date: Sep 2018
Location: Falun
Posts: 36
|
Thanx alot in advance!
|
![]() |
![]() |
#36 |
Banned
Join Date: Aug 2005
Location: London / Sydney
Age: 46
Posts: 20,421
|
Silly me; it's "Disk 1" that needs patching
![]() Take a look in The Zone!, I've put an archive named "Romance of the Three Kingdoms II (1991)(KOEI)[f AGA BSC][f Build Fort modrobert][h Aeon].zip" which contains: ... Romance of the Three Kingdoms II (1991)(KOEI)(Disk 1 of 2)[f AGA BSC][f Build Fort modrobert][h Aeon].adf ... Romance of the Three Kingdoms II (1991)(KOEI)(Disk 2 of 2)[f AGA BSC][h Aeon].adf Please test and report back. |
![]() |
![]() |
#37 |
Registered User
![]() Join Date: Sep 2018
Location: Falun
Posts: 36
|
Vow really amazing thanx for helping me
![]() |
![]() |
![]() |
#38 |
Registered User
![]() Join Date: Sep 2018
Location: Falun
Posts: 36
|
|
![]() |
![]() |
#39 |
CaptainM68K-SPS France
|
Please check the zone
![]() |
![]() |
![]() |
#40 |
Amiga User
![]() Join Date: Sep 2003
Location: Pennsylvania
Age: 46
Posts: 553
|
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kingdoms of England 1 & 2 | Mindrax | Games images which need to be WHDified | 5 | 23 August 2010 01:05 |
Kingdoms of England 1+2 | Fieldday | Games images which need to be WHDified | 0 | 27 September 2009 12:42 |
Kingdoms of england | Widriksen | request.Old Rare Games | 1 | 19 May 2006 17:39 |
Cloud Kingdoms config? | Tim Janssen | support.Games | 2 | 08 July 2003 12:25 |
Cloud Kingdoms please | Konrad | request.Old Rare Games | 4 | 10 May 2002 20:39 |
|
|