Page 1 of 2
Demo scripts
Posted:
Sun Aug 04, 2013 4:38 pm
by El Cabrah
Hi,
I need help reading uo demo scripts to see how exactly things worked back then. I ran UO Demo archiver which showed me quite a bit of stuff in uodemo.dat. Is it the right place for that? Can't 'read' the files in there though as it seems to be encrypted or something.
Thanks
Re: Demo scripts
Posted:
Sun Aug 04, 2013 5:22 pm
by Garret
Re: Demo scripts
Posted:
Sun Aug 04, 2013 5:34 pm
by El Cabrah
Thanks Garret, but how do I use it? Nothing happens when I click Mass Decompile button (in scripts directory)
Re: Demo scripts
Posted:
Sun Aug 04, 2013 5:51 pm
by Garret
Hm, well,
the program is looking for files with *.q extension (default extension for extracted files).
When you press "Mass Decompile", it will read all script files and decompile them (so you can browse them on the right side),
"Dump All" will save decompiled scripts into "scripts.c" folder in parent directory of scripts.
Re: Demo scripts
Posted:
Sun Aug 04, 2013 6:52 pm
by El Cabrah
It asks me for directory with sdb.txt which is in C:\Users\BK\Desktop\UO98\rundir\scripts but there are no files there with m.q. extensions, just .txt only .uosl and .txt
the only .q.m. files I found were in uodemo.dat
Re: Demo scripts
Posted:
Sun Aug 04, 2013 8:39 pm
by Garret
Mass Decompiler works only with .m/.m.q files, as i rememebr .uosl is an already decompiled script files.
.m/.m.q are uo demo script files.
Re: Demo scripts
Posted:
Sun Aug 04, 2013 8:43 pm
by El Cabrah
Ok but how do I decompile them if it only asks for another directory without m.q. files in there? My Mass Compiler windows are empty whether I load scripts directory and press Mass Compile, and it does not allow me to open uodemo.dat with it
Re: Demo scripts
Posted:
Sun Aug 04, 2013 9:45 pm
by Garret
Oh, sorry, for extraction from uodemo.dat there's another tool:
http://uodemo.joinuo.com/index.php?title=Uodemo.dat
Re: Demo scripts
Posted:
Sun Aug 04, 2013 9:59 pm
by El Cabrah
Thanks but the demodat files were already extracted. Here's what I get from my attempt to decompile scripts:
Nothing happens when I click Mass Decompile and if I choose another directory it keeps asking me for sdb.txt
Re: Demo scripts
Posted:
Sun Aug 04, 2013 10:09 pm
by Garret
Well, that's weird, all I can tell that it will decompile .m/.m.q files after "Mass Decompile" button is clocked as long as there's sdb.txt file in folder, it will fill the list on the left side with scripts.
Are you sure you are pointing it to the folder to where you have extracted content of original uodemo.dat?
Because as I see you point it at "UO98/rundir/scripts", which does not have any scripts that require decompilation, it contain .uosl scripts that are already decompiled.
You can browse them with any text editor. "UO98/rundir/scripts.uosl" dir contains decompiled original demo scripts.
p.s. It's also weird that my version looks different, it does not have that dropdown list with "UOSL".