[Help] Can't repack Elden Ring CNT, because of app version.

vinzor

Member
OP
Newcomer
Joined
Dec 31, 2021
Messages
15
Trophies
0
Age
21
XP
53
Country
Russia
So I'm trying to remove fog barriers and Stormveil Castle entry obstacles. I am using Modded Warfare patch builder to make custom patch, I extracted "asset\aeg\aeg218\aeg218_055.geombnd.dcx & aeg218_055_l.geomhkxbnd.dcx" files and replaced them to empty files with exact same name, then I edited eboot.bin file so fog walls will disappear. On the build step app output an error, this is what was in log file:

[ Debug ] 2021-12-31 20:49:51 Create image Process started.
[ Debug ] nptitle.dat: NP Title file.
[ Error ] Publishing Tools Version must be equal to or larger than 3.87 (=app pkg's value).
[ Error ] 2021-12-31 20:49:52 Create image Process finished with error(s).


And I'm wondering what I'm doing wrong, or it's just an app issue.
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,467
Trophies
3
XP
29,226
Country
United States
I've never seen that error before. what did you use to edit the eboot? could try liborbispkg and see if it will create a package.
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,467
Trophies
3
XP
29,226
Country
United States
https://github.com/maxton/LibOrbisPkg this is okay as it doesn't contain any sony code. iirc, you need either a certain .net version or .net core version depending on which one you use. think the .net core uses 3.1, but I forgot what .net the normal one uses. use the pkg editor, I think is what it's called. this is what devs use for their projects, they don't normally use orbis, as this is part of the unofficial sdk.
 

vinzor

Member
OP
Newcomer
Joined
Dec 31, 2021
Messages
15
Trophies
0
Age
21
XP
53
Country
Russia
I've never seen that error before. what did you use to edit the eboot? could try liborbispkg and see if it will create a package.
I am using HxD, and I also edited an eboot file, but I did it with PS4 Cheater so it's was only in RAM, not in the files.
I will try liborbispkg app right now and response ASAP.
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,467
Trophies
3
XP
29,226
Country
United States
I think you might have to fself the file yourself, because afaik, liborbispkg won't reencrypt, unless you already did that. what's normally used is make_fself.bat.
 

vinzor

Member
OP
Newcomer
Joined
Dec 31, 2021
Messages
15
Trophies
0
Age
21
XP
53
Country
Russia
I've never seen that error before. what did you use to edit the eboot? could try liborbispkg and see if it will create a package.
I extracted full game using liborbispkg and tried to pack it via fake pkg tools (orbis) again this is what i got:
1. When using Project.gp4 file in the CUSA18880-app folder-
1640975750800.png

2. When using CUSA18880-app.gp4 file.
1640975768626.png

I tried to build pkg in PkgTool by LibOrbisPkg via cmd and I can't figure out how to do it.
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,467
Trophies
3
XP
29,226
Country
United States
there should be a gp4 option in new, where it will have you build the package and the gp4 at the same time. I have no idea why it's like that.
 

vinzor

Member
OP
Newcomer
Joined
Dec 31, 2021
Messages
15
Trophies
0
Age
21
XP
53
Country
Russia
there should be a gp4 option in new, where it will have you build the package and the gp4 at the same time. I have no idea why it's like that.
It is extracting game and creating gp4 file at the same time, I used this gp4 file to build the pkg but there's another error:

Preparing inner PFS...
[innerpfs] Setting up filesystem structure...
[innerpfs] Creating inodes (268 dirs and 11000 files)...
[innerpfs] Calculating data block layout...
Preparing outer PFS...
[outerpfs] Setting up filesystem structure...
[outerpfs] Creating inodes (0 dirs and 1 files)...
[outerpfs] Calculating data block layout...
Preparing PKG header and body...
Error: System.Exception: Playgo Chunk hash file was not allocated enough space. Report this as a bug
at LibOrbisPkg.PKG.PkgBuilder.BuildPkg(Int64 pfsSize)
at LibOrbisPkg.PKG.PkgBuilder.Write(String filename, Action`1 logger)
at PkgEditor.Views.GP4View.<>c__DisplayClass22_0.<buildPkg_Click>b__2()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at PkgEditor.Views.GP4View.<buildPkg_Click>d__22.MoveNext()
at LibOrbisPkg.PKG.PkgBuilder.BuildPkg(Int64 pfsSize)
at LibOrbisPkg.PKG.PkgBuilder.Write(String filename, Action`1 logger)
at PkgEditor.Views.GP4View.<>c__DisplayClass22_0.<buildPkg_Click>b__2()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at PkgEditor.Views.GP4View.<buildPkg_Click>d__22.MoveNext()


Is there any way to edit game files directly on PS4 and not creating game patches or fully repacking the game?
 

vinzor

Member
OP
Newcomer
Joined
Dec 31, 2021
Messages
15
Trophies
0
Age
21
XP
53
Country
Russia
can't guarantee this will work, but this is the build from the openorbis sdk:
Used editor that was in your archive (extracted and tried to build pkg) and it gives the same error, I think that problem is in .pkg file. After all if we will not be able to solve the problem, is there any way to edit game files directly on PS4?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: https://youtu.be/gbz35ZdaXbY