Advertisement
Guest User

flame4patch

a guest
Mar 19th, 2022
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.75 KB | None | 0 0
  1. #!/sbin/sh
  2. #
  3. # Discreet Flame 4.0.2 dongle check removal
  4. #
  5. # Version history
  6. # v001 Initial release
  7. #
  8. #
  9. # Run in the Flame bin directory
  10. #
  11.  
  12. # Change to Indy graphics mode. For some reason Discreet left in graphics functions an Indy/XZ mode in Flame 4.0.2, though disabled. I guess this may be remnants of Flint for the Indy - though Flint 4 was only released for Indigo2. This might also enable Flame 4 to run on other graphics hardware. If you have a Onyx Reality Engine or previous high end graphics, you can try to comment out this.
  13.  
  14. ./patchfile flame_IRIX_5.3 0x7d0353 0xf0240b8c
  15.  
  16. # Remove DongleInit call, otherwise Flame will crash when trying to initialize the license Dongle
  17.  
  18. ./patchfile flame_IRIX_5.3 0x0b8cf4 0x00000000
  19.  
  20. # Remove check for DongleSerial in ClockInit (if no DongleSerial port is set, normally Flame will not load)
  21.  
  22. ./patchfile flame_IRIX_5.3 0x17b0dc 0x10000008
  23.  
  24. # Remove DongleExpiryWarning call (no complaints about security file error or expired dongle)
  25.  
  26. ./patchfile flame_IRIX_5.3 0x0b908c 0x00000000
  27.  
  28. # Remove periodic call to DongleCheck function (not required, but lets just save resources)
  29.  
  30. ./patchfile flame_IRIX_5.3 0x0b19cc 0x00000000
  31.  
  32. # Remember not to set any dongle serial in default.cfg, as there is an additional check in the DongleCheckAutoSave function if a dongle serial is set in default.cfg. The fact that the check in DongleCheckAutoSave is bypassed when no dongle serial is set, seems to indicate that the software allows you to bypass the dongle somehow. There is among other things a SecFileCheck function, so there may be some kind of security file/license which can bypass the dongle (or you need the file together with some kind of dongle). I haven't checked further, and believe this patch is complete.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement