News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: Trying to make psp music hack for Persona PSP  (Read 8490 times)

evil_interrogator66

  • Jr. Member
  • **
  • Posts: 8
    • View Profile
Trying to make psp music hack for Persona PSP
« on: July 06, 2015, 03:27:18 pm »
Hello people. I'm getting right into the heart of the matter.

I hate the music in Persona 1 PSP version, so I created some of my own and converted it to Atrac3 format which the game uses. Then I used WinISO to extract my own files in place of the original ones and created new ISO. But the ISO i created doesn't work in PPSSPP for some reason. I've noticed the ISO i created is way smaller size than the original. Dunno why. I've been thinking that's the reason why it doesn't work.

Anyone here have expertise to help me out? I thank you in advance.

-Evil

ze10

  • Jr. Member
  • **
  • Posts: 73
    • View Profile
Re: Trying to make psp music hack for Persona PSP
« Reply #1 on: July 09, 2015, 12:07:05 pm »
I'm sorry I can't help you much, but if you ever complete that hack, PLEASE release it to public. Most of the times the music in the PSP version makes me cringe. The original version was so much better in that aspect... the music fit the mood of the game much better :(

evil_interrogator66

  • Jr. Member
  • **
  • Posts: 8
    • View Profile
Re: Trying to make psp music hack for Persona PSP
« Reply #2 on: July 09, 2015, 05:27:34 pm »
I know what you mean. I LOVE the original OST from the PS1 version. Too bad Revelations was dumbed down in many ways. I really hope one day someone offers the help to Gemini with translation of the original japanese PS1 version of the game. There are 5 tracks I'm implementing in place of the original PSP version: normal battle, boss battle, school theme, encounter theme and the "taken over by demons" theme which plays in lots of places on the PSP version including taken over school, world map, market etc. after the beginning of the game.

I'm sure there are people on this board who would know the solution to my problem. I've been checking internet and found out about ppf patching but i'm pretty much at beginner level in the whole romhacking business haha. So yeah, I've been trying to insert the bgm files in place of the original ones and recompile the whole package into iso i can run with ppsspp. I'm still here and it's never too late to help out, guys :)

-Evil

BlackDog61

  • Hero Member
  • *****
  • Posts: 784
    • View Profile
    • Super Robot Wars A Portable translation thread
Re: Trying to make psp music hack for Persona PSP
« Reply #3 on: July 10, 2015, 04:05:30 pm »
Have you tried using UMDGen instead?

evil_interrogator66

  • Jr. Member
  • **
  • Posts: 8
    • View Profile
Re: Trying to make psp music hack for Persona PSP
« Reply #4 on: July 11, 2015, 04:08:03 am »
I've tried the same thing with UMDGen 4.00 but the output file always loses about 100Mb from the original for some reason. And it doesn't work in PPSSPP. I've also tried inserting bytes to the lesser size iso using hex editor to make it equal in size and still it doesn't work in the emulator. I really don't know what I should do. Any suggestions?

Dragoonglue

  • Jr. Member
  • **
  • Posts: 10
    • View Profile
Re: Trying to make psp music hack for Persona PSP
« Reply #5 on: July 11, 2015, 11:27:18 am »
There already exists a patch that replaces the music made by Canzah. Apply it to an untouched .iso.

https://mega.co.nz/#!HJEXHJqC!ky5Ra5W8n5zJr12JMDWWHuH1w0zFpwnbZvCCTymzMAI

evil_interrogator66

  • Jr. Member
  • **
  • Posts: 8
    • View Profile
Re: Trying to make psp music hack for Persona PSP
« Reply #6 on: July 11, 2015, 06:07:29 pm »
I'm aware of that patch and have tried it myself. However, that mod is incomplete. Most of the music is really low quality due to P1 PS1 having longer soundtracks compared to the PSP remake. Also, the battle themes cut before they reach the end of the loop which really is a great negative for me. The battle theme I created myself isn't that long I'd have to make it low quality or make it cut early. In fact, I just got my mod working on Persona today thanks to the miracle tool called CDMage. My battle track definitely started with the battle, but I'm not getting it looped perfectly. I know I'd get it to loop perfectly with some Hex editing since my song is 2 secs shorter than the PSP battle theme (about 1 min 1 sec). The problem being I only know how to make it loop at 1 minute mark which cuts about 1 seconds from the song. If anyone here possesses the knowledge about editing Atrac3 sound files using hex editors I would greatly appreciate your help.

-Evil

bazz

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • My Homepage
Re: Trying to make psp music hack for Persona PSP
« Reply #7 on: July 13, 2015, 06:01:05 pm »
...In fact, I just got my mod working on Persona today thanks to the miracle tool called CDMage. My battle track definitely started with the battle, but I'm not getting it looped perfectly. I know I'd get it to loop perfectly with some Hex editing since my song is 2 secs shorter than the PSP battle theme (about 1 min 1 sec). The problem being I only know how to make it loop at 1 minute mark which cuts about 1 seconds from the song. If anyone here possesses the knowledge about editing Atrac3 sound files using hex editors I would greatly appreciate your help.

-Evil
I will use 1:01 as a loose example of your desired loop point, although you must use your sound file's exact end-time.

convert your desired loop point time to seconds : ie 1.1 min -> 61 s

multiply this by the sample rate of your song (44100 I assume) : 61 * 44100 = 2690100 = 0x290C34

Open up your atrac3 song in a hex editor and navigate to offset 0x78 and replace with your 3 bytes above in little-endian style : 34 0c 29

Note: I've never hacked atrac3, I just researched on your behalf and found a tutorial @ http://dissidiaforums.com/showthread.php?10188-BGM and http://dissidiaforums.com/showthread.php?14299-BGM-Tutorial-(Without-using-psp)& (requires registration to view / view images)
« Last Edit: July 13, 2015, 06:45:00 pm by bazz »

vivify93

  • Submission Reviewer
  • Hero Member
  • *****
  • Posts: 1085
  • Guardian of Mystery
    • View Profile
Re: Trying to make psp music hack for Persona PSP
« Reply #8 on: September 26, 2015, 02:41:49 am »
Sorry to bump such an old topic, but a kind individual named Canzah made such a patch in 2014. Shin Megami Tensei: Persona sadly eviscerated at least 1/3 of Revelations: Persona's music, so a direct 1:1 music reversion patch isn't possible.

The opening song, Dream of Butterfly, is the only new song that remains from SMT: Persona. The rest are from Revelations: Persona.

Grab it here! :)

It's an XDELTA patch; XDELTA UI is included. Here's what Canzah themselves had to say about this:

Quote from: Canzah
Mind you I never went to officially released the patch officially since I'm not happy with how it is.
First of all, I could only replace existing P1P tracks with P1 PSX tracks. That means I was only able to include roughly 1/3 of the music that was in the PSX version.
Secondly, I had to shorten some tracks due to filesize protection that the game uses.
If you're still interested however, then here you go:
[Mega link that could potentially go down]
Personally I'd instead just recommend playing PSP version first and then replaying the PSX version already knowing the plot and using online guide for item translations since that way you will be able to experience original music properly and not in a shortened/cut down form.
You're free to distribute the patch if you so desire, I only ask that you credit me as the author if you do so.

To anyone who is viewing this topic years from now and if, for some reason, the Ze Bucket link is down, contact me via PM. I'll likely keep this little beauty forever. :)
« Last Edit: September 26, 2015, 05:31:00 pm by vivify93 »
All my life I've tried to fight what history has given me.

RichterSnipes

  • Jr. Member
  • **
  • Posts: 24
    • View Profile
Re: Trying to make psp music hack for Persona PSP
« Reply #9 on: October 01, 2015, 12:26:18 am »
Sorry to bump such an old topic, but a kind individual named Canzah made such a patch in 2014...
You do realize that someone posted that exact same patch just a few posts before you, don't you? OP also commented on it just after that post. Different link, though.

I had no idea that the PSP version of Persona 1 changed the music so much... and apparently for the worse. You'd think it'd have been the opposite. If someone digs deep into the code for the game and is able to make new music calls for the other 2/3 of the music, that'd be swell. Not sure if anyone is really interested in doing that, though.

buttered_toast

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Trying to make psp music hack for Persona PSP
« Reply #10 on: October 04, 2015, 06:27:08 am »
I remember looking at the EBOOT, if I recall correctly it uses the same LBA format as the remakes of Persona 2 that followed it, which are documented. So theoretically, one could make a patch with higher quality music than Canzah did.
I haven't experimented with Persona 1 myself, just Persona 2. I could be wrong.

vivify93

  • Submission Reviewer
  • Hero Member
  • *****
  • Posts: 1085
  • Guardian of Mystery
    • View Profile
Re: Trying to make psp music hack for Persona PSP
« Reply #11 on: October 19, 2015, 01:22:47 pm »
You do realize that someone posted that exact same patch just a few posts before you, don't you?
No, I did not, or else I wouldn't have posted it.
All my life I've tried to fight what history has given me.