Mirage Source

Free ORPG making software.
It is currently Sat Apr 27, 2024 8:08 pm

All times are UTC




Post new topic Reply to topic  [ 25 posts ] 
Author Message
 Post subject: MS4 Dx8 Convert
PostPosted: Sat Jul 25, 2009 5:14 pm 
Offline
Regular
User avatar

Joined: Tue Aug 08, 2006 7:03 pm
Posts: 75
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).

_________________
Image


Last edited by Harry on Tue Jul 28, 2009 10:30 am, edited 1 time in total.

Top
 Profile  
 
 Post subject: Re: MS4 Dx8 Convert
PostPosted: Sat Jul 25, 2009 7:18 pm 
Offline
Pro
User avatar

Joined: Tue Nov 13, 2007 2:42 pm
Posts: 509
I need to install DX8, then I'll take a look!


Top
 Profile  
 
 Post subject: Re: MS4 Dx8 Convert
PostPosted: Sat Jul 25, 2009 7:25 pm 
Offline
Persistant Poster
User avatar

Joined: Fri Aug 15, 2008 3:11 pm
Posts: 633
very very very nice

_________________
╔╗╔═╦═╦══╦═══╗
║║║║║║║╔╗║╔═╗║
║║║║║║║╚╝║║║║║
║╚╣║║║║╔╗║╚═╝║
╚═╩╩═╩╩╝╚╩═══╝


╔╦═╦╦════╦═══╗
║║║║╠═╗╔═╣╔══╝
║║║║║║║║╚═╗
║║║║║║║║╔═╝
╚═╩═╝╚╝╚╝ ?


Top
 Profile  
 
 Post subject: Re: MS4 Dx8 Convert
PostPosted: Sat Jul 25, 2009 9:42 pm 
Offline
Regular
User avatar

Joined: Tue Aug 08, 2006 7:03 pm
Posts: 75
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

_________________
Image


Top
 Profile  
 
 Post subject: Re: MS4 Dx8 Convert
PostPosted: Sat Jul 25, 2009 9:58 pm 
Offline
Pro
User avatar

Joined: Mon May 29, 2006 3:26 pm
Posts: 493
Location: São Paulo, Brasil
Google Talk: blackagesbr@gmail.com
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 ^^

_________________
http://www.blackages.com.br
Image
Dave wrote:
GameBoy wrote:
www.FreeMoney.com
I admit I clicked. I immediately closed upon realizing there was, in fact, no free money.
Robin wrote:
I love you and your computer.Marry me.


Top
 Profile  
 
 Post subject: Re: MS4 Dx8 Convert
PostPosted: Sun Jul 26, 2009 3:55 pm 
Offline
Newbie

Joined: Thu Mar 19, 2009 1:39 am
Posts: 3
error
Set dx = New DirectX8
??????????


Top
 Profile  
 
 Post subject: Re: MS4 Dx8 Convert
PostPosted: Sun Jul 26, 2009 4:45 pm 
Offline
Persistant Poster
User avatar

Joined: Thu Jul 24, 2008 6:42 am
Posts: 703
Google Talk: infectiousbyte@gmail.com
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?

_________________
Image
GIAKEN wrote:
Since I'm into men, not women

GIAKEN wrote:
I can't take these huge penises anymore! All that's left is shame! And blood


Top
 Profile  
 
 Post subject: Re: MS4 Dx8 Convert
PostPosted: Sun Jul 26, 2009 5:08 pm 
Offline
Pro
User avatar

Joined: Mon May 29, 2006 3:26 pm
Posts: 493
Location: São Paulo, Brasil
Google Talk: blackagesbr@gmail.com
I think you didn't add the reference to the dx8 dll.

_________________
http://www.blackages.com.br
Image
Dave wrote:
GameBoy wrote:
www.FreeMoney.com
I admit I clicked. I immediately closed upon realizing there was, in fact, no free money.
Robin wrote:
I love you and your computer.Marry me.


Top
 Profile  
 
 Post subject: Re: MS4 Dx8 Convert
PostPosted: Sun Jul 26, 2009 5:09 pm 
Offline
Regular
User avatar

Joined: Tue Aug 08, 2006 7:03 pm
Posts: 75
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.

_________________
Image


Top
 Profile  
 
 Post subject: Re: MS4 Dx8 Convert
PostPosted: Sun Jul 26, 2009 5:26 pm 
Offline
Persistant Poster
User avatar

Joined: Tue May 30, 2006 2:07 am
Posts: 836
Location: Nashville, Tennessee, USA
Google Talk: rs.ruggles@gmail.com
I lub you, Harry <3

_________________
I'm on Facebook! Google Plus My Youtube Channel My Steam Profile

Image


Top
 Profile  
 
 Post subject: Re: MS4 Dx8 Convert
PostPosted: Tue Jul 28, 2009 2:04 am 
Offline
Regular
User avatar

