Giter VIP home page Giter VIP logo

khpcpatchmanager's People

Contributors

antoniodepau avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

khpcpatchmanager's Issues

Patching a.us files reverts certain elements to SD and breaks effects.

Describe the bug: When trying to patch a.us files from the original/obj folder, the game reverts back to SD and breaks effects of the patched file, causing them to look like squares, or be colored too brightly/lack transparency.

To Reproduce:

  1. Grab any a.us file from kh2_sixth/original/obj, in this case I used P_EX100_BTLF.a.us, which corresponds to Valor Form.
  2. Create a patch with the proper file structure.
  3. Patch in the a.us file.
  4. Go in-game, and try attacking using finishing moves/any attack in the form that has a special effect associated with it.

Expected Behavior:
Expected behavior would be that the effects would work just as in the unpatched version of the game, with proper transparency & shapes. Screenshot below is how one of the effects looks in the unpatched game.
image

Screenshot of the issue:
image

Version used: v1.15

(Updated to match the format of the issue template, & added a screenshot of how said effect would normally look).

[KH2] Inconsistent behavior when patching in new files.

Describe the bug
For KH2, when you patch in a file with a new name, the file can sometimes not be patched in at all, and the pkg will retain a temporary name with the name of the pkg & the time it was patched. Additionally, when this occurs, a backup PKG will appear in "backups", even when the "Backup PKG" option is ticked off.
Unfortunately, when it occurs seems to be inconsistent. I've tried to consistently reproduce this, but it's happened only a handful of times.

To Reproduce
Steps to reproduce the behavior:

  1. Create a patch that adds in a new file, like patching in a new weapon, in kh2_sixth\original\obj "W_EX010_NEWTEST.mdlx" & "W_EX010_NEWTEST.a.us"
  2. Edit the "00objentry" file to load your newly patched file in over an existing weapon.
  3. Patch the file in the game.
  4. Check out the Image/en folder, with all the pkgs inside.
  5. Confirm if the patched pkg retained its temporary filename.
  6. Rename the pkg to the expected name
  7. Load in-game. An infinitely loading black screen will occur, because the file seems to not have been patched in.

Expected behavior
The PKG should be properly renamed back to its original name, and backup PKGs should not be present in the backup folder if the option was ticked off.

Screenshots
image
image
Photo showing the temporary filenames, as they appeared in the backup folder. (Did not have an on-hand screenshot of them appearing in the EN folder)

Version used (please complete the following information):
V1.20 of patcher used.

Affected games (please complete the following information):
KH2

Formats involved (please complete the following information):
MDLX & a.us

Additional context

Add HD asset support for custom MSG files

Describe the bug
When replacing a file in msg/[language]/, the textbox texture uses the SD assets

Version used (please complete the following information):
1.15

Additional context
The SD textbox texture data is an IMGD file; the same file format as itempic. It's always in the 2nd subfile with the name md_m. The offset to HD asset the IMGD file is 0x40, the same offset as itempic's.

Side note: I suspect that this applies to every other imgd subfile (for example in msn files) so it might be possible to scan the .bar header for imgd subfiles and adjust the HD offsets accordingly.

jp version can not repacked [hope fix]

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:
Specifically apply patch

kh1_first, the game crashes without going to the title screen
kh1_third crashes when trying to go to world map screen by selecting gummi ship from save point

kh2_fifth turns off the character's battle voice (cutscene no mute)
kh2_fifth uses Patcher1.1.4, the sound does not disappear, but custom mdlx cannot be used

Expected behavior
there is no file hash information only for the Japanese version,
and the game crashes (cannot progress) because it cannot be repacked well.

Version used (please complete the following information):

  • Version: [e.g. v1.14 and v1.2.0]

Affected games (please complete the following information):

  • KH1, KH2

Formats involved (please complete the following information):

  • If you apply a patch regardless of format

Additional context
if use the Japanese version with KHPCPatchManager1.2.0 and patch some files (kh1_first, kh1_third, kh2_fifth),
is it possible to add these hash information?

KHPC Patch Manager on Steam Deck/Linux

I try to run the Patch manager through Lutris and Steam on deck, itll open for a second then immediately closed. I believe it's a dependency im missing, but im just not sure which one it would be. Any advice/help?

  • Version: 1.0.0.8
    Epic Games Official Version

Error messages when patching KH2

Hi! When I try to patch KH2, I get this error, regardless of which patch I'm trying to apply. Is there a way to fix this?
error

There was an error! System.ArgumentOutOfRangeException: Specified
argument was out of the range of valid values.
Parameter name: count
at System.Linq.Enumerable.Range(Int32 start, Int32 count)
at Openkh.Egs.Egs HdAsset..ctor(Stream stream)
at Openkh.Egs.EgsTools.Patch(String pkgFile, String inputFolder,
String outputFolder, MyBackgroundWorker bgw1)
at
KHPCPatchManager.<>c__DisplayClass20_0.b__1(Objects,
DoWorkEventArgs e)
at
System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEvent
Args e)
at
System.ComponentModel. BackgroundWorker. WorkerThread Start(Object argument)

If the KH installation folder is not on the C: drive the programm gets stuck on a Browes for folder windown on the desktop.

Describe the bug
A clear and concise description of what the bug is.

As the Title says if the installation folder C:\Program Files\Epic Games\KH_1.5_2.5\Image\en\ is not existend or in another drive the patcher doesn't let you search for it. It Opens a "Browes for folder" windown which get's stuck on desktop and cannot acces the other drives.

To Reproduce
Steps to reproduce the behavior:

  1. Open Patcher
  2. Select a Patch to Apply
  3. Click on Apply patch
  4. See error

Expected behavior
I expect a Normal Browes window to appear, basicly the same that opens when you search the Patch to apply.

Version used (please complete the following information):

  • Version: v1.2.0.

Affected games (please complete the following information):

  • I tested KH 1.5 and 2.5

Additional context
The line which appears to search for said folder is on row 224. At least this is I think is the part where this happens.
browes for folder

this is the window that opens when I use it. As you can see desktop, is as far as i can go, the other folders ar just subfolders with no selection of other drives posible.

Wonky Text after editing btltbl.bin

After editing the btltbl.bin in the original folder of kh1_first, I get this weird text issue..... Actually just creating a mod with this file unaltered causes this text issue
wonkytext

Optional Backup

Hi, it would be nice if there was a checkbox so the user could decide if he wants a backup or not.

Error when trying to install French Voices patch for KH2

error

Hello !
I try to patch my KH2 game to add the french voice lines from the PS2 version, but when I try to patch it, is gives me this error message...

I have 44 Go on my disk drive, and my KHPCPatchManager is inside the Kingdom Hearts HD Mix Directory (inside the Epic Games directory)

Does not ask for game install folder

When running the current version (1.1.2), the program does not ask to specify the game folder. It begins extracting the patch like I already specified the folder, even if I do the original drag n drop method instead of using the GUI. And no one seems to have this problem.

Add HD assets support for custom texture patches.

Describe the bug
When trying to use HD assets on a model with custom texture patches the game crashes, or when the game is supposed to do that animation, the whole texture turns gray.

Version used (please complete the following information):
v1.14

Additional context
I did a custom model replacing kh2 sora and I wanted to use texture patches to have an animated face, but the texture is not the same as sora's so I had to do some adjustments to the texture patches (size and position), the remastered assets work with no problems, but when one texture patch is supposed to replace one part of the texture it turns it all gray or the game crashes. Everything works perfectly if i do not use HD assets.

Value cannot be null error

Describe the bug
I'm trying to install the Vanilla Heartless Mod for KH1 FM.
I get this error when running the patcher.

