Search results

  1. Parkydr

    Still Playing My Gp2X

    I still use my GP2X every day, mainly as an ebook reader.
  2. Parkydr

    Reputation System Ip.board

    It seems pretty pointless. It's like the ratings system on the archive all over again.
  3. Parkydr

    Ur-Quan Masters

    It's possible, it's already on the GP2X.
  4. Parkydr

    Script Woes

    If the version of vi you are using is based on vim and it's got dos endings, you'll get [dos] on the status line. do :se ff=unix to change it to unix
  5. Parkydr

    Chess2x / Gnugo2x

    I'll probably get a wiz a some point, but I'm broke at the moment. Someone's just had a second look at our house so I'm hoping the money situation will be better soon.
  6. Parkydr

    Howto: Graceful Exit Gpfce

    I don't class this as a hack, it's how I always run my GP2X programs. The menu shouldn't be called from inside the program as it means if the program crashes you don't return to the menu. The script also makes debug easier as stdout/err can be monitored or ignored as required.
  7. Parkydr

    Renaming Files With A Gpe Or Sh Script

    I would expect your script to be running as root, I doubt the wiz will have other users set up. Try pwd in termula I expect the current directory is where termula runs and cd ../.. gets you back to the root of your SD card. From the menu, I'd expect the current directory to be where the...
  8. Parkydr

    Renaming Files With A Gpe Or Sh Script

    Using semicolons just allow you to put the commands on one line, it should make no difference but I think I know what's going on. What editor are you using? Windows notepad? I wonder if you've got <cr><lf> on the end of your lines. Linux uses just <lf> If you try vi in termula, do you see...
  9. Parkydr

    Pickle For Guru

    Agreed :)
  10. Parkydr

    Renaming Files With A Gpe Or Sh Script

    I haven't got a wiz so I can't try it, but I'll try it on the gp2x when I get a chance Yes, you should call the menu an the end, I think that's why it sticks at the loading screen The change to .sub is wrong, the second parameter on basename is the suffix to remove. To change it to .sub it...
  11. Parkydr

    Renaming Files With A Gpe Or Sh Script

    I assume you want to rename all avi files? If so CODE for file in *.avi do mv "$file" "`basename "$file" .avi`" done to get back CODE for file in * do mv "$file" "$file".avi done but you might be better to change the extension to something that's not .avi rather than removing it...
  12. Parkydr

    Black Borders, Bezels, And Other Emusings.

    Just make the bezel a user definable image and provide a method of of selecting them, then everyone can have what they want :)
  13. Parkydr

    No Posts About The New "psp Go" ?

    You can bet they'll be extra anti-homebrew measures, but most people won't care, they'll just buy as much crap as Sony can shovel at them. It'll probably sell well, more's the pity.
  14. Parkydr

    How To Redirect Stdout To A File In C++

    Assuming the wiz works like the GP2X, you don't need to do any of the above, just write a script that runs your program redirecting stdout as in your original post. Edit: Jan-Nik beat me to it
  15. Parkydr

    How To Redirect Stdout To A File In C++

    You need to open a file and use dup2 to close STDOUT and replace it with your log file. Here's an example (no error checking included). I've used cout (printf is so C :)). CODE #include <iostream> #include <unistd.h> #include <fcntl.h> using namespace std; int main(int, char**) { int fd...
  16. Parkydr

    Powder2x V0.1 R111 Released

    It should work on the Wiz, I haven't got one though.
  17. Parkydr

    Powder2x V0.1 R111 Released

    Ok, I'll take all the credit then :D
  18. Parkydr

    Powder2x V0.1 R111 Released

    Thanks, but I did the original port of release 104, but Zear's the one who's been keeping it up to date.
  19. Parkydr

    Finally We Are Open Again

    Good to be back
  20. Parkydr

    Get Hando A Drink!

    Done - well deserved
Back
Top