ScriptUO

Ultima Online Fan Board => General UO Chat => Topic started by: TrailMyx on April 07, 2012, 05:33:13 AM

Title: UOP to MUL converter - The De-convolver
Post by: TrailMyx on April 07, 2012, 05:33:13 AM
I whipped up a quick .NET utility to convert a fully patched .UOP set back to .MUL.  This effectively fixes EUO and its dependency on these files for tileset-based scripts used for lumberjacking and mining.

You may notice that your version might not auto-detect the path to your UO installation.  If this happens to you, please open up "regedit.exe" on your computer and locate your registry key for your installation.  The three I have currently are:

LocalMachine/SOFTWARE/EA GAMES/Ultima Online Samurai Empire-Folder
LocalMachine/SOFTWARE/Origin Worlds Online/Ultima Online/1.0-InstCDPath
LocalMachine/SOFTWARE/Electronic Arts/EA Games/Ultima Online Classic - InstallDir

If you tell me what your key is with the above format, I'll be sure to add it to the next version of the converter.

Anyhow, hope this helps people out.  The conversion was stupid-simple.  Cheffe should have no problem making the change in EUO so we don't have to created unpatched files.

Please be sure to close UO and EUO before you run this or else this program will crash.

Feel free to share the download link on other sites

Download Here:
http://www.scriptuo.com/index.php?action=downloads;sa=view;id=6

Title: Re: UOP to MUL converter - The deconvolver
Post by: D on April 07, 2012, 06:54:49 AM
wow cheers TM, ill give it a go when im home from work.
Title: Re: UOP to MUL converter - The deconvolver
Post by: Crome969 on April 07, 2012, 08:13:30 AM
I tested this morning the browse function. wasnt that working anymore?
Title: Re: UOP to MUL converter - The deconvolver
Post by: TrailMyx on April 07, 2012, 08:15:17 AM
I implemented that with the later version in the day so it should work.  If you find out what the registry key is you have on your computer, I'll update so you won't have to browse.  Most of my UO installations are REALLY old so I'm sure I don't have a later implementation of the registry key locations.
Title: Re: UOP to MUL converter - The deconvolver
Post by: Crome969 on April 07, 2012, 10:14:56 AM
if you can make it possible to get those files back as well, then uofiddler could work again.
Advantage is you could read\gain Types without need to have em ingame and its a loved kind of art getting for runuo..
Quote
verdata.mul
stadif3.mul
stadif4.mul
mapdifl4.mul
mapdifl3.mul
gumpidx.mul
cliloc.custom1
cliloc.custom2
artidx.mul
Title: Re: UOP to MUL converter - The deconvolver
Post by: TrailMyx on April 07, 2012, 10:34:18 AM
Do you know what those file names turned into within the UOP world?

I don't know enough to take merged .mul files into .uop and parse them to recover the .mul files.  This program just strips the wrapper off the .uop file.
Title: Re: UOP to MUL converter - The deconvolver
Post by: Alpha on April 07, 2012, 11:29:20 AM
1st off...  AWESOME..... thx TM.

2nd...   I'm I correct in understanding that this is a 1 way conversion from uop to mul ?  I thinking of all the "field hack / stump hack" stuff I've done in the past & wondering if it's possible to go uop --> Mul  then edit your artwork & convert mul --> uop again?
Title: Re: UOP to MUL converter - The deconvolver
Post by: TrailMyx on April 07, 2012, 11:31:52 AM
Yes, just one way.  I don't have any idea what the content of the .UOP header is.  If anyone runs across any information regarding this format, please point me in that direction.
Title: Re: UOP to MUL converter - The deconvolver
Post by: gimlet on April 07, 2012, 01:12:28 PM
I can not download from the link to test.
Title: Re: UOP to MUL converter - The deconvolver
Post by: TrailMyx on April 07, 2012, 01:15:51 PM
Just goto it directly in the downloads section.

(Edit: fixed link.)
Title: Re: UOP to MUL converter - The De-convolver
Post by: onlyindreams on April 07, 2012, 02:05:34 PM
TM, you are a gentleman and a scholar!

Just a heads up, make sure that your file path is listed in the line next to Browse. I was clicking my file path in the box above and it didn't change in that line so I had to manually correct it. Worked like a charm after that. I'm brain dead today so I couldn't figure out why it was working until I bugged TM. His intellect must have briefly been passed on lol
Title: Re: UOP to MUL converter - The De-convolver
Post by: bodfather on April 07, 2012, 02:48:35 PM
  Question for computer iliterate persons like myself, If we've already downloaded the original files and moved into the folder will we still need this converter?

Example being will we have to keep moving these map files for future patches?
Title: Re: UOP to MUL converter - The De-convolver
Post by: TrailMyx on April 07, 2012, 02:56:09 PM
You don't have to do anything for this patch then.  However, when UO patches again, you'll need to recover the .mul files somehow.  With this converter, at least you can keep your .mul files up to date. 

So going forward you'd want to run this after each UO patch.
Title: Re: UOP to MUL converter - The De-convolver
Post by: bodfather on April 07, 2012, 03:52:25 PM
Ok thanks for the clarification.
Title: Re: UOP to MUL converter - The De-convolver
Post by: Tommy Boy on April 07, 2012, 07:21:03 PM
Sweet!  Very nice little tool.
Title: Re: UOP to MUL converter - The De-convolver
Post by: Endless Night on August 01, 2012, 12:52:46 PM
client path
C:\Program Files\EA Games\Ultima Online 2D Client

registrey keys with no values...
HKEY_LOCAL_MACHINE\SOFTWARE\EA Games\Ultima Online 2D Client\5.0.9
HKEY_LOCAL_MACHINE\SOFTWARE\Electronic Arts\EA Games

regkey with loads of values..  (I must have manually added as never installed KR)
HKEY_LOCAL_MACHINE\SOFTWARE\Origin Worlds Online\Ultima Online\KR Legacy Beta\
HKEY_LOCAL_MACHINE\SOFTWARE\Origin Worlds Online\Ultima Online\KR Legacy Beta\exepath
HKEY_LOCAL_MACHINE\SOFTWARE\Origin Worlds Online\Ultima Online\KR Legacy Beta\instcdpath
HKEY_LOCAL_MACHINE\SOFTWARE\Origin Worlds Online\Ultima Online\KR Legacy Beta\patchexepath
HKEY_LOCAL_MACHINE\SOFTWARE\Origin Worlds Online\Ultima Online\KR Legacy Beta\startexepath
HKEY_LOCAL_MACHINE\SOFTWARE\Origin Worlds Online\Ultima Online\KR Legacy Beta\upgraded
Title: Re: UOP to MUL converter - The De-convolver
Post by: Endless Night on August 20, 2012, 06:10:10 PM
Ok ok Ok   so so i ran the de-convolver a few weeks back and today I've been watching my miner and he was bouncing around all over the place not mining, but sometimes was mining...... and Noticed this issue.

-Mines cave floors perfectly.
- fails to mine Mountain Walls (spots it mined fine before the MUL to UOP thing).

Anyone else experienced this, suggestions
Title: Re: UOP to MUL converter - The De-convolver
Post by: HellFish on September 08, 2012, 07:58:45 PM
On my Windows 7 VM the file path and registry are as follows. (This was installed about a month ago)

C:\Program Files\Electronic Arts\Ultima Online Stygian Abyss Classic\client.exe

HKEY_LOCAL_MACHINE\SOFTWARE\ORIGIN WORLDS ONLINE\ULTIME ONLINE\1.0

When I run the Deconvolver I get the following error (same error regardless of admin):

