Why is this happening? Another set of eyes please... #1379
-
//..further results of my recce through whdload.lha game packs... This has been happening for a little while now ~ I just spent the last few hours looking at it, and I'm really coming up short finding a cause or explanation for the behavior. I think it's breaking in amiberry somehow, but I can't put my finger on it... To recreate is a tiny bit involved, but it's worth a look...I'm presuming $CWD is ~/Amiberry cd ~/Amiberry
Now launch links2 again, with the following invocation (I have a desktop launcher icon to do this);
On that webpage, navigate to the A/Arkanoid entry, and click on the link ... ...process: links2 downloads the file to /tmp/hashed-filename.lha and appends that to the cmd ~/Amiberry/amiberry Quit amiberry So it appears as though the .lha trigger went off, but the whd-booter process, caught an empty handle? Quit amiberry Back in the links2 window, press g and enter the URL Goodgrief... F12 -> WHDload panel ...all textboxes empty ...BUT.. if that's the case, why did we end up booting to this Amigados error, if nothing is apparently loaded? It appeared to me it was in direct whdload process, and not at the same time.. run.exe?? Cross check for sanity: ie; Quit amiberry, retest.. same result, but this time F12 to really check, and finally found what had been loaded, where.... ...and yep, I had that Mr. Spock raised eyebrow thing happening ;) Why the blazes did it decide to do that?...pop a filename.lha archive, into the DF0: slot?... I doubt that's even possible to recreate at the user level ...my justifiably paranoid spidy senses are starting to tingle.... What is going on here? Do we have some sort of race condition, or crazy overrun happening or such and similar? It'd be worrying in a deployment context if one had another web-browser..ie; firefox-esr, hauling the same problem (hard to test currently, but in the future the 'Open (with amiberry) when download completes' route would be analogous)... I doubt many folks are using a web browser like links2 as a launcher for whdload.lha game packs, online, using amiberry, and operating out of the semi-volatile /tmp location... and only the crazy would find themselves here... but I doubt I'm that ; it should not be possible for a whdload.lha file, to be loaded into DF0: Note: the really odd thing, is something like 90% of titles work as expected with Anyone got any idea what's manifest here? TIA |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
..a new day and a new dawn ~ retesting the examples above with a debug build of Preview on x86-64... First example for Arkanoid that works...
| Second example for Arkanoid (NTSC) that ends up with WHDBooter autoconfig.....
So it appears as though the WHDBooter process is failing to find a match?
The md5sum values match;
| Retesting 3rd case above, using the Turran ftp link.... WHDBooter process doesn't get invoked -- it seems the .lha trigger fails to fire -- the name of the filename.lha ends up loaded into DF0: -- we end up booting to the Amigados error above -- direct loading the file ie; Attached amiberry.log.gz of this last case. The behavior is undefined enough for me to call bug ~ it appears like amiberry and/or the WHDBooter process are failing, but I can't seem to isolate the exact cause =^/ |
Beta Was this translation helpful? Give feedback.
-
..so that's where the amigados error is being hauled from... Tried unpacking boot-data.zip to eliminate that decompression task ~ didn't have any effect... |
Beta Was this translation helpful? Give feedback.
-
....I just knew this would come back to bite me one day....chronologically.. -around 12 months ago when I was investigating filetype associations, I noticed that links2 made a distinction between which .lha files were classified as -at this time, I had added another association line to links2.cfg, to autoload disk images ...keep in mind, this was before we had the
'For some reason' (still checking into it), in links2 the whdload.lha game archives from Turran ftp, were being initially detected by the download handler as lzh-compressed files, but when being passed off the application launcher, would get handled as if it were an octet-stream. Somewhere in here, it managed to get amiberry to load the whdload.lha file into -0, and try to start it like a disk image. This was largely sublime, it's all happening just before amiberry's invoked...hmmm... *Feature add -- If Enable logging = True, log commandline used at top of logfile. ..after I figured out what was going on, and changed the association for floppy images to the Turns out, the file on whdload.com is not the same as the one on Turran (in ../Downloads/ )...
Go figure...why is it with particularly things Amiga, filenames can be (and are) so crazy & misleading at times...so that explains why it was falling through to the WHDBooter autoconfig shizzle -- no match in the XML....hmm... Possibly that's a telltale, we don't address...ie; wiki/WHDLoad-Booter-(WHDBooter)-F.A.Q. ...ie; Q. When I load a whdload.lha title, I see the WHDBooter screen, what's wrong? ....ummm... it might be prudent to know, absolutely, what cmdline invocation leads to a failure like this..yes? The expectation might be, that amiberry bails if file isn't a floppyimage.ext when being asked to put |
Beta Was this translation helpful? Give feedback.
-
Closing this one ; I figured out all the weirdities and the ticket's to be actioned -- maybe the FAQ bit might close off a hole ... a hole that grows ever larger with new whdload titles being added every few months ~ that's another issue I'll have to think about... |
Beta Was this translation helpful? Give feedback.
....I just knew this would come back to bite me one day....chronologically..
-around 12 months ago when I was investigating filetype associations, I noticed that links2 made a distinction between which .lha files were classified as
application/x-lzh-compressed
or insteadapplication/octet-stream
. In practice you could see this, by downloading some .lha archive from animet, or instead a whdload.lha game archive for example. As that basically suited purpose, I didn't question the why behind it....-at this time, I had added another association line to links2.cfg, to autoload disk images ...keep in mind, this was before we had the
amiberry <file>
invocation. ..association "Amiberry" "appli…