WHDLoad MantisBT - WHDLoad
View Issue Details
0002154WHDLoad[All Projects] Generalpublic2009-08-30 22:072009-10-01 22:14
ReporterRichard Menedetter 
Assigned ToWepl 
PrioritynormalSeveritycrashReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version16.9 
Target Version17.0Fixed in Version17.0 
MachineA1200
CPU68EC020
CPUSpeed25
ChipSetAGA
GFXCardNone
ChipMem2 MB
FastMem8 MB
WorkbenchOS 3.1
KickROM39 - Kick 3.0
KickSoftNone
WHDLoad16.9
Summary0002154: DOS-Error #205 when starting the game
DescriptionI get DOS-Error #205 (object nit found)
on reading "Database/data.000"

a few seconds after starting the game.
It is also reproducable on WinUAE with a similar config.
TagsNo tags attached.
related to 0002172closed Wepl Hi, When I load Out Run Europa I get this error. Exception "Illegal 
Attached Fileszip startrek25_whdloadlog.zip (2,335) 2009-09-26 18:09
http://mantis.whdload.de/file_download.php?file_id=41&type=bug
? WHDLoad (78,312) 2009-09-29 22:40
http://mantis.whdload.de/file_download.php?file_id=47&type=bug

Notes
(0001441)
Mailman   
2009-09-19 07:52   
Do you have such file in /data/database/ directory? This is the main file of the game! Check the size of the directory of your game.
(0001442)
Richard Menedetter   
2009-09-19 13:00   
Sure ... otherwise I would not have filed a bug!

My database dir looks like this:
8.255.782 data.000
   31.178 data000.dir
   16.188 data000.run
  110.408 SAMPLES.A
  130.758 SAMPLES.B
   61.472 SAMPLES.C
  118.948 SAMPLES.D
    3.130 SAVEGAME.NEW
    9.436 snd.bin
(0001443)
Mailman   
2009-09-20 09:23   
Check if there is no typo in the name of the "database" directory. Maybe there should or should not be capital letter at the beginning.
(0001444)
Richard Menedetter   
2009-09-20 12:02   
No there is no typo, and my filesystem is case INSENSITIVE!

I have downloaded the game from KillerGorilla.
Simply download yourself and test it.

In my setup, I get this error, even with all the files there, and with their correct names.

Try it, and report back.
http://kg.whdownload.com/kgwhd/
(0001445)
Mailman   
2009-09-20 15:13   
I finished this game using WHDLoad. I downloaded the game as you suggested and it runs perfectly on WinUAE and on classic Amiga. No error appeared.
(0001446)
Wepl   
2009-09-23 22:24   
can please set option FILELOG and paste the resulting .whdl_file here?
(0001447)
Richard Menedetter   
2009-09-26 18:10   
Hi Wepl

Have done so (log is from c:.whdload_filelog
Have also included a snoopdos log

if needed I can also attach full coredump
(0001448)
Wepl   
2009-09-26 20:43   
please paste the trace file contents as text here
(0001449)
ricsi   
2009-09-26 22:10   
snoopdos says:
128 WHDLoad Open StarTrekTiny.font Read OK
129 WHDLoad Open DATABASE/DATA.000 Read OK
130 WHDLoad Open DATABASE/DATA000.DIR Read OK
131 WHDLoad Open DATABASE/DATA000.RUN Read OK
132 WHDLoad Open DATABASE/SAMPLES.A Read OK
133 WHDLoad Open DATABASE/SAMPLES.B Read OK
134 WHDLoad Open DATABASE/SAMPLES.C Read OK
135 WHDLoad Open DATABASE/SAMPLES.D Read OK
136 WHDLoad Open DATABASE/SAVEGAME.NEW Read OK
137 WHDLoad Open DATABASE/SND.BIN Read OK
138 WHDLoad Open startrektiny/8 Read OK
139 WHDLoad ChangeDir PC:Games/StarTrek25thAnnivA
140 WHDLoad Open PROGDIR:.whdl_filelog Modify OK

whdload filelog:
***** 26-Sep-09 18:04:30 ***** StarTrek25thAnnivAGA.Slave ***** 16.9.4672 *****
[Examine] buf=$875398 type= 0 size=$ 0= 0 rc=205 name=L
[Examine] buf=$875398 type= 2 size=$ 0= 0 rc=0 name=
[Examine] buf=$8754A0 type= 0 size=$ 0= 0 rc=205 name=FONTS
[Examine] buf=$8754A0 type= 2 size=$ 0= 0 rc=0 name=
[Examine] buf=$87EEF0 type= 0 size=$ 0= 0 rc=205 name=DEVS
[Examine] buf=$87EEF0 type= 2 size=$ 0= 0 rc=0 name=
[Examine] buf=$87F028 type= 0 size=$ 0= 0 rc=205 name=LIBS
[Examine] buf=$87F028 type= 2 size=$ 0= 0 rc=0 name=
[Examine] buf=$87F160 type= 0 size=$ 0= 0 rc=205 name=S
[Examine] buf=$87F160 type= 2 size=$ 0= 0 rc=0 name=
[Examine] buf=$880CE0 type= 0 size=$ 0= 0 rc=205 name=C
[Examine] buf=$880CE0 type= 2 size=$ 0= 0 rc=0 name=
[Examine] buf=$880DE8 type= 2 size=$ 0= 0 rc=0 name=
[Examine] buf=$880F38 type= 2 size=$ 0= 0 rc=0 name=
[Examine] buf=$883FC8 type= 0 size=$ 0= 0 rc=205 name=system-configuration
[Examine] buf=$886E30 type= 2 size=$ 0= 0 rc=0 name=
[GetLen] size=$3D800=251904 name=startrek
[ReadDec] crc=C923 dest=$ 895988 size=$3D800=251904 packed=251904 name=startrek
[Examine] buf=$8959B0 type=-3 size=$3D800=251904 rc=0 name=startrek
[ReadOff] crc=DF90 dest=$ 895EA0 size=$ 1000= 4096 name=startrek offset=$ 0
[ReadOff] crc=6A04 dest=$ 897E80 size=$2FEF4=196340 name=startrek offset=$ 1000
[ReadOff] crc=82FB dest=$ 895EA0 size=$ 1000= 4096 name=startrek offset=$30EF4
[ReadOff] crc=3EAE dest=$ 895EA0 size=$ 1000= 4096 name=startrek offset=$31EF4
[ReadOff] crc=9A6C dest=$ 895EA0 size=$ 1000= 4096 name=startrek offset=$32EF4
[ReadOff] crc=8DA1 dest=$ 895EA0 size=$ 1000= 4096 name=startrek offset=$33EF4
[ReadOff] crc=BFEE dest=$ 895EA0 size=$ 1000= 4096 name=startrek offset=$34EF4
[ReadOff] crc=7741 dest=$ 895EA0 size=$ 1000= 4096 name=startrek offset=$35EF4
[ReadOff] crc=0CEA dest=$ 895EA0 size=$ 1000= 4096 name=startrek offset=$36EF4
[ReadOff] crc=5265 dest=$ 895EA0 size=$ 1000= 4096 name=startrek offset=$37EF4
[ReadOff] crc=FAAC dest=$ 895EA0 size=$ 1000= 4096 name=startrek offset=$38EF4
[ReadOff] crc=77A5 dest=$ 895EA0 size=$ 1000= 4096 name=startrek offset=$39EF4
[ReadOff] crc=7AD6 dest=$ 8C8560 size=$ 265C= 9820 name=startrek offset=$3AEF4
[ReadOff] crc=0D20 dest=$ 895AA0 size=$ 2B0= 688 name=startrek offset=$3D550
[Examine] buf=$896A50 type=-3 size=$ 1364= 4964 rc=0 name=diskfont.library
[ReadOff] crc=71D8 dest=$ 8D63C8 size=$ 1000= 4096 name=diskfont.library offset=$ 0
[ReadOff] crc=3245 dest=$ 8D63C8 size=$ 364= 868 name=diskfont.library offset=$ 1000
[Examine] buf=$8D5FE0 type= 2 size=$ 0= 0 rc=0 name=
[Examine] buf=$8D60E8 type=-3 size=$ 108= 264 rc=0 name=StarTrekTiny.font
[Examine] buf=$8D61F0 type=-3 size=$ 108= 264 rc=0 name=StarTrekTiny.font
[ReadOff] crc=4C00 dest=$ 8D62E0 size=$ 108= 264 name=StarTrekTiny.font offset=$ 0
[Examine] buf=$8D8070 type= 2 size=$ 0= 0 rc=0 name=
[Examine] buf=$8D8178 type=-3 size=$ CF4= 3316 rc=0 name=StarTrekTiny/8
[ReadOff] crc=12D0 dest=$ 8D8668 size=$ CF4= 3316 name=StarTrekTiny/8 offset=$ 0
[Examine] buf=$8D5FE0 type=-3 size=$ 79CA= 31178 rc=0 name=Database/data000.dir
[ReadOff] crc=13E0 dest=$ 8DA344 size=$ 79CA= 31178 name=Database/data000.dir offset=$ 0
[Examine] buf=$8D5FE0 type=-3 size=$ 3F3C= 16188 rc=0 name=Database/data000.run
[ReadOff] crc=98F0 dest=$ 8E1D3C size=$ 3F3C= 16188 name=Database/data000.run offset=$ 0
[Examine] buf=$8D5FE0 type=-3 size=$7DF926=8255782 rc=0 name=Database/data.000
[ReadOff] crc=AFF8 dest=$ 8D60D0 size=$ 1000= 4096 name=Database/data.000 offset=$ 0
(0001450)
Wepl   
2009-09-26 23:47   
the file data.000 is found by whdload, but the checksum (last line of filelog) doesn't match the de/en/fr file version I have
I don't understand who throwing the error 205 here, Psygore should investigate this.
but it's still possible that file data.000 is corrupt, do you have directly extracted it on the amiga or somehow copied?
(0001451)
Richard Menedetter   
2009-09-27 10:19   
I downloaded the game from killergorilla, and unzipped it on a PC to a CF card.
(0001452)
Mailman   
2009-09-27 19:13   
Recently on forums I have encountered many questions from users using CF card as media and running WHDLoad games from it. They reported strange behaviours and each time the problem was solved when they copied the game to the hard drive and did not run the game from CF card. Could you try doing the same with your game?
(0001454)
Richard Menedetter   
2009-09-27 20:16   
OK
I copied the ZIP file from Killergorilla onto the CF card.
I unpacked it on the amiga with DOpus to my HDD, and run it from there.

Exactly the same behaviour. (DOS Error 205 for data.000)

Strange that the CRC does not match ... maybe someone could compare the CRC whe they have filelog activated, and post the result here. (the CRC I get can be seen in the message further above)
(0001455)
Mailman   
2009-09-27 20:42   
I also downloaded this archive, unpacked and it works. Maybe this is something with your system? You are using some memory expansion. What is it?

(0001456)
Richard Menedetter   
2009-09-27 20:45   
yes ... this was my premise for the whole bug report.

Either WHDLoad, or the Slave or both have a bug, when used with my config.
(0001457)
Wepl   
2009-09-27 21:51   
I believe that is problem of your system, it seems that whdload can read the file in the first try, but on the second there is a problem. here a snipped from where you can see the next read access:

[Examine] buf=$FC60FE0 type=-3 size=$7DF926=8255782 rc=0 name=Database/data.000
[ReadOff] crc=5935 dest=$FC610D0 size=$ 1000= 4096 name=Database/data.000 offset=$ 0
[ReadOff] crc=8C6F dest=$FC610D0 size=$ 1000= 4096 name=Database/data.000 offset=$622364

there is seek near the end of the file, which has a size of >8 MB
what filesystem do you use?
(0001458)
Richard Menedetter   
2009-09-27 22:09   
Originally on FAT.

Than with SFS and now I also copied to FFS.
Allways the same behaviour.

on FFS (1GB Partition at the beginning of a 8GB CF card with IDE Adapter and NSDPatch)

[Examine] buf=$8D5FE0 type=-3 size=$ 79CA= 31178 rc=0 name=Database/data000.dir
[ReadOff] crc=13E0 dest=$ 8DA344 size=$ 79CA= 31178 name=Database/data000.dir offset=$ 0
[Examine] buf=$8D5FE0 type=-3 size=$ 3F3C= 16188 rc=0 name=Database/data000.run
[ReadOff] crc=98F0 dest=$ 8E1D3C size=$ 3F3C= 16188 name=Database/data000.run offset=$ 0
[Examine] buf=$8D5FE0 type=-3 size=$7DF926=8255782 rc=0 name=Database/data.000
[ReadOff] crc=F016 dest=$ 8D60D0 size=$ 1000= 4096 name=Database/data.000 offset=$ 0


on SFS (6.x GB Partition):

[Examine] buf=$8D5FE0 type=-3 size=$ 79CA= 31178 rc=0 name=Database/data000.dir
[ReadOff] crc=13E0 dest=$ 8DA344 size=$ 79CA= 31178 name=Database/data000.dir offset=$ 0
[Examine] buf=$8D5FE0 type=-3 size=$ 3F3C= 16188 rc=0 name=Database/data000.run
[ReadOff] crc=98F0 dest=$ 8E1D3C size=$ 3F3C= 16188 name=Database/data000.run offset=$ 0
[Examine] buf=$8D5FE0 type=-3 size=$7DF926=8255782 rc=0 name=Database/data.000
[ReadOff] crc=EF27 dest=$ 8D60D0 size=$ 1000= 4096 name=Database/data.000 offset=$ 0
(0001459)
Richard Menedetter   
2009-09-27 22:28   
I was not sure if my MAXTRANSFER is set correctly (I have it on 0x1FFFE and MASK on 0x7FFFFFFE)

So I copies the data.000 from CF to both partitions and back again, than took out the CF, and did a compare on my PC vs. the original file.

Result on both (FFS and SFS) partitions was that the file is byte identical.

Maybe whdload or the slave has a problem with NSDpatch??
(Althought the FFS partition is only 1GB at the very beginning of the CD card)
(0001460)
Wepl   
2009-09-27 23:28   
why is the crc for the last sucessful read different on all three tries you posted?

[ReadOff] crc=AFF8 dest=$ 8D60D0 size=$ 1000= 4096 name=Database/data.000 offset=$ 0

on FFS (1GB Partition at the beginning of a 8GB CF card with IDE Adapter and NSDPatch)
[ReadOff] crc=F016 dest=$ 8D60D0 size=$ 1000= 4096 name=Database/data.000 offset=$ 0

on SFS (6.x GB Partition):
[ReadOff] crc=EF27 dest=$ 8D60D0 size=$ 1000= 4096 name=Database/data.000 offset=$ 0

use crc16 from the whdload-dev package (or any other checksum program) and compare if file is equal on all your partitions
(0001461)
Richard Menedetter   
2009-09-27 23:43   
tried that ... but I get a "not enough memory" message (I have only 8MB of FASTRAM)

What I did earlier is this:
unzip on PC.
copy to CF.
copy on amgia from CF to part1 and part2.
copy on amiga back to cf under other names.
copy on pc all 3 versions from all 3 partitions to the PC, and do a binary compare.

the result was that all 3 versions were bit identical with the version from the ZIP file.

I also have run maxtranstest to be sure maxtransfer is set correctly.

I have no clue why the crcs are different, except that I am quiet sure that the data on the disk is untampered and correct.
(0001462)
Wepl   
2009-09-28 15:54   
that is strange.
please make at the whdload error message a dump and paste the written .whdl_register here
(0001464)
Richard Menedetter   
2009-09-28 22:13   
(Last edited: 2009-09-30 10:45)
************************* 02-Jan-78 02:00:57 ************************16.9.4672***
Slave='StarTrek25thAnnivAGA.Slave' (4400 bytes)
ShadowMem   4BFFC8 -   50DFC8 ( 319488) AbsolutMem    4E000 -   120000 ( 860160)
Resload     7E91F8 -   7F1EF4 (  36092) at 7E91F8  GL=$9F2E40
Slave       9FA9D8 -   9FBAE4 (   4364) at 9FA9D8  BaseMemSize=$120000
ExpMem      7F2000 -   9F2000 (2097152) at 7F2000
attn=3(20) fc=-1 kn=21429 cs=92B9 rw=0 zpt=-1 ep=0 ei=0
setcpu=3D(SCB,ECB,BNC)

DOS-Error #205 (object not found) on reading "Database/data.000".

$009fb4d4 move.l       d7,d0
$009fb4d6 move.l       d5,d1
$009fb4d8 move.l       (4,a0),a0                      ;$00896ac0
$009fb4dc jsr          ($4c,a2)                       ;$007e9244
$009fb4e0 move.l       ($14,a4),a0                    ;$008957ac
$009fb4e4 move.l       d5,($fc,a0)                    ;$00896bb8
$009fb4e8 move.l       ($104,a0),a0                   ;$00896bc0
$009fb4ec move.l       ($18,a4),a1                    ;$008957b0
$009fb4f0 adda.l       d4,a1

regular stack:
$00875314 009FB4E0 0021D3D3 00000002 0087506C 00000000 00000000 00000000 00000000
$00875334 00000000 444F5300 00000000 0027EE28 0081186A 00000258 44483000 00874FF8
$00875354 0087505A 00000000 00000001 00875368 00000014 00000002 002044A1 002058F9
$00875374 0027EC1C 00000000 00000000 00000000 008722B4 FFFFFFFE 0087506C 0021D4C6
$00875394 00000000 007E3330 00000002 5748444C 6F616400 00000000 00000000 00000000

  ----0---- ----1---- ----2---- ----3---- ----4---- ----5---- ----6---- ----7----
Dx     1000         0    7DF926         4         0         0         0      1000
Ax   896ABC    8D60D0    7E91F8    21D4C6    895798    87506C    872B00

                 TTSM III   XNZVC
PC=  9FB4E0  SR %0000000000000000  USP=875314  ISP=874578  MSP=11F800
VBR=9F3E40  SFC=5  DFC=5  CACR=0  CAAR=0

         MEDRAAAABVCPSDT          YZ  PMRCBSDAAAA
intena=%0110000000101100 dmacon=%0000001011010000 adkcon=$1100
intreq=%0000000001000000
vposr....A300  vhposr...0609  joy0dat..0301  joy1dat..0000  clxdat...8001  
pot0dat..0000  pot1dat..0000  potinp...5500  serdatr..3800  dskbytr..A000  
deniseid.00F8  hhposr...FF96  
   ciaa:     PI ROPS		   ciab:     PI ROPS
    cra=00000000  ta=21FF<21FF	   cra=00000000  ta=FFFF<FFFF
        AII ROPS			    AII ROPS
    crb=00000001  tb=38FF<FFFF	   crb=10000000  tb=FFFF<FFFF
        10RTWCLO	  parallel	    DRCCDSOY      M3210HDS
    pra=11111100  prb=11111111      pra=11111111  prb=11111111
       ddra=00000011 ddrb=00000000     ddra=11000000 ddrb=11111111
       event=000051  icr=00  sdr=00    event=000005  icr=04  sdr=00


(0001468)
Wepl   
2009-09-29 09:58   
it is truly a whdload problem, I have found the reason...
(0001473)
Mailman   
2009-09-29 19:57   
Really? How come it happens only on Richard's configuration?

(0001474)
Wepl   
2009-09-29 21:30   
It happens if there is a file which is larger then the max free memory and all other files could be preloaded.
In this case he has 8 MB fast mem and this file is 8.x MB.
It does not happen with > 9 MB or < 1 MB.
(0001476)
Wepl   
2009-09-29 22:57   
the attached whdload should fix that problem.

the game itself seems still does not run clean. I tested with NOFILECACHE option and it hangs somewhere later, probably some interrupts are missing because of the osswitch. so with only 8 mb memory you have bad cards I think
(0001477)
Richard Menedetter   
2009-09-29 23:32   
Indeed ... the attached build of whdload fixes the problem.
And indeed I get a black screen after the intro.
But I can still exit it via the exit key, so it does not hang completely.

Interestingly if I remove the PRELOAD tooltype, than I get the blackscreen immediately, and I can again exit with exit key.
(0001478)
Wepl   
2009-09-29 23:48   
fine so far.
because the whdload problem is fixed I like to close this issue (and because I moved this issue to the whdload project)

you may open a new issue for the game not working without preload. although I doubt for a fast solution (probably hard to fix and not relevant for all users with enough memory (~10MB))

Issue History
2009-08-30 22:07Richard MenedetterNew Issue
2009-08-30 22:07Richard MenedetterMachine => A1200
2009-08-30 22:07Richard MenedetterCPU => 68EC020
2009-08-30 22:07Richard MenedetterCPUSpeed => 25
2009-08-30 22:07Richard MenedetterChipSet => AGA
2009-08-30 22:07Richard MenedetterGFXCard => None
2009-08-30 22:07Richard MenedetterChipMem => 2 MB
2009-08-30 22:07Richard MenedetterFastMem => 8 MB
2009-08-30 22:07Richard MenedetterWorkbench => OS 3.1
2009-08-30 22:07Richard MenedetterKickROM => 39 - Kick 3.0
2009-08-30 22:07Richard MenedetterKickSoft => None
2009-08-30 22:07Richard MenedetterWHDLoad => 16.9
2009-09-19 07:52MailmanNote Added: 0001441
2009-09-19 13:00Richard MenedetterNote Added: 0001442
2009-09-20 09:23MailmanNote Added: 0001443
2009-09-20 12:02Richard MenedetterNote Added: 0001444
2009-09-20 15:13MailmanNote Added: 0001445
2009-09-23 22:24WeplNote Added: 0001446
2009-09-26 18:09Richard MenedetterFile Added: startrek25_whdloadlog.zip
2009-09-26 18:10Richard MenedetterNote Added: 0001447
2009-09-26 20:43WeplNote Added: 0001448
2009-09-26 22:10ricsiNote Added: 0001449
2009-09-26 23:47WeplNote Added: 0001450
2009-09-27 10:19Richard MenedetterNote Added: 0001451
2009-09-27 19:13MailmanNote Added: 0001452
2009-09-27 20:16Richard MenedetterNote Added: 0001454
2009-09-27 20:42MailmanNote Added: 0001455
2009-09-27 20:42MailmanNote Edited: 0001455
2009-09-27 20:45Richard MenedetterNote Added: 0001456
2009-09-27 21:51WeplNote Added: 0001457
2009-09-27 22:09Richard MenedetterNote Added: 0001458
2009-09-27 22:28Richard MenedetterNote Added: 0001459
2009-09-27 23:28WeplNote Added: 0001460
2009-09-27 23:43Richard MenedetterNote Added: 0001461
2009-09-28 15:54WeplNote Added: 0001462
2009-09-28 22:13Richard MenedetterNote Added: 0001464
2009-09-29 09:58WeplNote Added: 0001468
2009-09-29 12:43WeplProjectStarTrek25th => WHDLoad
2009-09-29 12:44WeplCategoryslave => General
2009-09-29 12:44WeplProduct Version => 16.9
2009-09-29 12:44WeplStatusnew => assigned
2009-09-29 12:44WeplAssigned To => Wepl
2009-09-29 12:46WeplProjectionnone => minor fix
2009-09-29 12:46WeplTarget Version => 17.0
2009-09-29 19:57MailmanNote Added: 0001473
2009-09-29 19:57MailmanNote Edited: 0001473
2009-09-29 21:30WeplNote Added: 0001474
2009-09-29 22:21WeplRelationship addedrelated to 0002172
2009-09-29 22:40WeplFile Added: WHDLoad
2009-09-29 22:57WeplNote Added: 0001476
2009-09-29 23:32Richard MenedetterNote Added: 0001477
2009-09-29 23:48WeplNote Added: 0001478
2009-09-29 23:49WeplStatusassigned => resolved
2009-09-29 23:49WeplFixed in Version => 17.0
2009-09-29 23:49WeplResolutionopen => fixed
2009-09-30 10:45WeplNote Edited: 0001464
2009-10-01 22:14WeplStatusresolved => closed