To Reproduce
Steps to reproduce the behavior:

  1. Run Patch Manager as admin.
  2. Select Patch
  3. Choose the kh1pcpatch mode file.
  4. Apply Patch
  5. Choose the KH_1.5_2.5 patch inside Epic Games.
  6. See error
    image
  7. It extracts some of the mod files before crashing.
    image

Version used (please complete the following information):

  • Version 1.1.4

Affected games (please complete the following information):
-KH1

Additional context
Version 1.2.0 of the patch manager gives me another type of error. After applying the patch, opening KH1 FM through 1.5+2.5 ReMix launcher leads to a black screen and the game freezes. Important to note the patch manager doesn't seem to error out, but the patch does take no time at all suspiciously. When I drag and drop the mod file and the en folder, it results in this error in console:
image

Path of the install is D:\Epic Games\KH_1.5_2.5.
C drive is my main drive, but there's no Epic Games folder in program files there to confuse the patch manager.

[KH1/BBS/DDD/COM] New files do not have their remastered assets added in.

Describe the bug
New files on anything except for KH2 do not have their remastered counterparts added into them.

To Reproduce
Steps to reproduce the behavior:

  1. Make a patch for KH1/BBS/COM/DDD, make sure it is one that requires remastered assets with those assets included.
  2. Patch the game with that patch.
  3. Extract the game after patch. Observe the originals added and the remastered ones left out.

Expected behavior
All files should have remastered assets extracted.

Screenshots
N/A

Version used (please complete the following information):

  • Version: v1.2.0

Affected games (please complete the following information):

  • All except KH2.

Formats involved (please complete the following information):

  • ALL

Additional context
It seems like the program has no idea what to do, as "If Has Remastered" function specifically targets KH2 formats.

Add multi-patching

