Jump to content


Visual Studio Issue


2 replies to this topic

#1 Stainless

    Member

  • Members
  • PipPipPipPip
  • 610 posts
  • LocationSouthampton

Posted 19 March 2012 - 11:05 AM

I am in the process of porting "Winnie The Pooh", .... please don't laugh... it's work ...

They use bespoke file formats for everything, which I have hacked. I have a tool that extracts all the graphics and saves them as nice clean PNG files.

My problem is that when I add them to my visual studio project, it opens them with paint.net

This may not seem to be an issue, but when you add 220 graphics at once it bricks my machine.

Does anyone know of a way of stopping VS opening files automatically?

This is really annoying.

Cheers guys

#2 TheNut

    Senior Member

  • Moderators
  • 1718 posts
  • LocationCyberspace

Posted 19 March 2012 - 09:05 PM

I haven't used the VC++ resource editor in a while (I prefer a 3rd party tool), but I don't recall adding bitmaps would open them automatically. It would only show the most recent one in the IDE icon/palette editor. I know if you double click on an item it will load it in the default editor. Perhaps you have to set a configuration option (see tools / options) or disable MIME support in Paint.NET for those files. Anyway, you can always manually add them to an RC file and header. It's just a simple addition IDI_APP_LARGE ICON ".\\app.ico", or replace ICON with BITMAP for bitmaps. Although dealing with that many images, it begs why you would want to include them as resources into the EXE? Virus scanners tend to check the entire executable, which can freeze explorer (or even Windows) while it's busy checking. Can you not just load them in as files or use a VFS?

Stainless said:

porting "Winnie The Pooh", .... please don't laugh... it's work ..
So long as at the end of the day you get a giant free plush doll of pooh bear. You know, the massive kind that's hard to get through the front door :) That would command respect for anyone entering your crib.
http://www.nutty.ca - Being a nut has its advantages.

#3 Stainless

    Member

  • Members
  • PipPipPipPip
  • 610 posts
  • LocationSouthampton

Posted 19 March 2012 - 09:24 PM

It turns out it's our VS plugin that opens the files, they aren't actually "resources" as they would be for win32, but they have to be in the project for the packing and encryption to work.

Quote

So long as at the end of the day you get a giant free plush doll of pooh bear. You know, the massive kind that's hard to get through the front door :) That would command respect for anyone entering your crib.



It's even sadder than that, my "crib" is a pub, I bought it a while back when I had this great idea about not having to pay for somewhere to live, having the place you live pay for you instead.

So now my customers are having to put up with "I have a rummbly in my tummy, I know what to do for that, I need honey!" coming from my office as they try to have a pint..... :wacko:





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users