(http://img825.imageshack.us/img825/179/errorsu.png) (http://imageshack.us/photo/my-images/825/errorsu.png/)
Title: Re: UOP to MUL converter - The De-convolver
Post by: TrailMyx on September 08, 2012, 11:18:12 PM
HKEY_LOCAL_MACHINE\SOFTWARE\ORIGIN WORLDS ONLINE\ULTIME ONLINE\1.0

This is one of the included keys.  So this shouldn't be throwing this error.

What happens when you try and execute in your host OS?
Title: Re: UOP to MUL converter - The De-convolver
Post by: HellFish on September 09, 2012, 10:18:53 PM
Looks like it works flawlessly on my host OS. Not sure why it wouldn't work on my VM. Strange.
Title: Re: UOP to MUL converter - The De-convolver
Post by: TrailMyx on September 10, 2012, 07:47:33 AM
Well at least you can now copy the resulting files back over to your VM.
Title: Re: UOP to MUL converter - The De-convolver
Post by: Tidus on September 25, 2012, 04:05:51 PM
I can only find HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Electronic Arts\EA Games\Ultima Online Classic    for mine. Can't find it anywhere else.
Title: Re: UOP to MUL converter - The De-convolver
Post by: TrailMyx on September 25, 2012, 04:09:41 PM
Lol, what the heck is your UO doing in that directory!?!? 
Title: Re: UOP to MUL converter - The De-convolver
Post by: Tidus on September 25, 2012, 04:54:05 PM
Hell if i know! LOL  Windows 7 and registry has always been weird to me...
Title: Re: UOP to MUL converter - The De-convolver
Post by: Hoby on October 12, 2012, 07:04:29 AM
Quote
Ok ok Ok   so so i ran the de-convolver a few weeks back and today I've been watching my miner and he was bouncing around all over the place not mining, but sometimes was mining...... and Noticed this issue.

-Mines cave floors perfectly.
- fails to mine Mountain Walls (spots it mined fine before the MUL to UOP thing).

Anyone else experienced this, suggestions

yea, I am having the same issue.  Patched everything up to date and ran deconvolver and it just recalls from spot to spot
Title: Re: UOP to MUL converter - The De-convolver
Post by: Endless Night on October 13, 2012, 07:11:45 PM
Quote
Ok ok Ok   so so i ran the de-convolver a few weeks back and today I've been watching my miner and he was bouncing around all over the place not mining, but sometimes was mining...... and Noticed this issue.

-Mines cave floors perfectly.
- fails to mine Mountain Walls (spots it mined fine before the MUL to UOP thing).

Anyone else experienced this, suggestions

yea, I am having the same issue.  Patched everything up to date and ran deconvolver and it just recalls from spot to spot

Hell of annoying isn't it... I just activated ter mur mine mode for everywhere... which works , but can be slower
Title: Re: UOP to MUL converter - The De-convolver
Post by: Skandranon on October 16, 2012, 04:49:50 PM
So am I correct in the assumption that once you convert the .uop to .mul files you just remove the .uop files and then start? I converted the files because I made a custom map that is a .mul file. However I tried running Razor to access the server as I usually do, and it gave me an error. Anyone know how to fix?
Title: Re: UOP to MUL converter - The De-convolver
Post by: TrailMyx on October 16, 2012, 04:53:30 PM
No, don't remove the .uop files.  They can co-exist with the .mul files once you create them.  There's a open question at the moment that the newer .uop files don't run well with this converter.  Give it a shot, but after a few client spins, this converter doesn't seem to work as well.  The assumption that the offset would be fixed probably is wrong.  I just haven't found any additional information that describes the actual .uop format.   I'm sure someone out there has this information, and once I get it I can quickly fix up this converter.
Title: Re: UOP to MUL converter - The De-convolver
Post by: Skandranon on October 16, 2012, 05:03:33 PM
Ok. I was able to convert them just fine, no problems. However I am currently trying out the AssistUO to connect to the server. My issue now is trying to load the custom map in. Thanks for the converter and quick reply!
Title: Re: UOP to MUL converter - The De-convolver
Post by: TrailMyx on October 16, 2012, 05:05:28 PM
Ah, ok.  I have only just run AssistUO myself, so I don't have any pointers ATM. :)
Title: Re: UOP to MUL converter - The De-convolver
Post by: Skandranon on October 16, 2012, 05:29:28 PM
So I was able to get it to partially work. The problem I am having is that my custom map (currently map0.mul) is partially loaded and part of the Legacymap0mul.uop is loaded. Im kinda lost as this is my first time using a custom map. Any advice you might have?
Title: Re: UOP to MUL converter - The De-convolver
Post by: TrailMyx on October 16, 2012, 06:49:10 PM
Well I pretty much convinced myself that the deconvolver is broken.  I spent a little bit of time looking into the binaries of the files, and things are different.  I'll have to look around to see if anyone has investigated this further.  I probably won't have much time until the weekend anyhow.
Title: Re: UOP to MUL converter - The De-convolver
Post by: Endless Night on November 14, 2012, 09:17:54 PM
On my Windows 7 VM the file path and registry are as follows. (This was installed about a month ago)

C:\Program Files\Electronic Arts\Ultima Online Stygian Abyss Classic\client.exe

HKEY_LOCAL_MACHINE\SOFTWARE\ORIGIN WORLDS ONLINE\ULTIME ONLINE\1.0

When I run the Deconvolver I get the following error (same error regardless of admin):

(http://img825.imageshack.us/img825/179/errorsu.png) (http://imageshack.us/photo/my-images/825/errorsu.png/)



I beleive the error if from running the deconvolver while you have the client open.
Title: Re: UOP to MUL converter - The De-convolver
Post by: Masscre on November 18, 2012, 05:15:06 AM
So I am here today and finally have a chance to get back into UO, but I am finding some of the same results for tiles. Does anyone currently have a fix or any ideas that they are using to be able to mine or work with tiles?
Title: Re: UOP to MUL converter - The De-convolver
Post by: Endless Night on November 18, 2012, 05:44:46 AM
So I am here today and finally have a chance to get back into UO, but I am finding some of the same results for tiles. Does anyone currently have a fix or any ideas that they are using to be able to mine or work with tiles?

You have re-install the old map*.mul files.    UO wont use them, but euo will.  You put then in the client.exe directory.     Their is a drop box link further back in this thread and if that copy doesnt work for you i have a different copy that worked for me.

Title: Re: UOP to MUL converter - The De-convolver
Post by: Masscre on November 18, 2012, 06:35:12 AM
So I am here today and finally have a chance to get back into UO, but I am finding some of the same results for tiles. Does anyone currently have a fix or any ideas that they are using to be able to mine or work with tiles?

You have re-install the old map*.mul files.    UO wont use them, but euo will.  You put then in the client.exe directory.     Their is a drop box link further back in this thread and if that copy doesnt work for you i have a different copy that worked for me.



I could have missed it, but I hate being wrong so went back through this thread and only found one link which is to the deconvolver. Could you post a link to the ones you are using EN?
Title: Re: UOP to MUL converter - The De-convolver
Post by: Endless Night on November 18, 2012, 12:28:02 PM
So I am here today and finally have a chance to get back into UO, but I am finding some of the same results for tiles. Does anyone currently have a fix or any ideas that they are using to be able to mine or work with tiles?

You have re-install the old map*.mul files.    UO wont use them, but euo will.  You put then in the client.exe directory.     Their is a drop box link further back in this thread and if that copy doesnt work for you i have a different copy that worked for me.



I could have missed it, but I hate being wrong so went back through this thread and only found one link which is to the deconvolver. Could you post a link to the ones you are using EN?


Well mine arnt on the webz... but heres links to 2 other copies ... try both let me know if neither work for you and i'll get mine on the webz

http://www.scriptuo.com/index.php?topic=9536.msg82000#msg82000

http://www.easyuo.com/forum/viewtopic.php?f=3&t=34941&p=401800&hilit=mulfiles#p401800
Title: Re: UOP to MUL converter - The De-convolver
Post by: Guinness on November 18, 2012, 01:00:42 PM
are you all speaking greek? I no understand what you say. My greek is not so good looking : ::)
Title: Re: UOP to MUL converter - The De-convolver
Post by: MarcusO on December 27, 2012, 02:53:17 PM
Hi TM,

Can you please re-post the .UOP to .MUL converter? The link doesn't seem to work anymore :(

Also...how many bytes did you have to strip off for conversion of artidx.mul?

Thanks in advance,

Mark
Title: Re: UOP to MUL converter - The De-convolver
Post by: Endless Night on December 30, 2012, 06:03:31 PM
Hi TM,

Can you please re-post the .UOP to .MUL converter? The link doesn't seem to work anymore :(

Also...how many bytes did you have to strip off for conversion of artidx.mul?

Thanks in advance,

Mark

You need to post an intro to see downloadable files.
Title: Re: UOP to MUL converter - The De-convolver
Post by: ximan on December 31, 2012, 09:37:42 AM
Hi TM,

Can you please re-post the .UOP to .MUL converter? The link doesn't seem to work anymore :(

Also...how many bytes did you have to strip off for conversion of artidx.mul?

Thanks in advance,

Mark

I don't think the conversion process is as straightforward as was earlier believed.  With regard to the artidx.mul file, I'd be surprised if you can simply 'strip off' the initial uop header (haven't looked at it, however it's not possible with other (map) .uop files due to headers on individual chunks within them).

While TrailMyx might have updated his deconvolver, the download link doesn't appear to point to anything at the moment.
Title: Re: UOP to MUL converter - The De-convolver
Post by: TrailMyx on December 31, 2012, 03:02:04 PM
Ximan is right, the original offset was really only for the initial version after the change to UOP.  As UO was patched, the files seemed to become more corrupted.  The converter "works", but the resulting files were becoming more and more corrupted. 

There probably won' be an update to this; I don't want to become zen with the inner workings of those file formats.  Ximan has a great working knowledge of the formats now.  Hopefully Cheffe can use his input and expertise to make it so this won't be needed going into the future.
Title: Re: UOP to MUL converter - The De-convolver
Post by: Alpha on January 01, 2013, 09:03:23 AM
Why do I picture myself sacrificing stuff on an alter & hoping "the gods" make it all well?  = P
Title: Re: UOP to MUL converter - The De-convolver
Post by: TrailMyx on January 02, 2013, 07:04:57 AM
Why do I picture myself sacrificing stuff on an alter & hoping "the gods" make it all well?  = P

We must not be using enough goat blood!
Title: Re: UOP to MUL converter - The De-convolver
Post by: Endless Night on January 02, 2013, 07:08:04 AM
Why do I picture myself sacrificing stuff on an alter & hoping "the gods" make it all well?  = P

We must not be using enough goat blood!

Goats !!! Its got to be a lack of celestial virgins.
Title: Re: UOP to MUL converter - The De-convolver
Post by: TrailMyx on January 02, 2013, 07:13:14 AM

Goats !!! Its got to be a lack of celestial virgins.

GAW!  That's what we've been doing wrong!  *facepalm*
Title: Re: UOP to MUL converter - The De-convolver
Post by: ximan on January 12, 2013, 11:07:48 AM
What other pre-uop files do people need access to, if any?  C# or .net would be better suited for a general purpose converter than oeuo (can't read registry or read/write files outside oeuo directory, no zlib) if people need things besides map access (art files or whatever).  TM have you considered open sourcing your deconvolver?  Worst case I suppose someone could go in and modify UO Fiddler to export converted files.
Title: Re: UOP to MUL converter - The De-convolver
Post by: TrailMyx on January 12, 2013, 11:43:19 AM
heh, the devonvolver is a silly program really.  I basically load the uop file into memory, and offset the fixed value and resave as a mul.  It's just that simple.  Barely a braincell went into making it.
Title: Re: UOP to MUL converter - The De-convolver
Post by: ximan on January 12, 2013, 01:58:33 PM
I'm a lazy bastard, one brain cell of your effort would probably save me a couple of hours of learning about c#/.net   ;) ... however I understand your position.  Will probably code something barebones in oeuo; won't be able to handle uop files that contain compressed content though.
Title: Re: UOP to MUL converter - The De-convolver
Post by: TrailMyx on January 12, 2013, 02:00:14 PM
I'll send you the project so you can giggle.
Title: Re: UOP to MUL converter - The De-convolver
Post by: _C2_ on March 09, 2013, 10:01:17 AM
is this gone?  i really want to be able to fish again.
Title: Re: UOP to MUL converter - The De-convolver
Post by: TrailMyx on April 06, 2013, 03:25:52 PM
For those looking for a program that actually works correctly these days, please take a look at Neo's project:

http://www.scriptuo.com/index.php?topic=11071.0

I'm going to lock this thread since this won't be updated any longer thanks to Neo's hard work.