Jump to content

Avatar

RBHP on PS3 - note/howtos/troubleshooting


  • Please log in to reply
35 replies to this topic

#21 grubextrapolate

grubextrapolate
  • 124 posts
  • Location
    Ontario, Canada

Posted January 26, 2015 - 07:18 PM

sorry, busy week + company means i haven't been on the forum. got your PM, will drop you a line with some info shortly. thanks!

#22 Kaktusdude

Kaktusdude
  • 62 posts
  • Location
    Canton, GA

Posted February 17, 2017 - 12:04 PM

I am still in the process to install the harmonies on my PS3 which is truly a labor of love. :airquote:  However, my PS3 is showing signs of age and therefore I am in the process to build 2 back ups.  One I have up an running successfully with the customs.  My question is regarding the file structure where the harmonies live - each .dta file.  

 

  1. Can an expert answer the question:  is the file structure the same so that I could potentially test copying and pasting my set of updated files with the updated harmonies dta files over? i.e. CCF0376 is Lego and CCF005B is Boston I know that is somewhat a loaded question as it could imply copying songs in general - which is not my intent.  Seems the file structure without comparing side by side might be tied to how I purchased (packs vs songs, etc. ) and when... 
  2. If indeed attempting to copy and overwrite is a dumb approach and the only way to update the second and third PS3s for for harmonies is the manual labor of love...so be it.   Then also back to first question, does anyone have a reference list such as CCF0376 is Lego and CCF005B is Boston?  If not, maybe as I work on it this time around that could be by contribution back to the community.  It would speed things up - any tips or tricks welcomed here.

Thanks again to all you cats and kittens making this place happen!  



#23 Samyaza

Samyaza
  • 58 posts

Posted June 12, 2017 - 12:18 PM

I wrote a bash script to automate (some of) the RBHP process.

#!/bin/bash

find . -mindepth 2 -type f  -name "upgrades.dta"  -print0 | xargs -0 cat >> "upgrades-master.dta"
find . -mindepth 2 -type f  -regextype posix-egrep -regex '.*(mid)$' -print -exec mv {} . \;

Run it from whatever folder you want to get the upgrades from, and it'll combine all the upgrades.dta files into upgrades-master.dta, and move all the *_plus.mid files into the folder you ran it in for easy conversion. You still have to manually move the songs.dta files, though.



#24 grubextrapolate

grubextrapolate
  • 124 posts
  • Location
    Ontario, Canada

Posted December 12, 2017 - 09:14 PM

Samyaza reminded me that i never did get around to posting my perl script... so here we are!

 

it exists, it works (for me) and I use it often, but it comes with a bunch of caveats...

 

- tested on linux only... and it has dependencies on several other tools. i tried to make it path-agnostic, but i don't know how great it'll run from a windows machine.

- requires a PS3_DTA_LIST.csv file generated by letting the c3 tools crawl your ps3 to generate a list of songs+paths

- it worked for me, but might not work for you. i did a TON of testing before i let it loose on my PS3. in the end, i ended up using it to automatically apply all RBHP updates, and haven't found an issue yet. i started doing incremental updates with it almost 3 years ago, and i believe it was 2 years ago that i did my first mass update of all RBHP that existed at that time, and a final round a year or so back once the project was "done".

- it tries to be very cautious as it works, and makes backups of any existing file it modifies. the first time around it should create a .orig of your .dta files, intending to preserve a "golden master" if you ever need to get back. after that any updates will generate a foo.dta.timestamp version, so you can get back to a previous version... handy when something goes wrong.

 

of particular note - it has a --readonly option which is a VERY good idea to run the first time or two around. it'll connect to and read from your ps3 and all the other files, but does NO write operations... great way to make sure your config is good and there's no other problems.

 

- it also has several other features, some better tested than others. i actually use it to install all my customs these days. it relies on things being in the .rar format, but it's pretty smart. probably good to have other beta testers, i just keep not getting back around to updating that thread. eventually i hope to remove windows entirely from my customs installation and get it converting CON files to PS3, but it's not there yet...

 

https://github.com/g...olate/c3ps3tool

 

c3ps3tool.pl is the only file you strictly need. edit the first chunk of it to make path updates where needed (or use the corresponding command line option). if you run into issues, add the --log outputfile option to have it do some more verbose logging to a separate file and I can try to help you sort out what went wrong.

 

good luck, and let me know how it goes! 



#25 grubextrapolate

grubextrapolate
  • 124 posts
  • Location
    Ontario, Canada

Posted December 14, 2017 - 02:11 AM

as an addendum, Samyaza is fighting with my tool and i'm compiling a 'howto' as we go. so if you're not in a hurry, you may want to wait a bit.



#26 grubextrapolate

grubextrapolate
  • 124 posts
  • Location
    Ontario, Canada

Posted December 16, 2017 - 05:08 PM

OK, i've checked in a couple sets of fixes in the last few days, and also added the start of a howto doc. check out the latest on github if you're interested.



#27 Wootex

Wootex
  • 17 posts

Posted January 13, 2020 - 08:02 PM

Hi, this is a really cool project and I'm hopeful I can get it to work on my PS3, but I'm not having much luck so far.

 

I am trying to add keys to Bodhisattva by Steely Dan from Rock Band 2, the album art and difficulty in game shows it as having keys, but when I try to play it, it shows the animation of the band setting up but then the console goes black and freezes. 

 

Here's what I have done so far, please let me know what steps I am missing.

 

1 Created a folder  called songs_upgrades and put it in HMX0756

 

2. Created a dta file called upgrades.dta using notepad in the songs_upgrades folder and copied in this text: 

(bodhisattva   (upgrade_version 1)   (midi_file "songs_upgrades/bodhisattva_plus.mid")   (song_id 261)   )

 

3. Ran the file "bodhisattva_plus.mid" through the PS3 converter on C3 tools and got "bodhisattva_plus.mid.edat" I put the new file in the songs_upgrades folder

 

4. Went into the folder HMX05F6 (where the rock band 2 songs are located) and opened the songs.dta file there. I pasted the following text over the Bodhisattva info and re saved the file.

 

; RB2 - 0000261 - Steely Dan - Bodhisattva

(bodhisattva
   (name "Bodhisattva")
   (artist "Steely Dan")
   (master TRUE)
   (song_id 261)
   (song
      (name "songs/bodhisattva/bodhisattva")
      (tracks
         ((drum (0 1 2))
          (bass (3))
          (guitar (4 5))
          (vocals (6 7))
          (keys (8 9))
         )
      )
      (pans (0.0 -1.0 1.0 0.0 -1.0 1.0 -1.0 1.0 -1.0 1.0))
      (vols (0.0 -1.0 -1.0 -4.5 -5.0 -5.0 -3.0 -3.0 -4.0 -4.0))
      (cores (-1 -1 -1 -1 1 1 -1 -1 -1 -1))
      (drum_solo
         (seqs (kick.cue snare.cue tom1.cue tom2.cue crash.cue))
      )
      (drum_freestyle
         (seqs (kick.cue snare.cue hat.cue ride.cue crash.cue))
      )
      (hopo_threshold 250)
      (vocal_parts 3)
   )
   (bank sfx/tambourine_bank.milo)
   (anim_tempo kTempoMedium)
   (song_scroll_speed 2300)
   (preview 73300 97300)
   (song_length 318181)
   (solo (guitar vocal_percussion))
   (rank
      (drum 374)
      (guitar 474)
      (bass 424)
      (vocals 148)
      (keys 402)
      (real_guitar 0)
      (real_bass 0)
      (real_keys 441)
      (band 500)
   )
   (format 10)
   (version 2)
   (game_origin rb2)
   (short_version 0)
   (rating 2)
   (genre classicrock)
   (vocal_gender male)
   (year_released 1973)
   (album_art TRUE)
   (album_name "Countdown to Ecstasy")
   (album_track_number 1)
; Added from RB3 DTB
   (extra_authoring )
; Added RB3 scroll information
   (vocal_tonic_note 7)
   (song_tonality 0)
)
 
Like I said, the album art and difficulty in game shows it as having keys, but when I try to play it, it shows the animation of the band setting up but then the console goes black and freezes. I tried to change the upgrades.dta file to say (midi_file "songs_upgrades/bodhisattva_plus.mid.edat") but that did not fix the problem.
 
Thanks for the help!

 

 


#28 Alternity

Alternity
  • 1,191 posts

Posted January 14, 2020 - 12:17 AM

Using other upgrades than pro guitar on PS3 will be tricky. You will need to put the "songs_upggrades" folder in the same folder as the DLC itself, though here's where the tricky part starts: the midi file for that upgrade will need to be re-encrypted using the k-license of that DLC, and not the k-license we usually use for custom songs. Encrypting the file is not done by renaming the file, you can do it in the C3 CON Tools' PS3 converter with the "encrypt midi file" option somewhere in the drop down menus at the top of the converter. Be aware though that the converter will use the HMX0756 k-license and not the one you're looking for.

 

You can still try using HMX0756 folder, as I'm not 100% sure it's been a while, more like 99% sure, so do let us know if you confirmed this.

Pro guitar upgrades can be installed in any folders (including the one we are using for custom songs) so this does not apply to them. They will still need to be encrypted using the method mentioned above, though.

 

If you don't know what edat files and k-licenses are, I suggest doing some research, learning the fundamentals of how a PS3 works is very usefull when doing this stuff.



#29 Wootex

Wootex
  • 17 posts

Posted January 14, 2020 - 12:48 AM

Thank you, that is helpful. Is there a place that lists the folder names for specific songs, or do I just need to blindly check 1 by 1?

#30 Alternity

Alternity
  • 1,191 posts

Posted January 14, 2020 - 02:25 AM

It's kinda hard to know fast.

The best way I've known is to use WebMAN (a PS3 plugin) and access the web page it generates from your computer, can't remember the exact link but it showed you in real time all the edats that were unlocked, so you can look at that page and then load the song in the game, and you'll see which edat file it unlocked.

Just be sure to read enough about PS3 encryption before going that route, it will not work with the current PS3 converter, that converter by default is only working for the HMX0756 folder. Each DLC folder uses its own encryption key.



#31 Wootex

Wootex
  • 17 posts

Posted January 15, 2020 - 05:22 PM

I think I have the information I need to encrypt the files, but like you said, the version of C3 tools won't work. Is there an older version that will work or do you know of another program I can use?

#32 Alternity

Alternity
  • 1,191 posts

Posted January 15, 2020 - 11:31 PM

C3 CON Tools uses a txt file and a rap file to encrypt the PS3 files. You can change the rap file and modify the text file with the correct information for the folder you want to use. A good way to go about it is modifying the region you are not using (i.e. if you're using NTSC, change PAL stuff so that when you select PAL in the converter you can use the second rap file and key).

The files you want to change with the things you have is the rap file in [C3 CON Tools root]/bin/raps and the k-license in [C3 CON Tools root]/bin/klic.txt.

Make sure to make backups of the original files before changing them just in case.



#33 Wootex

Wootex
  • 17 posts

Posted January 17, 2020 - 09:19 PM

Thanks for your help, unfortunately I'm still getting the black screen and need to restart when I try to load keys.

 

I put the Rock Band 2 export rap file in the C3 rap folder and changed the file name to Pal.rap.

 

I changed the K-lic# and the content ID (which is the same name as the rap file correct?) under the PAL section of klic.txt to the rock band 2 export info.  

 

In C3 tools, I selected PAL region and ran the ps3 converter for the _plus.midi keys file from optional upgrades to make it into .edat file with (I think) the correct encryption.

 

I put the .edat file in the songs_upgrades folder in the Rock band 2 export folder along with the upgrades.dta file with copied text from the Github

 

I copied the text from the songs.dta on the Github over the default song text in the songs.dta in the rock band 2 folder.

 

Are there any other steps I'm missing? Do I need to have harmonies installed before I can include keys? Is there a conversion setting  I need to change? Am I not supposed to change the content id in klic.txt?

 

Thanks for helping me along with baby steps. 

 



#34 Alternity

Alternity
  • 1,191 posts

Posted January 18, 2020 - 03:04 AM

The content id should match the real rap file name so that's done correctly.

I'm not sure what went wrong at that point, it should work...

Another thing that you could try is literally changing the DLC manually instead but that's alot of work. You'd have to decrypt the midi file, merge the new parts in, re-encrypt it with the correct key and change the dta file. If you attempt that make sure to do backups of the original files.



#35 Wootex

Wootex
  • 17 posts

Posted January 22, 2020 - 11:57 PM

Thanks for your help Alternity,

  I was able to get things working, it turns out you don't need the k-license or rap or anything like that. It works if you just put the converted midi upgrades into HMX0756 folder. My problem was I was putting the songs_upgrade folder in with the songs and not right into the HMX0756. Also there was an errant parentheses messing me up. 

 

I feel that I have emerged a smarter, more fully formed person.



#36 arielcastl3

arielcastl3
  • 2 posts

Posted June 2, 2020 - 09:46 AM

Thanks for your help Alternity,

  I was able to get things working, it turns out you don't need the k-license or rap or anything like that. It works if you just put the converted midi upgrades into HMX0756 folder. My problem was I was putting the songs_upgrade folder in with the songs and not right into the HMX0756. Also there was an errant parentheses messing me up. 

 

I feel that I have emerged a smarter, more fully formed person.

excuse the files need to be merged into one text? I do not understand. or directly put the file -upgrade.dta- and the edat in the song_upgrade folder.
sorry for my bad english, I try to play with some keyboard themes of the lego and rb1





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users