Notes |
|
|
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. |
|
|
|
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 |
|
|
|
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. |
|
|
|
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/ |
|
|
|
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? |
|
|
|
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? |
|
|
|
I downloaded the game from killergorilla, and unzipped it on a PC to a CF card. |
|
|
|
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? |
|
|
|
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) |
|
|
|
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?
|
|
|
|
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? |
|
|
|
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 |
|
|
|
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 |
|
|
|
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 |
|
|
|
************************* 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... |
|
|
|
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 |
|
|
|
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)) |
|