Author Topic: Roller Coaster Tycoon 2 on TI-Nspire  (Read 15443 times)

0 Members and 1 Guest are viewing this topic.

Offline mdr1

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 303
  • Rating: +21/-2
    • View Profile
Roller Coaster Tycoon 2 on TI-Nspire
« on: May 05, 2012, 10:05:41 am »
Hello every body,

no, I didn't adapt that game for TI-Nspire, but I thought it were really possible to do it. ;D
TI-Nspire's RAM and UC are largely sufficient.

I haven't programmed anything on the TI-Nspire with C language yet, but I'm able to do some functions for the projects if any members can invest in the project.

Let's put up some ideas I have for the game's gestion. I think the map can have dimensions 200*200 (width and length) and with a height of 20 tiles.
Each tile will be 2 bytes ==> a map will be 200*200*20*2 = 1.6 Mo (the RAM is largely higher).

Each tile will have a value between 0 and 65535. I suggest that 0 to 10000 value indicates a static tile (path, block, sets etc.) the next non-static tile (attraction, shop etc.). ;)
A value points on a table in order to point on a functions' structure. If the value indicates an non-static tile (more than 10000), it matches in the table an non-constant value. The, we can call the function "display" on each tile (static or not) in order to display the map.

I know my english is really bad and the project is a bit hard, but I'm sure there's members wo are able to do that (I an help a bit). :ninja:



Offline jsj795

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1105
  • Rating: +84/-3
    • View Profile
Re: Roller Coaster Tycoon 2 on TI-Nspire
« Reply #1 on: May 06, 2012, 07:31:54 am »
Is the source code for RCT2 available? If not, and also especially if the formula for their stats are not known, it might be hard to recreate the stats for excitement, intensity, and nausea ratings, and also how to determine the roller coaster's popularity, etc.

Anyways if you guys do decide to start this project, good luck! I'm a huge fan of Roller Coaster Tycoon 2 :D


Spoiler For funny life mathematics:
1. ROMANCE MATHEMATICS
Smart man + smart woman = romance
Smart man + dumb woman = affair
Dumb man + smart woman = marriage
Dumb man + dumb woman = pregnancy
2. OFFICE ARITHMETIC
Smart boss + smart employee = profit
Smart boss + dumb employee = production
Dumb boss + smart employee = promotion
Dumb boss + dumb employee = overtime
3. SHOPPING MATH
A man will pay $2 for a $1 item he needs.
A woman will pay $1 for a $2 item that she doesn't need.
4. GENERAL EQUATIONS & STATISTICS
A woman worries about the future until she gets a husband.
A man never worries about the future until he gets a wife.
A successful man is one who makes more money than his wife can spend.
A successful woman is one who can find such a man.
5. HAPPINESS
To be happy with a man, you must understand him a lot and love him a little.
To be happy with a woman, you must love her a lot and not try to understand her at all.
6. LONGEVITY
Married men live longer than single men do, but married men are a lot more willing to die.
7. PROPENSITY TO CHANGE
A woman marries a man expecting he will change, but he doesn't.
A man marries a woman expecting that she won't change, and she does.
8. DISCUSSION TECHNIQUE
A woman has the last word in any argument.
Anything a man says after that is the beginning of a new argument.

Girls = Time * Money (Girls are a combination of time and money)
Time = Money (Time is money)
Girls = Money squared (So, girls are money squared)
Money = sqrt(Evil) (Money is also the root of all evil)
Girls = sqrt(Evil) squared (So, girls are the root of all evil squared)
Girls = Evil (Thus, girls are evil)
*Girls=Evil credit goes to Compynerd255*

Offline Cuervo

  • LV2 Member (Next: 40)
  • **
  • Posts: 33
  • Rating: +2/-1
    • View Profile
Re: Roller Coaster Tycoon 2 on TI-Nspire
« Reply #2 on: May 06, 2012, 08:31:22 am »
I think it's impossible to port Roller Coaster Tycoon because RCT 1 and 2 were made completely in x86-Windows-assembly.

Source:
http://www.chrissawyergames.com/faq3.htm
Quote
What language was RollerCoaster Tycoon programmed in?
It's 99% written in x86 assembler/machine code (yes, really!), with a small amount of C code used to interface to MS Windows and DirectX.

So it would have to be completely rewritten in Nspire C or Nspire Asm.


TIA

Offline jsj795

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1105
  • Rating: +84/-3
    • View Profile
Re: Roller Coaster Tycoon 2 on TI-Nspire
« Reply #3 on: May 06, 2012, 09:13:11 am »
WOW all that in assembly... props to RCT devs!


