Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: Phantom on October 29, 2009, 01:50:56 PM

Title: AfAOS 4.6 RAWBInfo problem
Post by: Phantom on October 29, 2009, 01:50:56 PM
After installing AfAOS 4.6 on my system, and place MoreLibSpace and AfA_OS_Loader in the startup-sequence, the document says to run patch_rawbinfo to patch your existing rawbinfo in the WBStartUp to see 32bit PNG icons.

Although I have the 1.35 version (and exactly the same size as the program says), I got an error that the patch cannot find it?

Any clues?
Title: Re: AfAOS 4.6 RAWBInfo problem
Post by: unusedunused on October 29, 2009, 04:10:05 PM
Quote from: Phantom;527676
After installing AfAOS 4.6 on my system, and place MoreLibSpace and AfA_OS_Loader in the startup-sequence, the document says to run patch_rawbinfo to patch your existing rawbinfo in the WBStartUp to see 32bit PNG icons.

Although I have the 1.35 version (and exactly the same size as the program says), I got an error that the patch cannot find it?

Any clues?


the same problem was report years ago, and it was find out, that a Virus have infect this file and so the filesize increase and the patch do not accept the file.1.35 should have 53744 bytes.really sure your filesize is exact same ?

please look on your original CD about filesize if they is diffrent.
also you can try out aos virus scanners from aminet, i dont know what virus it was, but i remember it was a old one, so a scanner from 1999 can find it.
Title: Re: AfAOS 4.6 RAWBInfo problem
Post by: Phantom on October 29, 2009, 04:46:06 PM
I double checked the size and it's exactly the same (53744). I even copy RAWBInfo again from my original 3.9 cd-rom, but I got the same message.
Title: Re: AfAOS 4.6 RAWBInfo problem
Post by: unusedunused on November 02, 2009, 04:25:04 PM
maybe you can look with snoopdos what files are load.

I dont have another idea what can happen.here is the source.maybe you see here what could be go wrong

WBStartup
If Request ("","This create a new full comaptible file rawbinfo_new for use with PNG and OS4 Icons | in your sys:wbstartup directory","Ok|oh no")=0 Then End
e$="Wrong Version.|Need Version 1.28 (Filesize 50720) or 1.35 (Filesize 53744) of rawbinfo in sys:wbstartup | If you are sure you have this Version but filesize differ you maybe have a link Virus"
LoadBank 0,"sys:wbstartup/rawbinfo"
FindScreen(0)
*a.l=BankLoc  (0)
size.l=BankSize (0)
If (size=50720) OR (size=53744)
  If size =50720 Then offs.l=$8288
  If size =53744 Then offs.l=$8c54
                                      ;change code from
                                      ;MOVE.w $c(a0),$c(a1)
                                      ;MOVE.w $e(a0),$e(a1)
                                      ;to
                                      ;MOVE.l $c(a0),$c(a1)
                                      ;MOVE.l $4(a0),$4(a1)
                                      ;so rawbinfo copy the icon->do_Gadget.NextGadget
                                      ;value that png icons need.
                                      ;this allow the show of a iconimage during move
                                      ;later it is also possible to show full images

  If Peek.l(*a+offs) = $3169000c
  Poke.b *a+offs,$21
  Poke.l *a+offs+6,$21690004
  Poke.w *a+offs+10,$0004
  Else
  Request "",e$,"ok"
  End
  End If
  SaveBank 0,"sys:wbstartup/RAWBinfo_new"
   CopyFile "sys:wbstartup/rawbinfo.info","sys:wbstartup/RAWBinfo_new.info"
Else
Request "",e$,"ok":End
End If
Request "","Patch sucsessfull.Please move the old file rawbinfo out of sys:wbstartup ","ok"
Title: Re: AfAOS 4.6 RAWBInfo problem
Post by: Phantom on November 03, 2009, 03:24:31 PM
I even checked the file with VirusZ and reported nothing. Although it finds MoreLibSpace as suspicious (I don't know if that's normal).

Thanks for the source. I'll check it out.
Title: Re: AfAOS 4.6 RAWBInfo problem
Post by: utri007 on November 04, 2009, 06:54:08 PM
I've allso small problem, before update when I chosed save, rawbinf created icon for object now it doesn't do that?