Please help! adding library corrupted game

I was following the pixies tutorial on adding a smart phone to my game, I added the convlib.aslx to the game, it told me to save and click reload.
Now I am unable to get into my game at all and im freaking out.
Im getting an error that says *invalid xml: Data at the root level is invalid line 1 position 1.

I have tried deleting the file, ive tried re adding it.. there is nothing I can do :(

Edit: I got desperate and used some web dev know how.. I opened the file in a text editor and manually removed the call for the convlib.aslx and it works again.


I have just tried downloading ConvLib and adding it to a simple game, and it reloads fine for me. Any idea why this might not have worked for you?


I'm honestly not too sure.. I did the same and it seemed to have worked.. so something in my game is preventing it.
Most likely something I have attached to my speak command maybe?


Some Internet providers (like my 4G service) will automatically "optimise" your data usage by compressing downloaded files. I've seen services like this mangle XML downloads before (don't ever use Scripped on mobile data; just opening a document causes it to delete pages at random). Maybe the same issue could affect a downloaded library? Even if it's just doing something stupid like adding a BOM to the file.


You have to be very careful when uploading libraries. It might be late advice now but always always always have a backup of your game, especially before adding something or changing something major in it. When you add a library, it may create variables in some of your items or NPCs and when you try to delete that library outright, those variables will remain thus throwing errors or possibly making it so your game won't even open. In that scenario you have to go through each and every instance of those variables and delete them probably in code view.

I wonder...it says line one, position one. Isn't that like the first letters of the code? Could ConvLib only be available for 5.8? Maybe he's using 5.7 still? :O

Anonynn.


Hey Anonynn, thats exactly what I did was delete the first couple lines of code trying to load the convlib.
But thats a really good idea, ive already devised a way to make backups when testing out new things.
That being said, im still not able to get the convlib working.


So the first couple lines of code are the ASL and the version number. That isn't going to work. Here.....the beginning should look something like this....

<!--Saved by Quest 5.8.6836.13983-->
<asl version="580">

and then it will be followed by the library list. You can't just delete things from that list. So go into code view and if you can put in that library and whatever else you deleted back into the code. It should look like this...

<!--Saved by Quest 5.8.6836.13983-->
<asl version="580">
  <include ref="English.aslx" />
  <include ref="Core.aslx" />
  <include ref="ConvLib.aslx" />

and whatever other libraries you have installed.

After those are replaced. Your game should open. Let me know when you get that far.

Anonynn.


That's exactly what I did, I edited my original post later that day and mentioned that I opened the game in a text editor and then removed.

<include ref="ConvLib.aslx" />

, then reopened it with quest and it worked.


Oh okay good :D So everything is fine now aside from getting ConvLib to work properly?

Anonynn.


Basically yes, still troubleshooting on a backup of my game :(


Oh, okay then. Welp, if you need any help just give a shout :D!

Anonynn.


This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums