Exporting a game from 2.72 to 3.5

Started by Dannymac247, Thu 25/06/2020 21:02:57

Previous topic - Next topic

Dannymac247

So it was suggested that I update "Sophia McGrath and the Strange Invitation" from 2.72 to the latest version in order for it to be compatible with multiple platforms. I tried to import it into the 3.5 version, but it doesn't seem to be working and I'm not sure what I am doing wrong. It seems to be generating junk code in the rooms. Here is an example:

Spoiler
Code: ags
Øyisý,q¶Å'fï‚kwH>â,¬­†e4éñdª‘b>}{y@@â,¬¹Å'h<ni%ÿý;‹l^\%$USglKïaMR.$Q›eB"/TN-	­’g2Æ'qtMî~n¶ŠX071%ZÛgL(ï‚kwH>â,¬­Å'kïawtL,O³~r4(jMBqqº=k>~u%0qe¶^ïuiiD7z(T'ïé{tº‚'x{fA:qL¶^ï7mRN2qHµ‘^Apky		”Å'nBt6IHAma³‚F>sm%3Yn«‚E>~sfS÷GQjhD‚m3#7`©‰^~ljÿöqL¶^#ptpS=5:T'F>„{j
#d”Å']4VzfO6ubgE^~lj/=um»‚køJ\Û"º‚\CxwsD<p¹Å'h<ni%ÿý;‹l^\%$USglKïaMR.$Q›eB"/TN-	T'BtkyH=zr»~kC/ztN;kag=(þ/LTÿ[Sgb=c(T1î^D”lO/\M(!,Kk>ÃœnzM1â,¬h¶‹A~wr>04(gËœÙ/(4îb¹†iC/ntQî^n¶Š3ï_tfX3~³‚ZEt{%Q={lT'F>„{j
z`©‰^~ljÿöqL¶^}|jQ/ospXÙ\wzR3:Dµ~[;tUtC3,'¬jh3tTtN9mspXÙ\wzR3:Dµ~[;tUtC3,'¬jh3t\fK9â,¬npXÙ|wzR3:Tº‚=4uizKBSq¨a8r(-î,:T'vÃœ+xD1â,¬h¶‹^=s(wN=y^©=þ>(I.îZN›=>X\%. ,QÅ'jH%T(Y'_“fGéñdª‘b>}{y@@â,¬¯Å'mBwy-mgL(ïSW%-`Å'aB#/WWÿ QLâ€"s>ïcPN2îXH•bÙu}sBBunµ=a>Æ'{uNB>^¨E"ïŠÿî;.g\Axxyÿ4{qgehC‚xtSî>oehC‚xtSî>(=:=ˆ(hK7ojgÅ'gïwwyR>{sT'K4‚|tQ3S`´‚=8pttFî4(‚=Ãœ…éñdª‘b>}msCîtn»i>Æ':d@î,.v==/VT3îQCqa(W$Å'=MX[%+ZDT'
function room_Load()
{
gui[0].Visible = false;
gui[1].Visible = false;
[close]

That was at the top of room0. It just looks like a mess to me.

Any notions on what I may be doing wrong?

Crimson Wizard

This is very strange. Well, it looks like being corrupted for some reason.

Maybe you could try importing in AGS 3.2.1, and then open 3.2.1 project with 3.5.0. If that works, that would mean that import process got broken in 3.5.0...

I will take a look too when get some spare time.

Dannymac247


Dannymac247

conversion to 3.2 had some problems but no sign of the mass of junk code. I'll see if I can get 3.2 running, then head up to 3.5.

Crimson Wizard

Notable switches in general settings are:

* Enforce object-oriented scripting (you may need to set false);
* Enforce new-style audio script (again set to false);

In 3.5.0 there's also "Script compatibility level" which is better leave at lowest ("3.2.1").

Dannymac247


Cassiebsg

There are those who believe that life here began out there...

Crimson Wizard

Project Explorer -> General Settings -> Backwards Compatibility group, to be precise.

Crimson Wizard

BTW, I found a mistake in 3.5.0, it does not import 2.72 room script correctly, this will be fixed in the next patch.

SMF spam blocked by CleanTalk