Go Back   RunUO - Ultima Online Emulation > RunUO > Utility Support > Ultima SDK

Ultima SDK Support for the Ultima SDK.

Reply
 
Thread Tools Display Modes
Old 09-03-2003, 09:17 AM   #1 (permalink)
Forum Expert
 
Bradley's Avatar
 
Join Date: Oct 2002
Location: Hummelstown, PA
Age: 29
Posts: 485
Send a message via ICQ to Bradley Send a message via AIM to Bradley Send a message via MSN to Bradley Send a message via Yahoo to Bradley
Default Fonts

I'ny chance that the UO fonts will be accessable through the SDK in the future?
Bradley is offline   Reply With Quote
Old 02-01-2004, 07:07 PM   #2 (permalink)
Forum Novice
 
Join Date: Jun 2003
Age: 22
Posts: 134
Send a message via ICQ to [Shaman]
Default

kinda curious about that too yes.. and if not, is there any way you can?
[Shaman] is offline   Reply With Quote
Old 02-01-2004, 07:11 PM   #3 (permalink)
Forum Expert
 
Bradley's Avatar
 
Join Date: Oct 2002
Location: Hummelstown, PA
Age: 29
Posts: 485
Send a message via ICQ to Bradley Send a message via AIM to Bradley Send a message via MSN to Bradley Send a message via Yahoo to Bradley
Default

Well, source code to the SDK has been released now. So I guess that means we get a chance to do it if we really need fonts.
Bradley is offline   Reply With Quote
Old 02-01-2004, 07:14 PM   #4 (permalink)
Forum Novice
 
Join Date: Jun 2003
Age: 22
Posts: 134
Send a message via ICQ to [Shaman]
Default

yep the thing is... i do my stuff in vb.net (only a starter with c#)... and since the dll is in c#... i can make nice scripts for myself, but if i can get an advantage of the source i'd like to share em with at least krioss so he can put it in for others if he wants to...
[Shaman] is offline   Reply With Quote
Old 02-01-2004, 08:28 PM   #5 (permalink)
 
Join Date: Oct 2002
Age: 22
Posts: 4,689
Default

when I download the SDK.. the source doesnt come with it. :\
XxSP1DERxX is offline   Reply With Quote
Old 02-01-2004, 08:29 PM   #6 (permalink)
Forum Expert
 
Bradley's Avatar
 
Join Date: Oct 2002
Location: Hummelstown, PA
Age: 29
Posts: 485
Send a message via ICQ to Bradley Send a message via AIM to Bradley Send a message via MSN to Bradley Send a message via Yahoo to Bradley
Default

Quote:
Originally Posted by XxSP1DERxX
when I download the SDK.. the source doesnt come with it. :\
It's a seperate file in the download section.
http://www.runuo.com/downloads/get_file.php?file=21
Bradley is offline   Reply With Quote
Old 02-05-2004, 05:28 PM   #7 (permalink)
Forum Novice
 
Join Date: Jun 2003
Age: 22
Posts: 134
Send a message via ICQ to [Shaman]
Default

krioss you got any slight chance of getting it into the sdk or do you want us to stop being lazy and try to figgure it out for ourselves?
[Shaman] is offline   Reply With Quote
Old 02-05-2004, 05:54 PM   #8 (permalink)
Forum Administrator
 
krrios's Avatar
 
Join Date: Aug 2002
Posts: 2,850
Default

I don't forsee any time for me to implement it, so..
krrios is offline   Reply With Quote
Old 02-05-2004, 10:19 PM   #9 (permalink)
Forum Expert
 
Bradley's Avatar
 
Join Date: Oct 2002
Location: Hummelstown, PA
Age: 29
Posts: 485
Send a message via ICQ to Bradley Send a message via AIM to Bradley Send a message via MSN to Bradley Send a message via Yahoo to Bradley
Default

I found what looks like some good documentation on fonts.mul. I'll give it a crack and see what falls out, doesn't look too hard.

Krrios, if I get it working would you be willing to add the code to the "official" sdk?
Bradley is offline   Reply With Quote
Old 02-06-2004, 09:25 AM   #10 (permalink)
Guest
 
Posts: n/a
Default

hrm ok, hopefully if i find out how i can change my vb programming to c#... if so you'll be the first that will be notified
  Reply With Quote
Old 02-06-2004, 09:43 AM   #11 (permalink)
Forum Novice
 
Join Date: Jun 2003
Age: 22
Posts: 134
Send a message via ICQ to [Shaman]
Default

obviously that was me.. forgot to login

btw bradly you mind sharing.. 2 people can find out things faster than 1
[Shaman] is offline   Reply With Quote
Old 02-06-2004, 09:27 PM   #12 (permalink)
Forum Expert
 
Bradley's Avatar
 
Join Date: Oct 2002
Location: Hummelstown, PA
Age: 29
Posts: 485
Send a message via ICQ to Bradley Send a message via AIM to Bradley Send a message via MSN to Bradley Send a message via Yahoo to Bradley
Default

http://www.wpdev.org/docs/formats/vbasic/fonts.html is the documentation i found. if you actually look at the "contact" link at the bottom it seems to have been written by krrios

This also looks usefull.
http://arachnide.sourceforge.net/formats/fonts/

If I end up getting it to work it's going to be in VB.NET, someone will have to translate to c# and do some optimizing since I'm not really good at that part.
Bradley is offline   Reply With Quote
Old 02-06-2004, 10:50 PM   #13 (permalink)
Forum Expert
 
Bradley's Avatar
 
Join Date: Oct 2002
Location: Hummelstown, PA
Age: 29
Posts: 485
Send a message via ICQ to Bradley Send a message via AIM to Bradley Send a message via MSN to Bradley Send a message via Yahoo to Bradley
Default

It's a start, but as you can see I'm doing something wrong.....

Bradley is offline   Reply With Quote
Old 02-07-2004, 08:24 PM   #14 (permalink)
Forum Novice
 
Join Date: Jun 2003
Age: 22
Posts: 134
Send a message via ICQ to [Shaman]
Default

heh they found out and deleted the link (first link that is)
[Shaman] is offline   Reply With Quote
Old 02-07-2004, 08:45 PM   #15 (permalink)
Forum Expert
 
Bradley's Avatar
 
Join Date: Oct 2002
Location: Hummelstown, PA
Age: 29
Posts: 485
Send a message via ICQ to Bradley Send a message via AIM to Bradley Send a message via MSN to Bradley Send a message via Yahoo to Bradley
Default

Quote:
Originally Posted by [Shaman]
heh they found out and deleted the link (first link that is)
Damn, I was using that. Ohh well, there is always google's page chache.
Bradley is offline   Reply With Quote
Old 02-07-2004, 09:38 PM   #16 (permalink)
Forum Expert
 
Bradley's Avatar
 
Join Date: Oct 2002
Location: Hummelstown, PA
Age: 29
Posts: 485
Send a message via ICQ to Bradley Send a message via AIM to Bradley Send a message via MSN to Bradley Send a message via Yahoo to Bradley
Default

Woohoo! I have successfully managed to decode the fonts. I will do what optimizing I can. then will merge my changes with the source code for the SDK, and post it back to the boards.
Bradley is offline   Reply With Quote
Old 02-07-2004, 10:42 PM   #17 (permalink)
Forum Expert
 
Bradley's Avatar
 
Join Date: Oct 2002
Location: Hummelstown, PA
Age: 29
Posts: 485
Send a message via ICQ to Bradley Send a message via AIM to Bradley Send a message via MSN to Bradley Send a message via Yahoo to Bradley
Default

Until I can get the Fonts merged into the SDK I have made a DLL available that will do it. It can be downlaoded from here http://tkpups.com/Bradley/UOFont.dll

*EDIT*
UOFont.dll requires the UOSDK.
It uses a rather unoptimized routine for returning a charactor image, but once the image is generated it is cached. So it's only slow the first time a specific charactor is displayed in a Font, after that it's pulled from the cache and should be just about as fast as possable.
Bradley is offline   Reply With Quote
Old 02-08-2004, 03:59 PM   #18 (permalink)
Forum Expert
 
Bradley's Avatar
 
Join Date: Oct 2002
Location: Hummelstown, PA
Age: 29
Posts: 485
Send a message via ICQ to Bradley Send a message via AIM to Bradley Send a message via MSN to Bradley Send a message via Yahoo to Bradley
Default

UOFont.dll has been updated with unicode font support now. Download it from the same URL. If you downloaded it before the post time of this message you got the version without unicode support.
Bradley is offline   Reply With Quote
Old 02-08-2004, 04:03 PM   #19 (permalink)
Forum Novice
 
Join Date: Jun 2003
Age: 22
Posts: 134
Send a message via ICQ to [Shaman]
Default

if ye need help optimising, lemme know 8)

