Logo

CS.RIN.RU - Steam Underground Community

Do not use a Hotmail, Outlook, Live or MSN email address! Microsoft servers reject all emails from our server.
It is currently Tuesday, 28 Feb 2017, 18:15

English | Русский




Post new topic Reply to topic  [ 778 posts ] 
Author Message

Post Post subject: Re: Create your own Xdelta Update patches...   
Posted: Friday, 29 Jul 2016, 18:10   Reply with quote
I live here Три раза сломал клаву :)
User avatar
Joined: Sunday, 11 Nov 2012, 22:03
Posts: 10504
Location: Portugal, somewhere in Oporto city
Good work Kindly, thanks a lot.

_________________
1. The more you suffer... the more it shows you really care... right?
2. PM me if you need any of my Steamrips re-uploaded
3. Downloading from Baidu: don't try to download the links through the chinese app; use an internet download manager like JDownloader 2 Beta or IDM with baidu script. Check this topic for more info


Top
 Profile  

Post Post subject: Re: Create your own Xdelta Update patches...   
Posted: Friday, 29 Jul 2016, 19:04   Reply with quote
Super flooder Почетный графоман
User avatar
Joined: Tuesday, 30 Jun 2015, 11:00
Posts: 816
Thanks loads Kindly ::)


Top
 Profile  

Post Post subject: Re: Create your own Xdelta Update patches...   
Posted: Tuesday, 02 Aug 2016, 22:44   Reply with quote
Super flooder Почетный графоман
User avatar
Joined: Saturday, 20 Jun 2015, 06:01
Posts: 1268
Location: /v/
@Kindly
This probably a stupid question, but is it possible to make the patch installers look like standard windows installers with custom top and side images? You know, kinda like what is possible to make with Visual Patch?

_________________
Spoiler
Image

[ Steamrips & latest updates: CSGO | GD | DaS3 | KF2 ]


Top
 Profile  

Post Post subject: Re: Create your own Xdelta Update patches...   
Posted: Wednesday, 03 Aug 2016, 00:39   Reply with quote
Advanced forumer Завсегдатай
Joined: Saturday, 12 Sep 2015, 13:24
Posts: 234
@An7ithe0s
It's possible but I won't do it :wink:


Top
 Profile  

Post Post subject: Re: Create your own Xdelta Update patches...   
Posted: Sunday, 14 Aug 2016, 14:17   Reply with quote
Advanced forumer Завсегдатай
Joined: Saturday, 12 Sep 2015, 13:24
Posts: 234
Inno Setup XDELTA Patch Maker 2.4.5.0 Beta 1
Spoiler
Changes:
- Returned ISTask.dll to Patch Maker for fix some compilation errors if "Simply log" option is unchecked.
- Fixed patch compilation bug if "Inside patch" option is disabled.
- Fixed bug with compilation if patch have custom Inno Script in steps if "Simply log" option is unchecked.
- Fixed other possible compilation bugs with unused patch variables.
- Minor tweaks, fixed some issues.

Installation:
- Extract updated program files to the full version 2.4.4.0 and overwrite existed files.

/////FOR CREATING BUGREPORT/////

If patch failed to compile or some is not worked properly:

1. Provide full log (uncheck "Simply log" option).
2. Provide project file.
3. Provide debug "Preprocessed.iss" file in "pdata" dir.

Download 2.4.5.0 Beta 1 Update:
[[Please login to see this link.]]


Top
 Profile  

Post Post subject: Re: Create your own Xdelta Update patches...   
Posted: Tuesday, 16 Aug 2016, 10:16   Reply with quote
Super flooder Почетный графоман
User avatar
Joined: Saturday, 20 Jun 2015, 06:01
Posts: 1268
Location: /v/
^^ I haven't noticed any issues with this beta ^^

_________________
Spoiler
Image

[ Steamrips & latest updates: CSGO | GD | DaS3 | KF2 ]


Top
 Profile  

Post Post subject: Re: Create your own Xdelta Update patches...   
Posted: Tuesday, 16 Aug 2016, 14:32   Reply with quote
Advanced forumer Завсегдатай
Joined: Saturday, 12 Sep 2015, 13:24
Posts: 234
@An7ithe0s
In next beta I try to enable disabled "Fast speed patch data applying" option and try to return ISTask.dll library to Patch for detecting running engine process in fast mode. And need to test on a lot of files. :wink:


Top
 Profile  

Post Post subject: Re: Create your own Xdelta Update patches...   
Posted: Thursday, 18 Aug 2016, 00:17   Reply with quote
I live here Три раза сломал клаву :)
User avatar
Joined: Friday, 12 Sep 2014, 21:18
Posts: 1533
I updated my SFV.MD5.Syncher batch (attached) that can deal with files present in a directory but not in a .sfv/md5 hash file. Original post was here: viewtopic.php?p=1137468#p1137468

This batch file compares a certain folder and its content (all files, also in subfolders) to a sfv/md5 file on basis of file names. It has the option to move/delete the junk files or to create a list with junk files (relative paths). This batch comes in handy when getting rid of old cracks, mods or whatever shouldn't be in your game folder. Do note that for large folders, it takes a really long time (eg folders with thousands of files as is the case with F1 2015). Special characters [^] and [%] weren't supported in my previous version, but they should be now. This version should be more user-friendly as all user input is asked for first, so you can leave it alone should the job take a while.

Q. How to use?
A. Place this batch file in the same location as your .sfv/md5 hash file and run it. Follow the instructions from the main screen.


PS: Feel free to PM me about this batch or related matters.


EDIT: Change log:
1.2.0.9 - Updated version due to a bug reported to me by Christsnatcher. Thanks for that.
1.2.1.0 - Updated version due to a bug reported to me by Christsnatcher regarding case insensitivity. Thanks for that.
1.2.1.1 - Updated version due to a bug I noticed regarding certain cases where using underscores ( _ ) would lead to a "false positive".


You do not have the required permissions to view the files attached to this post.

_________________
Always wanted to get rid of the files that were not listed in the sfv/md5 hash file? Check the batch I wrote for this: viewtopic.php?p=1273745#p1273745


Last edited by Anomaly on Thursday, 29 Sep 2016, 19:05, edited 6 times in total.

Top
 Profile  

Post Post subject: Re: Create your own Xdelta Update patches...   
Posted: Thursday, 18 Aug 2016, 00:54   Reply with quote
Proud Servant of RIN
User avatar
Joined: Monday, 25 Feb 2013, 22:16
Posts: 17317
Location: Pandemonium
^^Many thanks for sharing this pretty useful tool my friend! :wink:

_________________
Image
^^I'm clickable!


Top
 Profile  

Post Post subject: Re: Create your own Xdelta Update patches...   
Posted: Friday, 19 Aug 2016, 00:27   Reply with quote
Super flooder Почетный графоман
User avatar
Joined: Saturday, 20 Jun 2015, 06:01
Posts: 1268
Location: /v/
@Kindly
Okay, good job. :lol:

Suggestions:
- updates that output only English patch logs (or just one certain lang);
- updates which can create a shortcut after installing.

_________________
Spoiler
Image

[ Steamrips & latest updates: CSGO | GD | DaS3 | KF2 ]


Top
 Profile  

Post Post subject: Re: Create your own Xdelta Update patches...   
Posted: Friday, 19 Aug 2016, 03:11   Reply with quote
I live here Три раза сломал клаву :)
User avatar
Joined: Friday, 04 Jul 2014, 20:21
Posts: 4220
Location: Volcanic Rim
@Kindly

I have suggestion which is rather a cosmetic change. Could you perhaps make the "Build" button bigger than the rest (like twice the size) or highlight it in some way? We see that in many softwares, the main "Go" button is usually either highlighted or made bigger to stand out from the rest. This gives an average user an immediate sense as to which button is not to be pressed until everything is set.


Top
 Profile  

Post Post subject: Re: Create your own Xdelta Update patches...   
Posted: Friday, 19 Aug 2016, 10:55   Reply with quote
Advanced forumer Завсегдатай
Joined: Saturday, 12 Sep 2015, 13:24
Posts: 234
An7ithe0s wrote:
@Kindly
Okay, good job. :lol:

Suggestions:
- updates that output only English patch logs (or just one certain lang);
- updates which can create a shortcut after installing.

- Updates generate logs in choosen language only - why it need in english hardcoded?
- Use Inno Script function in AfterPatching step:
  1. CreateShellLink(
  2.   ExpandConstant('{userdesktop}\MyProgShortCut.lnk'), //shortcut path
  3.   'Opens the MyProg', //description
  4.   ExpandConstant(ResultStr + '\bin\MyProg.exe'), //shortcut to
  5.   ExpandConstant(''), // parameters
  6.   ExpandConstant(ResultStr + '\bin'), //working dir
  7.   '', // custom icon filename, f.e. ResultStr + '\myico.ico'
  8.   0, // custom icon index
  9.   SW_SHOWNORMAL); // show commandline, use SW_HIDE for hidden

Fawaz wrote:
@Kindly

I have suggestion which is rather a cosmetic change. Could you perhaps make the "Build" button bigger than the rest (like twice the size) or highlight it in some way? We see that in many softwares, the main "Go" button is usually either highlighted or made bigger to stand out from the rest. This gives an average user an immediate sense as to which button is not to be pressed until everything is set.

I'm think about it how to better mark out this button :)


Top
 Profile  

Post Post subject: Re: Create your own Xdelta Update patches...   
Posted: Friday, 19 Aug 2016, 23:34   Reply with quote
Super flooder Почетный графоман
User avatar
Joined: Saturday, 20 Jun 2015, 06:01
Posts: 1268
Location: /v/
Kindly wrote:
- Updates generate logs in choosen language only - why it need in english hardcoded?

Just to be able to read a log in case someone uses a language install I don't understand, but want to add anyway, so that the user could understand what the buttons say and stuff.

-- Edit --

Kindly wrote:
- Use Inno Script function in AfterPatching step:

Thanks, that will be useful.

_________________
Spoiler
Image

[ Steamrips & latest updates: CSGO | GD | DaS3 | KF2 ]


Top
 Profile  

Post Post subject: Re: Create your own Xdelta Update patches...   
Posted: Saturday, 20 Aug 2016, 08:58   Reply with quote
I live here Три раза сломал клаву :)
User avatar
Joined: Friday, 04 Jul 2014, 20:21
Posts: 4220
Location: Volcanic Rim
@Kindly

Thanks for the consideration. :)


Top
 Profile  

Post Post subject: Re: Create your own Xdelta Update patches...   
Posted: Sunday, 21 Aug 2016, 20:58   Reply with quote
Advanced forumer Завсегдатай
Joined: Saturday, 12 Sep 2015, 13:24
Posts: 234
Inno Setup XDELTA Patch Maker 2.4.5.0 Beta 2
Spoiler
Changes:
- Added PatchingError constant error value (1) to using in Inno Script Custom Actions in BeforePatching step.
- Added isproc.dll to the Patch for detecting running processes instead of WMI calling.
- Experimentally unlock again option "Enable fast speed patch-data applying".
- Fixed many bugs with patch compilation in Silent and SilentForm mode.
- Minor tweaks, fixed some issues.

Installation:
- Extract updated program files to the full version 2.4.4.0 and overwrite existed files.

/////FOR CREATING BUGREPORT/////

If patch failed to compile or some is not worked properly:

1. Provide full log (uncheck "Simply log" option).
2. Provide project file.
3. Provide debug "Preprocessed.iss" file in "pdata" dir.

Download 2.4.5.0 Beta 2 Update:
[[Please login to see this link.]]

Detailed testing of the "Enable fast speed patch-data applying" is needed. Don't use it on very big files, read help for details.

Inno Script example of the PatchingError for BeforePatching step with return to main screen if something is incorrect:
Spoiler
for standard patch (custom Log lines not for Silent) - paste in BeforePatching step (only as example).
  1. if not FileExists(ExpandConstant('{src}\image.png')) then
  2. begin
  3.   PatchingError := 1;
  4.  
  5.   pLog.Lines.Add('Failed to check required file: ');
  6.   pLog.Lines.Add(ExpandConstant('{src}\image.png'));
  7.   pLog.Lines.Add('Correct the problem and try again!');
  8.  
  9.   xInfo.Text := 'Patching failed without required operations!';
  10.   xInfo.Update;
  11. end;


Top
 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 778 posts ]  Go to page Previous  1 ... 44, 45, 46, 47, 48, 49, 50 ... 52  Next


Who is online

Users browsing this forum: _BANDIT_, aaa1aaa1, aaronsanchezg, Acruno, admirdee, ahab, alassassin, Alexlogin0ff, almakar, Alucard88, anpeternon, aonoma, apekwhuut, assettond, Baidu [Spider], Big Sky., Bing [Bot], bitoren, Brozel, Carl0sCheca, chook91, ColdSky, cwtien, Cyber-Tiger, Danbun, danielkrs, DarkVash, deneff, deneme123, Edarpe, Edihe, edwinkyr, exa626, faye, feverdog, fofo123, fokofpoes, Fridolin, Gameru, Getsmartuass, gms79, Google [Bot], Google Feedfetcher, grefis, Grinderkiller, hal210, hulkspidey, Interstellar, jaisonas, jamesxr2i, jheiken, jikoheroes, johwan, kamoki, kaushik, kilik293, KIM1686, King1234, Kirby26, kk136, kompormeleduq, kradac, kubok, laseru22, linnet9999, linzhouyu, lloCari, lorenozzo96, luizcountry, madorax, MajinCry, manhun7a, McAule, mckay1988, Megatechnic, menisco, MerKAndy, miketmet, mischael, Mizu, MnSXx, Myaf, mytol, nayreki, NotBad, numptynuts, nuuskahuuli, pargas1, paskaperse666, pcjeep1999, pikusp, Pimpsa, proximity, quattro93, quqo, ravirock, red_one, safanna, sameerAcharya, sewet, shadowdragon, shikafax, Silvery_Star, smiglo5, spunk, starhub, STIMO15, Susch, sys, Timo654, Tony3Fingers, Tzaqajxfhr, ufo007, Verdetto, VojtasCZ, Wonder_Boy, Wusel, x_Baba_x, xokewuy, YaesuFT8800, yardi2009, Zviaz and 102 guests


Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum




Powered by phpBB® Forum Software © phpBB Group