[QUOTE=As a test, I took the datacenter file out of the client directory and did a repair, but it did not catch that the file was missing and did not redownload the file from the server. What am I doing wrong here?[/QUOTE]
I tried another test by deleting a lesser file in a localization folder. The launcher repair caught that the file was missing and downloaded it again.
I tried the datacenter test again by deleting it from the client and starting a repair. It still did not recognize the file was missing and did not download it again.
Is this because I was playing around with the datacenter ending on the server side?
Hi, I still cant figure this out, the new launcher simply wont launch the game:
With original Launcher and original grails API everything worked just fine.
Client patching works fine.
![]()
I believe this is the same error that I had when the datacenter region in the client did not match the region of the .env file.
e.g. your .env "API_PORTAL_CLIENT_DEFAULT_REGION=TW", and your datacenter file should be titled "DataCenter_Final_TW.dat"
Or whatever you region is, EUR, RUS, TW.
OMG, you are a life savior :) Thanks that was really it!
- - - Updated - - -
Just one more question, what is the correct procedure when creating a patch, should I just replace all the .cab files in /patch or should I delete them all first and then put there the new ones ? In regards to db files I guess I should keep all of them in /db folder right ?
Yes I know that I should not delete any files from the working directory that is generated by the app, but what about when I am uploading those files to the server ? I guess I have to remove them all and copy again from the working directory. Unfortunately this takes hours :D
The storage is incremental, so deleting files is not required. If you change any file, just run the app.bat again, the utility will find the changes, pack the changed file and add it to the database.
Not quite sure what you are trying to accomplish by not having the files on the server itself?
I used the following directories as hsdn instructed:
You can place files into /tera-api/public/patch folder.
Client update files structure:
- /tera-api/public/patch/patch/ - game client packed files (like the 1-100.cab, 1-101.cab, etc.).
- /tera-api/public/patch/db/ - update database files (like the server.db.1.cab).
- /tera-api/public/patch/version.ini - generated by packer version.ini placed here.
Launcher update files structure:
- /tera-api/public/patch/launcher_update/ - updates for launcher (files like LauncherInstaller_1.0.1.52.exe, created by Inno Setup script).
- /tera-api/public/patch/launcher_info.ini - information file of launcher update version (edit manually).
You want to point your config.js in your tera-client-packer-master directory to the above directories. That way you do not do any manual copying of files. After this is done, when you make changes to any files in the "clientdirectory" all you have to do is run the app.bat again. Hope this helps.
Is there any list of files I should remove from client before packing ? Something went wrong for me. When I press update it start donwloading and unpacking the same files indefinitely. Last time I left it and it ran over 10000 cycles of updating this same file.
![]()
Invalid version.ini ?
Code: 500000
No local.db or version.ini in the game folder.[Download]
Retry=3
Wait=1000
Version=0
DL root=patch
DB file=db/server.db.0.cab
[CheckHash]
count=0
hash=d41d8cd98f00b204e9800998ecf8427e
signature=4bcd3c28f0b535df1b844defe5e547692b128ef2195d1ada38ed4b8cc9bc21c7d5a220c1e92a678a8659afc4d6cf709c186d60de6ff888867d7f75967a80f37098a94f9106e11637e74ebca1cd71144c153f26799b1b35cedab70ff105dfe1c0fe8516ccefc304ff1012a8e69fcddf5909c0a30c1ba98da1c3ff7a88966b6335
file0=Binaries\TERA.exe
value0=32f81770ad8d6e58d9ed5ebb952e8298
Last edited by LordVenom; 05-06-22 at 07:59 PM.
Was working with Chinese VM & client on v100.02 and found that the patcher would continually download the following files:
From the Engine/Localization directory:
All of the Properties.CHN, .CZE, etc. files
IpDrv.jpn
But I believe more importantly from CookedPC directory:
9dc1ecae_145.gpk
UITextures000.tfc
Deleted these from client and repacked and everything worked fine, but is this .gpk file crucial?
Having the same issue. It keeps looping between S1Game/Localization to Engine/Localization infinite downloads
- - - Updated - - -
Ok after several tests, anything that's "empty" or "0kb", seems to get stuck in a loop.
THis is how i managed to fix it:
Engine/Localization : Delete everything in there
S1Game/Localization : I deleted everything but the EUR folder (we're only going to be using the EUR datacenter)
Run app.bat again
Also delete these in your local client as well as the launcher will not remove them
S1Game/CookedPC/UITextures000.tfc The launcher REFUSED to download this, stuck in a loop of repeated download/unpacking over and over again. This is a 0kb file, so I sent this to the two people that are playing on my server and had them delete the folders above and put UITextures000.tfc in the S1Game/CookedPC directory and delete their local.db and have the launcher repair
This managed to get them into my server.
Hope this helps and hope this helps @hsdn figure out what's going on as this launcher is amazing and I cannot thank enough for it.