Search the Community
Showing results for tags 'setup'.
-
I've been meaning to make such a post for quite a while now but I always either put it off or thought it'd be too much work. Whatever the reasons, it simply never got done. So I thought I'd try to make an effort towards it and enrich it if people still have questions or some steps are missing/confusing. Don't forget to click on the pictures to show them full size. Windows guide Step 1: obtaining rb+ Even from the start there are multiple choices: you can either download the latest version from github or bitbucket, or download the latest installer. The difference between the installer version and latest is that the installer is generally lagging in features but is more stable and as bug free as possible. I'll cover the latest version for now and the installer at a later point. If you're proficient with git you can always clone the repository instead of downloading it, so keeping up to date will simply require a pull/merge action (also it's much faster to do pull/merges than downloading the archive from scratch every time just to update a few files, as is usually the case when updates are pushed). Otherwise, go to your favorite site: github or bitbucket. For github just press the "clone or download" button and "download zip" at the pop up. Save the zip file. Once the download is done, you can unzip the file pretty much wherever you like (and have permission to). You'll then have a lot of files inside a folder called "bcx-basic-jaguar". You can rename that folder too of course. Step 2: first steps You're now ready to start using the Basic! Open a Windows command prompt, cd to the location you unzipped the folder (for example type "cd c:\rb+" if you unzipped to c:\ and renamed the folder to rb+) and build a sample project by typing "build nyandodge". The project should build and virtualjaguar should appear on screen with the game running: [EDIT] If you're running 32bit Windows, you'll need to replace virtualjaguar.exe (inside the "bin" folder) with a 32bit version, latest releases are here. Thanks to neo for the heads up! (for what it's worth, I'm not using Windows command prompt, but instead I've switched to using cmder which is a reskinned ConEmu with some added stuff - so many choices again! Again, it's not mandatory to use conemu/cmder, simple cmd.exe will do the trick.) If you want to create a new project just go to the console again and type "build <myproject> new", replacing <myproject> with the name of your project (no spaces in the name please!). Building the project should give you something like this: Now you can navigate to the "projects" folder, open the folder that matches the name of your project, open <myproject>.bas and start editing the file! Keep the console open so you can rebuild the project every time you wish so. Step 3: streamlining If you stopped reading the guide on step 2 and started trying things out you'll soon realise that it switching between editor and console to edit and build can become tedious. So let's make this less painful! (note that all these steps are not mandatory, you can configure your own environment as it suits you if you think this is clunky). First of all, go and download Notepad++. It's free, open source (not that we care much!) and it's got a lot of neat features built in. After installing and running it, it's time to customise it. Open the plugin manager from the menu: Go to the "installed" tab and check if "NppExec" plugin is installed. If not, go to "Available" tab, find the plugin and install it. [EDIT] There are high chances you won't be able to see an available plugins list, and NppExec won't be available to you. If this happens then read neo's post and download the plugins manually. Let's add some syntax highlighting. Enable "Visual Basic" from the Language menu. It's not 100% matching the syntax of rb+ but it's good enough! [EDIT] Alternatively you can use OMF's syntax highlighting efforts. To install (thanks to Gemintronic for the test and guide): In Notepad++ go to "Define your language..." and use the [ Import ] button on the .xml file omf made In the "User Defined Language" window select Reboot Basic Plus and SAVE AS the language. I called it "rB+" Now in the languages menu drop down list you'll see "rB+". Select that like it's hot. Now, let's add the magic bits! Bring up the "execute" dialog from plugins->nppexec->execute menu or hit f6. Add the following 3 lines to the command prompt: npp_save CD $(CURRENT_DIRECTORY)\..\.. build.bat $(NAME_PART) This will save the current opened file, go to the rb+ top directory and build the code. A small window will also pop up at the bottom of the notepad++ window, informing you of the build process. So you can catch any errors or warnings there. After the first time you do this you should be able to hit ctrl-f6 to build instantly without having to open the dialog box again! Success! Finally, if you want to change the shortcut keys, go to the shortcut mapper dialog: Then click on "plugin commands" tab, scroll down till you find "execute" and "direct execute previous", click those, then "modify", then choose your favorite key or key combo (personally I use F7 for direct execute previous and never bother with execute). Done! Addendum 1: vim setup Well, you can't just hate something that originates from the Atari ST, can you? (if you don't believe me, just check out wikipedia) Love it or hate it vim is one of the most used editors on the planet, but there's so many extensions and "cool" stuff you can do with it that it bewilders a lot of people. Still, if you can stick to learning 10-15 shortcuts and tricks that's all you're going to need in your lifetime. So let me show you how you can build rb+ stuff with it like we do with Notepad++. First of all, vim auto detects the file syntax from the extension, so we were lucky to use the .bas extension! It uses some flavour of basic which is "good enough" for our purposes. However if anyone wants to try customising the syntax highlight - good luck and please share the results with the rest of us! Here's how it looks on my machine: Now vim being an old dinosaur does actually have support for compilation from the editor and opening a window with any errors and jumping into them. We just have to ask it politely! So open your vimrc file (this can be in various locations, on linux it should be ~/.vimrc, on Windows it's usually on c:\users\<username>\_vimrc) and add the following: """""""""""""""""""""""""""""""" " Lifted from https://hero.handmade.network/forums/code-discussion/t/709/p/4135 and hacked around a bit by ggn " Ensure the buffer for building code opens in a new view set switchbuf=useopen,split comp gcc " Build helper function function! DoBuildBatchFile() " build.bat set makeprg=build " Make sure the output doesnt interfere with anything " (ggn): the ! is needed so copen won't open a window with the first " warning/error silent make! " Open the output buffer "copen cwindow echo 'Build Complete' endfunction "Go to next error nnoremap <F6> :cn<CR> "Go to previous error nnoremap <F5> :cp<CR> " Set F7 to build. nnoremap <F7> :call DoBuildBatchFile()<CR> """""""""""""""""""""""""""""""" So what does that do? Firstly it defines some mumbo jumbo vimscript function to tell it to execute a file called build.bat - this should be on the same directory vim was run from, so typically the directory your .bas file exists. Then it maps key F7 to do run build.bat and if any errors occur, open a window to show them. (that window can be opened using :copen regardless). In the case of errors, F5 and F6 will jump to the previous and next site of error. Beware though, this will jump at the translated .c file, not our .bas file! So there might be some initial confusion about this at first but it is usuable with a bit of practice . Before trying this out though you also need to create a build.bat file. Here's what I use: cd ..\..\ call build myproject And that's it. Of course you can extend this to have multiple build.bat files and map different keys to run them - for example you might want a clean build, or build+send to skunkboard, or just build (BOSSMODE). Addendum 2: 4coder setup 4coder is an up-and coming editor developed by a single person (Allen Webster). While it's focused on C/C++ so far it has been my main editor for a few months now. I quite like the smooth scrolling, quite sensible defaults, and keybindings, although learning to select/copy/paste can be bewildering at first! Also it's commercial with a demo version free to try which is currently what I use. It still has a few nuiances which I've pointed out to the author and it's nice to see they'll get addressed so I'll quite possibly buy this soon. Anyway, it turns out it's quite easy to use with rb+. There's no syntax highlight for it yet (although it really doesn't bother me) but you can automate your builds easily. It turns out that the editor actually has a built-in shortcut to call a "build.bat" as the author is a fan of this method! So simply use the sample build.bat I mentioned above in the vim section and hit alt-m. That's it! Done! That's the end of the guide for now. If things are missing or are still not clear, leave a comment below and I'll address and update this post when possible.
- 23 replies
-
- 14
-
- raptor basic+
- rb+
-
(and 2 more)
Tagged with:
-
Hi everyone, I just opened my box with my Amiga CD32 and SX1 in it here in Melbourne, Australia. It has been sitting in the box for 20 years. I've connected it up to a small TV via composite plugs (yellow video and red/white audio) and it works! I plugged the floppy drive into the SX1 and have got a few disc games working. (Ones that are compatible for A600/ 1200 AGA anyway. Some won't load). Some of them however require a keyboard. Could someone please recommend which keyboard to get for my CD32 SX1? If I recall correctly I can plug it into either the AUX port on the CD32 or the AT KBD port on the SX1. Any other ideas to maximise my enjoyment with my new entertainment would be greatly appreciated :-) Thanks Adam
-
From the album: Smelly's Setup
Here's my setup with all of my cart games and some of my consoles. From clockwise starting in the top left we have the Pikachu Nintendo 64, Sega Dreamcast, Playstation 1, Toploader NES, Model II Genesis, and a 4-switch Atari 2600. They all get their use, and I constantly am making sure the area itself is clean/dust-free.© SmellyJelly
-
- Retro
- Collection
- (and 4 more)
-
From the album: Darth Duke's Atari Corner
My gaming setup with a bit more light. I love the art on the boxes and manuals, so I display it on the wall above my system. My wife helped me put the manuals in a neat framed collage so they wouldn't get damaged. I wish I still had all of the manuals and boxes, but these survive.© DarthDuke 2016
-
Are you planning on building a Game Room? Are you looking for suggestions on storage and setup? I walk you through the solutions I have discovered including bookshelves, entertainment centers, storage bins, dust covers and even sexy colored LED lighting! This video is in response to the TONS of questions I get about this topic every single week. Hopefully it gives people some new ideas about their game rooms!
-
I have 40 years worth of game consoles connected to two televisions in my Game Room, one is a new HDTV & the other an older tube CRT TV. Here is how I connect them in detail. Equipment I Use: Monoprice 103027 4-Port Component Video Switch with IR Learning Gigaware Universal Gaming Component Cable With Switch 26-1542 Monoprice 6FT 4 in 1 Component Cable for Xbox 360, Wii, PS3 and PS2 Enko Mini Composite RCA CVBS AV to HDMI Converter (Input: AV; Output: HDMI) VGA S-Video Adapter [RETROBIT] for Dreamcast Everybody's Game Room is different. Is there a better way? How do you do it?
- 18 replies
-
- 4
-
To achieve a match of NTSC_A7800_CRT.pal under MESS 0.148 (Currently downloadable from here), make the following adjustments from default, ensuring hlsl is enabled: red_ratio 1.000000,0.300000,-0.300000 grn_ratio -0.150000,1.000000,0.150000 blu_ratio 0.150000,-0.150000,1.000000 saturation 1.500000 YIQ is disabled (As it is broken under 0.148) regarding the above values. Only title badly affected by this is Tower Toppler. If using another version of MESS with YIQ enabled, the above numbers need to be tweaked accordingly. If you fall into this category though, you're likely making adjustments to your display preference anyway including palette colors. MESS 0.148 has accurately stored the RAW video output of an NTSC Atari 7800 and you adjust video to personal preferences and experience as seen fit via slew of the video tweaks available. HLSL effects with all the bells and whistles turned on can require a relatively respectable graphics card. For just changing the above with no additional effects, a less powerful one is required. Most cards from the last 5 (Even as far back as ~7) years of a mid-level or better performance should suffice. See here for more details. To simplify things further for MESS here are all the files (BIOS, artwork, etc.) and basic settings you need for the palette NTSC_A7800_CRT working with hlsl. You want to unzip this archive in the same folder as your MESS executable: MESSA7800BASIC.zip Here is the same set of files with screen curvature, overscan, and scanlines: MESSA7800BELLS.zip Hope this is helpful.