|
|
|
|
|
|
|
|
SGT_FW
by Aku_Aku. 05/31/26 11:05
|
|
|
|
|
XTB
by pr0logic. 05/18/26 12:27
|
|
|
1 registered members (TipmyPip),
3,586
guests, and 5
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: bmap_load problem
[Re: Rei_Ayanami]
#314666
03/09/10 22:52
03/09/10 22:52
|
Joined: Sep 2009
Posts: 1,035 Budapest
Aku_Aku
Serious User
|
Serious User
Joined: Sep 2009
Posts: 1,035
Budapest
|
Please show the code for: - PATH
- PRAGMA_PATH
- open_bmap_str
- bmap assign
Another tip, try with another working bmap, what is the result...
|
|
|
Re: bmap_load problem
[Re: Aku_Aku]
#314689
03/10/10 09:09
03/10/10 09:09
|
Joined: Feb 2008
Posts: 3,232 Australia
EvilSOB
Expert
|
Expert
Joined: Feb 2008
Posts: 3,232
Australia
|
AFAIK bmap_load doesnt use PATH or PRAGMA_PATHs at all, cause its a DirectX function, just the current WORK folder.
To get it to go into the skins folder, your open_bmap_str needs to be "skins\\newDesign1.bmp". (so your printf should be displaying "skins\newDesign1.bmp")
"There is no fate but what WE make." - CEO Cyberdyne Systems Corp. A8.30.5 Commercial
|
|
|
Re: bmap_load problem
[Re: Rei_Ayanami]
#314743
03/10/10 16:56
03/10/10 16:56
|
Joined: Feb 2008
Posts: 3,232 Australia
EvilSOB
Expert
|
Expert
Joined: Feb 2008
Posts: 3,232
Australia
|
Ok then.... Try it with
bmap_load(temp_bmap, _chr(open_bmap_str), 0);
Failing that, give it try with this
bmap_load(temp_bmap, "C:\\Programme\\GStudio7\\work\\???\\skins\\newDesign1.bmp", 0);
just as a test...
"There is no fate but what WE make." - CEO Cyberdyne Systems Corp. A8.30.5 Commercial
|
|
|
Re: bmap_load problem
[Re: EvilSOB]
#314748
03/10/10 17:24
03/10/10 17:24
|
Joined: Feb 2009
Posts: 3,207 Germany, Magdeburg
Rei_Ayanami
OP
Expert
|
OP
Expert
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
|
Yeah! the second one, with the absolute path works... I also tried to create the absolute path myself, and it also worked  many thanks 
|
|
|
Re: bmap_load problem
[Re: Rei_Ayanami]
#314751
03/10/10 17:32
03/10/10 17:32
|
Joined: Feb 2008
Posts: 3,232 Australia
EvilSOB
Expert
|
Expert
Joined: Feb 2008
Posts: 3,232
Australia
|
Excellent it works. But why ... Im still curious.
Does your work folder have spaces in its name? And youve scrubbed over it in the snapshot ... why?
Based on "C:\\Programme\\GStudio7\\work\\???\\skins\\newDesign1.bmp", when we are talking about the "work" folder, do you mean the folder called "work" directly hanging off GStudio7, or do you mean the one where the "???" is? Which of these folders does your script live in? Thats the "work" folder.
"There is no fate but what WE make." - CEO Cyberdyne Systems Corp. A8.30.5 Commercial
|
|
|
Re: bmap_load problem
[Re: EvilSOB]
#314752
03/10/10 17:40
03/10/10 17:40
|
Joined: Feb 2009
Posts: 3,207 Germany, Magdeburg
Rei_Ayanami
OP
Expert
|
OP
Expert
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
|
the work is the ???-folder
and yes the real folder name of ??? contains a space ...
The name is a ~secret~ ^^
edit: Do you know why the image gets an odd scale change when i set the third parameter in bmap_load to 0 ?
As i wrote before, the image the bmap gets load in is 175*175 but the image after that has a not a 1:1-scale, no, it is everytime something else. And it isn't the original aspect ?!
Last edited by Rei_Ayanami; 03/10/10 18:09.
|
|
|
|