Author Topic: AGS 2.x to 3.x migration  (Read 463 times)  Share 

Radiant

  • Mittens Knight
  • AGS Baker
  • ...and we are the Dreamers of Dreams.
  • Radiant worked on a game that was nominated for an AGS Award!Radiant worked on a game that won an AGS Award!
AGS 2.x to 3.x migration
« on: 26 Oct 2012, 08:41 »
If I import an AGS 2.x game into AGS 3.x, and this compiles without errors, is there anything in particular that I should double-check that it still works? I know the engine is supposed to be backwards-compatible; are there any known issues of kinds of code where the compatibility might be problematic?

Crimson Wizard

  • AGS Project Admins
  • not et suppotreD
    • I can help with translating
    •  
Re: AGS 2.x to 3.x migration
« Reply #1 on: 26 Oct 2012, 09:03 »
There's a number of options in General Settings that control backwards-compatibility for compilation:
"Enforce new-style audio scripting",
"Enforce new-style strings",
"Enforce object_based scripting"
Try to set them all to FALSE.

Radiant

  • Mittens Knight
  • AGS Baker
  • ...and we are the Dreamers of Dreams.
  • Radiant worked on a game that was nominated for an AGS Award!Radiant worked on a game that won an AGS Award!
Re: AGS 2.x to 3.x migration
« Reply #2 on: 26 Oct 2012, 16:23 »
But 3.X still supports old-style scripts and non-object-based scripting, it's just no longer preferred. I know this because my game uses both of those and it still compiles and runs under 3.X. Let me paraphrase: the game appears to run just fine in 3.X; however, I have not tested every single interaction within the game. I'm looking for certain corner cases in design that are known to sometimes fail (and it would be nice if there aren't any), so that I can specifically test those. I already know that the common parts of the main script run just fine.

Crimson Wizard

  • AGS Project Admins
  • not et suppotreD
    • I can help with translating
    •  
Re: AGS 2.x to 3.x migration
« Reply #3 on: 26 Oct 2012, 17:55 »
Dang! It appears I misread your first phrase. I read it as "and this compiles WITH errors". :)

Khris

  • Evil Dark Emperor Death-Kill
    • Lifetime Achievement Award Winner
    •  
    • I can help with play testing
    •  
    • I can help with scripting
    •  
    • I can help with translating
    •  
Re: AGS 2.x to 3.x migration
« Reply #4 on: 26 Oct 2012, 22:18 »
I'd focus on audio and raw drawing stuff, those underwent significant changes.
The rest should be fine.
http://whathaveyoutried.com/

The other day on yahoo answers:
"Can you print colored images with black ink? If so tell me how please Thanx Kimberly"

Dave Gilbert

  • Mittens Vassal
  • AGS Baker
  • Order of the Maggot
  • Woof
    • Lifetime Achievement Award Winner
    •  
    • I can help with story design
    •  
    • I can help with voice acting
    •  
  • Dave Gilbert worked on a game that was nominated for an AGS Award!Dave Gilbert worked on a game that won an AGS Award!
Re: AGS 2.x to 3.x migration
« Reply #5 on: 28 Oct 2012, 13:27 »
Audio, definitely. 3.x handles music and sound completely differently, so make sure everything still works. And if it is a low-res game and you are using high-res fonts, they will no longer display properly and you will need to replace them. Other than that... playtest and see! It really depends on your game.

Radiant

  • Mittens Knight
  • AGS Baker
  • ...and we are the Dreamers of Dreams.
  • Radiant worked on a game that was nominated for an AGS Award!Radiant worked on a game that won an AGS Award!
Re: AGS 2.x to 3.x migration
« Reply #6 on: 06 Nov 2012, 23:43 »
Thanks for your advice. I don't have any funky audio or rawdraw stuff here, thankfully.