[RIC] Converting Images to NXT Picture Files (.ric)

Discussion specific to NXT-G, NXC, NBC, RobotC, Lejos, and more.
afanofosc
Site Admin
Posts: 1256
Joined: 26 Sep 2010, 19:36
Location: Nashville, TN
Contact:

Re: [RIC] Converting Images to NXT Picture Files (.ric)

Post by afanofosc »

It looks like it doesn't like the special folders under Libraries in the tree. Normal folders below any of those special folders work fine and the same folder approached via other means works fine too.

Libraries\Pictures doesn't work but folders below there work fine and Hansen, John\My Pictures works fine too - which is the same location as Libraries\Pictures.
import.jpg
John Hansen
Multi-platform LEGO MINDSTORMS programming
http://bricxcc.sourceforge.net/
h-g-t
Posts: 552
Joined: 07 Jan 2011, 08:59
Location: Albania

Re: [RIC] Converting Images to NXT Picture Files (.ric)

Post by h-g-t »

I was accessing the files through the 'my computer' link.

I binned the copy I had, got a new one direct from the site and this time put it on the C drive - no difference, will still only show the folders, not the files.

Thanks for trying, John, but just forget it. I'll work round the problem.
A sophistical rhetorician, inebriated with the exuberance of his own verbosity, and gifted with an egotistical imagination that can at all times command an interminable and inconsistent series of arguments to malign an opponent and to glorify himself.
nxtboyiii
Posts: 366
Joined: 02 Oct 2010, 07:08
Location: Everywhere

Re: [RIC] Converting Images to NXT Picture Files (.ric)

Post by nxtboyiii »

I know why it doesn't work!! You have to rename the pictures with a double file extension. For example, if it is example.png, then rename it on windows 7 example.png.png.png
Thanks, and have a nice day,
nxtboy III

programnxt.com
h-g-t
Posts: 552
Joined: 07 Jan 2011, 08:59
Location: Albania

Re: [RIC] Converting Images to NXT Picture Files (.ric)

Post by h-g-t »

I kept searching and found some advice about nxtricedit at
http://malektips.com/windows-7-view-fil ... sions.html

1. Click the "Start" button, type folder options and click the "Folder Options" link that appears.
2. When the "Folder Options" multi-tabbed dialog box appears, click the "View" tab.
3. Uncheck "Hide extensions for known file types".
4. Click "OK" to close the dialog box.

I did this and immediately my graphic files were visible! I think the problem arises because on earlier versions of Windows the default was to show the extensions.

A lot easier than renaming the files you want to use and you can always reset the file extensions to 'hidden' when you have finished.
A sophistical rhetorician, inebriated with the exuberance of his own verbosity, and gifted with an egotistical imagination that can at all times command an interminable and inconsistent series of arguments to malign an opponent and to glorify himself.
bungeshea
Posts: 207
Joined: 14 Aug 2011, 08:45
Location: Australia
Contact:

Re: Converting Images to NXT Picture Files (.ric)

Post by bungeshea »

muntoo wrote:
All I have to say is, the NXT-G 2.0 may be easier, but my method will probably produce better quality images. If you can call removing quality from the image and turning it monochrome "quality".
Actually, I hardly ever use the Image Editor in NXT-G 2.0 (especially not for sprites) because it saves all of the unused space with the image, so if you had a picture that was 20x10 pixels, it would save as 100x64 pixels. Instead I use the compress image function on nxtRICeditV2. Also say you were making a Mario game and you had a sprite of Mario, a goomba, a cloud and a brick all on the screen at the same time, all constantly moving. Mega screen flicker. A good example of what not to do concerning sprite ric files is here.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests