flat assembler
Message board for the users of flat assembler.

Index > Windows > Resource Editor for FASM?

Author
Thread Post new topic Reply to topic
Raedwulf



Joined: 13 Jul 2005
Posts: 375
Location: United Kingdom
Raedwulf
Just wondering whether this has already been done or anyone interested with this idea - a resource editor for FASM.

Something similar to this:

RAResEd version 1.1.1.5
http://radasm.visualassembler.com/projects/projects.html

but generates fasm includes Smile

I know Fresh has is own system for GUI etc. but I was wondering for those(like me) who prefer plain resources and programming in FASMW.

Is anyone interested?

Or is there maybe a way without the use of a linker to add .res files
e.g. a macro system that emulates .rc ?

--------------------------------------------------------------------------------
These are only ideas fr when i have free time which i don't at the present ...well until i finish my other projects which should be soon Wink

_________________
Raedwulf
Post 31 Jul 2005, 20:41
View user's profile Send private message MSN Messenger Reply with quote
Tomasz Grysztar



Joined: 16 Jun 2003
Posts: 7755
Location: Kraków, Poland
Tomasz Grysztar
I'm just starting to write a section about resource macros in the Win32 Headers documentation and this has led me to reflection that all those macros have been uchanged since a very long time, and thus all use only elementary features that were present in even very early versions of fasm. So one may think that it's the high time to rewrite those macros, like the other macro packages were rewritten, to allow some sophisticated but simpler in use syntaxes.

However after all I though it might be better to leave them as they are - elementary bricks which needs sometimes much writing, but allow to compose the resource section just like you wish. And they also might be better for the resource editor you propose than any more sophisticated macros, which would be less "bricks" and more "quick solvers" doing much things automatically for you. As for the "quick solvers", there is of course support for the .RES files so you can use some external resource compiler/editor that suits you better - this also reduces the need to redesign the fasm's resource macros.

Thus I think I will leave them as they are and just finally document them in this new part of documentation (when it's finished, I will also attach it as an additional chapter in the PDF file distributed with fasm for Windows). And this documentation might also become very useful for you if you begin such kind of resource editor project.
Post 31 Jul 2005, 20:50
View user's profile Send private message Visit poster's website Reply with quote
Raedwulf



Joined: 13 Jul 2005
Posts: 375
Location: United Kingdom
Raedwulf
Yes I think the current macros do the job quite well and it would look so much better having a FASM-specific resource editor than a glued and cellotaped macro version while ignoring the old reosurce macros which do the same thing Smile
That's what I like about FASM - you can create a program without actually having to depend on anything else e.g. linkers,resource compilers etc.
Of course my Resource editor would be supplementary + optional not essential Smile
Post 31 Jul 2005, 21:07
View user's profile Send private message MSN Messenger Reply with quote
shoorick



Joined: 25 Feb 2005
Posts: 1607
Location: Ukraine
shoorick
with WinAsm Studio + last wafasm (1.0+) you can use usual .rc files with automatical generation of resource definition include file and use or rc compiler from masm32 package to compile it or any you want (i tested it with GoRc and borland resource compiler)

regards!

ps: here a couple of examples --


Description: examples for winasm/wafasm
Download
Filename: examples.zip
Filesize: 5.7 KB
Downloaded: 158 Time(s)


_________________
UNICODE forever!
Post 01 Aug 2005, 07:45
View user's profile Send private message Visit poster's website Reply with quote
Raedwulf



Joined: 13 Jul 2005
Posts: 375
Location: United Kingdom
Raedwulf
WinASM looks cool Smile I think I might use it from now on Razz
Post 01 Aug 2005, 10:21
View user's profile Send private message MSN Messenger Reply with quote
shoorick



Joined: 25 Feb 2005
Posts: 1607
Location: Ukraine
shoorick
welcome Smile
Post 01 Aug 2005, 12:39
View user's profile Send private message Visit poster's website Reply with quote
Reverend



Joined: 24 Aug 2004
Posts: 408
Location: Poland
Reverend
I am actually writing resource compiler/decompiler that will be able to output fasm specific "instructions". I mean the output would be correctly interpreted by fasm'a resource macros
But that's a long way to finish it, so don't await it now and soon Smile
Post 02 Aug 2005, 18:50
View user's profile Send private message Visit poster's website Reply with quote
shoorick



Joined: 25 Feb 2005
Posts: 1607
Location: Ukraine
shoorick
Reverend
do you wish to write complete graphic resource editor or just converter rc to fasm syntaxis? i think second would be enough for a while, and should be more simple (of course, coding needed anyway Smile - i already had such idea, but had no time to it yet)
Post 03 Aug 2005, 07:17
View user's profile Send private message Visit poster's website Reply with quote
OzzY



Joined: 19 Sep 2003
Posts: 1029
Location: Everywhere
OzzY
I think this resource converter RC->FASM macros would be very useful.

I was thinking of writing this kind of tool, but I have no idea on how to start + very low knowledge about the macros (just started to use them) + few time.

But if anyone is interessed, we could start a thread at "Projects and Ideas" (I think I've already started), and post contributions so we can grow this project together.
Post 27 Mar 2006, 17:50
View user's profile Send private message Reply with quote
oveja



Joined: 03 Mar 2004
Posts: 21
Location: Mexico
oveja
I think, A resource editor whit command line would be a option very useful. But only is a Idea. I think that would be as a Autocad style, that is, Graphic and Command line. I like mean that would be more control over the windows controls, in design, accuracy and drive of output data(like fasm macros, .rc style, fresh macros, etc).


Rolling Eyes What is your opinion?
Post 28 Mar 2006, 20:56
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger Reply with quote
Reverend



Joined: 24 Aug 2004
Posts: 408
Location: Poland
Reverend
I started writing such rc -> fasm macros converter. It's a lot of work, but I have a nice concept Smile. But first I have to write my matura exam this year so priority of this project is close to 0 Smile. When I will be free I'll return to this (I hope... Smile)
Post 29 Mar 2006, 09:23
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.