| User | Post |
|
3:17 am February 26, 2010
| StBacchus
| | Madison, WI | |
| Member | posts 39 |
|
|
Maybe I can slip this one in before the new release.
I just noticed the case ordering described here – but I can't get it to work, either in 10.94 or 10.95. Instead of showing the available cases, it just blinks and stays on the game menu.
I'm putting the intro.txt here:
games/The Englestadt Files/intro.txt
And I have two cases in there as well.
|
|
|
11:11 am February 26, 2010
| saluk
| | | |
| Admin
| posts 144 |
|
|
Whats the content of that intro.txt? If the intro.txt doesn't do anything (or do anything correctly), it will run through everything there and then return to the games screen.
|
|
|
3:44 pm February 26, 2010
| StBacchus
| | Madison, WI | |
| Member | posts 39 |
|
|
Just this:
set _order_cases variable set _case_1 Turnabout Karma set _case_2 A Cracking Turnabout
Is there something else I need? It works fine – in default alphabetical order – with no intro.txt at all.
|
|
|
3:46 pm February 26, 2010
| StBacchus
| | Madison, WI | |
| Member | posts 39 |
|
|
Oh – only one of those cases has its own intro.txt file. Does that matter? It should at least show the other one.
|
|
|
5:08 pm February 26, 2010
| saluk
| | | |
| Admin
| posts 144 |
|
|
Yep, it will only show valid cases. A folder does not a valid case make; a folder with an intro.txt does.
Also, you have to actually run the case menu. Once you are using intro.txt in the game folder, pywright doesn't assume anything about what you want to do. You could have an entire game that doesn't use cases at all, and just lives in the game folder for instance. Or you might make your own case selection and not use the built in one at all. So it sets the variables, and then with nothing else to do, exits.
To run the casemenu, add the "casemenu" command to the end of the script.
Sorry for the poorly documented feature. There are a lot of those in PyWright these days…
|
|
|
6:03 pm February 26, 2010
| StBacchus
| | Madison, WI | |
| Member | posts 39 |
|
|
Don't worry, I'm pestering you about it so I can document it. It's a great feature, very important for multi-case games. Yep, casemenu is what I was missing. Works like a charm! It does show whatever options you've set. So "A Cracking Turnabout" appears on my menu even though it doesn't have an intro.txt.
|
|
|
6:09 pm February 26, 2010
| saluk
| | | |
| Admin
| posts 144 |
|
|
Post edited 6:14 pm – February 26, 2010 by saluk
Ah, right; it only does checking in the automatic mode. Yeah, I am trying to be in depth about why stuff works the way it does to help the documentation too Moving this out of the "irritating bugs" topic.
(Arg, the move screwed things up majorly. I thought it would move everything underneath but it didnt. I'm just going to copy my original reply to there…)
|
|
|
6:16 pm February 26, 2010
| saluk
| | | |
| Admin
| posts 144 |
|
|
Post edited 2:46 am – February 27, 2010 by saluk
(And with that bit of database editing, the posts are now moved correctly. Yay!)
I updated the page you were following with that little bit of info
|
|