Being able to select multiple patches to apply them at once (saving time and efforts on the user's end).

Patches should be applied in the order they were selected (last patch will overwrite any files previously patched during the process) or let the user decide/review the patch order before patching.

Error when using Lutris through Wine (Linux)

Lutris is a Linux game manager that has integrations with Wine and several game services like Steam.
https://en.wikipedia.org/wiki/Lutris

Here's my output using the latest with .NET 4.0, 4.5, and 4.8, and .NET 5.0 runtime from here installed. (Pretty sure the "fixme" lines can be ignored.)

wine KHPCPatchManager.exe
002c:fixme:winediag:loader_init wine-staging 8.18 is a testing version containing experimental patches.
002c:fixme:winediag:loader_init Please mention your exact version when filing bug reports on winehq.org.
0098:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0098:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0098:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0098:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0098:fixme:wineusb:query_id Unhandled ID query type 0x5.
0098:fixme:wineusb:query_id Unhandled ID query type 0x5.
0098:fixme:wineusb:query_id Unhandled ID query type 0x5.
0098:fixme:wineusb:query_id Unhandled ID query type 0x5.
0098:fixme:wineusb:query_id Unhandled ID query type 0x5.
012c:err:module:fixup_imports_ilonly mscoree.dll not found, IL-only binary L"KHPCPatchManager.exe" cannot be loaded
012c:err:module:loader_init Importing dlls for L"Z:\\home\\sleetixia\\Downloads\\KHPCPatchManager.exe" failed, status c0000135

I'm not sure if there's a winetricks thing I'm missing, but I thought the dotnet ones should have covered it. I get the same error when running in Wine with Mono.

And double-clicking should work just fine for opening graphical programs. It generally works fine for Windows executables run through Wine too as long as they don't have any errors.

Originally posted by @RoseIlanga in #37 (comment)

Add HD asset support for new MAP files

Any chance .map files can also be supported by this? The problem currently:

  1. The area name that pops up when you enter a room is put in separate folder within the map folder while in PS2 both the area popup and the map objects/textures are in the same .bar file.
  2. All the object model and texture have the same name: BOB. I don't know how to differentiate them just from the header.

Could not find folder to patch

Describe the bug
when i go to apply a patch it just doesn't work and shows the message "Could not find folder to patch" will place a screenshot

To Reproduce
no idea how, literally just downloaded it and it just has not acted right, tried moving the files into the kh folder its self, giving them its own folder and nothing

Expected behavior
expect it to just patch it and work first try

Screenshots
image

Version used (please complete the following information):
V1.2.0

Affected games (please complete the following information):
KH2 at the moment, not tried any others

Formats involved (please complete the following information):
not a clue currently

Additional context
Add any other context about the problem here.

Add HD assets support for custom ARC files

Describe the bug
When patching a custom ARC file the assets are all SD and the remastered textures doesn't work.

Version used (please complete the following information):
v.1.1.4

Can't add remastered assets

The patcher does not add any new remastered asset. The console has a line if an original file is added but not for remastered. If the patched file is re-extracted, only original folder will contain unknown/new files while the remastered folder will be just as before.

.exe not working

Hi, im from that YouTube comment where the v1.1.5 .exe is not opening up any window.
This is the folder im using, i double clicked, run as administrator, on the .exe and nothing happened so i decided to try the drag onto it method, still nothing.
image

Then I tried extracting the resources zip, moved the .exe into the zip folder, along with the patch. I also tried opening .exe there, no luck.
image

Could not find folder to patch!

first i am attempting to use this patcher to modify game files installed on a linux system. I cannot drag the patch files to execute via the .exe so i tried launching the patcher and selecting the patches in the gui and when i select the patch and target directory. It then gives me an error stating "Could not find any folder to patch! Make sire you are using the correct path for the "en" folder!

Error when trying to patch Kingdom Hearts DDD

Describe the bug
I got this message when trying to patch Kingdom Hearts Dream Drop Distance.

To Reproduce
Steps to reproduce the behavior:

  1. Selected the ddd.txt patch
  2. Selected the instal folder
  3. Applying patch
  4. See error

Expected behavior
The patch applying

Screenshots
66bcab25-f9f4-4dae-b8b6-a0880d750cf9

Version used (please complete the following information):

  • Version: 1.20

Affected games (please complete the following information):

  • DDD

Formats involved (please complete the following information):

  • .txt

Additional context

After extracting there is an error occured



There was an error! System.TypeInitializationException: “OpenKh.Egs.EgsTools”的类型初始值设定项引发异常。 ---> System.TypeInitializationException: “OpenKh.Egs.EgsHdAsset”的类型初始值设定项引发异常。 ---> System.ArgumentNullException: 值不能为 null。

参数名: path1

在 System.IO.Path.Combine(String path1, String path2)

在 OpenKh.Egs.EgsHdAsset..cctor()

--- 内部异常堆栈跟踪的结尾 ---

在 OpenKh.Egs.EgsTools..cctor()

--- 内部异常堆栈跟踪的结尾 ---

在 OpenKh.Egs.EgsTools.Patch(String pkgFile, String inputFolder, String outputFolder, MyBackgroundWorker bgw1)

在 KHPCPatchManager.<>c__DisplayClass20_0.b__1(Object s, DoWorkEventArgs e)

在 System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e)

在 System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)

确定

path1 can't be NULL, why is it NULL?

Tool won't replace files that do exist.

Bug:
The tool won't replace remastered files that do exist in the patch.
This bug occurs for Birth by Sleep packages, trying to replace a PNG image.

To Reproduce
Steps to reproduce the behavior:

  1. Create patch folder and bbs_first within it.
  2. Create path to the file: arc_en/menu/title_txt.arc/.
  3. Add a png with this name: US_title_txt_arc10.png
  4. Create patch and apply it.
  5. Remastered file is not replaced.

Expected behavior
The tool is supposed to replace a remastered texture with another.

Screenshots

Screenshot showing that it's not replacing the file.
image

Version used:

  • Version: 1.2.0

Affected games:

  • Birth by Sleep.

Formats involved:

  • .PNG

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.