.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Cyborg Factory > YaPB
YaPB Yet another POD-Bot flavor by Whistler and Jeefo Counter-Strike

Reply
 
Thread Tools
YaPB compile - dll size is big? Help~
Old
  (#1)
szfzafa
Member
 
Status: Offline
Posts: 24
Join Date: Apr 2010
Location: Nanjing, PRC
Question YaPB compile - dll size is big? Help~ - 18-04-2010

*_* sorry 4 my poor English & coding skills...

I got the sourcecode from CSO-nst, the original yapb.dll is 182 KB in size, version: 2.0.0.864
I compiled the project with VS2005 but got at least 428KB even with perference for size..

Really want to know is it due to my wrong settings for the project? or I didn't have asm files(maybe generated in debug)?

Someone help me.. plz~~ thx~
  
Reply With Quote
Re: YaPB compile - dll size is big? Help~
Old
  (#2)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: YaPB compile - dll size is big? Help~ - 19-04-2010

try building with the "Release" configuration instead of the "Debug" one.
btw, I think the code you have is too old and maybe you can try the latest version instead -> http://code.google.com/p/yapb
  
Reply With Quote
Re: YaPB compile - dll size is big? Help~
Old
  (#3)
szfzafa
Member
 
Status: Offline
Posts: 24
Join Date: Apr 2010
Location: Nanjing, PRC
Default Re: YaPB compile - dll size is big? Help~ - 19-04-2010

Already built with the "Release" configuration, for "Debug" I got error - missing asm files(debug/asm/xxx.asm)
  
Reply With Quote
Re: YaPB compile - dll size is big? Help~
Old
  (#4)
szfzafa
Member
 
Status: Offline
Posts: 24
Join Date: Apr 2010
Location: Nanjing, PRC
Default Re: YaPB compile - dll size is big? Help~ - 19-04-2010

I downloaded the files from google code, compiled using VS2005, and got 576KB :'(
now i'm movin to VS2008..
  
Reply With Quote
Re: YaPB compile - dll size is big? Help~
Old
  (#5)
The Storm
Council Member / E[POD]bot developer
 
The Storm's Avatar
 
Status: Offline
Posts: 1,620
Join Date: Jul 2004
Location: Bulgaria
Default Re: YaPB compile - dll size is big? Help~ - 20-04-2010

You will see almost no any difference. About VS 2005-2008 - even in release mode still basic debug info is generated. You can turn it off on the C++ general settings by setting debug information format to disabled and also on the linker settings->debugging, select "no" on generate debug info. If the size is still big you are probably linking with the static C and C++ runtime, which you can change again from the C++ general settings->Code generation->Runtime library. You can switch to the DLL versions of the libraries but doing so you will have to install the VC++ redistributable package(~2MB) on each PC that you are going to use the bot.
  
Reply With Quote
Re: YaPB compile - dll size is big? Help~
Old
  (#6)
szfzafa
Member
 
Status: Offline
Posts: 24
Join Date: Apr 2010
Location: Nanjing, PRC
Default Re: YaPB compile - dll size is big? Help~ - 02-05-2010

Thanks for your detailed instructions~
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com