Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Page 1 of 2 1 2 >
Topic Options
#20548 - 17/10/2000 11:14 Empeg Logo Editor 1.0
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31584
Loc: Seattle, WA
For those that don't read the Programming forum, I have released version 1.0 of my Empeg Logo Editor. It can be found at http://www.jps.net/tfabris/logoedit.htm. Enjoy!

___________
Tony Fabris
_________________________
Tony Fabris

Top
#20549 - 17/10/2000 17:58 Re: Empeg Logo Editor 1.0 [Re: tfabris]
Dignan
carpal tunnel

Registered: 08/03/2000
Posts: 12324
Loc: Sterling, VA
Here's an idea, Tony. Along with the program zip file you could supply the exact color palette you used for the startup logos. This would eliminate any confusion and users wouldn't even have to go through those steps in the FAQ article.

Just a thought...

DiGNAN
_________________________
Matt

Top
#20550 - 17/10/2000 18:34 Re: Empeg Logo Editor 1.0 [Re: Dignan]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31584
Loc: Seattle, WA
Here's an idea, Tony. Along with the program zip file you could supply the exact color palette you used for the startup logos. This would eliminate any confusion and users wouldn't even have to go through those steps in the FAQ article.

Actually, if you use my logo editor, you don't have to do any of the steps in the FAQ article. You can just start painting, or you can just paste from any bitmap. You don't need a palette or color reduction. The FAQ is kind of obsolete now (although I did recently touch it up a bit when I linked my logo editor).

The exact color palette can be gotten by copying the default image to the clipboard and pasting it into your paint program. Now you can use the paint program's tools to build a palette in its own format.

Besides, the color palette in my logo editor is now user-configurable. After the first run, the values are in the .INI file, and you can get them from there if you want.

___________
Tony Fabris
_________________________
Tony Fabris

Top
#20551 - 17/10/2000 19:10 Re: Empeg Logo Editor 1.0 [Re: tfabris]
Dignan
carpal tunnel

Registered: 08/03/2000
Posts: 12324
Loc: Sterling, VA
Oops, I just noticed it's not the version you first talked about in the other thread. I believe that one was hindered somehow, wasn't it?

Well, I just used your fantastic program to make my own image and load it on the empeg. FANTASTIC JOB!! I think this is an incredible piece of software. Easy to use, functional, and it works!(always a plus)

I still sort of like to use PSP to edit the images, but you made this easy with your import/export feature. Great job!

So after seeing all the stuff I missed the first time, I have only one suggestion: do you think you could make the "Open" box more like the windows explorer type that opens for most programs? The type you included is the kind that always annoys me because it's a bit difficult to navigate. But this is a minor annoyance.

GREAT JOB TONY!!

ps-I attached the simple image I made with Tony's editor. Explanation: it's my liscense plate

DiGNAN


Attachments
1-19864-Car3.bmp (116 downloads)

_________________________
Matt

Top
#20552 - 18/10/2000 09:13 Re: Empeg Logo Editor 1.0 [Re: Dignan]
EngelenH
enthusiast

Registered: 29/09/2000
Posts: 313
Loc: Belgium/Holland
You sure it is spelled right ?

Cheers,
Hans


Mk2 - Blue - 080000431
_________________________
Mk2 This message will selfdestruct in 5 seconds to prevent reproduction.

Top
#20553 - 18/10/2000 11:24 Re: Empeg Logo Editor 1.0 [Re: Dignan]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31584
Loc: Seattle, WA
I still sort of like to use PSP to edit the images, but you made this easy with your import/export feature. Great job!

Thanks, glad you liked it.

Note that for most programs (including PSP) you don't even need to use the import/export menus. You can just CTRL-C and CTRL-V to copy and paste the images between the two programs.


do you think you could make the "Open" box more like the windows explorer type that opens for most programs? The type you included is the kind that always annoys me because it's a bit difficult to navigate. But this is a minor annoyance.

I'm currently struggling with this. Here is the situation:

I prefer to distribute my programs in as simple a format as possible. I want you to be able to just unzip-and-run, and not worry about installs or DLLs or anything like that.

To that end, this program was written in 16-bit VB3. The beauty of VB3 is that it runs fine on all the new Windows platforms, but its runtime DLLs are small and can be included in the same folder as the EXE. For instance, in my distribution, the two runtime files (vbrun300.dll and cmdialog.vbx) are sitting right there in the same folder and it works great. No need to do a complicated, bloated installer that has to version-mash with crap in your System folder.

But the problems is that since it's a 16-bit program, it can only use the 16-bit "open" dialog. That's the box that irritates you. It irritates me, too, since it won't show long file names.

