PDA

View Full Version : Don't patch your m2v files, patch SpruceUp



koreth
03-28-2003, 04:54 PM
To patch SpruceUp 1.1 build 1106 to accept any resolution in a .m2v file, eliminating the need for DVDPatcher:
[list=1] Get a hex editor (I use UltraEdit (http://www.ultraedit.com/) which has a free trial download).
Make sure SpruceUp isn't running. Make a backup copy of SupportLibs.dll from your SpruceUp directory.
Open SupportLibs.dll in your hex editor.
At address 1a018, change the "74" to "EB". If the value at that address isn't "74", don't change it -- it means you're using a different version of SpruceUp than I am, and making this change would just mess it up. (If you're doing this in UltraEdit, type control-G then enter 0x1a018 into the dialog box to jump to that address.)
Save the file and launch SpruceUp. You can now load .m2v files without messing with the resolution first.[/list=1]Hope that's of use to people!

-Steve

Neutronflux
03-28-2003, 07:53 PM
Koreth -- is there a similar hex workaround for DVD Maestro which is made by the same company?

Thanks!

koreth
03-28-2003, 08:22 PM
No doubt it's possible to do, but I don't have that app so I can't step through it in my debugger to figure out what to patch.

But if it happens to use the same SupportLibs.dll as my version of SpruceUp, the patch should work for it as well. (How likely that is, I have no idea -- make sure you make a backup if you try.)

Neutronflux
03-28-2003, 11:08 PM
Hi Koreth - I just checked and Maestro does have the SupportLibs.dll file -- it's 389,120 byes in size.

I'm going to take a look at it with ultraedit and I'll post the results... Good work on finding that by the way.

Neutronflux
03-28-2003, 11:22 PM
No go - that location has a 00 in my version. Darn.

SR712
03-29-2003, 12:12 AM
Koreth-

Is there a certain string we can look for?

FreydNot
03-29-2003, 02:39 AM
Koreth,

Can you give us a small dump of the values around 1a018 in the SpruceUp 1.1 build 1106 version of SupportLibs.dll ? 20 or 30 bytes should probably be enough to track down a pattern.

I'd love to have this hack for DVD Maestro.

ronnythunder
03-29-2003, 03:02 AM
here's a dump of this. note that mine has already been patched (and sorry about the w-i-d-e-n-e-s-s)
00019FF4 57 8B 79 08 E8 C3 FC FF FF DC 1D C0 16 02 10 DF E0 F6 C4 40 74 3A 81 FF 40 02 00 00 W.y................@t:..@...
0001A010 75 1D 81 FE D0 02 00 00 EB 10 81 FE C0 02 00 00 74 08 81 FE 60 01 00 00 75 2A 5F B0 u...............t...`...u*_.
0001A02C 01 5E C3 81 FF 20 01 00 00 75 1D 81 FE 60 01 00 00 75 15 5F B0 01 5E C3 81 FF E0 01 .^... ...u...`...u._..^.....
ronny

Hi8
03-29-2003, 10:33 AM
Thanks, works like a charm!


the question I have is... because SpruceUp is no longer a product, I'm stuck with the trial version. (I would buy it)

does anyone know how to go beyond that? I do have a KeyGen that works, but it still reflects a Trial Version. It would be nice to have the ability to embed a PC Player as is implied by the "real" version.

Nitz
03-29-2003, 11:16 AM
Spruce crack

Nitz
03-29-2003, 12:08 PM
The hex edit now makes all the thumbnails for chapters into a 16x9 format. no more black bar on the right.


Great work

SR712
03-29-2003, 01:24 PM
The SupportLibs.dll for Maestro, at least in the version I have, has that same string. The byte at 0x00019E38 has a value of 74. Thr Bytes prior to it are exactly the same, too. I haven't changed it yet. But I will try later to EB.

kyle
03-29-2003, 02:29 PM
Any similar hack/registry entry for Ulead DVD Workshop?
If it didn't put all the files into one title set, it wouldn't be such a problem!

Thanks,
-Kyle

Neutronflux
03-29-2003, 02:44 PM
What exactly did you use to "debug" this dll file? This is definitely insteresting, but I'm not sure how much damage someone like me with almost no programming experience could do with this, I'm sure I could Hose *alot* of stuff with this.

SR712
03-29-2003, 02:54 PM
I use Hex Workshop 3.1. You open the file with Hex Workshop, go to the appointed hex address, verify that it contains the original value, type in the new value over the old, and save the file. If you'd like, save a copy of the file (with another name) before you edit it. Then you can go back to the original easily if you need to.

SR712
03-29-2003, 03:24 PM
I can verify that this works with Maestro, also. I didn't go through the process of burning a DVD, but all seemed fine in Maestro with this edit. I could import the demuxed ty files, no problem. Good call, koreth.

For Maestro: At byte 0x00019E38 change the 74h to EBh.

bato
03-29-2003, 03:59 PM
Originally posted by SR712
For Maestro: At byte 0x00019E38 change the 74h to EBh.
I guess there are different version of this dll (or Maestro itself), my string search show the byte to change at 19C98. I'll test and edit back this message. My dll version show 2.0.0.0 but in properties show 2, 9, 0, 0

SR712
03-29-2003, 04:32 PM
Hmmmmm. Mine shows same version numbers as yours, but my offset I am sure about.

Neutronflux
03-29-2003, 04:51 PM
I ran a search for known strings and mine happens to be in the same place as bato:

19c98h -- nice job man.

FreydNot
03-29-2003, 11:21 PM
Well, its close but not quite right. I'm reluctant to gamble on the patch.

Here is the code snip from SupportLibs.dll dated August 23, 2001, 9:52:56 AM from DVD Maestro. It says File version 2.0.0.0 (product version 2,9,0,0)


00019c80h: 16 02 10 DF E0 F6 C4 40 74 3A 81 FF 40 02 00 00 ; ...@t:@...
00019c90h: 75 1D 81 FE D0 02 00 00 74 10 81 FE C0 02 00 00 ; u....t....
00019ca0h: 74 08 81 FE 60 01 00 00 75 2A 5F B0 01 5E C3 81 ; t.`...u*_.^Á

bato
03-30-2003, 12:35 AM
FreydNot: that's exactly what I had. I changed:

00019c90h: 75 1D 81 FE D0 02 00 00 74 10 81 FE C0 02 00 00 ; u....t.... to:
00019c90h: 75 1D 81 FE D0 02 00 00 EB 10 81 FE C0 02 00 00 ; u........
And now I can import 480x480 without patching into Maestro, then I don't need to close Maestro and patch back and reopen Maestro to work with the file, just import, create, compile and presto!

EDIT: anyway you can have a backup without patch and replace if something goes wrong in the future, or patch back the file to 74

bato
03-30-2003, 12:45 AM
Originally posted by kyle
Any similar hack/registry entry for Ulead DVD Workshop?
If it didn't put all the files into one title set, it wouldn't be such a problem!

Thanks,
-Kyle
I believe SpruceUp and Maestro don't have an encode engine, so the only "problem" we have is the resolution that this patch takes care (thanks Koreth).

With Workshop if it doesn't like the resolution it will reencode, so I guess the patch will be in multiple dlls (for import, encode, remux, ...)

wolkowh
03-30-2003, 01:17 AM
Any chance you can use your methodolgy to find a patch for Spruce to ignore GOP errors????? This would be true a godsend!

Howard

TIVOROCKS
03-30-2003, 02:03 AM
Thanks koreth!

Hi8
03-30-2003, 03:36 PM
Just installed Spruce-Up 1.1 with the patch for the .dll ---

works GREAT, except the Chapter frame image, always remains BLACK -- I know I used this before without a problem with the older version 1.0; is this just me? or is it the newer version. or a result of the patch?

I move the little "eye" icon to adjust the preview frame used for that chapter, but noting shows up in the preview window.

It does effect frame for authoring, if I advance it a frew seconds,, it changes but I have to work blind. somewhat impossible.

anyone know what I talking about? CaptainVideo - you being the house SpruceUp expert, have you seen this problem?

bato
03-30-2003, 07:30 PM
Hi8: I see that too in Maestro, the good thing is that there is a "realview" window and that keeps working. I guess this is a side efect from the patch.

I guess that without the dll patch, we patch the video, import, crash, close, patch video back, open and work with the file thanks to the parsing, now that the parsing is made at 480x480 and not being a "good" resolution then another dll responsible for display the video in the little window show all black. Too bad.

Hi8
03-30-2003, 07:56 PM
Originally posted by bato
Hi8: I see that too in Maestro, the good thing is that there is a "realview" window and that keeps working. I guess this is a side efect from the patch.

I guess that without the dll patch, we patch the video, import, crash, close, patch video back, open and work with the file thanks to the parsing, now that the parsing is made at 480x480 and not being a "good" resolution then another dll responsible for display the video in the little window show all black. Too bad.

I suppose... I know that it is still functional, as I imported a DVD compliant .m2v and it worked as before/expected.

hwhx0r
03-30-2003, 10:13 PM
The SupportLibs.dll for my version of DVDMaestro is 389,120 bytes. I made the byte change at 0x0019c98:

0019C90 75 1D 81 FE D0 02 00 00 EB 10 81 FE C0 02 00 00

So far, it seems to work.

Fugg
03-31-2003, 08:45 PM
Dang, Koreth,

THANKS!!!

It's just too slick, bud.

No more crashing after importing, even!!!!

Excellent!!

:D

Rowan
03-31-2003, 10:48 PM
Here is a quick and dirty program that will patch the maestro dll, this way you dont have to have a hex editor to patch the dll. It will first try to make a backup copy of the dll to supportlibsback.dll. I have included the source for the program, it can easily be modified to support the spruceup if some one wanted to make the changes.

Place the exe in the same directory as the dll and run the program. As always there are no warrantys or support (that is why the source is included) but it seems to work for me.

Rowan

TheSaint
04-01-2003, 10:04 AM
Sorry if a bit OT, but who has had success from Tystudio Beta2 importing into Spruce ? When export format are you using: DVD, Generic MPEG, or streams ? Are you having Tystudio convert audio ?

I have some very problematic streams that I've been tinkering with for weeks. Using the latest Tystudio, I was able to get it to at least load into Spruce, but when I try to create the title set the software just hangs. Something must be amiss(duh!). BTW, I record all shows at 720x480 on my SA tivo version 3.0, so I don't have to patch it to get Spruce happy.

Thanks,
TheSaint

JJBliss
04-04-2003, 06:54 PM
For those of you who can't handle patching hex files on your own......

:cool:


The zip file contains a prehacked SupportLibs.dll for version 1.1 build 1106 of Spruce Up

Rename your old SupportLibs.dll to SupportLibs.dll.480

Then copy this file into the \Program Files\Spruce Technologies\SpruceUp directory (or wherever it was)

Hope this helps you folks.....


(BTW: It does work.....)

JJ Bliss

invader zog
04-05-2003, 03:25 PM
Originally posted by FreydNot
Well, its close but not quite right. I'm reluctant to gamble on the patch.

Here is the code snip from SupportLibs.dll dated August 23, 2001, 9:52:56 AM from DVD Maestro. It says File version 2.0.0.0 (product version 2,9,0,0)


00019c80h: 16 02 10 DF E0 F6 C4 40 74 3A 81 FF 40 02 00 00 ; ...@t:@...
00019c90h: 75 1D 81 FE D0 02 00 00 74 10 81 FE C0 02 00 00 ; u....t....
00019ca0h: 74 08 81 FE 60 01 00 00 75 2A 5F B0 01 5E C3 81 ; t.`...u*_.^Á


I just gave this a try -- looks promising so far!

laserfan
04-05-2003, 06:16 PM
Originally posted by TheSaint
Sorry if a bit OT, but who has had success from Tystudio Beta2 importing into Spruce ?...I had some horrible luck w/B2, and now have reverted to B1 again, and it's worked on some streams that didn't work at all w/B2. I output to Elementary Streams/48000.

laserfan
04-05-2003, 06:36 PM
While we're OT here, but in a room full of SU users, my installation started "flashing" today after a crash, where both the Clip preview mode and the Simulate window don't play smoothly any longer, they instead will show a frame, and then black, and then a frame, maybe every third of a second. The audio plays smoothly while this is happening, as does the time counter in the Clip preview/play mode.

I've rebooted a couple times to no avail. Anyone else encountered/solved this? It doesn't affect the output at all, i.e. the exported program w/chapters plays just fine, it only "flashes" in preview playback...

snoopy
04-08-2003, 12:32 AM
Originally posted by koreth
To patch SpruceUp 1.1 build 1106 to accept any resolution in a .m2v file, eliminating the need for DVDPatcher:
[list=1] Get a hex editor (I use UltraEdit (http://www.ultraedit.com/) which has a free trial download).
Make sure SpruceUp isn't running. Make a backup copy of SupportLibs.dll from your SpruceUp directory.
Open SupportLibs.dll in your hex editor.
At address 1a018, change the "74" to "EB". If the value at that address isn't "74", don't change it -- it means you're using a different version of SpruceUp than I am, and making this change would just mess it up. (If you're doing this in UltraEdit, type control-G then enter 0x1a018 into the dialog box to jump to that address.)
Save the file and launch SpruceUp. You can now load .m2v files without messing with the resolution first.[/list=1]Hope that's of use to people!

-Steve

Will this allow it to ignore importation of mpg files also in the same manner?

JJBliss
04-09-2003, 06:27 PM
One more utility if everything else fails.

(and it gave me something to do...)

I took Rowan's suggestion and modified his MaestroPatch to work with SpruceUp.

All credit should be given to Rowan for his original source, I just spent ten minutes adding some glitz (screen output) and a different offset.

Run the exectuable in the same directory as the SupportLibs.dll file.


Enjoy..

JJ Bliss

defsrg
04-17-2003, 04:54 PM
this procedure causes su to stop working everytime it is done to it. you go to open it and get the classic xp error report window. just my 2 cents
________
Essential vaaapp vaporizer (http://essentialvaaappvaporizer.com)

JJBliss
04-17-2003, 10:00 PM
Originally posted by defsrg
this procedure causes su to stop working everytime it is done to it. you go to open it and get the classic xp error report window. just my 2 cents

Which procedure are you reffering to ?
The hack itself, or the executable patches?

You say "everytime it is done to it". You should only be doing "it" to it ONCE.

defsrg
04-18-2003, 12:22 PM
nope sorry my bad , picked up a virus that was affecting all my .exe extensions, sorry sorry!!!
________
MAGIC FLIGHT LAUNCH BOX REVIEW (http://mflbvaporizer.com)