20 March 2018, 22:37 | #21 |
Banned
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
|
Ok, I've now put the following in The Zone! also: ViroCopAGA_ORG.lha
Obviously this was installed using the .IPFs; went through the same procedure as detailed in post #11... Extract to wherever you like As an example; I just used a clean "Classic WB Lite 3.1" .HDF, extracted the archive to a folder "_EAB_", then tested. All good!!! |
20 March 2018, 22:39 | #22 |
Registered User
Join Date: Aug 2014
Location: Brindisi (Italy)
Age: 70
Posts: 8,252
|
Damiano, when you play the game from HD you also have the floppy inserted?
|
20 March 2018, 22:39 | #23 |
Banned
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
|
|
20 March 2018, 22:42 | #24 | |
Banned
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
|
Quote:
Also, this version works fine here without anything being changed Has anyone actually tried the 2 x .LHAs I created as yet? a) ViroCopAGA.lha b) ViroCopAGA_ORG.lha Both work perfectly, tested numerous times |
|
20 March 2018, 22:50 | #25 |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
|
I am referring to the file loader in the game binary! Which is buggy and DOES need to be changed as it doesn't call Open()( with the correct parameters and hence the file will not be loaded which in turn will cause the "Insert Disk 1" screen to be displayed. That it works for you is pure coincidence as d2.l apparently is cleared on your system for whatever reason.
|
20 March 2018, 22:57 | #26 | |
Banned
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
|
Quote:
I do find it really weird though that I've installed both the Hoodlum cracked / trained and the original .IPFs versions now; not once have I had the issues anyone else has described. I even blew away my .HDF and extracted both from the .LHAs many times to totally different / random folders; still no issues when running. Nothing special about my "Classic WB Lite 3.1" .HDF; it's a clean / just installed file |
|
20 March 2018, 22:59 | #27 | |
Registered User
Join Date: Aug 2004
Location: 19 Jump Street
Posts: 238
|
Quote:
Unpacked to root of DH1: (thus DH1:ViroCop/ is now in there) and ran. It asks for VIROCOP: (Ignore graphical corruption - Probably a bad WinUAE config) |
|
20 March 2018, 23:00 | #28 |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
|
It's not weird at all. Code is buggy and works by pure luck as long as the upper part of register d2 is cleared. If that is not the case the file loading will not work at all.
|
20 March 2018, 23:00 | #29 | |
Banned
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
|
Quote:
...I really can't explain that; again my testing platform is a "Classic WB Lite 3.1" .HDF that's clean and just been installed. |
|
20 March 2018, 23:02 | #30 |
Registered User
Join Date: Aug 2004
Location: 19 Jump Street
Posts: 238
|
|
20 March 2018, 23:03 | #31 |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
|
|
21 March 2018, 00:54 | #32 |
Registered User
Join Date: Nov 2014
Location: Italy
Posts: 2,369
|
ok, i'll wait you fix.
|
21 March 2018, 08:22 | #33 |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
|
I have coded a fix, start "ViroCopPatch" before running the game (add it to the script which runs the game). It will fix the "Insert Disk 1" problem.
Code:
; ViroCop Patch ; ; patches Open() (dos.library) to accept accessMode as .w parameter ; this fixes the "Insert Disk 1" problem START move.l $4.w,a6 moveq #0,d0 ; any version will do lea DOSName(pc),a1 jsr -408(a6) ; OpenLibrary() move.l d0,a1 tst.l d0 beq.b .out ; patch Open() lea -30.w,a0 ; Open() pea NewOpen(pc) move.l (a7)+,d0 jsr -420(a6) ; SetFunction() lea OldOpen(pc),a0 move.l d0,(a0) .out rts NewOpen swap d2 clr.w d2 swap d2 move.l OldOpen(pc),-(a7) rts dc.b "$VER: Virocop patch 1.0 (21.03.2018) by StingRay/[S]carab^Scoopex",10,0 CNOP 0,2 DOSName dc.b "dos.library",0 CNOP 0,2 OldOpen dc.l 0 |
21 March 2018, 08:44 | #34 |
Ex nihilo nihil
Join Date: Oct 2017
Location: CH
Posts: 4,889
|
Thank you StingRay. I put it in my school-bag for a future reference
|
21 March 2018, 12:09 | #35 |
Registered User
Join Date: Nov 2014
Location: Italy
Posts: 2,369
|
very thanks
|
21 March 2018, 12:10 | #36 |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
|
You're welcome.
|
21 March 2018, 12:23 | #37 |
Registered User
Join Date: Nov 2014
Location: Italy
Posts: 2,369
|
but don't work.
when i launch the patch i have this error: ViroCopPatch.68k failed returncode 363410 (but this number changes) |
21 March 2018, 12:25 | #38 |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,476
|
I can bet that coder used
move #MODE_OLDFILE,d2syntax. So you can expect some other .w/.l bugs.. But a simple ext.l can fix it |
21 March 2018, 12:26 | #39 | |
move.l #$c0ff33,throat
Join Date: Dec 2005
Location: Berlin/Joymoney
Posts: 6,863
|
Quote:
Edit: well, wasting 10 seconds was worth it I guess. Patch now returns an error code if it wasn't installed, otherwise it's silent. See my comment on page 1 of this thread. Interestingly enough in the "SaveFile" routine the correct move.l #MODE_NEWFILE,d2 is used. There are many ways to fix this but I deliberately didn't use ext.l just in case coder felt like using the sign bit in some Open() routine! Last edited by StingRay; 21 March 2018 at 12:32. |
|
21 March 2018, 12:59 | #40 | |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,476
|
Quote:
Bugs squared |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Virocop AGA WHDLoad | Anakirob | support.Games | 22 | 19 March 2015 13:04 |
Worms DC AGA HD install | Vollldo | support.Games | 7 | 18 March 2011 17:43 |
Error trying to install civ aga to HD | dug26 | support.WinUAE | 2 | 07 June 2010 16:28 |
Mounting Native PC(formatted) harddisk as a Harddisk for WinUAE/E-UAE | Zetr0 | support.Hardware | 10 | 01 June 2006 14:04 |
Ripping - Virocop AGA | maVado | project.Sprites | 2 | 01 August 2005 21:42 |
|
|