So, the only option is to port it to 32-bit. I've got two ways to go about it:

1) Do it in C. I tried that first and gave up. Dealing with bitmaps and device contexts is a major pain in the ass in C. Yes, I could do it (I've done it before), but if I had, I'd still be debugging the first prototype instead of having already delivered a fully-featured and polished version. VB development is just so much faster and simpler. All the under-the-hood stuff for dealing with the bitmaps and the clipboard is handled for you. For instance, the command to export a file to a BMP was literally one line of code in this program, and it would have been over a hundred lines if I'd done it in C.

2) Port it forward to VB6. In fact, I've already done it and it works great. There's just a problem with VB6...

The problem with VB6 is that it's bloated. The VB6 runtime library alone is over a megabyte. In addition to that, you have to install a bunch of bullsh*t OLE libraries along with it, making the distribution huge. This irritates me to no end, since I don't even use OLE in the software. This is pure arrogance on the part of Microsoft, making us drag this crap along every time we install a program.

And not only that, the OLE stuff (heck, and even the runtime DLL and the common control OCX) are version-control nightmares. I've seen systems actually quit functioning because of mismatched OLE files. I don't want the weight of that problem to be on my shoulders if I can avoid it.

Sure, microsoft provides their own VB6 runtime installer to handle that crap for you, but that doesn't make it any less bloated. And since I'm using the common control OCX, I'll have to distribute that and version-check it anyway (on one of my test systems I got an "OCX out of date" error because although it already had the OCX, it had an older version).

Still, I want to distribute it in a 32-bit-aware version, and I'm investigating ways to do that easily right now.

One option would be to dump the OCX and call the common dialogs directly via the Windows API. Then I could at least distribute just my zipped VB program and have a corresponding link to the VB6 runtime installer. That way, I'd be able to still have a small, ubloated download for everyone, and only the people who don't have the VB6 and OLE runtimes would need the extra install. This is attractive and I will be investigating it more closely.

Another option would be to follow up on an ad I saw in Dr. Dobbs once. They claimed to be able to turn your DLL-needin' VB program into a stand-alone executable that doesn't have any external dependencies. In effect, statically linking your runtime libraries and OCXs to the EXE. I don't know how well this works or how much it costs, but I'll be investigating that first.

___________
Tony Fabris
_________________________
Tony Fabris

Top
#20554 - 18/10/2000 14:53 Re: Empeg Logo Editor 1.0 [Re: tfabris]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31584
Loc: Seattle, WA
Another option would be to follow up on an ad I saw in Dr. Dobbs once. They claimed to be able to turn your DLL-needin' VB program into a stand-alone executable that doesn't have any external dependencies. In effect, statically linking your runtime libraries and OCXs to the EXE. I don't know how well this works or how much it costs, but I'll be investigating that first.

Holy sh|t, it works.

Bit Arts Fusion. I think my company is going to buy this product for us.

I just created a copy of the VB6 version of LogoEdit, plus the following linked dependency files:
1,384,448 MsVbVm60.DLL
140,288 ComDlg32.ocx
17,920 STDOLE2.TLB
598,288 OLEAUT32.DLL
164,112 OLEPRO32.DLL
22,288 COMCAT.DLL
147,728 ASYCFILT.DLL
27,136 ctl3d32.dll

Normally, that's a total of about 3 megabytes. Now it's a single LOGOEDIT.EXE and it's only 1.2 megabytes total. Runs perfectly on a bare-bones fresh-formatted Win95 system. Suh-wheet. More investigation and testing is needed to be sure about this, but... whoa, this is pretty cool.

___________
Tony Fabris
_________________________
Tony Fabris

Top
#20555 - 18/10/2000 14:55 Re: Empeg Logo Editor 1.0 [Re: tfabris]
Henno
addict

Registered: 15/07/1999
Posts: 568
Loc: Meije, Netherlands
*Very* nice piece of work Tony. Thanks

Henno
mk2 6 nr 6
_________________________
Henno mk2 [orange]6 [/orange]nr 6

Top
#20556 - 18/10/2000 15:07 Re: Empeg Logo Editor 1.0 [Re: Henno]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31584
Loc: Seattle, WA
Thanks, glad you liked it. If things go well today, there might be a 32-bit-aware version of it up tonight.

___________
Tony Fabris
_________________________
Tony Fabris

Top
#20557 - 18/10/2000 15:19 Re: Empeg Logo Editor 1.0 [Re: tfabris]
Henno
addict

Registered: 15/07/1999
Posts: 568
Loc: Meije, Netherlands
there might be a 32-bit-aware version of it up tonight.

Yep, I just read your post about it. Nice that there still are people around who can bring order into the MS chaos.
Also goodto see that Dr Dobbs is still around (around again?)

Henno
mk2 6 nr 6
_________________________
Henno mk2 [orange]6 [/orange]nr 6

Top
#20558 - 18/10/2000 15:31 Re: Empeg Logo Editor 1.0 [Re: Henno]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31584
Loc: Seattle, WA
Also goodto see that Dr Dobbs is still around (around again?)

Funny thing is, when I went back and found it again, it wasn't an ad from Bit Arts. What I'd seen was an ad for ComponentSource.Com, and part of the ad was a screen shot of their front page. In the listing of components was a short blurb about Fusion. For some reason, I had actually been reading the text of the screen shot of the web site, there in the magazine. That's where I found it.

___________
Tony Fabris
_________________________
Tony Fabris

Top
#20559 - 18/10/2000 15:40 Re: Empeg Logo Editor 1.0 [Re: tfabris]
muzza
Pooh-Bah

Registered: 21/07/1999
Posts: 1765
Loc: Brisbane, Queensland, Australi...
Great work Tony! I don't know how you have so much time to do these projects. This one is fantastic.

First time i ran it and did the upload, I didn't think it worked. Ran it again and sure enough, after a re-boot it had my images there. Top stuff.

Could you add a part to the uploader which reboots the empeg? My Mk1 (haven't tried Mk2 yet) just sits there blank.

Murray 06000047
____________________
_________________________
-- Murray I What part of 'no' don't you understand? Is it the 'N', or the 'Zero'?

Top
#20560 - 18/10/2000 16:08 Re: Empeg Logo Editor 1.0 [Re: muzza]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31584
Loc: Seattle, WA
Could you add a part to the uploader which reboots the empeg? My Mk1 (haven't tried Mk2 yet) just sits there blank.

Yes, I would like to do that, and for precisely the same reasons.

Only problem is that I don't know what bytes to send to the empeg to make it fully reboot all the way back to the beginning of the ROM loader. I asked in the Technical forum, and some folks suggested that "r(cr)" was the ticket. The only problem is that this just restarts the player not the boot loader.

I tried reverse-engineering the commands that the EmpegUpgrade.exe sends to the empeg. I did this by running hyperterminal on a second machine and running EmpegUpgrade.exe on the first machine. I get a stream of interesting bytes, but when I plug those into the uploader code it doesn't do anything.

I have posted that question on the technical forum in hopes that Hugo would respond, but he hasn't. I think I'll e-mail him directly now.

___________
Tony Fabris
_________________________
Tony Fabris

Top
#20561 - 18/10/2000 16:17 Re: Empeg Logo Editor 1.0 [Re: tfabris]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31584
Loc: Seattle, WA
More investigation and testing is needed to be sure about this, but...

Damn, it's not a silver bullet.

One of the problems is that on a fresh-formatted Win98 computer, the file OLEAUT32.DLL is present, but it's not a recent-enough version to make MSVBVM60.DLL happy. So even though I "fusion'ed" the correct OLEAUT32.DLL file to my executable, the older one installed on the system takes precedence and I still get the out-of-date file error message.

So this "fusion" app, although promising, is kind of useless for my purposes. I was hoping it would save my app from DLL hell, but it doesn't. And my app is a pretty darn simple app, it doesn't have any complicated dependencies, just whatever dependencies VB has natively.

I could still distribute it as it stands now, and link to the microsoft VB6 Runtime installer. But so far there isn't a compelling advantage to move to VB6 except for the new file dialogs. And since the current 16-bit file dialogs work OK (they're just mildly irritating now), I don't see a reason to add the extra megabytes of bloat.

I find it odd that Fusion doesn't solve my problems because that's the very root of what they're trying to do: Make it so you don't have to distribute the VB6 runtimes.

___________
Tony Fabris
_________________________
Tony Fabris

Top
#20562 - 18/10/2000 16:19 Re: Empeg Logo Editor 1.0 [Re: tfabris]
andy
carpal tunnel

Registered: 10/06/1999
Posts: 5915
Loc: Wivenhoe, Essex, UK
One option would be to dump the OCX and call the common dialogs directly via the Windows API. Then I could at least distribute just my zipped VB program and have a corresponding link to the VB6 runtime installer. That way, I'd be able to still have a small, ubloated download for everyone, and only the people who don't have the VB6 and OLE runtimes would need the extra install. This is attractive and I will be investigating it more closely.

This shows you how to do 32-bit common dialogs without DLLs or OCXs (vbAccelerator is an excellent site).

As to VB6 needing all those OLE DLLs, it doesn't really have much choice seeing as the whole of VB6 is based on COM (one of the many alternative names for one incarnation of OLE). It is painful though to write a simple app that compiles to a couple of tens of kilobytes, only to have it bloat to several meg when you distribute it.

At least you aren't struggling with VB4...
(the less said about VB4 the better)

That tool from BitArts looks interesting, but I think I would want to do some testing before relying on it!

Thanks Tony for all your hard work, I never did get the time to complete my logo editor/uploader.

__
Unit serial number 47 (was 330 in the queue)...
_________________________
Remind me to change my signature to something more interesting someday

Top
#20563 - 18/10/2000 16:30 Re: Empeg Logo Editor 1.0 [Re: tfabris]
andy
carpal tunnel

Registered: 10/06/1999
Posts: 5915
Loc: Wivenhoe, Essex, UK
I could still distribute it as it stands now, and link to the microsoft VB6 Runtime installer. But so far there isn't a compelling advantage to move to VB6 except for the new file dialogs. And since the current 16-bit file dialogs work OK (they're just mildly irritating now), I don't see a reason to add the extra megabytes of bloat.

