urielkama
2016-03-16T16:53:52Z
Hello a user of this Forum asked for a guide how to build up ygopro. Cause of some ocgcore Research and testing interest i wanted to create also a custom Client of mine and went true few complex steps on how to this but i were able at last to create a Client which i modified for a New Custom Rule , but what it is i cant tell you for now its Feature that might steel or percy will add, i guess it will be used for the custom Server but i dont know. So back to the guide i will try to structure it into some Topics or Points for Feedback reference so we can easily jump to an issue or Problem which occure.


So thats the guide if you have any questions dont hesitate to ask me, also if you have contributions or improvements post them here and you can discuss everything related to ygoprocore custom here. Maybe visual materials like images will be added soon.
Whereami01
2016-03-18T13:16:01Z
Thanks for this guide!

can you post bigger pictures so that i can see things more clearly.

i am a bit confused on how to get the cards.cdb part can you document that step and link me to the ygopro percy database.

i tried executing the comand in cmd: premake5 vs2015 without the cards.cdb it came out successfully with a build folder which i opened with visual studio 2015 i tried debuging but it came up with this error:

Unable to start program c:\users\...\build\...\bin\debug\freetype.lib
C:\Users\...\build\...\bin\debug\freetype.lib is not a valid Win32 application.

Other than that you can just shift and right click a folder and choose option open command window here and just execute premake4 vs2010 you might need to have premake in your windows folder.

Could the problem i am running into come about because i executed premake5 vs2015 instead of premake4 vs2010 and i am without cards.cdb?
urielkama
2016-03-18T14:27:03Z
Originally Posted by: Whereami01 

Thanks for this guide!

can you post bigger pictures so that i can see things more clearly.

i am a bit confused on how to get the cards.cdb part can you document that step and link me to the ygopro percy database.

i tried executing the comand in cmd: premake5 vs2015 without the cards.cdb it came out successfully with a build folder which i opened with visual studio 2015 i tried debuging but it came up with this error:

Unable to start program c:\users\...\build\...\bin\debug\freetype.lib
C:\Users\...\build\...\bin\debug\freetype.lib is not a valid Win32 application.

Other than that you can just shift and right click a folder and choose option open command window here and just execute premake4 vs2010 you might need to have premake in your windows folder.

Could the problem i am running into come about because i executed premake5 vs2015 instead of premake4 vs2010 and i am without cards.cdb?



I try to post bigger Pictures, i stopped adding some after i recognize that sorry for that, the Problem is indeed premake5 vs2015, type premake4 vs2010 the Programm will update them to the current visual Studio after you open ygo.sln, the Cards.cdb i guess isnt required to copy/paste with the other independience i guess it was choose to participate when you debug ygopro to directly test it, but if you do step 8 everything will be together to test it right after Debugging. Also take care that bin Folder is not in your build Folder otherwise you Change the Location in the premake4.lua file of freetype .
Whereami01
2016-03-18T20:30:10Z
i did manage to complete almost all the steps even step 7 By debuging the ygopro the client opened with no problems.

i did get a problem at step 8 when opening the ygopro.exe blank white window opens for a millisecond then disappears

Here is the custom folder of step 8 

i think the problem might be because i dont have any folder called: Single

How did you get that folder and how do you know all this?
urielkama
2016-03-19T09:35:28Z
Originally Posted by: Whereami01 

i did manage to complete almost all the steps even step 7 By debuging the ygopro the client opened with no problems.

i did get a problem at step 8 when opening the ygopro.exe blank white window opens for a millisecond then disappears

Here is the custom folder of step 8 

i think the problem might be because i dont have any folder called: Single

How did you get that folder and how do you know all this?



https://github.com/Fluorohydride/ygopro/wiki/build , there you find also a tutorial to build the dependencies by yourself too, but that alonger tutorial, with the premade dependencie builds it goes faster and you must only add the .lib files to ygopro, with the longer Version you must also add the Header and source files to build each dependencie within ygopro.
Whereami01
2016-03-19T10:08:22Z
from looking at the Fh guide on github build section  it seems like building same thing in Arch Linux x86-64 is alot faster and simpler you just do this:

sudo pacman -S gcc make premake freetype2 libevent sqlite irrlicht lua git
https://github.com/Fluorohydride/ygopro.git 
cd ygopro
premake4 gmake
make -Cbuild
(game is in bin/debug)

is this true that in arch linux it would be alot easier and faster to make custom ygopro client than windows since you dont need to manualy build dependencies?
urielkama
2016-03-19T10:24:23Z
Originally Posted by: Whereami01 

from looking at the Fh guide on github build section  it seems like building same thing in Arch Linux x86-64 is alot faster and simpler you just do this:

sudo pacman -S gcc make premake freetype2 libevent sqlite irrlicht lua git
https://github.com/Fluorohydride/ygopro.git 
cd ygopro
premake4 gmake
make -Cbuild
(game is in bin/debug)

is this true that in arch linux it would be alot easier and faster to make custom ygopro client than windows since you dont need to manualy build dependencies?



Its the same i guess cause its a guide to build the dependencies and ygopro Client , for any System you must build them first.
urielkama
2016-03-28T17:22:06Z
Finally i added some Images, click on them to go to the upload side to watch the Images in higher Resolution.^^
FTON
  • FTON
  • Advanced Member
2016-03-28T17:39:49Z
Great guide, this should be helpful![:thumbu:]
urielkama
2016-03-28T17:40:39Z
Originally Posted by: FTON 

Great guide, this should be helpful![:thumbu:]



No Problem 😃.