using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows; using System.Windows.Controls; using System.Windows.Data; using System.Windows.Documents; using System.Windows.Input; using System.Windows.Media; using System.Windows.Media.Imaging; using System.Windows.Shapes; namespace CriPakGUI { /// /// WindowAboutGUI.xaml 的交互逻辑 /// public partial class WindowAboutGUI : Window { public WindowAboutGUI(double x, double y) { InitializeComponent(); this.WindowStartupLocation = WindowStartupLocation.Manual; this.Top = x; this.Left = y; SetWindowPrefs(); } private void SetWindowPrefs() { textblock0.Text = @"CriPakTools-GUI Github repository: https://github.com/wmltogether/CriPakTools This tool is based on codes by Falo (http://forum.xentax.com/viewtopic.php?f=10&t=10646), Nanashi3(http://forums.fuwanovel.org/index.php?/topic/1785-request-for-psp-hackers/page-4), esperknight (https://github.com/esperknight/CriPakTools), and uyjulian(https://github.com/uyjulian/CriPakTools) I forked these repos , added batch reimport \ compression code \ basic GUI and fixed TOC issues . Thanks for KenTse 's CRILAYLA compression method. What's new in this modding version: Added Encodings for CPK Reader Added Batch Mode Added compression option Fixed GTOC & ETOC Fixed CPK header now it support almost all games using Criware cpk with itoc ,gtoc and etoc chunks. "; } private void button_Close_Click(object sender, RoutedEventArgs e) { this.Close(); } } }