Spoiler For funny life mathematics:
1. ROMANCE MATHEMATICS
Smart man + smart woman = romance
Smart man + dumb woman = affair
Dumb man + smart woman = marriage
Dumb man + dumb woman = pregnancy
2. OFFICE ARITHMETIC
Smart boss + smart employee = profit
Smart boss + dumb employee = production
Dumb boss + smart employee = promotion
Dumb boss + dumb employee = overtime
3. SHOPPING MATH
A man will pay $2 for a $1 item he needs.
A woman will pay $1 for a $2 item that she doesn't need.
4. GENERAL EQUATIONS & STATISTICS
A woman worries about the future until she gets a husband.
A man never worries about the future until he gets a wife.
A successful man is one who makes more money than his wife can spend.
A successful woman is one who can find such a man.
5. HAPPINESS
To be happy with a man, you must understand him a lot and love him a little.
To be happy with a woman, you must love her a lot and not try to understand her at all.
6. LONGEVITY
Married men live longer than single men do, but married men are a lot more willing to die.
7. PROPENSITY TO CHANGE
A woman marries a man expecting he will change, but he doesn't.
A man marries a woman expecting that she won't change, and she does.
8. DISCUSSION TECHNIQUE
A woman has the last word in any argument.
Anything a man says after that is the beginning of a new argument.

Girls = Time * Money (Girls are a combination of time and money)
Time = Money (Time is money)
Girls = Money squared (So, girls are money squared)
Money = sqrt(Evil) (Money is also the root of all evil)
Girls = sqrt(Evil) squared (So, girls are the root of all evil squared)
Girls = Evil (Thus, girls are evil)
*Girls=Evil credit goes to Compynerd255*

Offline Le solutionneur

  • LV3 Member (Next: 100)
  • ***
  • Posts: 70
  • Rating: +14/-10
    • View Profile
Re: Roller Coaster Tycoon 2 on TI-Nspire
« Reply #4 on: May 06, 2012, 10:36:28 am »
I think it would be too hard to do it yourself: RTC2 was made by a skilled programmer and an expert art designer: I think it's too hard to do it alone and on a more limited device.

An AOE-like game is more doable since there is only flat stuff (I mean that you can't build stairs or things like this): we can use sprites with an isometric 2d. But it wouldn't be easy, as well.
« Last Edit: October 23, 2013, 07:12:19 am by Le solutionneur »
"Commit to the Lord whatever you do and your plans will succeed." - Proverbs 16:3
"Whatever you do, work at it with all your heart, as working for the Lord, not for men. " - Colossians 3:23

Offline mdr1

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 303
  • Rating: +21/-2
    • View Profile
Re: Roller Coaster Tycoon 2 on TI-Nspire
« Reply #5 on: May 06, 2012, 11:11:51 am »
99% in assembly, wow !
I'm also a fan of RCT2. But when I spoke about porting it, I didn't think about the source code (I did not find it because I think the game isn't open source), but I was thinking to create a new game which use the same way of playing.

I think it would be too hard to do it yourself: RTC2 was made by a team of skilled programmers, art designers etc in a large number: I think it's too hard to do it alone and on a more limited device.

A AOE-like game is more doable since there is only flat stuff (I mean that you can build stairs or related): we can use sprites with an isometric 2d. But it wouldn't be easy, as well.
That's why I didn't say that I would do it, but that it would be cool to gather members who have got experience in nspire C/ASM programming.
When I see that NES and GBC emulators exist (ok, adapted, but no easy), I think it is possible.
But sure I can help giving ideas and creating functions (for example de AI for the guests).

In order to see which image does the Nspire's screen bring, let's see that (the number of pixels is correct) :



Okay, it is RCT1, but this is the same with RCT2.

Imagine how fun it would be.  ;D



Offline Le solutionneur

  • LV3 Member (Next: 100)
  • ***
  • Posts: 70
  • Rating: +14/-10
    • View Profile
Re: Roller Coaster Tycoon 2 on TI-Nspire
« Reply #6 on: May 06, 2012, 11:27:51 am »
I just feel nostagic hehe :)

You're right, it would be really awesome to create this again
"Commit to the Lord whatever you do and your plans will succeed." - Proverbs 16:3
"Whatever you do, work at it with all your heart, as working for the Lord, not for men. " - Colossians 3:23

Offline cyanophycean314

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 363
  • Rating: +43/-1
  • It's You!
    • View Profile
Re: Roller Coaster Tycoon 2 on TI-Nspire
« Reply #7 on: May 06, 2012, 11:35:10 am »
Are you sure the resolution is correct? It's about 300*200? Even so, it looks really blurry.  :P

I recommend that you just try to do a simpler version of RCT. Don't try anything too difficult like isometrics or the complex formulas. Start doing the project yourself and then others will help.

Edit: However, that screenshot does make me want to play RCT2 again.  :)
« Last Edit: May 06, 2012, 11:35:55 am by cyanophycean314 »

