Spectrum Next - Browser Basics Part 3 - Runnable Folders/Directories

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 พ.ย. 2024

ความคิดเห็น • 7

  • @TomMannCenturia
    @TomMannCenturia ปีที่แล้ว +2

    I really have only scratched the surface with my Next, can't wait to get playing with it again. These videos are so useful. Look forward to everyone getting their 2nd run Nexts so the community grows even more.

  • @coryengel
    @coryengel ปีที่แล้ว

    Is there a command to make a directory NOT runnable (i.e., a single command that would both remove the .run extension from the directory name, AND delete the run.bas file from the directory)? Or does reversing the make runnable command require these two manual steps?

    • @SpectrumNextStuff
      @SpectrumNextStuff  ปีที่แล้ว +1

      Just the rename is needed. Removing .run from the directory name.

  • @RichardHallas
    @RichardHallas ปีที่แล้ว

    It’s a pity that you totally overlooked the documentation feature associated with runnable directories. If there’s a ReadMe file of the same name as the executable file (e.g. if you’re invoking Make Runnable on a file called ‘game.nex’, and there’s also a documentation file called ‘game.txt’ or ‘game.gde’), then when you make the directory runnable, the documentation is processed as well. That means that if the documentation isn’t a Next Guide file already (i.e. for ‘game.txt’), then a Guide file will be created from the text file automatically, and (b) the Browser will be able to launch the Guide file for you if you press G with the runnable directory highlighted. So, to recap, ideally you want a single executable for your game and a single document containing instructions (either plain text or an existing Guide file). Both files should have the same name but different extensions (.nex or .tap for the game; .gde or .txt for the documentation). Select the executable and invoke Make Runnable. The enclosing folder is made runnable (.run extension is added) and files are created to launch both the game itself AND its documentation. So subsequently, with the runnable directory highlighted in the Browser, you can either press Enter to launch the game/utility or press G to open its documentation in Next Guide. It’s extremely useful, as it makes running things far easier, it makes documentation much more accessible, it removes the need to go hunting through masses of files to find the right one to load, and it makes software much more portable because you can just move/copy a single ‘application folder’ to distribute/install a complete set of files relating to a single game or utility. Developers would be well advised to actually supply software in this format to make life easier for everyone. NB Once a directory has been made runnable, you can still easily access its contents by pressing Symbol Shift and Enter.

    • @SpectrumNextStuff
      @SpectrumNextStuff  ปีที่แล้ว

      It’s not a pity, I do this for free :)

    • @RichardHallas
      @RichardHallas ปีที่แล้ว

      @@SpectrumNextStuff Congratulations on losing yourself a new subscriber! :-)

    • @SpectrumNextStuff
      @SpectrumNextStuff  ปีที่แล้ว

      @@RichardHallas woohoo! :)