dMZX Forums: Porting Questions - dMZX Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Porting Questions

#1 User is offline   weasel 

  • bleh
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 7,916
  • Joined: 23-December 00
  • Gender:Male

Posted 18 January 2003 - 05:03 PM

I'm looking to make a port of Apogee's game "Rise of the Triad" to Windows, with a few enhanced features. I just want to ask if anybody has any tips and tricks for me that I might want to remember when I'm working with the source.
wildweasel
Serious damage to important body parts pretty much ruins any plans you had for living. Bummer.
0

#2 User is offline   Exophase 

  • Laughing on the inside.
  • Group: DigiStaff
  • Posts: 7,155
  • Joined: 23-October 00
  • Gender:Male
  • Location:Cleveland, OH

Posted 18 January 2003 - 07:17 PM

Tip: Learn whatever language it was written in.

- Exo
~ ex0 has a kickass battle engine, without it you sux0rz! without it you sux0rz! ~

"The fact that I say I've one of the best, is called honesty." -Akwende
"Megazeux is not ment to be just ASCII, it is ANSI!" - T-bone6
"I hate it when you get all exo on me." - emalkay

Exophase can what Rubi-cant.
exoware is ware ur ware is exoware
ps. not loking 4 new membrs kthx
0

#3 User is offline   Dr Lancer-X 

  • 電波、届いた?
  • Group: DigiStaff
  • Posts: 8,943
  • Joined: 20-March 02
  • Location:ur mom nmiaow

Posted 19 January 2003 - 02:58 AM

Exo, I don't think saying that was necessary. Of course he'd know what language it was written in otherwise he wouldn't try porting it!

TIP: Rewrite any code that deals directly with the screen to send the data to graphics libs. Not much of a tip but who cares. ^_^
Posted Image
<Malwyn> Yes, yes. Don't worry I'd rather masturbate with broken glass than ask you for help again. :(
0

#4 User is offline   Fungahhh 

  • In fact, I think sprites are Anti-Mzx
  • PipPipPipPipPip
  • Group: Members
  • Posts: 1,547
  • Joined: 28-April 02
  • Gender:Male
  • Location:Tornado

Posted 19 January 2003 - 03:04 AM

WildWeasel, on Jan 18 2003, 09:03 AM, said:

I'm looking to make a port of Apogee's game "Rise of the Triad" to Windows, with a few enhanced features. I just want to ask if anybody has any tips and tricks for me that I might want to remember when I'm working with the source.

Where's the source for that? I thought the game was neat and I'd like to take a glance around in it.
0

#5 User is offline   Exophase 

  • Laughing on the inside.
  • Group: DigiStaff
  • Posts: 7,155
  • Joined: 23-October 00
  • Gender:Male
  • Location:Cleveland, OH

Posted 19 January 2003 - 03:05 AM

Lancer-X, on Jan 18 2003, 09:58 PM, said:

Exo, I don't think saying that was necessary. Of course he'd know what language it was written in otherwise he wouldn't try porting it!

That's what you think...

- Exo
~ ex0 has a kickass battle engine, without it you sux0rz! without it you sux0rz! ~

"The fact that I say I've one of the best, is called honesty." -Akwende
"Megazeux is not ment to be just ASCII, it is ANSI!" - T-bone6
"I hate it when you get all exo on me." - emalkay

Exophase can what Rubi-cant.
exoware is ware ur ware is exoware
ps. not loking 4 new membrs kthx
0

#6 User is offline   Dr Lancer-X 

  • 電波、届いた?
  • Group: DigiStaff
  • Posts: 8,943
  • Joined: 20-March 02
  • Location:ur mom nmiaow

Posted 19 January 2003 - 04:22 AM

Oh...

~ Lancer-X
Posted Image
<Malwyn> Yes, yes. Don't worry I'd rather masturbate with broken glass than ask you for help again. :(
0

#7 User is offline   weasel 

  • bleh
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 7,916
  • Joined: 23-December 00
  • Gender:Male

Posted 20 January 2003 - 09:26 PM

Fungahhh, on Jan 18 2003, 08:04 PM, said:

WildWeasel, on Jan 18 2003, 09:03 AM, said:

I'm looking to make a port of Apogee's game "Rise of the Triad" to Windows, with a few enhanced features. I just want to ask if anybody has any tips and tricks for me that I might want to remember when I'm working with the source.

Where's the source for that? I thought the game was neat and I'd like to take a glance around in it.

Well, the source is availible in the downloads section of www.3drealms.com (warning: it links to FilePlanet, so be prepared for a bit of waiting)

And yes, I'm in progress of learning the language RoTT was written in. It was made in pure C, and I'm getting into C++, so that's not much of a problem.
wildweasel
Serious damage to important body parts pretty much ruins any plans you had for living. Bummer.
0

#8 User is offline   Exophase 

  • Laughing on the inside.
  • Group: DigiStaff
  • Posts: 7,155
  • Joined: 23-October 00
  • Gender:Male
  • Location:Cleveland, OH

Posted 20 January 2003 - 11:44 PM

WildWeasel, you have to know a lot more than just basic C++ to know how to port an old DOS program. I would bet a pretty generous sum of money that it uses some ASM, since most DOS games back then did. Also it probably interfaces with DOS directly in a way that you really need to know DOS pretty well.

For porting it you'll have to isolate all contact it has with the outside world and patch it to something else. SDL is good. This might not be very easy because since it'll probably be direct it could appear pretty much anywhere, and won't necessarily be isolated in and of itself. There aren't really any general tips, and simply asking for them isn't going to help. You have to first have a decent plan of what to do; we're not going to be to give you anything without any information on your part.

- Exo
~ ex0 has a kickass battle engine, without it you sux0rz! without it you sux0rz! ~

"The fact that I say I've one of the best, is called honesty." -Akwende
"Megazeux is not ment to be just ASCII, it is ANSI!" - T-bone6
"I hate it when you get all exo on me." - emalkay

Exophase can what Rubi-cant.
exoware is ware ur ware is exoware
ps. not loking 4 new membrs kthx
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users