Jump to content


Photo

Guide: Screenshots


  • Please log in to reply
37 replies to this topic

#31 urjaman

urjaman

    "I Know. We're going for a ride."

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 680 posts
  • Gender:Male
  • Location:Finland

Posted 01 September 2010 - 09:48 PM

"./name.sh"

FTFY

#32 sebt3

sebt3

    homebrew player (P. & C.)

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 1897 posts
  • Gender:Male
  • Location:QC

Posted 01 September 2010 - 10:27 PM

is the message "Bash: /bin/bash^M:Bad Interpreter :no such file or directory"

Editing the script on Windows I guess :P
try a dos2unix on your script (not sure if that is avail on the pandora)
Else edit it directly on your P. :P

#33 urjaman

urjaman

    "I Know. We're going for a ride."

  • GP32 Hardcore
  • PipPipPipPipPipPip
  • 680 posts
  • Gender:Male
  • Location:Finland

Posted 01 September 2010 - 10:46 PM


is the message "Bash: /bin/bash^M:Bad Interpreter :no such file or directory"

Editing the script on Windows I guess :P
try a dos2unix on your script (not sure if that is avail on the pandora)
Else edit it directly on your P. :P

:huh: I guess I'm too linux'd. I couldnt even guess that it might be with windows line endings, even though it is obvious now. (I actually just skimmed "no such file or directory"...)

Edited by urjaman, 01 September 2010 - 10:46 PM.


#34 Chaser

Chaser

    GP Mania

  • GP32 Hardcore
  • PipPipPipPipPip
  • 408 posts
  • Gender:Male
  • Location:Manchester
  • Interests:Retro consoles

Posted 02 September 2010 - 01:14 AM

Cheers for the help . I had copied the script on my laptop then over to the panda, as I cant seem to highlight sometimes and forgot to redo it afresh. All sorted now and writing to sd directories, very useful ty all :)

#35 daniel3000

daniel3000

    GP32 User

  • Members
  • PipPipPip
  • 38 posts

Posted 02 September 2010 - 02:02 PM

I've bin having a bash at this script but with no joy joy. Anyone else managed to get this working?
All I get from the terminal when attempting to run it via "./ name.sh" is the message "Bash: /bin/bash^M:Bad Interpreter :no such file or directory" or thereabouts, as I cant wrestle my kid off Charlie Blast's Territory to re-check it, as I just lost my prior post. :)

Would be a handy script to hotkey.


The ^M indicates that you seem to have saved the script with a Windows editor or something like that, because the line endings are not Linux compliant (CR/LF instead of LF only).
Try to convert the file somehow. Maybe load it into a Linux editor which is capable to recognize CR/LF correctly and save it again. I am not sure if e.g. nano does that correctly.

Or use a Windows editor such as Notepad++ which can be configured to save with LF line endings.

Daniel

#36 valhalla

valhalla

    GP32 Hardcore

  • GP32 Hardcore
  • PipPipPipPip
  • 239 posts

Posted 02 September 2010 - 06:26 PM

Oh well. I thought dumping a script into /usr/bin was bad form. Thanks for correcting me :)

I edited all my guides anyway.


Actually, it is bad form to dump anything in /usr/bin, since it is supposed to contain executables (and scripts) installed by the package manager; the best place for such a script would be either /usr/local/bin (/usr/local is for anything installed from sources or otherwise not using package managers) or somewhere in home, e.g. ~/bin

#37 Mycohl

Mycohl

    Member

  • Members
  • PipPip
  • 10 posts

Posted 05 February 2011 - 08:52 AM

I hope you don't mind SomeGuy99, but I have included your snapsnap script in the default scripts for my pndhotkey utility, which I posted here.

I think that it will work inside a full-screen game/emulator even under minimenu with this system, but any feedback to the contrary would be appreciated.

#38 Middo

Middo

    GP32 User

  • Members
  • PipPipPip
  • 82 posts
  • Gender:Male
  • Location:Cairns, Australia
  • Interests:Pandora

Posted 28 March 2011 - 12:02 PM

Awsome guide. Added it to bookmarks page!

Quake 3 screenshot attached.
Attached File  screen110328-213302.png   414.52K   14 downloads