Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: starf81 on July 10, 2007, 02:10:57 PM

Title: WHDLoad problem
Post by: starf81 on July 10, 2007, 02:10:57 PM
Hello,

my A3000 (see the sign for the configuration) works like a charm. This happened up to yersteday when WHDLoad - one of my favourite utility - has stopped working.
I explain the issue: after the spash screen, games seems start as usual but after a few seconds they freeze or a blank screen is showed or music is played but there is no graphic on the screen. Pressing the right "exit key" for the game I'm trying to start, the WB screen comes back without any problem.

It is driving me crazy... I can't believe... :boohoo:

Any ideas?

Thank you in advance
Alex
Title: Re: WHDLoad problem
Post by: motorollin on July 10, 2007, 02:17:02 PM
Make sure your TCP/IP stack isn't running at the same time as WHDLoad. If you have run it, reboot then launch the game.

--
moto
Title: Re: WHDLoad problem
Post by: starf81 on July 10, 2007, 02:22:44 PM
I knew this issue... my stack is not running.
It happens also just after the boot  :-(

Since I've recently installed various WB enhancer, do you know if there are other utilities and/or appz that could create conflicts with WHDLoad?
Title: Re: WHDLoad problem
Post by: motorollin on July 10, 2007, 02:27:06 PM
Maybe. Try moving all your items out of WBStartup and commenting any patches out of startup-sequence and user-startup and see if the problem goes away. If it does, then re-add things one at a time and re-test after each one.

--
moto
Title: Re: WHDLoad problem
Post by: starf81 on July 10, 2007, 02:37:50 PM
Good idea!
I'm going to try... after tests, I'll let you know!
Title: Re: WHDLoad problem
Post by: starf81 on July 10, 2007, 03:32:17 PM
I've tried to restore old folders (S, C, Libs, Fonts) and files (startup-sequence and user-startup) from a backup I made some days ago. I've also de-activaed files in WBStartup but... WHDLoad doesn't work  :boohoo:  :boohoo:  :boohoo:
Title: Re: WHDLoad problem
Post by: motorollin on July 10, 2007, 03:35:01 PM
Did you try disabling the items in your WBStartup drawer?

--
moto
Title: Re: WHDLoad problem
Post by: starf81 on July 10, 2007, 03:41:24 PM
Yes, I did...
Title: Re: WHDLoad problem
Post by: motorollin on July 10, 2007, 03:42:51 PM
Ok, try this. Boot with no startup-sequence, CD to the directory containing a WHDLoad game, and then type ¨C:WHDLoad gamename.slave¨ where gamename.slave is the slave file for the game you want to play. Does that work ok?

--
moto
Title: Re: WHDLoad problem
Post by: starf81 on July 10, 2007, 03:49:03 PM
Yes... it works.

So... WHDLoad is ok but there is something that creates conflicts with it.
Title: Re: WHDLoad problem
Post by: motorollin on July 10, 2007, 03:51:53 PM
Precisely. So you need to disable everything in your WBStartup drawer, any hacks/patches in startup-sequence and user-startup. Then boot Workbench and see if WHDLoad works. Then re-enable things one at a time to find out what breaks WHDLoad.

--
moto
Title: Re: WHDLoad problem
Post by: starf81 on July 10, 2007, 03:57:58 PM
I've completely disabled WBStartup folder and user-startup.
Nothing has changed... now I'm going to put again my hands on Startup-Sequence...
Title: Re: WHDLoad problem
Post by: motorollin on July 10, 2007, 04:01:39 PM
Remember only comment lines out by putting a ; at the beginning of the line, so you can replace whatever you remove.

--
moto
Title: Re: WHDLoad problem
Post by: starf81 on July 10, 2007, 04:17:08 PM
Yes, it is what I was doing... :-)

I've tried to disable some lines without success.
Here is my startup-sequence. I put an "*" at the beginning of lines I've disabled.

I'd be grateful if you could take a look... which are lines you'd try to disable?

; $VER: Startup-Sequence_HardDrive 45.2 (19.1.2001)
; Startup-Sequence for AmigaOS 3.9

If EXISTS C:SquirrelSCSI
    C:SquirrelSCSI
EndIf

Set SCSIUpdate 1
If EXISTS C:IDEFix
    C:IDEFix
    Set SCSIUpdate 0
EndIf
If EXISTS SYS:Expansion/XSurfIDE
    Set SCSIUpdate 0
EndIf
If EXISTS SYS:Prefs/Env-Archive/NOSCSIUPDATE
    Set SCSIUpdate 0
EndIf

*C:morelibspace

If $SCSIUpdate EQ 1
    SetPatch QUIET
Else
    SetPatch SKIPROMUPDATES "scsi.device" QUIET
EndIf
Unset SCSIUpdate

