- Status New
- Percent Complete
- Task Type Patches
- Category Infrastructure → Build environment
-
Assigned To
rasher - Operating System All players
- Severity Low
- Priority Very Low
- Reported Version Daily build (which?)
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
FS#10571 - Automatic screenshot generation (for the manual)
These two scripts will, if you run them appropriately generate a few screenshots in an automatic fashion. Execute it like this, from inside a simulator: ./genscreenshots e200.xte /path/to/output
There are a few pitfalls:
* The simulator window MUST gain focus when it is run. If this doesn’t happen, everything breaks. Horribly.
* The method is rather timing sensitive. I had to put a pause of 250ms between each keypress to make sure they registred (too fast, and the sim/SDL would discard them). 250ms may not be the right amount for your computer.
* Rockbox itself is also timing sensitive. If you “push” a button at the wrong time, it may not register, so use plenty of sleeps to make sure things are settled.
Edit: Oops, the first version had a hardcoded filename. Hopefully of such things.
ID | Project | Summary | Priority | Severity | Assigned To | Progress | |
---|---|---|---|---|---|---|---|
10575 | Rockbox | FS#10575 - Simulator remote-control | Very Low | Low |
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
A new version, depending on FS#10575
You'll notice the command list is littered with SLEEPS. This is to make it more stable, since Rockbox seems to randomly eat button presses - especially, it seems, while setting up menus. And yet, things are still not entirely predictable. Sometimes an event will go missing, and things blow up. Also amusingly, sometimes 2 screenshots will be created, messing up the entire thing.
That said, the attached *has* managed to correctly generate a set of screenshots for me.
The latest version - I haven't worked on it since August, but I think I neglected to update this task.