how to get a value from INI on Xbox 360?

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • Hi everyone,

    I have spent the last couple of days trying to get figure this out, and haven't had any luck yet--I hope someone out there has the answer!

    I am working on saving/loading game info using the INI object, and I am able to get this to work no problem on the PC... but when I try it on the Xbox nothing happens! I have added my INI file to the binary data for my game, and set up events to make sure that the player is signed in and that only the GamePad that initially presses Start at the game title screen has any control over the game. Here are the INI actions I am trying to use:

    +Start of Frame
    -INI: Set current file to "C:\Disastr_Blastr\SaveGame01.ini"
    -INI: Set value 88 to "Level1_1Complete" in group "LevelsCompleted"

    +Right shoulder of GamePad "GamePadID" is pressed (Alterable Value "GamePadID" is either 1, 2, 4 or 8 depending on which GamePad the player used to initially press Start)
    -Set counter to GroupItemValue ("Ini", "LevelsCompleted", "Level1_1Complete")


    So with this setup, when I launch the game in Windows and press the right shoulder button I will see the number 88 appear on the counter, but on the Xbox the counter always shows zero. Does anyone know what I am missing here? This has been one of the toughest problems I have come across yet--thanks to everyone for your help. :)

  • It works! I have no idea why this hasn't worked up until now, but it just mysteriously started working. Such a great feeling to finally see something happen after being stuck on this for several days. :) Ok, on to eventing the rest of the game saving/loading system!

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!