Gamestudio Links
Zorro Links
Newest Posts
Lapsa's very own thread
by Lapsa. 06/08/26 22:41
Stooq now requires an API key
by VHX. 06/08/26 20:14
ZorroGPT
by TipmyPip. 06/06/26 12:36
Zorro 3.01 recoded MMI function issue
by TipmyPip. 06/04/26 05:44
SGT_FW
by Aku_Aku. 05/31/26 11:05
Issues resuming trades on Demo account
by Martin_HH. 05/22/26 13:31
XTB
by pr0logic. 05/18/26 12:27
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (TipmyPip), 3,688 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Seraphinang, Koti, curry, DeepxKalsi, Samed
19219 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 3 1 2 3
Re: bmap_load problem [Re: Aku_Aku] #314652
03/09/10 20:38
03/09/10 20:38
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline OP
Expert
Rei_Ayanami  Offline OP
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
main.wdl

PATH "Models\\Low Poly";
PATH "Models\\Round";
PATH "Models";
PATH "Skins";
PATH "Grafik";

skin_edit.c

#define PRAGMA_PATH "Skins"


open_bmap_str = newDesign1.bmp

work_dir = C:\Programme\GStudio7\work\Rubic Cubic

game path = C:\Programme\GStudio7\work\Rubic Cubic

Re: bmap_load problem [Re: Rei_Ayanami] #314656
03/09/10 21:05
03/09/10 21:05
Joined: Sep 2009
Posts: 1,035
Budapest
Aku_Aku Offline
Serious User
Aku_Aku  Offline
Serious User

Joined: Sep 2009
Posts: 1,035
Budapest
Try this type of PRAGMA definition:
#define PRAGMA_PATH "%EXE_DIR%\\objects";

So include the %EXE_DIR%

Re: bmap_load problem [Re: Aku_Aku] #314661
03/09/10 22:29
03/09/10 22:29
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline OP
Expert
Rei_Ayanami  Offline OP
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Doesn't work either...

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 Offline
Serious User
Aku_Aku  Offline
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 Offline
Expert
EvilSOB  Offline
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: EvilSOB] #314735
03/10/10 16:38
03/10/10 16:38
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline OP
Expert
Rei_Ayanami  Offline OP
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
same problem...


maybe it is because i copy the picture before bmap_load to my skin folder...?

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 Offline
Expert
EvilSOB  Offline
Expert

Joined: Feb 2008
Posts: 3,232
Australia
Ok then....
Try it with
Code:
bmap_load(temp_bmap, _chr(open_bmap_str), 0);


Failing that, give it try with this
Code:
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 Offline OP
Expert
Rei_Ayanami  Offline 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 laugh

many thanks laugh

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 Offline
Expert
EvilSOB  Offline
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 Offline OP
Expert
Rei_Ayanami  Offline 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.
Page 2 of 3 1 2 3

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1