You are not logged in.

Read the FAQ and Knowledge Base before posting.
We won't make a 3DS/2DS emulator.



#1 2009-09-20 11:51:12

adipiciu
Member
Registered: 2009-09-20
Posts: 3

install from svn on Windows

I have read the FAQ, I have checked out with svn, opened the DeSmuME_2008.sln, set to Release and the builded the solution. The executable has around 3mb and when I open it it has a command line window attached to it. I think it has some debug info... Is there a debug parameter set or what? Also, the executable is named DeSmuME_VS2008_release.exe and not DeSmuME_VS2008_sse2.exe as it says in the FAQ. (SSE2 is enabled in the code generation option).

Offline

#2 2009-09-20 16:03:38

zeromus
Radical Ninja
Registered: 2009-01-05
Posts: 6,208

Re: install from svn on Windows

The naming of executables for public release is done manually.
The console window is opened unless #ifdef PUBLIC_RELEASE. Look for OpenConsole() in main.cpp
Naturally, I define this before making public releases.
The public releases are UPXed in order to make trouble for dumb people with virus scanners.
For what its worth, the public releases are also built with PGO so unless you do that too your build will run slower.

So you are doing everything right, you just dont know the secret release process. But now you do!

This is all subject to change at my whim.

Offline

#3 2009-09-20 16:59:28

adipiciu
Member
Registered: 2009-09-20
Posts: 3

Re: install from svn on Windows

Can you build the solution with PGO using VS Express? If it is possible, then how do you do it? 

Thanks for the info!

Offline

#4 2009-09-20 17:10:52

zeromus
Radical Ninja
Registered: 2009-01-05
Posts: 6,208

Re: install from svn on Windows

its not possible.

Offline

#5 2009-09-20 21:13:44

adipiciu
Member
Registered: 2009-09-20
Posts: 3

Re: install from svn on Windows

I have added #define PUBLIC_RELEASE in version.h. When I added it in userconfig (or defaultconfig), the application freezes when I load a game... I don't know why but I had traced the problem to this part of the code:

#ifndef PUBLIC_RELEASE
#ifdef EXPERIMENTAL_WIFI
    if(wifi.isTriggered())
    {
        WIFI_usTrigger();
        wifi.timestamp += kWifiCycles;
    }
#endif
#endif

There are other paramaters that I need to define? There isn't info about this in the FAQ. And this info should be helpful for noobs like me :)

I have another noob question. Do I have to do the PGO with every build? Or do I need just a file with priorities? I didn't use PGO before...

Edit: I have noticed that the processor load doesn't appear anymore in the title bar. It was removed?

Last edited by adipiciu (2009-09-20 21:17:55)

Offline

#6 2009-09-21 04:28:01

zeromus
Radical Ninja
Registered: 2009-01-05
Posts: 6,208

Re: install from svn on Windows

I use that code every day and it doesn't freeze for me. Try a different game I guess.

Thousands of people build the svn version with the defaults. I dont feel like documenting the nuances of the codebase which vary over time.

Every time you build you will have to PGO. But I recommend doing PGO just with the game you're about to play. Then it will only take a moment and thats all that matters, right?

The processor load was removed because I was tired of people getting it confused with some number that is any of their business to be concerned about, and asking about it.

Offline

#7 2009-12-29 08:25:23

fulltiltpokerbonus
Member
Registered: 2009-12-29
Posts: 1
Website

Re: install from svn on Windows

yea..it works fine for me too.. i have the same code here but i don't encounter freezing or what ever probs. maybe with the game itself or i don't know.. hmm zeromus is right, try another game maybe that will do for you. smile

Offline

Board footer

Powered by FluxBB