Does VB6 not make things faster? I would have expected some speed-up moving from VB3 (assuming you dim all the variables with datatypes and use longs instead of integers). The preview window takes about 10 seconds to refresh on my PC and pasting takes about the same time (but probably just because it is refreshing the preview).

__
Unit serial number 47 (was 330 in the queue)...
_________________________
Remind me to change my signature to something more interesting someday

Top
#20564 - 18/10/2000 16:33 Re: Empeg Logo Editor 1.0 [Re: andy]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31584
Loc: Seattle, WA
This shows you how to do 32-bit common dialogs without DLLs or OCXs (vbAccelerator is an excellent site).

Thanks for the link. I might go that route.

What would really be awesome is if there were some sort of "generic reverse thunk" mechanism so that I could call the 32-bit dialogs from my 16-bit program, have it return the strings, then call the 32-bit function to pull the short file name versions of those strings.

Then I could use short file names internally to my program, but have dialogs that showed the long file names properly.

I wonder if such a mechanism exists?

___________
Tony Fabris
_________________________
Tony Fabris

Top
#20565 - 18/10/2000 16:42 Re: Empeg Logo Editor 1.0 [Re: andy]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31584
Loc: Seattle, WA
Does VB6 not make things faster?

Yeah, it did. Somewhat. Not enough to justify that bloat, though.

The preview window takes about 10 seconds to refresh on my PC

The preview window is strange, it seems to depend less on the CPU and more on the video drivers. It shouldn't take that long. On my 233 it only takes four seconds to display/refresh the preview window. Are you running in 32-bit color or 16-bit color?

I've thought about ways to improve its speed, and I might try those techniques someday. We'll see...

pasting takes about the same time (but probably just because it is refreshing the preview).

Right. If you turn off the preview window, pasting should be nearly instantaneous.

___________
Tony Fabris
_________________________
Tony Fabris

Top
#20566 - 18/10/2000 17:10 Re: Empeg Logo Editor 1.0 [Re: tfabris]
andy
carpal tunnel

Registered: 10/06/1999
Posts: 5915
Loc: Wivenhoe, Essex, UK
I wonder if such a mechanism exists?

Not that I'm aware of, attempting that sort of stuff was what made VB4 such a nightmare...

__
Unit serial number 47 (was 330 in the queue)...
_________________________
Remind me to change my signature to something more interesting someday

Top
#20567 - 18/10/2000 17:20 Re: Empeg Logo Editor 1.0 [Re: tfabris]
andy
carpal tunnel

Registered: 10/06/1999
Posts: 5915
Loc: Wivenhoe, Essex, UK
I'm running in 32-bit colour. I just tried 16-bit, it makes no difference.

This on a PII300 with an STB Velocity 128.

Unfortunately once you start trying to speed up things like this in VB you end up basically writing C++ in VB (i.e. every line of your code ends up calling an API call or trying to simulate some operation that would be easier to do in C++). As I found to my cost, the code that was in my aborted logo editor was getting really nasty.

__
Unit serial number 47 (was 330 in the queue)...
_________________________
Remind me to change my signature to something more interesting someday

Top
#20568 - 18/10/2000 23:39 Re: Empeg Logo Editor 1.0 [Re: tfabris]
Jazzwire
addict

