aianlinb / libbundle Goto Github PK
View Code? Open in Web Editor NEWLibrary and programs for bundle.bin in Content.ggpk of PathOfExile
License: GNU Affero General Public License v3.0
Library and programs for bundle.bin in Content.ggpk of PathOfExile
License: GNU Affero General Public License v3.0
Hi,
I found that there is not Records folder anymore.
Did you forget push this folder? Could you fix that pls?
Thank you.
我下載code 下來後使用C#去build release 的EXE 載入_.index.bin 出現以下錯誤訊息
System.BadImageFormatException: 試圖載入格式錯誤的程式。 (Exception from HRESULT: 0x8007000B)
at LibBundle.BundleContainer.OodleLZ_Decompress(Byte[] buffer, Int32 bufferSize, Byte[] result, Int64 outputBufferSize, Int32 a, Int32 b, Int32 c, IntPtr d, Int64 e, IntPtr f, IntPtr g, IntPtr h, Int64 i, Int32 ThreadModule)
at LibBundle.BundleContainer.Read(BinaryReader br) in E:\POE\3.12\LibBundle-master\LibBundle\BundleContainer.cs:line 130
at LibBundle.IndexContainer..ctor(String path) in E:\POE\3.12\LibBundle-master\LibBundle\IndexContainer.cs:line 19
at VisualBundle.MainWindow.OnLoaded(Object sender, RoutedEventArgs e) in E:\POE\3.12\LibBundle-master\VisualBundle\MainWindow.xaml.cs:line 85
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e)
at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent)
at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root)
at MS.Internal.LoadedOrUnloadedOperation.DoWork()
at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks()
at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget)
at System.Windows.Media.MediaContext.Resize(ICompositionTarget resizedCompositionTarget)
at System.Windows.Interop.HwndTarget.OnResize()
at System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
謝謝大大提供的工具。
我用LibBundle查看英文GGPK解壓出來的bin裏的.dat64檔,嘗試進行替換,找了幾個小時有些對應dat檔都沒找到,後來我想_.index.bin是索引文件,應該是有dat檔對應的bin路徑的,怎麽取得FileList對應路徑表,我試了LibBundle不可以查看_.index.bin這個bin檔案。
There are thousands of texture separated to hundreds bundle, replace they manually will kill my sanity.
too many files inside this bundle, TreeView get messed up.
雖然沒學過WPF,不過我試著研究一下。
Visualbundle往bin替換保存.dat64時saving 1/2滑鼠轉圈圈議會后整個程序崩潰消失,查看bin文檔修改日期,發現_.index.bin修改時間未改變,而想要修改替換的.bin檔最後修改時間變成了Visualbundle崩潰消失的時間。
有時.dat64檔能保存進bin,放進GGPK后進游戲後游戲整個消失,pathofexile64.exe進程都不見了。
In the OnButtonAddClick funcation,
LibBundle/VisualBundle/MainWindow.xaml.cs
Line 307 in 41bfc1b
LibBundle/VisualBundle/MainWindow.xaml.cs
Line 316 in 41bfc1b
the path should keep the last folder name, can be modified with this:
var path = f.Remove(0, fbd.SelectedPath.LastIndexOf("\\")).Replace("\\","/");
使用 AddFiles功能添加 Metadata\UI\UISettings.xml
会提示_index未定义
导出的文件列表中确实不存在该文件
但是使用bun_extract_file.exe 可以成功解压这个文件
https://github.com/zao/ooz
cmd 解压命令, 如下:
bun_extract_file extract-files "%POE_Path%" . Metadata/UI/UISettings.xml
另外, 雕像大的补丁已经成功修改字体, 添加了该文件, 提取雕像大补丁的文件结构也未发现这个文件
是不是这个文件的存放信息比较特殊? 请问可以解决一下这个问题吗?
谢谢
System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B) at LibBundle.BundleContainer.OodleLZ_Decompress(Byte[] buffer, Int32 bufferSize, Byte[] result, Int64 outputBufferSize, Int32 a, Int32 b, Int32 c, IntPtr d, Int64 e, IntPtr f, IntPtr g, IntPtr h, Int64 i, Int32 ThreadModule) at LibBundle.BundleContainer.Read(BinaryReader br) in C:\LibBundle-master (1)\LibBundle-master\LibBundle\BundleContainer.cs:line 131 at LibBundle.IndexContainer..ctor(String path) in C:\LibBundle-master (1)\LibBundle-master\LibBundle\IndexContainer.cs:line 19 at VisualBundle.MainWindow.OnLoaded(Object sender, RoutedEventArgs e) in C:\LibBundle-master (1)\LibBundle-master\VisualBundle\MainWindow.xaml.cs:line 85 at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs) at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised) at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args) at System.Windows.UIElement.RaiseEvent(RoutedEventArgs e) at System.Windows.BroadcastEventHelper.BroadcastEvent(DependencyObject root, RoutedEvent routedEvent) at System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(Object root) at MS.Internal.LoadedOrUnloadedOperation.DoWork() at System.Windows.Media.MediaContext.FireLoadedPendingCallbacks() at System.Windows.Media.MediaContext.FireInvokeOnRenderCallbacks() at System.Windows.Media.MediaContext.RenderMessageHandlerCore(Object resizedCompositionTarget) at System.Windows.Media.MediaContext.RenderMessageHandler(Object resizedCompositionTarget) at System.Windows.Media.MediaContext.Resize(ICompositionTarget resizedCompositionTarget) at System.Windows.Interop.HwndTarget.OnResize() at System.Windows.Interop.HwndTarget.HandleMessage(WindowMessage msg, IntPtr wparam, IntPtr lparam) at System.Windows.Interop.HwndSource.HwndTargetFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.