Welcome, Guest. Please login or register.

Author Topic: AfAOS 4.6 RAWBInfo problem  (Read 1949 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline unusedunused

  • Sr. Member
  • ****
  • Join Date: Nov 2005
  • Posts: 479
    • Show all replies
Re: AfAOS 4.6 RAWBInfo problem
« 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.
 

Offline unusedunused

  • Sr. Member
  • ****
  • Join Date: Nov 2005
  • Posts: 479
    • Show all replies
Re: AfAOS 4.6 RAWBInfo problem
« Reply #1 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"