Rc Files

BlitzMax Forums/BlitzMax Programming/Rc Files

Proger(Posted 2005) [#1]
How make rc files (resources) for minGW?
need for include in game icons, dialog box, cursors... and e.t.c


Proger(Posted 2005) [#2]
Hei...Really nobody does not know?


skidracer(Posted 2005) [#3]
http://www.nitrologic.net/simon/maxicons.zip

I made the .res file in micrsoft visual studio.

Included also is a makeicons.bat file that converts .res to .o so you can build the included example of importing win32 resourcefiles into blitzmax applications. Feel free to use the included .res file as the basis of your own resource, reshacker and the like should allow you to append stuff to a .res file for free.


Proger(Posted 2005) [#4]
thx for help.
4 steps to include res file
-------------------------------
1) download ResEditor here:
http://www.parinyasoft.com/download/MinGWStudioSetup-2.05.exe
-------------------------------
2)Create rc file in editor
-------------------------------
3) compile resources
C:\MinGW\bin\windres -o myres.o myres.rc
-------------------------------
4) in game write
Import "myres.o"

-------------------------------
Now possible easy connect ico files ;)
PS I showed in game Windows dialog :)