C:Version >NIL:
C:AddBuffers >NIL: DF0: 15
FailAt 21

C:MakeDir RAM:T RAM:Clipboards RAM:ENV RAM:ENV/Sys
C:Copy >NIL: ENVARC: RAM:ENV ALL NOREQ

Resident >NIL: C:Assign PURE
Resident >NIL: C:Execute PURE

Assign >NIL: ENV: RAM:ENV
Assign >NIL: T: RAM:T
Assign >NIL: CLIPS: RAM:Clipboards
Assign >NIL: REXX: S:
Assign >NIL: PRINTERS: DEVS:Printers
Assign >NIL: KEYMAPS: DEVS:Keymaps
Assign >NIL: LOCALE: SYS:Locale
Assign >NIL: LIBS: SYS:Classes ADD
Assign >NIL: HELP: LOCALE:Help DEFER

BindDrivers
*C:Mount >NIL: DEVS:DOSDrivers/~(#?.info)

C:LoadMonDrvs

SetEnv Language "english"
SetEnv Workbench $Workbench
SetEnv Kickstart $Kickstart
UnSet Workbench
UnSet Kickstart

C:AddDataTypes REFRESH QUIET
*C:AFA_OS_loader
*Run > NIL: "System:Sys/VisualPrefs/VisualPrefs"
*C:IPrefs
*C:ConClip

Path >NIL: RAM: C: SYS:Utilities SYS:Rexxc SYS:System S: SYS:Prefs SYS:WBStartup SYS:Tools SYS:Tools/Commodities

SYS:System/REXXMast >NIL:

IF EXISTS S:User-Startup
  Execute S:User-Startup
EndIF

Resident Execute REMOVE
Resident Assign REMOVE

C:LoadWB
EndCLI >NIL:
Title: Re: WHDLoad problem
Post by: motorollin on July 10, 2007, 04:27:20 PM
Looks like a very standard startup-sequence. Just to confirm, you have disabled user-startup and WBStartup with this ammended startup-sequence?

It might be worth booting with no startup-sequence and just running setpatch, let setpatch reboot the machine, boot with no s-s, run setpatch again, then once again launch the WHDLoad game from the CLI window. This will test whether Setpatch is causing problems with WHDLoad (can't see why, but it doesn't hurt to rule it out).

Finally, are you certain that the libraries for your accelerator are installed correctly?

--
moto
Title: Re: WHDLoad problem
Post by: girv73 on July 10, 2007, 04:38:00 PM

I'll hazard a guess that you're getting an interrupt from some of your add-on hardware and it's causing confusion - this happens quite a lot on Mediator equipped A1200s, for example.

Booting without startup-sequence is perhaps not initialising the hardware (eg: gfx card?), so you're not getting the interrupts, so WHDLoad works alright. No idea why it would suddenly start going like this though. Does it happen for all games or just a few ?

Unfortunately, if this is the problem, there's no workaround that I know of :(
Title: Re: WHDLoad problem
Post by: starf81 on July 10, 2007, 04:42:51 PM
Quote

motorollin wrote:
Looks like a very standard startup-sequence. Just to confirm, you have disabled user-startup and WBStartup with this ammended startup-sequence?


Yes... I've renamed WBStartup and user-startup so the system has booted without loading them.

Quote

It might be worth booting with no startup-sequence and just running setpatch, let setpatch reboot the machine, boot with no s-s, run setpatch again, then once again launch the WHDLoad game from the CLI window. This will test whether Setpatch is causing problems with WHDLoad (can't see why, but it doesn't hurt to rule it out).


It works perfectly!

Quote

Finally, are you certain that the libraries for your accelerator are installed correctly?


Just to avoid doubts, I've replaced cpu libs with the ones in the CyberStorm floppy but WHDLoad does not work :-(
Title: Re: WHDLoad problem
Post by: starf81 on July 10, 2007, 04:47:57 PM
Quote

girv73 wrote:

I'll hazard a guess that you're getting an interrupt from some of your add-on hardware and it's causing confusion - this happens quite a lot on Mediator equipped A1200s, for example.

Booting without startup-sequence is perhaps not initialising the hardware (eg: gfx card?), so you're not getting the interrupts, so WHDLoad works alright. No idea why it would suddenly start going like this though. Does it happen for all games or just a few ?

Unfortunately, if this is the problem, there's no workaround that I know of :(


It is plausible but I can't understand why it has happened so suddenly.

All games don't work but each one shows a different behaviour. As I said, some go to a blank screen, others freezes, other play music but don't show graphic.

I'm really going crazy... but I want say you that I really appreciate your help!
Amiga community is so so great!!!
Title: Re: WHDLoad problem
Post by: Flashlab on July 10, 2007, 04:57:18 PM
I've had this exact same problem too when I installed some system enhancers too.

In the end I had to use my backup to restore the system. I never found out what it was. it was one of the utils mentioned in the OS3.9 enhancements topic (Amber RAM maybe?).

I guess some of the utils patches a library or some other system file because commenting out startup-sequence items or disableing WBStartUp didn't work for me either...
Title: Re: WHDLoad problem
Post by: starf81 on July 10, 2007, 06:24:31 PM
Quote

Flashlab wrote:
I've had this exact same problem too when I installed some system enhancers too.

In the end I had to use my backup to restore the system. I never found out what it was. it was one of the utils mentioned in the OS3.9 enhancements topic (Amber RAM maybe?).

I guess some of the utils patches a library or some other system file because commenting out startup-sequence items or disableing WBStartUp didn't work for me either...


So... utilities could corrupt libs.
I think it is the only solution for this trouble.

I try to restore libs with the ones of a fresh installation and... I'll let you know if I solve!

Thank you again!
Alex
Title: Re: WHDLoad problem
Post by: TiredOLife on July 10, 2007, 06:33:10 PM
Are you using P96?
Title: Re: WHDLoad problem
Post by: starf81 on July 10, 2007, 06:36:49 PM
Yes.
Title: Re: WHDLoad problem
Post by: TiredOLife on July 10, 2007, 06:39:28 PM
In the prefs, there is an option Keep Amiga Video.
I have this set to 15khz.
I can then play whd games using a TV.
Does that help?
Title: Re: WHDLoad problem
Post by: starf81 on July 10, 2007, 06:59:14 PM
Quote

TiredOLife wrote:
In the prefs, there is an option Keep Amiga Video.
I have this set to 15khz.


I can't find this feature.
Where is located?
Title: Re: WHDLoad problem
Post by: TiredOLife on July 10, 2007, 07:09:29 PM
In Sys:Prefs.
It's called PVS.
Title: Re: WHDLoad problem
Post by: starf81 on July 10, 2007, 07:31:29 PM
Ok, thank you... but it was already set on 15khz.
Title: Re: WHDLoad problem
Post by: starf81 on July 10, 2007, 09:43:32 PM
I've restored a backup of some days ago.
It is the same backup from which I've recovered folders during my tests... well, now WHDLoad works.
I've tried to recover folders from my latest WB (the one that doesn't work). I've copied C, S, Prefs, WBStartup and WHDLoad still works!

So... now it's ok, I'd have discovered what was the matter but I had no success.

I'm going to backup again my sys partition...
Title: Re: WHDLoad problem
Post by: starf81 on July 10, 2007, 09:57:32 PM
Another news: after restoring sys partition as described in my previous post, everything worked well.
After I've launched MiamiDX but it coudn't go online (it happens sometimes, I've to reboot and try again 3-4 times). So, I've rebooted and WHDLoad doesn't work again!
I can't understand why the stack creates conflicts also after rebooting. WHDLoad has been the first app I've launched.

What has done MiamiDX???
Title: Re: WHDLoad problem
Post by: starf81 on July 10, 2007, 10:05:43 PM
Another news again... this is THE DEFINITIVE one!!!

I've discovered the cause: the Ethernet cable!

It is an absurd story.
If the is connected, WHDLoad will not work.
If the cable is NOT connected, WHDLoad will works perfectly.

Does anyone get similar behaviours?

I know that stack TCP/IP could create conflicts with WHDLoad but I can't understand why it crashes also if I don't start MiamiDX. Just a connected Ethernet cable can hang up the program??
Title: Re: WHDLoad problem
Post by: motorollin on July 10, 2007, 10:22:04 PM
Quote
starf81 wrote:
I can't understand why the stack creates conflicts also after rebooting. WHDLoad has been the first app I've launched.

The first time you run Miami it initializes the network card. The card is maybe still active and creating hardware interrupts after a warm reboot.

--
moto
Title: Re: WHDLoad problem
Post by: TiredOLife on July 10, 2007, 10:40:01 PM
Will try that now and see of I can recreate the problem.
Title: Re: WHDLoad problem
Post by: TiredOLife on July 10, 2007, 10:50:49 PM
Beast2 works under whd even when MiamiDX is online for me.
Title: Re: WHDLoad problem
Post by: Matt_H on July 10, 2007, 11:25:08 PM
It's not just network cards that cause problems. I need to take Poseidon offline as well... Though I don't need to turn off Miami now that I've switched to a USB ethernet dongle.

Do you use Envoy? That needs to be offline as well.
Title: Re: WHDLoad problem
Post by: guru-666 on July 10, 2007, 11:44:55 PM
does this happen with genisis/amitcp?  
Title: Re: WHDLoad problem
Post by: Chain on July 10, 2007, 11:57:40 PM
Quote

guru-666 wrote:
does this happen with genisis/amitcp?  

yup  :cry: