Andromo - Start Making Apps - Free Signup

Announcement

Collapse

New Forum Software

If you're here, you've found the new home for our forums. There will be some bugs to iron out, so thanks for your patience...
See more
See less

Is this possible?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Is this possible?

    Hi!
    First off I'd like to say AMS 4.0 is AMAZING, I LOVE IT!!... Now on with the subject....

    OK... I am making an arcade cabinet to play all my Playstation games on and I have decided to use AMS 4.0 to make the frontend for it that will launch the games. I will be using an emulator to run the actual games and all the games will be stored on the hard drive locally as .iso images.

    I have been able to make a text object and use it as a button to launch the emulator along with the command line arguments to load the .iso file.
    Right now I have about 40 Playstation games and I could just make the frontend by creating 40 different text objects (10 per page) to launch the 40 different games and order the games alphabetically, but let's say that one weekend I'm at the flea market and pick-up 10 more games and now I want to add them to the cabinet and to the frontend, I would now have to move everything around if I wanted to keep everything organized alphabetically and it would make it a huge task just to add more games to it....

    So my question is this....

    Can I supply the properties of a text object through the use of a .ini file?

    What I would like is 10 text objects per page and if each text object could call their properties from a .ini file then it would just be a matter of copying and pasting text and moving it around and adding in the new games within the .ini file and just add another page of text objects.

    Here is the properties that I have used to make 1 text object launch the emulator and load the .iso file:


    =====Text Object Properties=====

    ------ Settings Tab ------
    Object Text Message:
    A Bugs Life

    ------ Attributes Tab ------
    Name:
    Game One Launch Button

    ------ Actions Tab ------

    File to execute (path and filename):
    C:\Documents and Settings\master\My Documents\Emus\Console\PSX\epsxe152\ePSXe.exe

    Command line arguments:
    -nogui -loadiso A_Bugs_Life.bin

    Working directory:
    C:\Documents and Settings\master\My Documents\Emus\Console\PSX\epsxe152

    Any and all help with this would be appreciated...Thanks in advance 8-)

    Jaysen

  • #2
    Re: Is this possible?

    Hi - Just a thought here ... why not build 1 ListBox and have all the games listed in there ... so much easier and quicker than so many Text objects. You could then have the ListBox load a file at runtime with all the games listed and on DoubleClick ... play the game.
    This would also allow you to edit the text file and the changes would be made in AMS without even opening it!
    -
    = Derek
    ["All glory comes from daring to begin" - fortune cookie]

    Comment


    • #3
      Re: Is this possible?

      one helluva smart man you are Derek [img]/ubbthreads/images/icons/wink.gif[/img]

      Comment


      • #4
        Re: Is this possible?

        lol [img]/ubbthreads/images/icons/laugh.gif[/img]

        [serious face]
        <font color=purple>Yes! I try hard not to be.</font color=purple>
        [/serious face]
        -
        = Derek
        ["All glory comes from daring to begin" - fortune cookie]

        Comment


        • #5
          Re: Is this possible?

          not as smart as I
          *tilts head with pride*

          Comment


          • #6
            Re: Is this possible?

            Thanks for your response Derek...

            About the text objects that I was asking about...is it possible to do with them what I asked in my initial post??

            I will try your idea about the list box...just that it will not be as esthetically pleasing to do it with a list box, with the text object I would have the freedom of laying them out how I want (eg. they could be laid out in a half circular pattern to follow the edge of a graphic...etc.)

            Also ... how do I go about getting a listbox to "load a file at runtime with all the games listed"? which function is that..If you could possibly create a small example and email it to me at: [email protected]

            BUT... I would much more prefer to do it the way I described in my first post if it is possible, since I would only have to layout 1 page and just copy it for the rest (with minor changes to the identifiers of the text object buttons), it would be worth the extra effort to have the freedom of laying it out how I want instead of being trapped by a generic list box..

            Thanks again for any and all help 8-)

            Comment


            • #7
              Re: Is this possible?

              Hi Jaysen

              I guess if it "would be worth the extra effort" it's not such a "huge task to add more games" [img]/ubbthreads/images/icons/smile.gif[/img]

              If you really want to do it with Text Objects, you're prob not gonna find it any quicker by importing some kind of text file. In fact it's prob more of a PITA to set it up like that since the text Object only requires one action to run the game.

              I only suggested the list box coz i thought yu were looking for an 'easy way out'

              Off the top of my head, the Actions required with the Text Object/Txt file approach will need something like this:

              Text Object 1:
              TextFile.GetLine
              String.GetDelimited 0 ;;
              String.GetDelimited 1 ::
              File.Execute %NewString%

              As apposed to (without the txt file):

              Text Object 1:
              File.Execute ... etc

              That may need some tweeking since there's no SelectedIndex. I guess that would be with a single line text file format too:

              Item1::command1;;Item 2::command 2;; .. etc

              unless you change CR's for ;; delimiters.

              - so .. all in all yur prob better off just using single line actions for the Text Objects

              (FYI: email is not usually sent. we prefer to post all question/replies here so everyone can benefit from the info [img]/ubbthreads/images/icons/smile.gif[/img])
              -
              = Derek
              ["All glory comes from daring to begin" - fortune cookie]

              Comment


              • #8
                Re: Is this possible?

                Thank you once again Derek!

                I have tried for a couple of hours to try to get this to work:

                "Text Object 1:
                TextFile.GetLine
                String.GetDelimited 0 ;;
                String.GetDelimited 1 ::
                File.Execute %NewString%"

                And I am completely lost, I honestly haven't even been able to figure out where to start 8-(

                I would benefit so much if I could just see a working example...pretty please would you be able to post a working sample here... If you would, you could even just make it a text object that calls it's properties from a text file and the function could be to load a supplied image file into paint...so the image file would be like the .iso image and paint would be like the emulator..... (maybe make it 2 different buttons each loading a different supplied image file, so I can see what the unique identifiers are)

                I hope this makes sense...

                P.S.: If it would be easier for you to create this sample with the listbox, that would be great too!!

                Thank you Derek!! 8-)

                Comment


                • #9
                  Re: Is this possible?

                  Attached is a sample page ... just import the file to see how it works

                  You will need to create a txt file (C:\sample.txt) and paste this into it (check the address of IE to make sure it's correct for yurs):

                  Game 1::C:\Program Files\Internet Explorer\iexplore.exe -k www.indigorose.com;;Game 2::C:\Program Files\Internet Explorer\iexplore.exe -k www.microsoft.com;;

                  OR just change the address and -k arg for the one you wanna use ... ie:

                  C:\Documents and Settings\master\My Documents\Emus\Console\PSX\epsxe152\ePSXe.exe -nogui -loadiso A_Bugs_Life.bin

                  10277-sample.pg4
                  -
                  = Derek
                  ["All glory comes from daring to begin" - fortune cookie]

                  Comment


                  • #10
                    Re: Is this possible?

                    You're a good egg D.

                    Comment


                    • #11
                      Re: Is this possible?

                      You know, you can change the text in a Text Object at run time. [img]/ubbthreads/images/icons/laugh.gif[/img]

                      Just set the text on each button from your list. Add a couple more buttons to scroll the list (might be a neat effect to do it one at a time, or you could just make them act like "next page" buttons).

                      Let the "Text Object - Set Text" action be your friend...
                      --[[ Indigo Rose Software Developer ]]

                      Comment


                      • #12
                        Re: Is this possible?

                        Derek....do you work for IndigoRose?? If you do not, then I want to recommend you to be hired!! Thank you SO much for your help thus far! 8-)

                        I spent all evening experimenting with the sample that you made and again I want to say thank you...I think it would have taken me a long time to figure out how to configure those "string" functions to do what you did. Now after tinkering with your sample I found a few things I need help with....these are:

                        1 - Specify "Object text message" in the text file. "Lorne - Let the "Text Object - Set Text" action be your friend..." - I was able to figure out how to do this from the "Page properties - On Initialize"..but I was not able to figure out how to do this from the text file, can it be specified in the text file?

                        2 - Specify "Working directory" in the text file (The emulator needs this to be defined or it will not initialize properly and fails to load the .iso image, I manually added the address to the "File.Execute (""%NewString%","",Continue)" Command action properties "Working directory" field to get it to work, can it be specified in the text file?

                        3 - Can there be a line break to seperate each "Games" line in the text file...(when I tried adding a line break, it failed to read anything after the first line break I inserted) eg.:

                        Game 1::C:\Emus\Console\PSX\epsxe152\ePSXe.exe -nogui -loadiso A_Bugs_Life.bin;;<Line break here>
                        Game 2::C:\Emus\Console\PSX\epsxe152\ePSXe.exe -nogui -loadiso Bubble_Bobble_2.bin;;<Line break here>
                        Game 3::C:\Emus\Console\PSX\epsxe152\ePSXe.exe -nogui -loadiso C-12-Final_Resistance.bin;;<Line break here>

                        4 - And now the icing on the cake....

                        Is it possible to specify for each game in the text file an image to appear in an image box when you mouseover the games title (I was thinking of scanning the jewel case inlays and have them appear as the images, this would be SO cool!). I think for this I would have to have a default image load on initialize and then when you mouseover a games title it would then read from the text file which image to load next and that image would remain until you mouseover another games title, when you go to another page then a default image would then again load.

                        If these can be done and if you could again supply a sample I will forever be in your debt!

                        This ends my wish list. ;-)

                        Thank you for all your help Derek and Lorne!! 8-)

                        Jaysen

                        Comment


                        • #13
                          Re: Is this possible?


                          ....do you work for IndigoRose??
                          Just waiting for the offer!

                          OK .. so yu want more ... here we go:

                          1 - Yep .. no prob
                          paste this into Project settings.On Initialize

                          <IR_ACTIONS_LIST>
                          <Action name="Comment">
                          <Type>202</Type>
                          <Function>2</Function>
                          <DTIndentLevel>0</DTIndentLevel>
                          <Enabled>1</Enabled>
                          <ErrorHandling>
                          <UserNotificationMode>2</UserNotificationMode>
                          <CustomErrorMessage/>
                          <OnErrorAction>0</OnErrorAction>
                          <JumpToLabel/>
                          </ErrorHandling>
                          <Comment>Read the text file and change all the CR to ;;</Comment>
                          </Action>
                          <Action name="Read">
                          <Type>31</Type>
                          <Function>0</Function>
                          <DTIndentLevel>0</DTIndentLevel>
                          <Enabled>1</Enabled>
                          <ErrorHandling>
                          <UserNotificationMode>2</UserNotificationMode>
                          <CustomErrorMessage/>
                          <OnErrorAction>0</OnErrorAction>
                          <JumpToLabel/>
                          </ErrorHandling>
                          <Variable>%TextFile%</Variable>
                          <FileName>C:\sample.txt</FileName>
                          </Action>
                          <Action name="Replace">
                          <Type>60</Type>
                          <Function>0</Function>
                          <DTIndentLevel>0</DTIndentLevel>
                          <Enabled>1</Enabled>
                          <ErrorHandling>
                          <UserNotificationMode>2</UserNotificationMode>
                          <CustomErrorMessage/>
                          <OnErrorAction>0</OnErrorAction>
                          <JumpToLabel/>
                          </ErrorHandling>
                          <Variable>%NewFile%</Variable>
                          <SearchIn>%TextFile%</SearchIn>
                          <SearchFor>#ASC_CR##ASC_LF#</SearchFor>
                          <ReplaceWith>;;</ReplaceWith>
                          <CaseSensitive>1</CaseSensitive>
                          </Action>
                          </IR_ACTIONS_LIST>

                          ... and this into Page Properties.On Show


                          <IR_ACTIONS_LIST>
                          <Action name="Comment">
                          <Type>202</Type>
                          <Function>2</Function>
                          <DTIndentLevel>0</DTIndentLevel>
                          <Enabled>1</Enabled>
                          <ErrorHandling>
                          <UserNotificationMode>2</UserNotificationMode>
                          <CustomErrorMessage/>
                          <OnErrorAction>0</OnErrorAction>
                          <JumpToLabel/>
                          </ErrorHandling>
                          <Comment>Break down the string to get the name for Game 0</Comment>
                          </Action>
                          <Action name="Get Delimited String">
                          <Type>64</Type>
                          <Function>0</Function>
                          <DTIndentLevel>0</DTIndentLevel>
                          <Enabled>1</Enabled>
                          <ErrorHandling>
                          <UserNotificationMode>2</UserNotificationMode>
                          <CustomErrorMessage/>
                          <OnErrorAction>0</OnErrorAction>
                          <JumpToLabel/>
                          </ErrorHandling>
                          <Variable>%Index0%</Variable>
                          <Source>%NewFile%</Source>
                          <Delimiter>;;</Delimiter>
                          <ItemIndex>0</ItemIndex>
                          </Action>
                          <Action name="Get Delimited String">
                          <Type>64</Type>
                          <Function>0</Function>
                          <DTIndentLevel>0</DTIndentLevel>
                          <Enabled>1</Enabled>
                          <ErrorHandling>
                          <UserNotificationMode>2</UserNotificationMode>
                          <CustomErrorMessage/>
                          <OnErrorAction>0</OnErrorAction>
                          <JumpToLabel/>
                          </ErrorHandling>
                          <Variable>%Game0%</Variable>
                          <Source>%Index0%</Source>
                          <Delimiter>::</Delimiter>
                          <ItemIndex>0</ItemIndex>
                          </Action>
                          <Action name="Comment">
                          <Type>202</Type>
                          <Function>2</Function>
                          <DTIndentLevel>0</DTIndentLevel>
                          <Enabled>1</Enabled>
                          <ErrorHandling>
                          <UserNotificationMode>2</UserNotificationMode>
                          <CustomErrorMessage/>
                          <OnErrorAction>0</OnErrorAction>
                          <JumpToLabel/>
                          </ErrorHandling>
                          <Comment>Then set the text for Game 1</Comment>
                          </Action>
                          <Action name="Set Text">
                          <Type>75</Type>
                          <Function>0</Function>
                          <DTIndentLevel>0</DTIndentLevel>
                          <Enabled>1</Enabled>
                          <ErrorHandling>
                          <UserNotificationMode>2</UserNotificationMode>
                          <CustomErrorMessage/>
                          <OnErrorAction>0</OnErrorAction>
                          <JumpToLabel/>
                          </ErrorHandling>
                          <ObjectName>Text1</ObjectName>
                          <Text>%Game0%</Text>
                          </Action>
                          <Action name="Comment">
                          <Type>202</Type>
                          <Function>2</Function>
                          <DTIndentLevel>0</DTIndentLevel>
                          <Enabled>1</Enabled>
                          <ErrorHandling>
                          <UserNotificationMode>2</UserNotificationMode>
                          <CustomErrorMessage/>
                          <OnErrorAction>0</OnErrorAction>
                          <JumpToLabel/>
                          </ErrorHandling>
                          <Comment>Break down the string to get the name for Game 1</Comment>
                          </Action>
                          <Action name="Get Delimited String">
                          <Type>64</Type>
                          <Function>0</Function>
                          <DTIndentLevel>0</DTIndentLevel>
                          <Enabled>1</Enabled>
                          <ErrorHandling>
                          <UserNotificationMode>2</UserNotificationMode>
                          <CustomErrorMessage/>
                          <OnErrorAction>0</OnErrorAction>
                          <JumpToLabel/>
                          </ErrorHandling>
                          <Variable>%Index1%</Variable>
                          <Source>%NewFile%</Source>
                          <Delimiter>;;</Delimiter>
                          <ItemIndex>1</ItemIndex>
                          </Action>
                          <Action name="Get Delimited String">
                          <Type>64</Type>
                          <Function>0</Function>
                          <DTIndentLevel>0</DTIndentLevel>
                          <Enabled>1</Enabled>
                          <ErrorHandling>
                          <UserNotificationMode>2</UserNotificationMode>
                          <CustomErrorMessage/>
                          <OnErrorAction>0</OnErrorAction>
                          <JumpToLabel/>
                          </ErrorHandling>
                          <Variable>%Game1%</Variable>
                          <Source>%Index1%</Source>
                          <Delimiter>::</Delimiter>
                          <ItemIndex>0</ItemIndex>
                          </Action>
                          <Action name="Comment">
                          <Type>202</Type>
                          <Function>2</Function>
                          <DTIndentLevel>0</DTIndentLevel>
                          <Enabled>1</Enabled>
                          <ErrorHandling>
                          <UserNotificationMode>2</UserNotificationMode>
                          <CustomErrorMessage/>
                          <OnErrorAction>0</OnErrorAction>
                          <JumpToLabel/>
                          </ErrorHandling>
                          <Comment>Then set the text for Game 1</Comment>
                          </Action>
                          <Action name="Set Text">
                          <Type>75</Type>
                          <Function>0</Function>
                          <DTIndentLevel>0</DTIndentLevel>
                          <Enabled>1</Enabled>
                          <ErrorHandling>
                          <UserNotificationMode>2</UserNotificationMode>
                          <CustomErrorMessage/>
                          <OnErrorAction>0</OnErrorAction>
                          <JumpToLabel/>
                          </ErrorHandling>
                          <ObjectName>Text2</ObjectName>
                          <Text>%Game1%</Text>
                          </Action>
                          <Action name="Comment">
                          <Type>202</Type>
                          <Function>2</Function>
                          <DTIndentLevel>0</DTIndentLevel>
                          <Enabled>1</Enabled>
                          <ErrorHandling>
                          <UserNotificationMode>2</UserNotificationMode>
                          <CustomErrorMessage/>
                          <OnErrorAction>0</OnErrorAction>
                          <JumpToLabel/>
                          </ErrorHandling>
                          <Comment>Break down the string to get the name for Game 2</Comment>
                          </Action>
                          <Action name="Get Delimited String">
                          <Type>64</Type>
                          <Function>0</Function>
                          <DTIndentLevel>0</DTIndentLevel>
                          <Enabled>1</Enabled>
                          <ErrorHandling>
                          <UserNotificationMode>2</UserNotificationMode>
                          <CustomErrorMessage/>
                          <OnErrorAction>0</OnErrorAction>
                          <JumpToLabel/>
                          </ErrorHandling>
                          <Variable>%Index2%</Variable>
                          <Source>%NewFile%</Source>
                          <Delimiter>;;</Delimiter>
                          <ItemIndex>2</ItemIndex>
                          </Action>
                          <Action name="Get Delimited String">
                          <Type>64</Type>
                          <Function>0</Function>
                          <DTIndentLevel>0</DTIndentLevel>
                          <Enabled>1</Enabled>
                          <ErrorHandling>
                          <UserNotificationMode>2</UserNotificationMode>
                          <CustomErrorMessage/>
                          <OnErrorAction>0</OnErrorAction>
                          <JumpToLabel/>
                          </ErrorHandling>
                          <Variable>%Game2%</Variable>
                          <Source>%Index2%</Source>
                          <Delimiter>::</Delimiter>
                          <ItemIndex>0</ItemIndex>
                          </Action>
                          <Action name="Comment">
                          <Type>202</Type>
                          <Function>2</Function>
                          <DTIndentLevel>0</DTIndentLevel>
                          <Enabled>1</Enabled>
                          <ErrorHandling>
                          <UserNotificationMode>2</UserNotificationMode>
                          <CustomErrorMessage/>
                          <OnErrorAction>0</OnErrorAction>
                          <JumpToLabel/>
                          </ErrorHandling>
                          <Comment>Then set the text for Game 2</Comment>
                          </Action>
                          <Action name="Set Text">
                          <Type>75</Type>
                          <Function>0</Function>
                          <DTIndentLevel>0</DTIndentLevel>
                          <Enabled>1</Enabled>
                          <ErrorHandling>
                          <UserNotificationMode>2</UserNotificationMode>
                          <CustomErrorMessage/>
                          <OnErrorAction>0</OnErrorAction>
                          <JumpToLabel/>
                          </ErrorHandling>
                          <ObjectName>Text3</ObjectName>
                          <Text>%Game2%</Text>
                          </Action>
                          </IR_ACTIONS_LIST>


                          2 - Yep .. like anything yu wanna specify, its just a matter of putting in enough GetDelimitedString Actions to find the one you want ... you could have loads of em if yu needed that many!
                          You have to add extra info into the line, so instead of:
                          <font color=purple>Game 1::C:\Emus\Console\PSX\epsxe152\ePSXe.exe -nogui -loadiso A_Bugs_Life.bin;;</font color=purple>
                          it's gonna read:
                          <font color=blue>Game 1::C:\Emus\Console\PSX\epsxe152\ePSXe.exe -nogui -loadiso A_Bugs_Life.bin::C:\Emus\Console\PSX\epsxe152::</font color=blue>
                          Notice the ;; at the end of the line has been changed to ::

                          3 - I thought this would be the next question Sure it can! Its alread taken care of in part 1 ... that'll work now. Adjust yur text file so it's on lines like you want it

                          4 - hahaha!! [img]/ubbthreads/images/icons/wink.gif[/img] um ... i dont think so. I'll see what i can come up with but i'm not expecting it. Lest one of the IR guys can step in and tell us for sure!


                          Now; paste this into Text Object 1 on your page:
                          <IR_ACTIONS_LIST>
                          <Action name="Comment">
                          <Type>202</Type>
                          <Function>2</Function>
                          <DTIndentLevel>1</DTIndentLevel>
                          <Enabled>1</Enabled>
                          <ErrorHandling>
                          <UserNotificationMode>2</UserNotificationMode>
                          <CustomErrorMessage/>
                          <OnErrorAction>0</OnErrorAction>
                          <JumpToLabel/>
                          </ErrorHandling>
                          <Comment>Get the text that specifies the file to execute</Comment>
                          </Action>
                          <Action name="Get Delimited String">
                          <Type>64</Type>
                          <Function>0</Function>
                          <DTIndentLevel>0</DTIndentLevel>
                          <Enabled>1</Enabled>
                          <ErrorHandling>
                          <UserNotificationMode>2</UserNotificationMode>
                          <CustomErrorMessage/>
                          <OnErrorAction>0</OnErrorAction>
                          <JumpToLabel/>
                          </ErrorHandling>
                          <Variable>%Game0Run%</Variable>
                          <Source>%Index0%</Source>
                          <Delimiter>::</Delimiter>
                          <ItemIndex>1</ItemIndex>
                          </Action>
                          <Action name="Comment">
                          <Type>202</Type>
                          <Function>2</Function>
                          <DTIndentLevel>1</DTIndentLevel>
                          <Enabled>1</Enabled>
                          <ErrorHandling>
                          <UserNotificationMode>2</UserNotificationMode>
                          <CustomErrorMessage/>
                          <OnErrorAction>0</OnErrorAction>
                          <JumpToLabel/>
                          </ErrorHandling>
                          <Comment>Get the text that specifies the working Directory</Comment>
                          </Action>
                          <Action name="Get Delimited String">
                          <Type>64</Type>
                          <Function>0</Function>
                          <DTIndentLevel>0</DTIndentLevel>
                          <Enabled>1</Enabled>
                          <ErrorHandling>
                          <UserNotificationMode>2</UserNotificationMode>
                          <CustomErrorMessage/>
                          <OnErrorAction>0</OnErrorAction>
                          <JumpToLabel/>
                          </ErrorHandling>
                          <Variable>%Game0Dir%</Variable>
                          <Source>%Index0%</Source>
                          <Delimiter>::</Delimiter>
                          <ItemIndex>2</ItemIndex>
                          </Action>
                          <Action name="Comment">
                          <Type>202</Type>
                          <Function>2</Function>
                          <DTIndentLevel>1</DTIndentLevel>
                          <Enabled>1</Enabled>
                          <ErrorHandling>
                          <UserNotificationMode>2</UserNotificationMode>
                          <CustomErrorMessage/>
                          <OnErrorAction>0</OnErrorAction>
                          <JumpToLabel/>
                          </ErrorHandling>
                          <Comment>Execute the file using the info from the above variables</Comment>
                          </Action>
                          <Action name="Execute">
                          <Type>8</Type>
                          <Function>0</Function>
                          <DTIndentLevel>0</DTIndentLevel>
                          <Enabled>1</Enabled>
                          <ErrorHandling>
                          <UserNotificationMode>2</UserNotificationMode>
                          <CustomErrorMessage/>
                          <OnErrorAction>0</OnErrorAction>
                          <JumpToLabel/>
                          </ErrorHandling>
                          <FileName>%Game0Run%</FileName>
                          <CommandLine/>
                          <WorkingDir>%Game0Dir%</WorkingDir>
                          <RunMode>0</RunMode>
                          <WaitForReturn>0</WaitForReturn>
                          </Action>
                          </IR_ACTIONS_LIST>

                          This into Text Object 2:
                          <IR_ACTIONS_LIST>
                          <Action name="Comment">
                          <Type>202</Type>
                          <Function>2</Function>
                          <DTIndentLevel>0</DTIndentLevel>
                          <Enabled>1</Enabled>
                          <ErrorHandling>
                          <UserNotificationMode>2</UserNotificationMode>
                          <CustomErrorMessage/>
                          <OnErrorAction>0</OnErrorAction>
                          <JumpToLabel/>
                          </ErrorHandling>
                          <Comment>Get the text that specifies the file to execute</Comment>
                          </Action>
                          <Action name="Get Delimited String">
                          <Type>64</Type>
                          <Function>0</Function>
                          <DTIndentLevel>0</DTIndentLevel>
                          <Enabled>1</Enabled>
                          <ErrorHandling>
                          <UserNotificationMode>2</UserNotificationMode>
                          <CustomErrorMessage/>
                          <OnErrorAction>0</OnErrorAction>
                          <JumpToLabel/>
                          </ErrorHandling>
                          <Variable>%Game1Run%</Variable>
                          <Source>%Index1%</Source>
                          <Delimiter>::</Delimiter>
                          <ItemIndex>1</ItemIndex>
                          </Action>
                          <Action name="Comment">
                          <Type>202</Type>
                          <Function>2</Function>
                          <DTIndentLevel>0</DTIndentLevel>
                          <Enabled>1</Enabled>
                          <ErrorHandling>
                          <UserNotificationMode>2</UserNotificationMode>
                          <CustomErrorMessage/>
                          <OnErrorAction>0</OnErrorAction>
                          <JumpToLabel/>
                          </ErrorHandling>
                          <Comment>Get the text that specifies the working Directory</Comment>
                          </Action>
                          <Action name="Get Delimited String">
                          <Type>64</Type>
                          <Function>0</Function>
                          <DTIndentLevel>0</DTIndentLevel>
                          <Enabled>1</Enabled>
                          <ErrorHandling>
                          <UserNotificationMode>2</UserNotificationMode>
                          <CustomErrorMessage/>
                          <OnErrorAction>0</OnErrorAction>
                          <JumpToLabel/>
                          </ErrorHandling>
                          <Variable>%Game1Dir%</Variable>
                          <Source>%Index1%</Source>
                          <Delimiter>::</Delimiter>
                          <ItemIndex>2</ItemIndex>
                          </Action>
                          <Action name="Comment">
                          <Type>202</Type>
                          <Function>2</Function>
                          <DTIndentLevel>0</DTIndentLevel>
                          <Enabled>1</Enabled>
                          <ErrorHandling>
                          <UserNotificationMode>2</UserNotificationMode>
                          <CustomErrorMessage/>
                          <OnErrorAction>0</OnErrorAction>
                          <JumpToLabel/>
                          </ErrorHandling>
                          <Comment>Execute the file using the info from the above variables</Comment>
                          </Action>
                          <Action name="Execute">
                          <Type>8</Type>
                          <Function>0</Function>
                          <DTIndentLevel>0</DTIndentLevel>
                          <Enabled>1</Enabled>
                          <ErrorHandling>
                          <UserNotificationMode>2</UserNotificationMode>
                          <CustomErrorMessage/>
                          <OnErrorAction>0</OnErrorAction>
                          <JumpToLabel/>
                          </ErrorHandling>
                          <FileName>%Game1Run%</FileName>
                          <CommandLine/>
                          <WorkingDir>%Game1Dir%</WorkingDir>
                          <RunMode>0</RunMode>
                          <WaitForReturn>0</WaitForReturn>
                          </Action>
                          </IR_ACTIONS_LIST>


                          and this into text Object 3:
                          <IR_ACTIONS_LIST>
                          <Action name="Comment">
                          <Type>202</Type>
                          <Function>2</Function>
                          <DTIndentLevel>0</DTIndentLevel>
                          <Enabled>1</Enabled>
                          <ErrorHandling>
                          <UserNotificationMode>2</UserNotificationMode>
                          <CustomErrorMessage/>
                          <OnErrorAction>0</OnErrorAction>
                          <JumpToLabel/>
                          </ErrorHandling>
                          <Comment>Get the text that specifies the file to execute</Comment>
                          </Action>
                          <Action name="Get Delimited String">
                          <Type>64</Type>
                          <Function>0</Function>
                          <DTIndentLevel>0</DTIndentLevel>
                          <Enabled>1</Enabled>
                          <ErrorHandling>
                          <UserNotificationMode>2</UserNotificationMode>
                          <CustomErrorMessage/>
                          <OnErrorAction>0</OnErrorAction>
                          <JumpToLabel/>
                          </ErrorHandling>
                          <Variable>%Game2Run%</Variable>
                          <Source>%Index2%</Source>
                          <Delimiter>::</Delimiter>
                          <ItemIndex>1</ItemIndex>
                          </Action>
                          <Action name="Comment">
                          <Type>202</Type>
                          <Function>2</Function>
                          <DTIndentLevel>0</DTIndentLevel>
                          <Enabled>1</Enabled>
                          <ErrorHandling>
                          <UserNotificationMode>2</UserNotificationMode>
                          <CustomErrorMessage/>
                          <OnErrorAction>0</OnErrorAction>
                          <JumpToLabel/>
                          </ErrorHandling>
                          <Comment>Get the text that specifies the working Directory</Comment>
                          </Action>
                          <Action name="Get Delimited String">
                          <Type>64</Type>
                          <Function>0</Function>
                          <DTIndentLevel>0</DTIndentLevel>
                          <Enabled>1</Enabled>
                          <ErrorHandling>
                          <UserNotificationMode>2</UserNotificationMode>
                          <CustomErrorMessage/>
                          <OnErrorAction>0</OnErrorAction>
                          <JumpToLabel/>
                          </ErrorHandling>
                          <Variable>%Game2Dir%</Variable>
                          <Source>%Index2%</Source>
                          <Delimiter>::</Delimiter>
                          <ItemIndex>2</ItemIndex>
                          </Action>
                          <Action name="Comment">
                          <Type>202</Type>
                          <Function>2</Function>
                          <DTIndentLevel>0</DTIndentLevel>
                          <Enabled>1</Enabled>
                          <ErrorHandling>
                          <UserNotificationMode>2</UserNotificationMode>
                          <CustomErrorMessage/>
                          <OnErrorAction>0</OnErrorAction>
                          <JumpToLabel/>
                          </ErrorHandling>
                          <Comment>Execute the file using the info from the above variables</Comment>
                          </Action>
                          <Action name="Execute">
                          <Type>8</Type>
                          <Function>0</Function>
                          <DTIndentLevel>0</DTIndentLevel>
                          <Enabled>1</Enabled>
                          <ErrorHandling>
                          <UserNotificationMode>2</UserNotificationMode>
                          <CustomErrorMessage/>
                          <OnErrorAction>0</OnErrorAction>
                          <JumpToLabel/>
                          </ErrorHandling>
                          <FileName>%Game2Run%</FileName>
                          <CommandLine/>
                          <WorkingDir>%Game2Dir%</WorkingDir>
                          <RunMode>0</RunMode>
                          <WaitForReturn>0</WaitForReturn>
                          </Action>
                          </IR_ACTIONS_LIST>

                          If yu need more ... SHOUT! [img]/ubbthreads/images/icons/smile.gif[/img]

                          <<oops! I nearly forgot you gotta add this to the Project Settings:
                          [*]In the Configuration Tab, click Default Build[*]under the 'Constants' pane, click 'Add New' button[*]The first entry will be:
                          Name #ASC_CR#
                          Value 13[*]Click OK and add a second entry
                          Name #ASC_LF#
                          Value 10

                          Thats it .. OK all that and all should be good to go [img]/ubbthreads/images/icons/smile.gif[/img]>>
                          -
                          = Derek
                          ["All glory comes from daring to begin" - fortune cookie]

                          Comment


                          • #14
                            Re: Is this possible?

                            Don't write off #4:


                            Is it possible to specify for each game in the text file an image to appear in an image box when you mouseover the games title (I was thinking of scanning the jewel case inlays and have them appear as the images, this would be SO cool!).
                            You can do this pretty easily by using a Web Browser Object to hold the image. Just use a "Web Browser Object - Navigate To" action to load the image in the Web Browser Object. (You can even display animated GIFs that way.)

                            The only caveat is that the IE control will display scroll bars if the image is too larger than the object's bounding box...but you can get around that pretty easily by writing a simple HTML file for each image, to either force an image size (so IE resizes it) or disable the scroll bars with some javascript or CSS.
                            --[[ Indigo Rose Software Developer ]]

                            Comment


                            • #15
                              Re: Is this possible?

                              Yeah browser object had flashed thru my mind when i was looking across the park watching the pigeons doing their thing! But i hadn't stopped it to think about the scrollbar and image size issue (thats how quick it flashed!) ... so Jaysen ... i'll let yu play with the browser object and see what yu can do with it
                              -
                              = Derek
                              ["All glory comes from daring to begin" - fortune cookie]

                              Comment

                              Working...
                              X