xboxscene.org forums

Author Topic: Dialogue  (Read 189 times)

Rwolf

  • Archived User
  • Full Member
  • *
  • Posts: 241
Dialogue
« on: October 30, 2006, 11:54:00 AM »

I've always wanted to fix that problem, but I never had any idea where to start, so I applaud you and hope you the best of luck! (maybe we can also find a way to convert the pc mod .wav files into xbox morrowind .wav files too sometime, even though the morrowind xbox mod community is dying... *sad*)
Logged

Rwolf

  • Archived User
  • Full Member
  • *
  • Posts: 241
Dialogue
« Reply #1 on: November 18, 2006, 11:29:00 AM »

I think I got it! If you open up Morrowind Enchanted Editor and open Morrowind.esm you will the the dialog topics and you can click view responses and see all the info parts that link to that topic... so Im thinking if you can extract the main branches and then merge the new branches into them (copy the topics and infos of the esp you want and then go to the morrowind.esm and paste+merge instead of paste+replace) but there may be a big problem with this theory... when I copy topics, then the branch goes away and when you click show dialog responses nothing comes up... maybe theres another tool we can use... but im absolutely sure if we merge the topics of the new mod with the esm dialogs, then it will work as it should!!

Think about it, the Dialogs come in branches...

-example-
Morrowind.esm
Greeting0 -> Hello, How are you today!
              |-> What do you want outlander?
              |-> Its a bit chilly today... don't you think?

New ESP
Greeting0 -> I see you found my hideout, outlander... Now DIE!!

Well adding the new esp would completely do away with the original Greeting0, as if all the topics didnt exist, so it might as well be:

Morrowind.esm
Greeting0 -> I see you found my hideout, outlander... Now DIE!!

See? no more original responces, BUT if we can merge them it would look like this....

Morrowind.esm
Greeting0 -> Hello, How are you today!
              |-> What do you want outlander?
              |-> Its a bit chilly today... don't you think?
              |-> I see you found my hideout, outlander... Now DIE!!

crap... i think i just put into detail something everyone may have know about... anywho, if you found any help with this and why we cant use mods with topics... there yah go! and if you have any theories on how we can merge the topics together, you would be most helpful! LETS GET THIS WORKIN PEOPLE!! ^-^
Logged

Lesaras

  • Archived User
  • Newbie
  • *
  • Posts: 45
Dialogue
« Reply #2 on: November 18, 2006, 06:40:00 PM »

Rwolf, I'm not too good at the using the editors themselves to fix it, but I have noticed that loading the Xbox Morrowind.esm in the CS comes up with an Unknown INFO Structure.  The thing I am good at is figuring out the format of files in hex, like I did with the map files (I'm hoping to learn how to make a program to do it in a few months.)  If you could find someone who made of the alternate Morrowind editors to program for us, I could give them the Xbox INFO Structure and they could make a program just to edit the dialogue.  I can't do it myself yet.  This whole problem stems from the difference in Info Structure Formats between the PC and Xbox.

P.S. I had that problem with putting a topic in Greeting0.  I could only talk to the person who had the topic and everyone else didn't even have a dialogue screen.  The solution was to put the topic in Greeting5.  It worked great and didn't screw up any Greeting5 topics.

P.S.S The Morrowind Xbox scene does seem to be dying, but until the 360 is capable of homebrew, I'm sticking to it.  I'm glad someone else still cares about it.

P.S.S.S.  Oh, there should be a couple of Xbox ACMPD sound converters floating around the internet.  I'm planning to test it soon.  Check out my theories in that Compatibility Pack.
Logged

Rwolf

  • Archived User
  • Full Member
  • *
  • Posts: 241
Dialogue
« Reply #3 on: November 18, 2006, 08:03:00 PM »

ACMPD Sound Converter? Is that the wierd wav format xbox morrowind uses? I took a look at the hex on the wav files and theres not much difference exept for one value that I cant seem to change with any wav tools, and its the same value on all the wavs, i have never seen that value on any pc wavs... so i dunno... anyways, im not sure if a programmer would help us with the xbox dialog problem, but who knows, i guess putting "This program can now convert PC mods with dialog to be Xbox compatable" would sound kinda pretty! hehe... so ill send a few emails and stuff like that... hope you get somewhere with the converters!

btw, just so you dont have to go thru the problem I had with sound... the dir FX/ is the main morrowind dir on xbox... lets revive the xbox morrowind community!! w00t!
Logged

Lesaras

  • Archived User
  • Newbie
  • *
  • Posts: 45
Dialogue
« Reply #4 on: November 19, 2006, 11:31:00 AM »

What was the address of the byte?

Have you tired changing it and using the sound file on the computer?
Logged

Rwolf

  • Archived User
  • Full Member
  • *
  • Posts: 241
Dialogue
« Reply #5 on: November 19, 2006, 12:06:00 PM »

I dont remember the exact byte, but when i changed the normal wav files byte in a mod to that one and moved the folder in the Fx/ directory to morrowind main directory then i would hear something when the file played, though it was extremely distorted, almost like the file was broken, though it was the first time i actually heard a mod on the xbox from the pc actually attempt to play a wav file...

btw... morrowind on xbox can play .wma files from the explore folder and stuff like that, but it wont play them as sound effects (cant use .wma instead of .wav)...

EDIT: Though i do remember that the byte was in the very begining of the file (where it says how many bps and channels and stuff like that)
Logged

Lesaras

  • Archived User
  • Newbie
  • *
  • Posts: 45
Dialogue
« Reply #6 on: November 19, 2006, 07:05:00 PM »

Well, my research shows that the Xbox has a slightly different format for almost anything.  The remaining differences could be in just basic sound structure, such as bit rate, stereo, etc.  I don't know much about sounds (Hey, I knew nothing about bitmap formats, yet I was able to make those images in my pack after mimicing it.) , but I'll take a look at the hex for one sound, with its Xbox and PC versions.  They are pretty small, so it shouldn't be too hard.

It seems that Morrowind knows how to load the sound files based on where they are in the folders. (eg. Battle = wma, Vo = mp3, Fx = wav etc.)  I found that in the help file.  I put the exact specifications of the wma files, as I saw from Media Player, in the General Issues in the compatibility pack.  That is easy enough to convert.

I'll look for a Xbox wav converter and tell you if I find one.  I know it is somewhere.  Until then, just keep trying hex changes.

Ever notice that the Xbox ESM has no index numbers on the journal entries, yet it still works?  It must be a slightly different format.

I'll keep you updated.

P.S. I took a look at the Xbox BSA.  It is entirely different from the PC.  It will take more than just a rewrite of ghostwheel's BSA Archiver.

P.S.S. One more question.  Is there a 24 bit tga or dds?  I'm asking because I still can't extract the map cell images out of the map files.


Logged

Rwolf

  • Archived User
  • Full Member
  • *
  • Posts: 241
Dialogue
« Reply #7 on: November 22, 2006, 10:04:00 AM »

Sorry, can't help you with the Tga/DDS problem, all my exp with thoes is batch resizing them to make them work with xbox (btw, dont use tga on the xbox, theyre huge! convert them to DDS)

And I doubt theres an xbox wav converter, ive looked and came up short... btw, im sure that theyre converted differently, because if it was converted the same as the pc, then the pc would have sounded something like the sound when it played with the hex digit replaced with the xbox one

oh!!! UnleashX can play the wav format that Morrowind uses! someone should look into this... well, I think its just us two on this part of the forum... lol!

And to the BSA thing... that makes sense, Ive tried unpacking the bsa and all the bsa programs fail at doing so...

(BTW, do you know how difficult it would be to get the Morrowind Graphics Extender working on xbox? (at least just the Fog Distance part))
Logged

Rwolf

  • Archived User
  • Full Member
  • *
  • Posts: 241
Dialogue
« Reply #8 on: November 24, 2006, 09:24:00 AM »

Okey! Heres some notes I took down in a text document yesterday while studying the xbox wav format...

-------------------

The Hex Value in Xbox Morrowind .Wav Files that it can read is 69
The value is here

W A V E f m t 20 10 00 00 00 69 <-

PCs CAN play these files if you convert 69 to 11!

PC .wav files, the '69'/'11' is usually always '01'
                     9 / 11 - Coincedence? I think NOT! - lol.. JK! <^-^>

Is there a converter that changes this value?

Maybe we can find a converter to change 01 to 11 at least, THEN use a hex editor to change 11 to 69!! -GENIOUS!

What value is that anyways?

It seems to me that it tells the computer how the file should be played...
or 'how its been converted'

Will Xbox Morrowind play files with 11 instead of 69?

Xbox Wav Should be
4bit sample
72kbps
Mono
16khz
IMA ASPCM Format?

-----------------------------------

I hope this helps!
Logged

Rwolf

  • Archived User
  • Full Member
  • *
  • Posts: 241
Dialogue
« Reply #9 on: November 25, 2006, 11:15:00 AM »

Logged

Rwolf

  • Archived User
  • Full Member
  • *
  • Posts: 241
Dialogue
« Reply #10 on: November 26, 2006, 02:17:00 AM »

just an update... the converter on xbox-scene dosent work... its just for unpacking music from certain games....

and ill try the program you requested, ryanx1, asap... and i got the file format from checking the wav files details... it said ASPCM

theres gotta be SOME program that converts a wav to different wav formats (the 69/11/01 thing)... ill keep lookin
Logged

Rwolf

  • Archived User
  • Full Member
  • *
  • Posts: 241
Dialogue
« Reply #11 on: November 30, 2006, 10:43:00 AM »

Well I found out that were NOT looking for a converter! were looking for a compressor... any value other then 01(PCM) means that the file has been compressed... though... i cant find any wav compressors on the internet... maybe someone with a little more skill at searching could give it a try...
Logged

ryanx1

  • Archived User
  • Newbie
  • *
  • Posts: 25
Dialogue
« Reply #12 on: November 30, 2006, 03:21:00 PM »

That's what I was talking about in my previous post...? I've found plenty of programs capable of compressing/decompressing wav files, but ASPCM is an obscure format, with little documentation available and no program I've seen able to imitate it. I'm sure they're out there, but no luck yet. I can't really test anything out anyway in my conditions. In any case, did you try to see if the wav file would still play when you changed the compression code (69 in the case of the wavs your using) 02?
Logged

Rwolf

  • Archived User
  • Full Member
  • *
  • Posts: 241
Dialogue
« Reply #13 on: December 02, 2006, 02:20:00 AM »

Ive tried 02 before... didnt work... i tried every value from 0-40 and 69 of course and only 11 worked... maybe aspcm is what they call the 69 value... maybe the 11 one would be different?
Logged

Rwolf

  • Archived User
  • Full Member
  • *
  • Posts: 241
Dialogue
« Reply #14 on: December 21, 2006, 12:04:00 PM »

I found out more about the sound files... 11 IS the value for IMA ADPCM i used a wav tool called switch or something and i was able to convert the wavs so that the 01 read 11, but theres more, the files still dont work (they just freeze the xbox when it tries to play), theres another value that needs changing to get the wavs to work correctly
Logged