gonna test it right away
[Shaman] is offline   Reply With Quote
Old 02-08-2004, 04:06 PM   #20 (permalink)
Forum Novice
 
Join Date: Jun 2003
Age: 22
Posts: 134
Send a message via ICQ to [Shaman]
Default

doh dubble post :?
[Shaman] is offline   Reply With Quote
Old 02-08-2004, 04:08 PM   #21 (permalink)
Forum Expert
 
Bradley's Avatar
 
Join Date: Oct 2002
Location: Hummelstown, PA
Age: 29
Posts: 485
Send a message via ICQ to Bradley Send a message via AIM to Bradley Send a message via MSN to Bradley Send a message via Yahoo to Bradley
Default

if someone could get me the actual RGB values for the text of a gump label without a hue applied I could get the coloring exactly right, for now it's a guess.
Bradley is offline   Reply With Quote
Old 02-08-2004, 04:09 PM   #22 (permalink)
Forum Novice
 
Join Date: Jun 2003
Age: 22
Posts: 134
Send a message via ICQ to [Shaman]
Default

maybe insideuo can help with that?
[Shaman] is offline   Reply With Quote
Old 02-08-2004, 04:20 PM   #23 (permalink)
 
Join Date: Nov 2002
Posts: 636
Default

for the image processes, look for OpenCV on the internet..
Ceday is offline   Reply With Quote
Old 02-08-2004, 04:24 PM   #24 (permalink)
Forum Expert
 
Bradley's Avatar
 
Join Date: Oct 2002
Location: Hummelstown, PA
Age: 29
Posts: 485
Send a message via ICQ to Bradley Send a message via AIM to Bradley Send a message via MSN to Bradley Send a message via Yahoo to Bradley
Default

Quote:
Originally Posted by Ceday
for the image processes, look for OpenCV on the internet..
openCV? a quick google search gives pack many many urelated items that have that. could you be more specific?
Bradley is offline   Reply With Quote
Old 02-08-2004, 05:16 PM   #25 (permalink)
 
Join Date: Nov 2002
Posts: 636
Default

well, actually i didnt understand what you need exactly..
OpenCV is for some complicated and hard stuff, if you just need to find a RGB value of a specific pixel, sure you dont need that..
Ceday is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5