| QUOTE (ZX3Junglist @ Feb 26 2004, 02:41 AM) |
| QUOTE (XBOX War3z @ Feb 24 2004, 11:04 AM) | about the soundtrack: soundtrack data: an unsigned integer (4 byte) containing the soundtrack id an unsigned integer (4 byte) containing the soundtrack song count another unsigned integer which represents the total soundtrack time in milliseconds a null terminated string with the soundtrack name (max 32 characters)
about the names they are unicode so each character takes 2 bytes so each song name is 64 byte |
is this format of the soundtrack within the file, or the structure of the soundtrack class within the XDK?
|
Gotcha, thanks - I actually took your advice and reripped them.

Keep up the good work; I can't wait to see some pics.
| QUOTE (ZX3Junglist @ Feb 26 2004, 03:41 AM) |
| QUOTE (XBOX War3z @ Feb 24 2004, 11:04 AM) | about the soundtrack: soundtrack data: an unsigned integer (4 byte) containing the soundtrack id an unsigned integer (4 byte) containing the soundtrack song count another unsigned integer which represents the total soundtrack time in milliseconds a null terminated string with the soundtrack name (max 32 characters)
about the names they are unicode so each character takes 2 bytes so each song name is 64 byte |
is this format of the soundtrack within the file, or the structure of the soundtrack class within the XDK?
|
| CODE |
#define MAX_SOUNDTRACK_COUNT 100 #define MAX_SOUNDTRACK_NAME 32 #define MAX_SONG_NAME 32
#define SOUNDTRACK_MAGIC 0x00021371 #define SONGGROUP_MAGIC 0x00031073
struct SoundTrack { unsigned int magic; //always SOUNDTRACK_MAGIC unsigned int id; unsigned int songcount; unsigned int groupid[84]; //total of max 84*6 = 504 songs unsigned int unknown; WCHAR name[MAX_SOUNDTRACK_NAME]; unsigned char filler[0x60]; };
struct SoundTrack_Header { unsigned int unknown; //always 1 unsigned int count; unsigned int nextid; unsigned int id[MAX_SOUNDTRACK_COUNT]; unsigned int nextsongid; unsigned char filler[0x60]; SoundTrack soundtracks[MAX_SOUNDTRACK_COUNT]; };
struct SongGroup { unsigned int magic; //always SONGGROUP_MAGIC unsigned int soundtrackid; unsigned int groupid; unsigned int unknown; //always 1 unsigned int filename[6]; //use sprintf(somechar, "%08X.wma", filename- );
unsigned int unknown2[6]; //probably song time WCHAR songname[6][MAX_SONG_NAME]; };
|
you open the file
read in the SoundTrack_Header structure
and then keep getting SongGroup's until you reach the end
or you could check the header to calculate how many times you should need to read it
Iam able to read the SoundTracks Now, Look at the preview!

I'le see if I can add the other parts tonight.
Regards,
BlueCELL

forgot a filler in SongGroup, fixed now 
so we only have 2 unknowns (they are always just 1)
build a little commandline based st.db viewer to test it
source available here
binairy here
it lists all the songs, with there filename, xbox filepath and songtime
shows the groups, and all the soundtracks
one bug, last group is added twice
output:
| QUOTE |
SoundTrack Viewer
SoundTrack Count: 6 Soundtrack: XBOX - Id/Folder: 0005 - Count: 46 - Magic: OK - Total Time: 2h:31m:25.065s -> Group 0 -> Song Title: Blink182 - Adam's Song Song Filename: 00050021.wma /E/TDATA/fffe0000/music/0005/00050021.wma Song Time: 04m:13.573s ... -> Group 3 -> Song Title: Linkin Park - By Myself Song Filename: 0005001C.wma /E/TDATA/fffe0000/music/0005/0005001c.wma Song Time: 03m:11.853s ... Soundtrack: Soundtrack 3 - Id/Folder: 0009 - Count: 1 - Magic: OK - Total Time: 0h:04m:13.573s -> Group 0 -> Song Title: Blink182 - Adam's Song Song Filename: 00090043.wma /E/TDATA/fffe0000/music/0009/00090043.wma Song Time: 04m:13.573s Soundtrack: Soundtrack 4 - Id/Folder: 000a - Count: 1 - Magic: OK - Total Time: 0h:04m:13.573s -> Group 0 -> Song Title: Blink182 - Adam's Song Song Filename: 000A0044.wma /E/TDATA/fffe0000/music/000a/000a0044.wma Song Time: 04m:13.573s
|
as you can see, I was just testing

just to remind you, complete format is mapped out now
Hey,
I just want to say thanks to everyone who helped out with this project and a Major Thanks to XBOX War3z for helping out with the ST.DB File. Thanks Alot, be expecting Virtual Xbox CD Ripper soon!
Regards,
BlueCELL
Thanks UnleashX!!!
Hey,
Just want to say one thing, this is done by me (BlueCELL) and XBOX War3z.
Gamester17, please write more of what you want.
Regards,
BlueCELL
| QUOTE (BlueCELL @ Feb 27 2004, 09:14 PM) |
| Gamester17, please write more of what you want. |
I'm not a developer/programmer myself so I only know what I and other users of
XboxMediaCenter (URL link here) would like to do, that is to be able to simply access and play xboxdash ripped Audio-CD/game-soundtracks from within XBMC (option to delete and rename those tracks from within XBMC would be great too but that would just be a bonus

). A more detailed feature request for this function has been posted
here (URL link)) and been discussed in out forums
here (URL link), this feature was also suggested by me way back for XBMP (see
this URL here) but no devs have had the time/skill to code and implement this, or it's been put down as a low priority

...hope that you and XBOX War3z (who both by now are experts on the subject

) could take the time to code and intergrate it as it's wanted by many XBMC/XBMP fans
Hey,
Gamester17, I'le see what I can do.
Anyway I got this corny site up, if anyone is willing to help maintain/redesign this site, We'd greatly appricate it. Also if anyone would be willing to Host this site that would be greatly appricated also!
Virtual Xbox CD Ripper
***************
Feature List
1. Allow you to Preview SoundTracks that you have on your Xbox On-The-Fly
2. Transfer From/To Xbox (MP3,WMA, WAV, More to Come)
3. One Simple Interface (Expect Preview Image by Monday "March 1, 2004")
4. CD Ripper Supports CDDB, Also CD-Text
5. Manage Multiple Xboxs at one Time! (Not 100% Sure about this though)
Those are just some of the features VXCR will support. Thanks for the patience everyone.
BlueCELL
I can host it... wont be an attractive name, but you can forward to the site if you want... or use it just for downloads?
chilin_dude are you planning on hosting it on your personal computer or you have a dedicated server? And how much bandwidth will you be able to provide?
And with the domain, I can register one.
BlueCELL
| QUOTE (BlueCELL @ Feb 29 2004, 05:19 PM) |
chilin_dude are you planning on hosting it on your personal computer or you have a dedicated server? And how much bandwidth will you be able to provide?
And with the domain, I can register one.
BlueCELL |
Well it is through my ISP, and although that may sound crap it is surprisingly good, in the past i hosted a 3mb xbox homebrew game that was released and this got over 2100 downloads in the first 24 hours and didn't go down once, i am still hosting that file to this day and still haven't had anydowntime, so it's at least 2100*3= 6300mb/day
edit: they were also getting download speeds of around 100kb/s...
! I'le let you know when we'l need it
BlueCELL
| QUOTE (BlueCELL @ Feb 29 2004, 06:56 PM) |
Hey,
Sounds Good to me ! I'le let you know when we'l need it
BlueCELL |
Cool, Glad to help... Can't wait for this project to be done BTW
I'le post a pic of it later on today.
Oh yea...If you want to be a beta tester please write like "I Want to be a beta tester". The people that already said this dont worry about doing it again b/c your in already. Going to try to find around 5 - 15 testers.
Regards,
BlueCELL
.
Regards,
BlueCELL
I Want to be a beta tester
Sign me up too. I got around 10,000 mp3's to work with.
Check your PM.
BlueCELL

Like I said heres a preview of it (Not Final Layout)!
The Top Left Box will contain a list of your Xbox SoundTracks. To the right of that you have a list of songs which are in the SoundTrack that you've selected.
The Lower Left Box is the path where your Audio files are. To the Right of that you will have the list of Audio files within that path. Also if you select your CD/DVD Drive, the CD Ripper Engine will kick in and list the Audio files which are on the CD in the File List (Beside the Path Box).
You will be able to Drag'n Drop To and From the Xbox, meaning that you will be able to transfer PC->Xbox and Xbox->PC. Also you can check the files which you want to transfer to your Xbox, that way you wont have to do them all manually.
In between the two right boxes you'll see a Play and Stop button. This preview button will work to preview your files on your Local Machine and Xbox! (This way you can see which songs you have on your Xbox if you used the Dashboard Ripper)
Then Download and Upload buttons are pretty self explainatory. The Delete button will ONLY allow you to Delete Files on your Xbox.
THE VERY TOP TOOLBAR WILL INCLUDE SOUNDTRACK OPTIONS! (NOT INTEGRATED YET)
Well Hope you guys like it, more information to come soon!
Regards,
BlueCELL
Looks neato
hey blue I am willing to be a tester, i have many different xboxs with different drives and chips so pm me if your interested.

BlueCELL
Are you gonna opensource this when it's finished?

BlueCELL
!
But anyway Like I said above, I cannot say this program is going to be open source or closed source. I really havent given much thought to that yet. But I'le let you guys know
.
Regards,
BlueCELL
Hmm, it posted my last post twice :/. Oh well.
Hey,
I am not going to set a Release Date just yet. I Dont want to be one of those programmers that says its going to be released then and then not be able to release it that date!
But I will give you some status of how the project is going. The SoundTrack Database Reader is almost finished but not all the way yet. The CD Ripper is in but hasnt been tested enough to call it bug free. Currently Im focusing on the Audio File conversion which is almost done also. But as you guys can see its getting closer and closer to being finished.
The only thing that might hold back this project is other things in life, for example: School, girlfriend, friends and stuff like that !
But anyway Like I said above, I cannot say this program is going to be open source or closed source. I really havent given much thought to that yet. But I'le let you guys know .
Regards,
BlueCELL
I'd like to see this become open source.
Is there any particular reason you would like to have this program open source?
BlueCELL
No not really. I'm the sort of person whol like to takes stuff apart just to see the insides of it.
Anywho. Thie reason I saying if your app was gonna be opensrc is cause Xbox Soundtrack Manager has been out forever and no one has made a better version until you came along.
Hey,
Yea I see what your talking about, I'll see though, about the Open Source.
Regards,
BlueCELL
This program is almost done, all we need to do is get the ST.DB Reader Complete
Well I'd also like to be a beta tester
And as for open source the main advantage is that if you ever get sick of programming it or leave the scene other people can continue development. So as long as you release the source when you are no longer interested so other people can continue I dont think it really matters. Boxplorer is a good example of this because no one has the source it will die and becomes unusefull for things like G: drives and stuff
Until then feel free to keep it wrapped up
Also will this allow us to rename songs/albums displayed in the MSDash and maybe even move them around in the album structure and stuff
Also if your putting in CD ripping I'd suggest a FreeDB option to download and set the song/album titles
i've been followin this, but haven't said anthing, this is a damn good idea. im glad that it's been progressing (appareantly) well! cant wait for its eventual release

BlueCELL
Well yesterday I was getting ready to VXCR and guess what, my lovely Xbox didnt boot! Well I was pissed...I've played around w/ it for a few hours and finally got the shiznit fixed! I'll post more information about the Status of the App later on tonight.
BlueCELL
)
Xbox->PC Transfer = Almost done (Just need to convert to whatever format you'd like)
Search Option = Done
Settings/Options = Havent even started
lol
But all that stuff above is pretty simple stuff, the St.DB reader should be done here in a couple of days! So please bare with us while we get all this figured out. Thanks, Oh yea, if you got any questions please post them here 
-BlueCELL
This sounds very promising, I'm eagerly awaiting, good luck and ThanX.
I don't know much about the ST.db but I think that soundtrack info might also be stored on another part of the hdd. There is a sound track editor already out, but it has some bugs. One of the bugs being that once you add sound tracks with the editor, you can't rip CD's through the MS Dash. I don't know if it is a problem with their code or like I said, the soundtrack info might also be stored on another part of the hdd. Just thought I would let you know.
.
BlueCELL
Just want to let you guys know that is Project is still in development!
Just the passed 2 weeks, I have been really busy with High School Stuff and must importantly.... da girlfriend. But Im starting to push this Project a little more. Again Sorry for the delays, But I will keep you guys updated.
BlueCELL
Thanks,
Yesterday I spent 5 hours and a few mins working on the ST.DB file. I got it almost working, just need to fix one bug on the adding songs (shouldnt be to hard to fix).
Once I get this fixed I might release a Public Beta, Just too see how it works for yall.
BlueCELL

If this doesnt make since, sorry, didnt read over it 
BlueCELL
| QUOTE (BlueCELL @ Feb 24 2004, 09:03 PM) |
Hey,
Zanime, Yes I could allow it to Transfer the Songs Back to your PC and convert it back to MP3 Format. But honestly the WMA files on your Xbox that you ripped through the Dashboard would be named like "Track 1.wma" So personally, I wouldnt even think about doing that because that would waste lots of time, I either rip it again with the PC or get the MP3 some other way so that you'd have the "Artist - Title" format. You know what Im saying?
Regards, BlueCELL |
i just wish there was something available to export the wma's out of the xbox soundtracks...export them to the xbox hard-drive...and in the process, rename them according to the info in the st.db file...no desire to convert to mp3...
after that, i could just ftp them from xbox to PC...
.
BlueCELL
Hey,
Check your PM
BlueCELL
), will use it to put a new collection of music on it...
Hey,
The Xbox uses 128Kbps, so that will be standard. And no you wont be able to select Bit Rates, well unless I find out it plays other Bit Rates.
Yuyu, the Beta which I will release in a couple of mins wont allow you to change the name of the song before or after you transfer (Sorry not that far yet) but right now it will just grab the file name and use that as the name. In the future it will read the IDTag on the audio files. It will also allow you to Edit the Song Title before upload.
I will create another Thread where the Beta Comments can go and where you will be able to find a link to download the Beta!
BlueCELL
Just to let you know, since this is not a BETA testing reply..... My 63 GB WMA collection is 3/4 192kbps some 128kbps and some even 96kbps, just to let you know, they all play fine on the xbox as is..... At 192, 128, and 96kbps....
Ahh,
Ok I'll make it keep the format then, Thanks for lettin me know!
BlueCELL
Thanks and keep your good work.
Vey nice application.
Hey,
Yes, those settings will be aviable in the future!
BlueCELL
Hey,
Resize will be added in the future. And about Displaying the BitRate of songs that are on the Xbox, I dont think im going to add this because the Bit Rate isnt stored in the ST.DB file, meaning that if I wanted to grab the BitRate from all songs I would have to transfer them to the PC then Read them, which would take too much time. And Also renaming will work too!
BlueCELL
Hey,
Yea I will add Bitrate Support to the Local Files.
BlueCELL
Hey,
I have an Out-Of-Date version of Xbox Media Player, but from that Version, if I connect to the FTP it only gives me access to F:\ Drive folders, So if its the same with the other (newer) XBMP/XBMC then I dont think I'll be able to do it. But I will look
BlueCELL
When can we expect the next beta release? :-)
I haven't had any luck getting past the subset error that's been reported many times in the beta thread, but what I have seen looks good..
If you're looking for extra testing.. :-)
EqUaTe
Look below for another Update!
BlueCELL
) But here are what I have Added/Fixed So far:
Info As of Build: A404-242
+Delete SoundTracks
+Uploading Songs, Script Out of Ranged Fixed (Array Issue)
+ALL FTP Clients Should work (Untested)
+After Upload Complete, ST.DB Will be Uploaded Automaticly.
+Select Temp Folder
+Select All/UnSelect All Added
+Wma Converted To Song BitRate or Manually Selected
+Shows Song BitRate (Local Only) (Optional)
+Displays ID Tag now
+Saves FTP Username & Password
+Stores Recent Connection List & Last Used IP
+Saves/Loads Settings
+More Settings Added
+Before Upload, Checks for Selected SoundTrack.
+New SoundTrack will Automaticly be Selected.
+Refreshs Xbox Song List after Upload.
+Search Feature Added
+Add SoundTrack and Hit Cancel, wont Crash anymore
+Menu Add SoundTrack works
Thanks for the Support everyone.
BlueCELL
sweet can't wait!
Seems this is exactly what I need. Can't wait!
Ok, Just want to let yall know that I have added a couple of features just I havent been able to work on the SoundTrack Manager Module b/c My bro is hoggin the Xbox with his new stuip game that he got. Oh well, But I'll try to work on it everytime I get a chance!
BlueCELL
. Well Its odd because it works for the Debugger Application that I've made and when I try it out on the Real Xbox then it screwes up
. Well I will figure it out!
BlueCELL
Ask BenJeremy What?
BlueCELL
Why its fine on the debug but not on retail. I was just suggesting if your stuck.
. Hopefully April 25. But other than that the application is a lot stabler and more user friendly
.
BlueCELL
, I Fixed it already. As far as it looks from tests and such I think its running really SMOOTHLY now
.
I've also did a benchmark, it took my Celeron 2.0Ghz 512DDR about 4 minutes to "Rip Kenny Chesney - No Shoes, No Shirt, No Problems" CD, ofcourse the CD was stored on my Computer as Mp3's at 128kbps or 192kbps. I was using Smart Detection as the WMA Encoder which Converts the mp3 to the Highest possible BitRate. So that isnt too bad 4 Mins for a whole 12 songs
!
If further Tests Show up good, I'll release Beta tonight
!
Again, Thanks everyone for supporting this Project.
BlueCELL
sweet, thanks for the update Blue.
Great tool BlueCELL!
You are my new best friend, thank you!
Only thing, I can't seem to rename albums already on the xbox, and I seem to have to right-click like 3+ times just to get a menu.
A select-all/none button would be nice to have for uploading albums.
How about a right-click option in the explorer tree on the left, gives you the option to upload that folder as an album.
Great start, keep it up!
I just want to say.. This doesnt work!
First release was nuffin but a GUI without functions/features
This new one crashes the moment it spots an audio file on pc hdd!!!
Hope u get it workin.. Till then, im usin st editor
you nedd to make a feature that allow you to delete all files within a soundtrack, using your software if you delete a sound track, it deletes it out of the ST.DB but the actual audio tracks remain and you must delete them manually off your xbox. better fix this!
This is a cool ideal, but it's not working as is should...just locks up when I connect to an XBOX....keep trying though.
Make sure you are using the Right IP Address to your Xbox! If you think you have the right IP, try and see if IE can connect to it!
BlueCELL
Go to the Options...and where you see Formats, Change the "Smart Detect" to like 192kbps then it should work!