Offline mdr1

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 303
  • Rating: +21/-2
    • View Profile
Re: Roller Coaster Tycoon 2 on TI-Nspire
« Reply #8 on: May 06, 2012, 11:43:13 am »
Are you sure the resolution is correct? It's about 300*200? Even so, it looks really blurry.  :P

I recommend that you just try to do a simpler version of RCT. Don't try anything too difficult like isometrics or the complex formulas. Start doing the project yourself and then others will help.

Edit: However, that screenshot does make me want to play RCT2 again.  :)

Not 300*200 but 320*240 pixels. And yes, I'm sure. :P
For the simple version of RCT, I thought about it but I have no time : I'm already in a z80 project and I'm doing 3 tutorials in siteduzero.com
And an other problem is that I think the simple version would'nt have the correct structure and would impossible to extend.

For the isometric, what do you think the difficulty is ? It's just sprites, isn't it ?



Offline Le solutionneur

  • LV3 Member (Next: 100)
  • ***
  • Posts: 70
  • Rating: +14/-10
    • View Profile
Re: Roller Coaster Tycoon 2 on TI-Nspire
« Reply #9 on: May 06, 2012, 11:43:48 am »
Are you sure the resolution is correct? It's about 300*200? Even so, it looks really blurry.  :P

I recommend that you just try to do a simpler version of RCT. Don't try anything too difficult like isometrics or the complex formulas. Start doing the project yourself and then others will help.

Edit: However, that screenshot does make me want to play RCT2 again.  :)
Hehe, me too.

RTC1 is old, I think we can ask for the source code to see how stuff are handled :)
"Commit to the Lord whatever you do and your plans will succeed." - Proverbs 16:3
"Whatever you do, work at it with all your heart, as working for the Lord, not for men. " - Colossians 3:23

Offline mdr1

  • LV6 Super Member (Next: 500)
  • ******
  • Posts: 303
  • Rating: +21/-2
    • View Profile
Re: Roller Coaster Tycoon 2 on TI-Nspire
« Reply #10 on: May 06, 2012, 11:48:32 am »
I'm not sure atari would accept to give us the source code.
But even if they do (they may ask publicity for RCT3), we were obligated to reduce the generated file (and to transform the assembly x86 onto the Nspire's assembly).
The better might to know how atari organized his code and how it did for the problems like the popularity as jsj795 said.



Offline Le solutionneur

  • LV3 Member (Next: 100)
  • ***
  • Posts: 70
  • Rating: +14/-10
    • View Profile
Re: Roller Coaster Tycoon 2 on TI-Nspire
« Reply #11 on: May 06, 2012, 12:05:36 pm »
BTW, the small studio that did it was bought by Atari and then closed.
We need to send a nice email with arguments of why they should release the source code.

The source code is probably bundled with commentds like what are the structs etc !
"Commit to the Lord whatever you do and your plans will succeed." - Proverbs 16:3
"Whatever you do, work at it with all your heart, as working for the Lord, not for men. " - Colossians 3:23

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55941
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Roller Coaster Tycoon 2 on TI-Nspire
« Reply #12 on: May 06, 2012, 02:36:43 pm »
Wow I haven't played this in a while. I got the RCT2 game in a cereal box several years ago (along with Trivial Pursuit: Déjanté).

I agree this would be a huge undertaking as a solo calc project, though. It might requires a few years of Nspire programming. However if you want to give it a try, then good luck. Could it be a stripped down version of the original?

Offline aeTIos

  • Nonbinary computing specialist
  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3915
  • Rating: +184/-32
    • View Profile
    • wank.party
Re: Roller Coaster Tycoon 2 on TI-Nspire
« Reply #13 on: May 15, 2012, 05:43:31 am »
omahlordy gimme that :O O.O
I'm not a nerd but I pretend:

Offline Keoni29

  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2466
  • Rating: +291/-16
    • View Profile
    • My electronics projects at 8times8
Re: Roller Coaster Tycoon 2 on TI-Nspire
« Reply #14 on: May 15, 2012, 10:22:27 am »
Coasters and such are gonna be a pain to animate though...
If you like my work: why not give me an internet?