English Amiga Board


Go Back   English Amiga Board > Support > support.Apps

 
 
Thread Tools
Old 07 June 2024, 11:27   #1
kamelito
Zone Friend
 
kamelito's Avatar
 
Join Date: May 2006
Location: France
Posts: 1,835
Patch binaries

Is there an existing command line tool to patch binaries using a config file containing hex code to search and hex codes replacement.
A bit like filex but as a CLI tool that could also take wildcard to perform the same task in many executable.?
kamelito is offline  
Old 07 June 2024, 11:30   #2
Samurai_Crow
Total Chaos forever!
 
Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,199
SAS/C comes with a generator for use with SPatch, if that's what you're looking for.
Samurai_Crow is offline  
Old 07 June 2024, 12:00   #3
kamelito
Zone Friend
 
kamelito's Avatar
 
Join Date: May 2006
Location: France
Posts: 1,835
I believe that Spatch create a patch based on 2 binaries. I aim to modify binaries one at a time using a search and replace on a file. So at start I do have only one file to work with.
kamelito is offline  
Old 07 June 2024, 13:21   #4
frakswe
Registered User
 
frakswe's Avatar
 
Join Date: Jul 2018
Location: Laughingstock
Age: 45
Posts: 27
xxd myfile.exe | sed -e 's/oldhex/newhex/g' | xxd -r >myfile.exe.new
frakswe is offline  
Old 07 June 2024, 15:19   #5
kamelito
Zone Friend
 
kamelito's Avatar
 
Join Date: May 2006
Location: France
Posts: 1,835
Are those Unix commands available for Amiga?
kamelito is offline  
Old 07 June 2024, 22:40   #6
copse
Registered User
 
Join Date: Jul 2009
Location: Lala Land
Posts: 601
I figure by the time you get a satisfactory answer you may as well write your own :-)
copse is offline  
Old 07 June 2024, 23:37   #7
kamelito
Zone Friend
 
kamelito's Avatar
 
Join Date: May 2006
Location: France
Posts: 1,835
probably
kamelito is offline  
Old 08 June 2024, 02:01   #8
frakswe
Registered User
 
frakswe's Avatar
 
Join Date: Jul 2018
Location: Laughingstock
Age: 45
Posts: 27
yes available on aminet.
frakswe is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
68k binaries on next gen platforms. Steffest Coders. General 3 01 April 2021 11:32
Building WarpOS binaries on classic / 3.x mousehouse Coders. General 8 31 January 2012 16:52
three in one? (SCSI Patch,Mac Patch,MapRom) RogerWilco09 support.Apps 0 05 May 2009 16:56
Assembler: Linking binaries with blink redblade Coders. General 0 29 March 2005 11:02
alt.binaries download gdido Retrogaming General Discussion 3 31 October 2001 10:10

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 13:10.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.08391 seconds with 14 queries