azone windows fix
Ok here are the changes necessarry to make azone work in windows so that map files can be created from s3d files.
azone.cpp needs to open the s3d file in binary mode (i also tested this in RedHat 8.0, and this change did not affect it)
YOU MUST REMOVE ALL "_", other wise this would not post, even inside of "code" tags.
change
- F_I_L_E_ _*_s_3_d_f_ =_ f_o_p_e_n(bufs, "r");
to
+ F_I_L_E_ *_s_3_d_f_ = _f_o_p_e_n_(bufs, "rb");
in the azone.vcproj
from within the visusal studio, change "Use Managed Extensions" to No.
or from a text editor
change (inside of azone.vcproj)
ManagedExtensions="TRUE"
to
ManagedExtensions="FALSE"
(there are 2 places, one for debug and one for release)
Thanks
RangerDown and Belfedia for the info on
/forums/newthread.php
(I thought i cut it down enough but it was not enough)
|