flat assembler
Message board for the users of flat assembler.

Index > Main > Where is fileres macro ?

Author
Thread Post new topic Reply to topic
Tyler Durden



Joined: 24 Feb 2004
Posts: 50
Tyler Durden 30 Aug 2005, 12:27
I'm trying to compile my OGL tutorial for FASM with new fasm 1.64, but it can't understand fileres macro Sad What's up with it ?

P.S. The tut is here

_________________
Image
Post 30 Aug 2005, 12:27
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
comrade



Joined: 16 Jun 2003
Posts: 1150
Location: Russian Federation
comrade 30 Aug 2005, 16:12
it is supposed to add resources from a ".res" file which is compiled with a utility like MS cvtres.exe
Post 30 Aug 2005, 16:12
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number Reply with quote
UCM



Joined: 25 Feb 2005
Posts: 285
Location: Canada
UCM 30 Aug 2005, 18:51
See this topic:
http://board.flatassembler.net/topic.php?t=3256
details there
Basically fileres is now resdata
and you put your data inbetween resdata and endres

_________________
This calls for... Ultra CRUNCHY Man!
Ta da!! *crunch*
Post 30 Aug 2005, 18:51
View user's profile Send private message Reply with quote
Reverend



Joined: 24 Aug 2004
Posts: 408
Location: Poland
Reverend 30 Aug 2005, 23:02
If you want resource from .res file you must do like this:
Code:
section '.rsrc' resource from 'rsrc.res' data readable writeable    
(I guess it might even be readable only)
Post 30 Aug 2005, 23:02
View user's profile Send private message Visit poster's website Reply with quote
Tyler Durden



Joined: 24 Feb 2004
Posts: 50
Tyler Durden 31 Aug 2005, 05:47
No, I just need to include any bin file to mine. Btw, the "resdata" changes it somehow, so i can't include 3d model... it's messing up... wtf ? (other resources, sush as textures, included perfectly)


Description: It means to be an x-wing :)
Download
Filename: varrays.zip
Filesize: 585.15 KB
Downloaded: 512 Time(s)


_________________
Image
Post 31 Aug 2005, 05:47
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Tyler Durden



Joined: 24 Feb 2004
Posts: 50
Tyler Durden 31 Aug 2005, 13:23
Oppps ! Sory Smile I don't really need all that "fileres", just "file" works fine (and "fix" the "bugs" with textures offset)... New version of tutorial is here.

_________________
Image
Post 31 Aug 2005, 13:23
View user's profile Send private message Visit poster's website ICQ Number 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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.