Mirage Source http://www.miragesource.net/forums/ |
|
MS4 Dx8 Convert http://www.miragesource.net/forums/viewtopic.php?f=193&t=6045 |
Page 1 of 1 |
Author: | Harry [ Sat Jul 25, 2009 5:14 pm ] |
Post subject: | MS4 Dx8 Convert |
Report any bugs here and I'll do my best to fix them. Check out the Introduction and 2D tutorials here: http://externalweb.exhedra.com/DirectX4VB/TUT_DX8_DG.asp to learn Dx8, and then if you'd like to render things in a nicer way head over here: http://voodoovb.vbgamer.com/tutorialsdirectx8.html there's also a nice bit on texture smoothing which is an effect some of you may want to use. Download: http://www.filedropper.com/ms4dx8new Older Version: http://www.filedropper.com/ms4dx8 Notes: -All Texture (Image) files must be a power of two e.g. Tiles0 is 256 by 1024 i.e (2^8) by (2^10) -To change the amount of tiles,items etc loaded edit MAX_TYPE _TEXTURES -All text rendering now uses Dx8 DrawText method -Haven't coded the map tile preview in the map editor yet (but it's not exactly important..) -Sound still uses Dx7 will convert later -PicScreen now called PicMain -Still gotta edit CheckSprites/Spells Subs but nothing major EDIT: Also I get a nice FPS increase (from 300 to 730). |
Author: | Jacob [ Sat Jul 25, 2009 7:18 pm ] |
Post subject: | Re: MS4 Dx8 Convert |
I need to install DX8, then I'll take a look! |
Author: | Doomy [ Sat Jul 25, 2009 7:25 pm ] |
Post subject: | Re: MS4 Dx8 Convert |
very very very nice |
Author: | Harry [ Sat Jul 25, 2009 9:42 pm ] |
Post subject: | Re: MS4 Dx8 Convert |
Jacob fixed the text rendering problem I had, if you want the fix just go to Public Sub DrawPlayerName and delete all of the PlayerNameRect, replacing it with this: Code: If TextX < 0 Then TextX = 0
If TextY < 0 Then TextY = 0 PlayerNameRect.Top = TextY PlayerNameRect.Left = TextX PlayerNameRect.Right = TextX + (Len(GetPlayerName(Index)) * 8) + 15 PlayerNameRect.bottom = TextY + 15 |
Author: | Dragoons Master [ Sat Jul 25, 2009 9:58 pm ] |
Post subject: | Re: MS4 Dx8 Convert |
Very nice ^^ I'm gonna take a look at my source and see if I can help with something else. I've already converted my source to DX8, but it's still a little bit buggy on some computers. Very nice ^^ |
Author: | vegasoft [ Sun Jul 26, 2009 3:55 pm ] |
Post subject: | Re: MS4 Dx8 Convert |
error Set dx = New DirectX8 ?????????? |
Author: | Nean [ Sun Jul 26, 2009 4:45 pm ] |
Post subject: | Re: MS4 Dx8 Convert |
vegasoft wrote: error Set dx = New DirectX8 ?????????? Thank god we're so awesome, we can predict the error that happened, just by the line you posted. No seriously, what error was it? |
Author: | Dragoons Master [ Sun Jul 26, 2009 5:08 pm ] |
Post subject: | Re: MS4 Dx8 Convert |
I think you didn't add the reference to the dx8 dll. |
Author: | Harry [ Sun Jul 26, 2009 5:09 pm ] |
Post subject: | Re: MS4 Dx8 Convert |
vegasoft wrote: error Set dx = New DirectX8 ?????????? You need to install DirectX, google it. Also, I think you can install a version newer than 8 and it should still work. Just a note, I've been working on it a bit, I'll probably post an update at some point. |
Author: | Rian [ Sun Jul 26, 2009 5:26 pm ] |
Post subject: | Re: MS4 Dx8 Convert |
I lub you, Harry <3 |
Author: | Jared [ Tue Jul 28, 2009 2:04 am ] |
Post subject: | Re: MS4 Dx8 Convert |
Im getting a little problem with the ground layer, it keeps showing a grid even when im not on the mapeditor. |
Author: | Harry [ Tue Jul 28, 2009 10:29 am ] |
Post subject: | Re: MS4 Dx8 Convert |
Jared wrote: Im getting a little problem with the ground layer, it keeps showing a grid even when im not on the mapeditor. That's weird, take a pic for me? I've added loc code, fixed text bug (thanks to Jacob) and cleaned up a few bits including text rendering. http://www.filedropper.com/ms4dx8new I've started back on WoW so there's a good chance I won't update it for a bit, I'm not sure it needs it though since (on my pc anyway) it works pretty well. |
Author: | grimsk8ter11 [ Tue Jul 28, 2009 6:58 pm ] |
Post subject: | Re: MS4 Dx8 Convert |
Interesting to see someone actually got this done and out for once. DX8 can be really nice if done right and real nasty if not. Hopefully you can get it nicely optimized and such so that it runs like a beaut. Oscar had a real nice system working, I'll see if I can find it and offer any advice when I get home from work today. |
Author: | Harry [ Tue Jul 28, 2009 7:06 pm ] |
Post subject: | Re: MS4 Dx8 Convert |
grimsk8ter11 wrote: Interesting to see someone actually got this done and out for once. DX8 can be really nice if done right and real nasty if not. Hopefully you can get it nicely optimized and such so that it runs like a beaut. Oscar had a real nice system working, I'll see if I can find it and offer any advice when I get home from work today. If you mean the Mirage edit that you two worked on, he sent me a copy of it a few days ago and I'm gonna take a look at it at some point. He also explained to me how I can optimize it, which I'm going to (eventually) get round to do doing. |
Author: | grimsk8ter11 [ Tue Jul 28, 2009 7:12 pm ] |
Post subject: | Re: MS4 Dx8 Convert |
It may be that, I haven't looked at anything game related in a while, let alone VB6 or Mirage. I'll catch up with Oscar soon hopefully, I just started using MSN again. The engine I am speaking of had Tibia style Z-levels and such, so if that's what you have, then it is it. |
Author: | Harry [ Tue Jul 28, 2009 7:18 pm ] |
Post subject: | Re: MS4 Dx8 Convert |
grimsk8ter11 wrote: It may be that, I haven't looked at anything game related in a while, let alone VB6 or Mirage. I'll catch up with Oscar soon hopefully, I just started using MSN again. The engine I am speaking of had Tibia style Z-levels and such, so if that's what you have, then it is it. I'll check at some point, it does have some cool classes for DX8 buttons/boxes and a particle engine which I may look into adding to this source. |
Author: | grimsk8ter11 [ Tue Jul 28, 2009 7:21 pm ] |
Post subject: | Re: MS4 Dx8 Convert |
That may be an earlier version that we used then, I did a lot of work after I lost touch with Oscar, and most of the MSN world. We removed all forms from MS if I remember correctly - all forms buttons and dialogs were generated through DirectX. |
Author: | Trekz [ Wed Jul 29, 2009 11:55 pm ] |
Post subject: | Re: MS4 Dx8 Convert |
Wow, i remember trying to do this when 3.0.3 was around. Its nice to see some one actually did this |
Author: | Kousaten [ Tue Aug 11, 2009 3:16 am ] |
Post subject: | Re: MS4 Dx8 Convert |
Did filedropper stop hosting this file or something? |
Author: | Solodev [ Tue Aug 11, 2009 9:54 am ] |
Post subject: | Re: MS4 Dx8 Convert |
yeah, all i get is the generic "upload a file" page for the new source. no file for me? |
Author: | Jacob [ Tue Aug 11, 2009 2:18 pm ] |
Post subject: | Re: MS4 Dx8 Convert |
I believe you have to be logged in to be able to download, but here ya go. http://web.miragesource.com/index.php?c ... 3_fileid=5 |
Author: | Doomy [ Tue Aug 11, 2009 5:33 pm ] |
Post subject: | Re: MS4 Dx8 Convert |
wow, didn't even know you made a mirror on mirage. |
Author: | mustorze [ Sun Sep 27, 2009 3:33 am ] |
Post subject: | Re: MS4 Dx8 Convert |
re up? links down |
Author: | Matt [ Sun Sep 27, 2009 6:49 am ] |
Post subject: | Re: MS4 Dx8 Convert |
It's on the actual MS site. Try reading please. |
Author: | Ian [ Fri Apr 15, 2011 12:54 pm ] |
Post subject: | Re: MS4 Dx8 Convert |
can someone fix the link Soucer DX8 mirage? Plis |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |