m35 / jpsxdec

jPSXdec: cross-platform PlayStation 1 audio and video converter
http://jpsxdec.blogspot.com/
461 stars 24 forks source link

How to replace modified video w audio in Chrono Cross? #35

Closed saifhashmi210 closed 3 years ago

saifhashmi210 commented 3 years ago

Environment

jPSXdec version: v1-04_rev3987 Operating system: Windows 10 x64 Home Java runtime environment : openjdk version "1.8.0_282"

PlayStation Game (if applicable)

Name: Chrono Cross Region code (e.g. SLUS-1234): SLUS-01041

Description

Hi, I found jpsxdec to be really helpful at being able to view/extract/convert videos from Chrono Cross but I'm looking to replace them with my own videos. Unfortunately Chrono Cross' cd contents use a different lookup table and the video/audio files themselves dont follow the standard STR/XA format. The replace-frames work with the last "Unnamed" video file but the replace-xa doesnt recognize the audio stream as an XA format. I wasn't able to re-inject modified .STR files using the same sector (xtractor.net) either as It boots to a black screen, probably because the audio/video sector doesnt match up to the documentation.

pic_regulardisc

Any ideas or help would be appreciated. Thank you.

m35 commented 3 years ago

Sorry, audio from SquareSoft games is the one audio format that jPSXdec currently can't replace. I'll add the feature in the next release.

m35 commented 3 years ago

New release should include the change. Comment here if you have any issues. https://github.com/m35/jpsxdec/releases/tag/v1.05

saifhashmi210 commented 3 years ago

Wow, didn't expect a new build so quickly. -replaceaudio worked perfectly. I just let jpsxdec convert the .wav/.aif for me and as long as the exact sample length was the same (thank you Audacity), it worked fine. Thank you so much, Im glad I didnt have to go in and hex edit the whole sectors myself!

m35 commented 3 years ago

Holy cow thank you for the tip! 😮