Jump to content

Patcher: Elurair, v2.18.0 - last updated 2024/12/28


Recommended Posts

Posted

According to information on Discord, check if you have "Enable SSO packet" and "Disable Old login packer" diffs enabled.

Posted

Elurair just all fine, but every Elurair is closed (and auto-close after clicking start button), why this message always pop up and how to disable it?

 

image.jpeg.b7712bd8fb31fb34769e08fb542d5d27.jpeg

  • 1 month later...
  • 2 months later...
Posted (edited)

Hey! I tried to make the patch update my grf and my system folder with the gpf and rgz files, respectively, but even so, the patcher spends a while "downloading patch_main.txt" and then "failed to download patch_main.txt" appears.
I've already tidied up the files and patch_main.txt on my webhost but it still won't update!

Below is the Patcher configuration

[ROCred]
ConfigID=http://new-horizonro.com.br/

FontFace=Verdana
FontSize=20
FontSize2=16
MiscInfo=0
SkinDirectory=.
; Status bar
IDC_STATUSBAR.X=45
IDC_STATUSBAR.Y=680
IDC_STATUSBAR.W=510
IDC_STATUSBAR.H=32

; Progress bar
IDC_PROGRESSBAR.X=45
IDC_PROGRESSBAR.Y=680
ButtonHotTrack=1

EditBackground=2

EditBackgroundColor=#fff

EditForegroundColor=#000

EditFrame=1

ProgressCenterMode=0

ShowWindowCaption=0


StatusBackground=1


StatusBackgroundColor=#fff


StatusForegroundColor=#000


MediaBackground=


DevMode=0

ConfigIsReady=1

[ROCred.Buttons.LAUNCH#1]
X=916
Y=586
W=202
H=64
DisplayName=#1005
ActionType=0
ActionData=NH.exe 1rag1
ActionHandler=

; Close button
; Note: If you specify a button skin (btnclose.png / BTNCLOSE)
;       W and H members will be ignored and taken from the image.
[ROCred.Buttons.CLOSE#2]
X=1240
Y=0
W=40
H=40
DisplayName=#1006
ActionType=2


[ROCred.Buttons.SCREENSHOTS]
X=1120
Y=0
W=40
H=40
DisplayName=Open folder with screenshots
ActionType=0
ActionData=""..\Patch\ScreenShot""

[ROCred.Buttons.SETTINGS]
X=1160
Y=0
W=40
H=40
DisplayName=Settings
ActionType=0
ActionData=opensetup.exe

[ROCred.Buttons.MINIMIZE]
X=1200
Y=0
W=40
H=40
DisplayName=Minimize
ActionType=5

[ROCred.Browsers.CAROUSEL]
;X=50
;Y=234
;W=460
;H=213
;Url=skin/carousel.htm

[ROCred.Browsers.NEWS]
X=50
Y=360
W=460
H=213
Url=https://new-horizonro.net/noticepatcher.html

[ROCred.Browsers.STATUS]
;X=45
;Y=370
;W=510
;H=24
;Url=skin/fakestatus.htm

[ROCred.Buttons.YOUTUBE]
X=56
Y=600
W=40
H=40
DisplayName=YouTube
ActionType=0
ActionData=https://www.youtube.com/channel/UCdTa9I_boIkez1T59fL2tMQ


[ROCred.Buttons.DISCORD]
X=190
Y=600
W=40
H=40
DisplayName=Discord
ActionType=0
ActionData=https://discord.gg/newhorizonro
ActionHandler=


[ROCred.Buttons.TWITCH]
X=320
Y=600
W=40
H=40
DisplayName=Twitch
ActionType=0
ActionData=https://www.twitch.tv/sreli
ActionHandler=

[ROCred.Buttons.HOMEPAGE]
X=462
Y=600
W=40
H=40
DisplayName=Website
ActionType=0
ActionData=https://new-horizonro.net/


; Patch Configurations
;
; You can register patch processes to run before ActionTypes 4 and 6
; button actions can be executed. Each section in the format
; ROCred.Patcher.<your config identifier> will create a separate
; patch process. The config identifier must be unique (among other
; patch configs), but is otherwise meaningless. Patch processes run
; sequentially in given order. The amount of patch configs is only
; limited by available memory.
; Each downloaded file is processed by a file type handler, that may
; or may not post-process it. By default the application comes with
; the follwing handlers:
;       - *.gpf (merged into archive defined in PakFile)
;       - *.rgz (unpacked)
;       - *.zip (unpacked)
;       - *.*   (will save unhandled files as is)
; When at least one patch process is registered, the patcher can be
; updated by distributing the updated version as "elurair.new".
[ROCred.Patchers.Main]

; Local file name to record patch progress in.
; Note: The file records the last processed counter from the patch
;       list stored as a 32-bit unsigned integer in little-endian
;       byte-order (4 bytes, LSB first).
; Note: Patch process will fail, if this file is missing or contains
;       invalid data, that means, it is NOT automagically created
;       and initialized the first time you run Elurair. This is to
;       prevent corruption of unrelated files from patching inside
;       a wrong directory.
InfFile=main.inf

; Local file name for archive-style patches. Actual meaning depends
; on the archive handler in use.
PakFile=newhro.grf

; Remote file name that contains list of patches to download and
; apply. Each line corresponds to one patch. Use only characters
; from the ASCII character set. Empty lines and lines starting with
; // are ignored.
; Format:
;       <incremental counter> <patch file name>
; RegExp:
;       /^(\d{2,}|[1-9])[ \t]+([^\r\n]+)$/m
; Example:
;       1   20XX-07-04SetupFix.rgz
;       2   20XX-07-05PatchFix.rgz
;       //3 20XX-07-11Event.gpf
;       4   20XX-07-11Event2.gpf
;       5   weather/summer.gpf
; Note: If you use sub-directories (paths) in the patch list, the
;       file will be downloaded from there, but it's local name will
;       be without that path. If you need to put files into sub-
;       directories, pack them into an archive.
; Note: If you do not want the list to mingle among patches, you can
;       specify a path along the file name, which can be a parent
;       directory as well.
;WebList=meta/patch_main.txt
;WebList=../patch_main.txt
WebList=patch_main.txt

; Patch list (WebList) format version.
; Values:
;       0: Default WebList.
;       1: Additional 3rd parameter that specifies modifier(s).
;           Format:
;               <incremental counter> <patch file name> [<modifier>]
;           RegExp:
;               /^(\d{2,}|[1-9])[ \t]+([^ \t\r\n]+)(?:[ \t]+([a-z]+(?:,[a-z]+)*))?$/m
;           Example:
;               1   20XX-07-04SetupFix.rgz
;               2   20XX-07-05PatchFix.rgz  stop
;               //3 20XX-07-11Event.gpf
;               4   20XX-07-11Event2.gpf    delete
;               5   weather/summer.gpf
;           Modifiers:
;               stop: stop patch process (e.g. for Elurair update)
;               delete: remove files or subtract patch from archive
;                   - *.gpf (subtractive)
;                   - *.rgz (not supported)
;                   - *.zip (delete local files)
;                   - *.*   (delete unhandled local files)
; Note: Using version 1 for 3rd party patch servers is HIGHLY UNSAFE
;       and should be avoided, unless you know what you are doing.
; Note: Using the delete modifier with unhandled file types is risky
;       and should be avoided in favor of ZIP files with stub files.
WebListVer=0

; Path on the patch server that will be used when downloading remote
; files.
WebPath=http://new-horizonro.com.br/web/

; Patch server IP/domain name that will be used when downloading
; remote files.
WebSite=http://new-horizonro.com.br/

; Protocol to use when downloading remote files.
; Values:
;       http
WebProt=http

; Patch progress to start patching at.
; Note: This is meant to begin patch progress at a desired point in
;       case of 3rd party patch servers.
;InfPatchMin=123
InfPatchMin=

; Patch progress to stop patching at (i.e. up to including).
; Note: This is meant to limit patch progress to a desired point in
;       case of 3rd party patch servers.
;InfPatchMax=2411
InfPatchMax=

 

Edited by betablock
  • 2 weeks later...
Posted

WebPath is a path, not url, so

WebPath=http://new-horizonro.com.br/web/

needs to be

WebPath=/web/

Same goes for WebSite, which is a host or IP:

WebSite=new-horizonro.com.br

 

  • Like 1
  • 1 month later...
Posted (edited)

Hello @Ai4rei,

If I may ask, is it possible for me to replace current wallpaper/media background while patching? For example if Im using Hello.mp4, i replace it with Hola.mp4. So that i'll be able to change wallpaper/media background from time to time.

 

Thanks in advance.

 

Update : Solved. Thank you!

Edited by IFNH
Problem has been fixed.
  • 3 weeks later...
  • 4 weeks later...
  • 3 weeks later...
Posted

Apologies for the delay, I have been cloudflare'd out of the forums.

If you have multiple GRFs, you have to define multiple patch processes in the config as per the documentation.

So one section, ex. "[ROCred.Patchers.Main]", can be for your adata.grf and another one, ex. "[ROCred.Patchers.Event]", can be for your bdata.grf. There is no hard limit to the amount of GRFs.

  • Love 1
Posted

The `main.inf` records the patch progress. If you need to replace it, then there's probably a problem with how you specify patches.

  • Love 1
  • 3 weeks later...
Posted

Depends on your OS and the "X-UA-Compatible" value. The default IE renderer may have only limited web font support.

  • Love 1
Posted (edited)
1 hour ago, Ai4rei said:

Depends on your OS and the "X-UA-Compatible" value. The default IE renderer may have only limited web font support.

I only got it with woff2 🤨

@Edit

I might as well get it with OTF too xD

Edited by SBK_
Posted
On 4/26/2024 at 2:49 AM, Ai4rei said:

Apologies for the delay, I have been cloudflare'd out of the forums.

If you have multiple GRFs, you have to define multiple patch processes in the config as per the documentation.

So one section, ex. "[ROCred.Patchers.Main]", can be for your adata.grf and another one, ex. "[ROCred.Patchers.Event]", can be for your bdata.grf. There is no hard limit to the amount of GRFs.

how to write it down in WebList=patchlist.txt

thx u

Posted

Every patch process needs a separate WebList, so like WebList=patchlist_adata.txt in [ROCred.Patchers.Main] and WebList=patchlist_bdata.txt in [ROCred.Patchers.Event].

  • Love 1
  • 1 month later...
Posted

Hello!


Thanks for this tool, it seems packed with cool features. but how can I make it work? I am still learning about this. I have a localhost test server and  I wanted to test, I've created a "patch" folder under my www directory and set the patcher to "localhost/patch/" but it doesnt seem to understand my configuration, keeps telling me to read the docs but its the configuration itself... any directions to make the patcher work in localhost?

Posted

The only difference between running against a web server and localhost, is in WebSite=localhost (instead of, say WebSite=patch.example.com)inside a patch process section, such as [ROCred.Patchers.Main]. The only documentation is the sample configuration (also available on the website) and some explanations in doc/ as part of the Free package.

  • 1 month later...
Posted (edited)

@Ai4rei can i request an option for repack every single gpf? because if i'm patch a lot of files the elurair will be download everyfiles and repack into grf in one time, however, if elurair have an option about repack every single file, the grf will be same checksum everytime like thor patcher.

Edited by benzanaz
Posted (edited)
On 9/17/2024 at 9:05 AM, benzanaz said:

@Ai4rei can i request an option for repack every single gpf? because if i'm patch a lot of files the elurair will be download everyfiles and repack into grf in one time, however, if elurair have an option about repack every single file, the grf will be same checksum everytime like thor patcher.

There is a separate add-on in development for this unreasonable scenario. To keep track of its development, you might want to join the discord and look for "normalizer".

Edit:

Check https://nn.ai4rei.net/dev/skal/#extras

Edited by Ai4rei

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...