Joined: Tue Jun 03, 2008 6:22 pm
Posts: 50
Im getting a little problem with the ground layer, it keeps showing a grid even when im not on the mapeditor.


Top
 Profile  
 
 Post subject: Re: MS4 Dx8 Convert
PostPosted: Tue Jul 28, 2009 10:29 am 
Offline
Regular
User avatar

Joined: Tue Aug 08, 2006 7:03 pm
Posts: 75
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.

_________________
Image


Top
 Profile  
 
 Post subject: Re: MS4 Dx8 Convert
PostPosted: Tue Jul 28, 2009 6:58 pm 
Offline
Pro

Joined: Mon May 29, 2006 2:58 pm
Posts: 370
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.

_________________
Image


Top
 Profile  
 
 Post subject: Re: MS4 Dx8 Convert
PostPosted: Tue Jul 28, 2009 7:06 pm 
Offline
Regular
User avatar

Joined: Tue Aug 08, 2006 7:03 pm
Posts: 75
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.

_________________
Image


Top
 Profile  
 
 Post subject: Re: MS4 Dx8 Convert
PostPosted: Tue Jul 28, 2009 7:12 pm 
Offline
Pro

Joined: Mon May 29, 2006 2:58 pm
Posts: 370
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.

_________________
Image


Top
 Profile  
 
 Post subject: Re: MS4 Dx8 Convert
PostPosted: Tue Jul 28, 2009 7:18 pm 
Offline
Regular
User avatar

Joined: Tue Aug 08, 2006 7:03 pm
Posts: 75
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.

_________________
Image


Top
 Profile  
 
 Post subject: Re: MS4 Dx8 Convert
PostPosted: Tue Jul 28, 2009 7:21 pm 
Offline
Pro

Joined: Mon May 29, 2006 2:58 pm
Posts: 370
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.

_________________
Image


Top
 Profile  
 
 Post subject: Re: MS4 Dx8 Convert
PostPosted: Wed Jul 29, 2009 11:55 pm 
Offline
Newbie

Joined: Fri Aug 18, 2006 3:59 am
Posts: 24
Wow, i remember trying to do this when 3.0.3 was around. Its nice to see some one actually did this

_________________
Image


Top
 Profile  
 
 Post subject: Re: MS4 Dx8 Convert
PostPosted: Tue Aug 11, 2009 3:16 am 
Offline
Knowledgeable
User avatar

Joined: Wed Jul 26, 2006 11:22 pm
Posts: 143
Location: Virginia, USA
Did filedropper stop hosting this file or something?


Top
 Profile  
 
 Post subject: Re: MS4 Dx8 Convert
PostPosted: Tue Aug 11, 2009 9:54 am 
Offline
Newbie

Joined: Fri Aug 07, 2009 4:49 pm
Posts: 23
yeah, all i get is the generic "upload a file" page for the new source. no file for me?


Top
 Profile  
 
 Post subject: Re: MS4 Dx8 Convert
PostPosted: Tue Aug 11, 2009 2:18 pm 
Offline
Pro
User avatar

Joined: Tue Nov 13, 2007 2:42 pm
Posts: 509
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


Top
 Profile  
 
 Post subject: Re: MS4 Dx8 Convert
PostPosted: Tue Aug 11, 2009 5:33 pm 
Offline
Persistant Poster
User avatar

Joined: Fri Aug 15, 2008 3:11 pm
Posts: 633
wow, didn't even know you made a mirror on mirage.

_________________
╔╗╔═╦═╦══╦═══╗
║║║║║║║╔╗║╔═╗║
║║║║║║║╚╝║║║║║
║╚╣║║║║╔╗║╚═╝║
╚═╩╩═╩╩╝╚╩═══╝


╔╦═╦╦════╦═══╗
║║║║╠═╗╔═╣╔══╝
║║║║║║║║╚═╗
║║║║║║║║╔═╝
╚═╩═╝╚╝╚╝ ?


Top
 Profile  
 
 Post subject: Re: MS4 Dx8 Convert
PostPosted: Sun Sep 27, 2009 3:33 am 
Offline
Regular

Joined: Wed Jan 09, 2008 7:42 pm
Posts: 35
re up?
links down

_________________
Meu Fan? \/
Image

Sou Fan de:
Image
Image

Image


Top
 Profile  
 
 Post subject: Re: MS4 Dx8 Convert
PostPosted: Sun Sep 27, 2009 6:49 am 
Offline
Persistant Poster

Joined: Fri Jun 26, 2009 10:15 pm
Posts: 701
Google Talk: FAProductions
It's on the actual MS site. Try reading please.


Top
 Profile  
 
 Post subject: Re: MS4 Dx8 Convert
PostPosted: Fri Apr 15, 2011 12:54 pm 
Offline
Newbie

Joined: Fri Apr 15, 2011 12:46 pm
Posts: 3
can someone fix the link Soucer DX8 mirage? Plis


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 25 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 12 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group