Registered: 09/06/1999
Posts: 483
Loc: Guernsey
One way to reduce all this dll hell stuff is to move to something like Delphi... =)
I believe moving from VB to Delphi is quite painless (I've never used VB in the first place, but I use Delphi all day at work)

Jazz
(List 112, Mk2 12 gig #40. Mk1 4 gig #30. Mk3 1.6 16v)
_________________________
Jazz (List 112, Mk2 42 gig #40. Mk1 4 gig #30. Mk3 1.6 16v)

Top
#20569 - 19/10/2000 08:25 Re: Empeg Logo Editor 1.0 [Re: Jazzwire]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31584
Loc: Seattle, WA
You've got a point about Delphi. I just don't have a copy of it to develop with. Aren't they coming out with a Linux port of Delphi? That'd be cool- writing a Windows program that magically compiles under Linux.

___________
Tony Fabris
_________________________
Tony Fabris

Top
#20570 - 19/10/2000 08:29 Re: Empeg Logo Editor 1.0 [Re: Jazzwire]
andy
carpal tunnel

Registered: 10/06/1999
Posts: 5915
Loc: Wivenhoe, Essex, UK
Hmm, moving to Delphi means learning Object Pascal which is very different to VB. However it would have been great if VB had gained the ability to in-line the code like Delphi does. VB6 is really compiled (it uses a version of the VC++ backend), but they never when the extra step.

It will never happen now, as the next version of VB will be part of the .Net platform. If Tony is worried about bloat now, just wait. The .Net runtime is likely to run to many tens of megs rather than 3 meg...

(though of course the runtime will be built into future versions of Windows anyway, it doesn't help Win9x and WinNT4 users, who will have a very large download to do)

__
Unit serial number 47 (was 330 in the queue)...
_________________________
Remind me to change my signature to something more interesting someday

Top
#20571 - 19/10/2000 08:32 Re: Empeg Logo Editor 1.0 [Re: tfabris]
andy
carpal tunnel

Registered: 10/06/1999
Posts: 5915
Loc: Wivenhoe, Essex, UK
writing a Windows program that magically compiles under Linux

Hmm, until it doesn't of course...

In the whitepapers for .Net MS introduce a new acronym, IJW. This stands for "It Just Works".

Probably more appropriate would be IJWUEWYRNIT.

(It Just Works, Usually, Except When You Really Need It To)

__
Unit serial number 47 (was 330 in the queue)...
_________________________
Remind me to change my signature to something more interesting someday

Top
#20572 - 19/10/2000 09:20 Re: Empeg Logo Editor 1.0 [Re: tfabris]
Jazzwire
addict

Registered: 09/06/1999
Posts: 483
Loc: Guernsey
I feel qualified to answer this one, (as I went to the Borland UK conference a few weeks ago... (And saw the very thing working =)
They are bringing out Delphi for Linux (x86) and down the line C++ builder for Linux. The visual component library (VCL) has been rewritten as a cross platform library (called CLX and using QT for the visual bits). They have also added things like Apache support so you can recompile ISAPI dlls into Apache shared objects (at least that's the idea).
Delphi 6 for windows will allow you to use either the VCL for windows only, or CLX for cross platform.

All in all, rather cool stuff... =)
(I do have a basic empeg image tool written in delphi, which created the files for the old display program. I might have to update it now... =)

Jazz
(List 112, Mk2 12 gig #40. Mk1 4 gig #30. Mk3 1.6 16v)
_________________________
Jazz (List 112, Mk2 42 gig #40. Mk1 4 gig #30. Mk3 1.6 16v)

Top
#20573 - 19/10/2000 09:26 Re: Empeg Logo Editor 1.0 [Re: andy]
Jazzwire
addict

Registered: 09/06/1999
Posts: 483
Loc: Guernsey
Borland are actually trying to get VB users to switch to Delphi now on the grounds that they will be able to port to Linux soon (Due to the very unlikely nature of VB for Linux).
They seem to think it's not a large leap to move to Delphi (I've never used VB though... =)

Jazz
(List 112, Mk2 12 gig #40. Mk1 4 gig #30. Mk3 1.6 16v)
_________________________
Jazz (List 112, Mk2 42 gig #40. Mk1 4 gig #30. Mk3 1.6 16v)

Top
#20574 - 19/10/2000 09:41 Re: Empeg Logo Editor 1.0 [Re: Jazzwire]
EngelenH
enthusiast

Registered: 29/09/2000
Posts: 313
Loc: Belgium/Holland
Off Topic a little, butta ... Any ideas on license form and price of the Linux Delphi version. Kinda interested in that really ... Been out of the loop as far as programming goes for far too long now. Christ the last thing I learned was Cobol 85 and RPG ... Talk about ancient.

Okay I did some C coding on linux since but that was just because I really HAD too ...

Cheers,
Hans


Mk2 - Blue - 080000431
_________________________
Mk2 This message will selfdestruct in 5 seconds to prevent reproduction.

Top
#20575 - 19/10/2000 15:48 Re: Empeg Logo Editor 1.0 [Re: EngelenH]
Jazzwire
addict

Registered: 09/06/1999
Posts: 483
Loc: Guernsey
I'm not really sure, but I think it will follow the normal borland pattern, which is standard (The basics), professional (Database access) and enterprise (Client server 3 tier)...
The standard level of JBuilder and C++ builder (On windows) has been released for free (I think) so it's resonable to assume that the basic Linux version will be either free, or just cheap.
However, it's possible they will give away the compiler, and try to get you to buy the Environment bits... =)

All should be clear by the end of the year (when it should be out... =)

Jazz
(List 112, Mk2 12 gig #40. Mk1 4 gig #30. Mk3 1.6 16v)
_________________________
Jazz (List 112, Mk2 42 gig #40. Mk1 4 gig #30. Mk3 1.6 16v)

Top
#20576 - 19/10/2000 16:01 Re: Empeg Logo Editor 1.0 [Re: andy]
muzza
Pooh-Bah

Registered: 21/07/1999
Posts: 1765
Loc: Brisbane, Queensland, Australi...
Probably more appropriate would be IJWUEWYRNIT.
(It Just Works, Usually, Except When You Really Need It To)


or maybe IJWBDNUFMCS
(It Just Works But Do Not Use For Mission Crittical Stuff

Murray 06000047
____________________
_________________________
-- Murray I What part of 'no' don't you understand? Is it the 'N', or the 'Zero'?

Top
#20577 - 20/10/2000 17:27 1.1 Released [Re: tfabris]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31584
Loc: Seattle, WA
Version 1.1 has been released at the Empeg Logo Editor home page.

This one is a 32-bit application written in VB6. If anyone had trouble running the previous version, try this one and see if it's any better.

Note that this requires the VB6 runtimes (ick ick ick!), but I decided the improved speed and 32-bit file dialogs were worth it. Download location for the runtimes is linked at the web site.

Improvements from the previous version:

- Faster.
- 32-bit file I/O dialogs.
- Bugfixes.
- Uploader now reboots the player when the upgrade is done so you can see your new logo.

For the complete list of changes, see the readme.txt.

Let me know how it's working on various systems?

___________
Tony Fabris
_________________________
Tony Fabris

Top
#20578 - 20/10/2000 23:54 Re: 1.1 Released [Re: tfabris]
mtempsch
pooh-bah

Registered: 02/06/2000
Posts: 1996
Loc: Gothenburg, Sweden
Win98SE with complete Office and DevStudio, works like a charm!

Happy to see that you solved the rebooting problem too.



_________________________
/Michael

Top
#20579 - 21/10/2000 03:16 Re: 1.1 Released [Re: mtempsch]
andy
carpal tunnel

Registered: 10/06/1999
Posts: 5915
Loc: Wivenhoe, Essex, UK
Working perfectly in Win2KSP1 with Visual Studio 6SP3.

__
Unit serial number 47 (was 330 in the queue)...
_________________________
Remind me to change my signature to something more interesting someday

Top
#20580 - 21/10/2000 07:43 Re: 1.1 Released [Re: mtempsch]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31584
Loc: Seattle, WA
Ah, good glad it's working for you.

I discovered a problem on my Win98 box at home, where strange things happen with cutting and pasting in 16-bit color mode. Works fine in 24-bit color, and works fine in 16-bit on my NT box at work. Now we hit the problem with VB: If you're using their built-in functions because it's easy to do it that way, you have no recourse when those built-in functions have bugs. (grrr.) I'll play with it next week and see if I can get to the bottom of it.

Happy to see that you solved the rebooting problem too.

Only half way. It reboots nicely after a flash, but I still want to make it reboot before a flash so you don't have to yank the power at all. It turns out that one is a whole lot more complicated than the other.

___________
Tony Fabris
_________________________
Tony Fabris

Top
#20581 - 21/10/2000 07:47 Re: 1.1 Released [Re: andy]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31584
Loc: Seattle, WA
Thanks for testing it for me, guys! Glad to know it's doing well out there in the real world.

Now let's see some more logos posted to Drakino's Logo Site, eh?

___________
Tony Fabris
_________________________
Tony Fabris

Top
#20582 - 21/10/2000 08:44 Re: 1.1 Released [Re: tfabris]
andy
carpal tunnel

Registered: 10/06/1999
Posts: 5915
Loc: Wivenhoe, Essex, UK
I've tried that before. There is a problem in that Drakino's site doesn't seem to like the BMP files that I generate from the logo editor (even if I re-save them in Photoshop afterwards).

__
Unit serial number 47 (was 330 in the queue)...
_________________________
Remind me to change my signature to something more interesting someday

Top
#20583 - 21/10/2000 22:14 Re: 1.1 Released [Re: andy]
drakino
carpal tunnel

Registered: 08/06/1999
Posts: 7868
I've tried that before. There is a problem in that Drakino's site doesn't seem to like the BMP files that I generate from the logo editor (even if I re-save them in Photoshop afterwards).

Thats one thing I need to talk to you about Tony. Several logos have been uploaded lately that come though in a format that only MS Paint can open. My copy of Photoshop 5.5 chokes on most, and the Linux converter I use in the backend chokes on all of them it seems. I still have some testing of my own to do on this.

Basicially, if you upload an image, then go back to the members page and see a broken image icon, something failed in the backend, and I may not be able to fix it manually. (I'm going through some now and manually creating the gifs.)


Top
#20584 - 23/10/2000 10:08 Re: 1.1 Released [Re: drakino]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31584
Loc: Seattle, WA
Thats one thing I need to talk to you about Tony. Several logos have been uploaded lately that come though in a format that only MS Paint can open.

I know very little about the actual file format of the BMP files. One of the reasons I was able to get my logo editor done so easily is because Visual Basic handles all the BMP import/export stuff natively and I don't need to muck about with the bits of the image or its header. So I might not be much help.

But here are a few possible guesses, let me know if these are helpful:

- Is it a color depth/palette problem? Probably not since you said Photoshop chokes on them as well, and it should handle any palette or color depth.

- Are these files accidentally RLE compressed? "Run Length Encoding compression" is a save option in some paint applications. Just for the heck of it, try renaming one of these files to *.RLE before trying to open them in photoshop.

- Are these files accidentally saved in OS/2 bitmap format? This is different from the Windows bitmap format, but carries the same file extension.

- Are these files saved as DIB bitmaps instead of regular bitmaps? I think that DIB (Device Independent Bitmap) is a different format than the standard BMP.

___________
Tony Fabris
_________________________
Tony Fabris

Top
#20585 - 23/10/2000 18:15 Re: Empeg Logo Editor 1.0 [Re: tfabris]
jwickis
addict

Registered: 24/08/2000
Posts: 658
Loc: India
In LogoEditor 1.1 is there anyway to seperately load into LogoEditor car and home from an existing file?
When I load a .bin file (obtained from website created by someonelse) it loads into both car & home windows, when I load my own .bin creation files it only loads into the top window (home), but switches the car logo back to default. When trying to import in .bmp I get a {Error 481 occuring in import routine}.
Copying and pasting only seems to blank the screen white.
Any suggestions?

#090000695 Mk2 BLUE 12Gig

Top
#20586 - 23/10/2000 18:43 Re: Empeg Logo Editor 1.0 [Re: jwickis]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31584
Loc: Seattle, WA
is there anyway to seperately load into LogoEditor car and home from an existing file?

Yes, if the file is an uncompressed Windows Bitmap file. I haven't implemented separate loading and saving of two images in the .bin file format, since Empeg's kernel doesn't support partial images. If you want to work with the two pictures separately, you have to use bitmaps for that.

You can also do the loading and saving from a third-party application such as Paint Shop Pro or Windows Paint, then copy and paste into/out of the logo editor.

when I load my own .bin creation files it only loads into the top window (home)

Sounds like your own .bin creation files aren't complete- they only contain the first half of the file. Interesting- I'd never tried files in that format, I thought my program would crash if you did that. Glad to know it handles it gracefully.

When trying to import in .bmp I get a {Error 481 occuring in import routine}.

This is interesting, it should not happen. Are you sure the file you're opening is an uncompressed Windows Bitmap file? For instance, you're not trying to import a .BIN file as if it were a bitmap, are you? Or trying to open a GIF or JPG? Remember, renaming the file doesn't magically make it a different kind of file.

In order to open a bitmap file, it needs to be:
- In the Windows Bitmap BMP format.
- Not data-compressed, such as the RLE format.
- Not the OS/2 bitmap format.

If the bitmap really matches those criteria and Logoedit still chokes on it, please post a message here in this thread, and attach the offending file. I'll then check it out and see why it won't open for you.

Copying and pasting only seems to blank the screen white.

This may be related to a bug I experienced after porting the app from VB3 to VB6. Try setting your desktop to 24-bit color or 32-bit color and see if it makes that problem go away. You should be able to copy from the home image (ctrl-C) and paste to the car image (ctrl-F) and it should work. You should also be able to copy and paste from Windows Paint. Let me know how you do.

___________
Tony Fabris
_________________________
Tony Fabris

Top
#20587 - 23/10/2000 20:18 Re: Empeg Logo Editor 1.0 [Re: tfabris]
jwickis
addict

Registered: 24/08/2000
Posts: 658
Loc: India
In reply to:

When trying to import in .bmp I get a {Error 481 occuring in import routine}.


Well the .bmp's were made from within LogoEditor. I guess I did try to magically change them. I saved the originals as .bmp's thru {save as}, works with NG movie and picture files I guess I figured it would here.

In reply to:

Are you sure the file you're opening is an uncompressed Windows Bitmap file? For instance, you're not trying to import a .BIN file as if it were a bitmap, are you?


No, when importing I'm using the original file.

In reply to:

Try setting your desktop to 24-bit color or 32-bit color and see if it makes that problem go away.


At the time it was set at 16bit. Now it is at 24bit, my own created w/PSP3 .bmp's work, first import to car works second import to home works. I can import them seperately.
Let me ask you this, when trying to open the LogoEditor created .bmp's in PSP3 it does show that they aren't a valid BMP/DIB/RLE file.

#090000695 Mk2 BLUE 12Gig


Top
#20588 - 23/10/2000 21:03 Re: Empeg Logo Editor 1.0 [Re: jwickis]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31584
Loc: Seattle, WA
Well the .bmp's were made from within LogoEditor. I guess I did try to magically change them. I saved the originals as .bmp's thru {save as}, works with NG movie and picture files I guess I figured it would here.

Heh, yeah, that's the issue. Save As only works with BIN files. If you want to save a BMP then you say export to BMP instead of Save As and it should all work.

I guess I'll implement a check to make sure the user didn't change the file extension.

Let me ask you this, when trying to open the LogoEditor created .bmp's in PSP3 it does show that they aren't a valid BMP/DIB/RLE file.

If you said "Save As" when you made the file, then it's telling you the truth: Save As makes BIN files, not BMP files. If you used the Export to BMP feature, then it's probably just that PSP3 is an old program and you need a more recent version. My PSP version 5 doesn't complain about the files.

___________
Tony Fabris
_________________________
Tony Fabris

Top
#20589 - 23/10/2000 22:48 Re: 1.1 Released [Re: drakino]
drakino
carpal tunnel

Registered: 08/06/1999
Posts: 7868
In reply to:

Basicially, if you upload an image, then go back to the members page and see a broken image icon, something failed in the backend, and I may not be able to fix it manually. (I'm going through some now and manually creating the gifs.)


Well, I changed the backend to now try and convert the BMP files, and if it fails, it then runs it through a less efficient one, but it seems to get the job done. Should virtually elliminate any problems with legitimate files getting the broken image treatment. Now to get back to adding new features to the site again.


Top
#20590 - 24/10/2000 08:57 Re: Empeg Logo Editor 1.0 [Re: tfabris]
Alan
member

Registered: 06/05/2000
Posts: 142
Loc: Cedar Grove , IN
Great job on the logo editor Tony. Now if it could upload the logo to overwrite the logo that's in the visualization selection that would be even better. I have read some where about visualizations running as plug-ins in the future but who knows when that will happen.

Alan

_________________________
home page

Top
#20591 - 24/10/2000 09:34 Re: Empeg Logo Editor 1.0 [Re: Alan]
rob
carpal tunnel

Registered: 21/05/1999
Posts: 5335
Loc: Cambridge UK
I have read some where about visualizations running as plug-ins in the future but who knows when that will happen.

I guess Toby knows, as he's working on the code for that at the moment.

Rob




Top
#20592 - 24/10/2000 10:43 Re: Empeg Logo Editor 1.0 [Re: rob]
Alan
member

Registered: 06/05/2000
Posts: 142
Loc: Cedar Grove , IN
Rob, thanks for the update. Are there any more features being worked on that you can tell us about?

Alan



_________________________
home page

Top
#20593 - 24/10/2000 19:03 Re: Empeg Logo Editor 1.0 [Re: tfabris]
jwickis
addict

Registered: 24/08/2000
Posts: 658
Loc: India
OK I have it figured out (semi-technically challenged) works great Mr. Fabris, thanks.

#090000695 Mk2 BLUE 12Gig

Top
Page 1 of 2 1 2 >