Closed ancuteum closed 3 years ago
The database editor is actually only meant to work for the RR remake which the Vita version might have different code. Can you send the Script folder and if possible a decrypted eboot file so I can take a look to see if they are similar?
Does the PS Vita version of the game include artbooks and Drama CDs?
No, it doesn't.
Try this and let me know if it works or not.
DatabaseEditor opens and saves the file, thank you. But DialogueEditor couldn't save the file =(
SDE Info:
Version: 1.0.2
Args:
StartDir: F:\DALTools3\
Process Level: User
ScriptPath: F:\release_win64_7\PCSG00599_decrypted_new\Script\Script.pck
Exception:
Type: ArgumentNullException
Message: String reference not set to an instance of a String.
Parameter name: s
Source: mscorlib
Function: Byte[] GetBytes(System.String)
StackTrace:
at System.Text.Encoding.GetBytes(String s)
at DALLib.File.STSCFile.Save(ExtendedBinaryWriter writer)
at ScriptDialogueEditor.STSCFileDialogue.Save(ExtendedBinaryWriter writer)
at DALLib.File.FileBase.Save(Stream stream)
at ScriptDialogueEditor.MainWindow.SaveScript()
at ScriptDialogueEditor.MainWindow.SaveButton_Click(Object sender, RoutedEventArgs e)
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.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.UIElement.OnMouseLeftButtonUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
at System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
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.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(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)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at System.Windows.Application.Run(Window window)
at ScriptDialogueEditor.App.Main(String[] args)
InnerException:
I also used an English translated script file from reddit, and it worked well. Maybe the Japanese script file is not saved due to system restrictions?
There shouldn't be any system restrictions, Pretty sure its an error on my end. Try this. The file size seems to change when saved so I'm not sure if that will effect how the game will load the files.
The file is saved successfully. But when I try to run it on the device, error c2-12828-1 appears.
Does both of the files cause the error? Or does one of the two cause it? Like does any of the two files alone work or not.
When I changed the database file, there is no change in the game, but it runs. When I change the script file, the game doesn't start and gets an error.
I guess we will look at the database issue later and first get the Script pck working. Does this at least get the game running?
Sorry, changing the database file works)
Oh, it works! Thank you very much!
Great! Please let me know if you encounter any more issues by reopening this issue with a new comment.
if you need to repack the .pck files manually using PCKTool, make sure to add -s in the command line.
Another problem. FontEditor crashes when opening font files. I added these files to Google Drive. Please see what you can do.
Also, textool seems to pack the file incorrectly. After packaging, it is no longer unpacked. I also added an example tex file to Google Drive.
FontEditor is kinda useless on the PC version, not sure if it works for the PSV but I updated it while at it. It seems the PSV version doesn't support kerning and variable width which makes sense since the game is in Japanese. (Make sure Monospace Only is checked or else the program will crash) As for TEXTool, I made some changes which might fix your issue.
Let me know if it all works or not.
textool now packs files successfully, but on vita it doesn't work - black screen.
Do you know how to use a hex editor? If you do I would like to know what would happen with a quick change.
I know how to use hex editor a little)
Open your new .tex file and at 0x0F where it should say 01
Change it to 81
then save and let me know if the file loads.
Did I do it right?
Yeah like that. Save it and let me know if the file loads this time.
So, it doesn't work.
Does editing title.tex work? (both repacking it and editing the 01 to 08).
Can you also upload the unedited logo.tex file aswell?
Actually it might be an alignment issue. Try this. (no need to hex edit with this version)
I went back to the title.tex file, edited it, and tried running it again. It didn't work. I uploaded the edited file to Google Drive, maybe I'm doing something wrong?
Just wait a little. I'm checking the differences with the PC and the PSV. I'll send another release soon.
Try this.
Unfortunately, it didn't work.
You could also try enabling compression. Make sure you are using the newest zip I sent and open the .xml file for the texture and scroll down until you see this
<Compress>false</Compress>
Change the false
to true
like
<Compress>true</Compress>
Then save and drag the xml file into TEXTool.
Yes, it worked! Thanks!
Oh. Never seen a game that uses .tex that required compression. Well let me know if you see any more issues. I might keep this issue open for a while just in case.
Closing due to inactivity. Please reopen the issue if you have any issues.
Hello! I'm trying to open the database file and script file from ps vita date-a-live, but I get an error. Pls help!
SDE Info:
Exception: