Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Display Modes
  #1  
Old 17-08-2021, 19:49
L33THAK0R L33THAK0R is offline
Registered User
 
Join Date: Feb 2021
Location: Saudi Arabia
Posts: 196
Thanks: 64
Thanked 10 Times in 10 Posts
L33THAK0R is on a distinguished road
Question about patching in files using SFK

Hi all,

Sorry to flood this board with questions but I'm honestly a bit stumped. I'm using this version of SFK to try and patch back in some files (Bink) that bloat the final output unless packed separate to their data archives. My current patching command (for use in a batch script) looks like:
Code:
sfk.exe partcopy INPUT_BINK 0 OUTPUT_ARCHIVE START_OFFSET -yes
However only a name less file, identical to the input bink video, with the start offset as its name, is produced. Although uneeded for my purposes, I tested extracting the file via SFK using:
Code:
sfk.exe partcopy INPUT_ARCHIVE -fromto START_OFFSET END_OFFSET OUTPUT_BINK -yes
I made sure to use the decimal rather than hexadecimal for calculating the offsets, and extraction was successful, however patching this file back in seems to be nigh impossible.
Reply With Quote
Sponsored Links
  #2  
Old 17-08-2021, 21:58
:( Sad8669's Avatar
:( Sad8669 :( Sad8669 is offline
Registered User
 
Join Date: Oct 2020
Location: Triangulum Galaxy, Messier 33
Posts: 127
Thanks: 60
Thanked 85 Times in 52 Posts
:( Sad8669 is on a distinguished road
1. Are you trying to extract binks to use bpk one them?


And also, the file won't patch back unless all the HEX was copied inside the MAIN file to a new FILE.

I will refer you to Masquerade's Explanation.

The only change is that, if you want to patch back a file, you must select its HEX using Select Blocks and copy it into a NEW file (create a new file using HxD) and then save it. This way you will have a CRC perfect file and it also patchable.

NOTE : All of the above process must be done within the MAIN file.

Which game are you trying to compress, you can use QUICKBMS, if a script exist since its re-import function is convenient.

Make sure that the file doesn't have any streams because the file size will expand upon this method and re-patching is out of question in such cases, unless you are using QUICKBMS.
__________________
A Useless guy.

Last edited by :( Sad8669; 17-08-2021 at 22:00.
Reply With Quote
  #3  
Old 17-08-2021, 23:36
L33THAK0R L33THAK0R is offline
Registered User
 
Join Date: Feb 2021
Location: Saudi Arabia
Posts: 196
Thanks: 64
Thanked 10 Times in 10 Posts
L33THAK0R is on a distinguished road
Quote:
Originally Posted by :( Sad8669 View Post
I will refer you to Masquerade's Explanation
Okay so first of all I'm a massive idiot! I've used the sfk method of patching data in & out a few times with RE2 & 3, and currently with the title I'm working on and Sekiro. Instead of copy pasting my script to a new batch file, I decided to write it out and forgot to include the
Code:
-allfrom
command, thankfully all seems to work, now I just have to run a few tests and all should be good! Thanks for linking me to "Masquerade"'s post, I wouldn't have noticed my error otherwise!
Reply With Quote
Reply

Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Frequently Asked Questions Joe Forster/STA PC Games - Frequently Asked Questions 0 29-11-2005 09:48
patching img files with clonecd rmorgan80 PS2 Games 1 16-09-2001 14:11
I CANNOT burn any image files for an unknown reason. This is NOT a stupid question. Please help! Plamya DC Games 2 28-12-2000 04:47
I CANNOT burn any image files for an unknown reason. This is NOT a stupid question. Please help! Plamya DC Games 0 27-12-2000 23:18
quick question on patching MOJO505 PSX Games 1 23-11-2000 16:35



All times are GMT -7. The time now is 15:21.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.
Copyright 2000-2020, FileForums @ https://fileforums.com