Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /storage/content/49/145849/famitracker.com/public_html/forum/classes/dbHandler.php on line 29 FamiTracker
Login:
Menu:
Post: Author:
FamiTracker > General > Source and development > FamiTracker source code modification question Owner: UltrasonicCraze New post
Page 1 of 1 Sort:  
FamiTracker source code modification question Posted: 2015-02-05 23:57  (Last Edited: 2015-02-06 00:43) Reply | Quote
UltrasonicCraze

Avatar

Member for: 3467 days
Location: European Union
Status: Offline

#65441
(I know there's a very similar thread about this, I just didn't want to necrobump)

I have been trying to look around at FamiTracker's source code using Microsoft Visual C++ 2008 Express and I was having problems experimenting with changing variables (the same problem detailed in [url=http://famitracker.com/forum/posts.php?id=5496]this thread).

At the end of the forum post, poodlecock states that DLLs can be used to add support. I tried downloading mfc90.dll from dll-files.com, giving it its own directory and adding that directory to the 'Include files' list in Tools > Options > Projects and Solutions > VC++ directories and Visual C++ still claims that hhc cannot be found when trying to compile.

Does anyone know how to help? I would like to avoid buying the Professional Edition if at all possible.

Many thanks in advance
UltrasonicMadness

Edit: By the way, I'm using the 0.4.6 source if that is of relevance, although I had errors with 0.4.4 as well.

_______________________
Also known as UltrasonicMadness on other sites.
Posted: 2015-02-06 07:59 Reply | Quote
jfbillingsley

Avatar

Member for: 2770 days
Status: Offline

#65449
I tried futzing around with getting FamiTracker to compile with VS Express but it's ultimately a waste of time.

Microsoft recently released what is basically the full version of VS, but for free. It includes MFC and the help compiler and all the other junk that FT needs to compile. You can get it here: http://www.visualstudio.com/en-us/products/visual-studio-community-vs

Posted: 2015-02-06 17:34  (Last Edited: 2015-02-06 18:16) Reply | Quote
UltrasonicCraze

Avatar

Member for: 3467 days
Location: European Union
Status: Offline

#65454
So it wouldn't make a difference if I'm using later versions of Visual Studio, Microsoft Foundation Class and the DirectX SDK than the one FamiTracker was written with? I should mention that I'm using Windows XP.

Edit: Tried Visual Studio Community in XP, it claimed that I needed a more recent version.

_______________________
Also known as UltrasonicMadness on other sites.
Posted: 2015-02-06 20:25 Reply | Quote
jsr
Administrator

Avatar

Member for: 5925 days
Location: Sweden
Status: Offline

#65455
I'm pretty sure you need the full version to compile.

What variables do you want to change?

_______________________
Programmer and developer
Posted: 2015-02-06 20:29  (Last Edited: 2015-02-06 20:29) Reply | Quote
jfbillingsley

Avatar

Member for: 2770 days
Status: Offline

#65456
It shouldn't matter. I compiled FT with VS Community 2013 just fine.

Of course I'm on Win7 so VS Community worked... not sure how to get it done on XP. If you CAN get all the dependencies (MFC, help compiler, DX SDK) installed for use with VS Express somehow, it should work! It's either that or getting a real copy of Visual Studio, but good luck finding a version that'll work on XP these days.

Posted: 2015-02-07 00:15 Reply | Quote
UltrasonicCraze

Avatar

Member for: 3467 days
Location: European Union
Status: Offline

#65464
I wasn't wanting to change specific variables, I was just wanting to see the source code and mess about to see what affects what. Nothing at all like [url=http://hertzdevil.info/programs/]0CC-FamiTracker or any of that.

_______________________
Also known as UltrasonicMadness on other sites.
Posted: 2015-02-07 05:54 Reply | Quote
jfbillingsley

Avatar

Member for: 2770 days
Status: Offline

#65468
I'm not sure what you're looking to do... what do you mean by "change specific variables"?

As for "messing around to see what affects what", I'm guessing you want to actually change the code? If so, you have to be able to build the project.

Posted: 2015-02-07 09:58  (Last Edited: 2015-02-07 09:58) Reply | Quote
UltrasonicCraze

Avatar

Member for: 3467 days
Location: European Union
Status: Offline

#65473
That was a response to jsr, I assumed he thought that I'd 'planned' what I wanted to do with the source.

_______________________
Also known as UltrasonicMadness on other sites.
Posted: 2015-02-08 14:15 Reply | Quote
UltrasonicCraze

Avatar

Member for: 3467 days
Location: European Union
Status: Offline

#65502
Okay, I have obtained a version of Visual Studio that returns this error and stops compiling.

[quote=Visual Studio]Error 1 fatal error C1083: Cannot open include file: 'boost/scoped_array.hpp': No such file or directory l:\ftsauce\source\compiler.cpp 21 FamiTracker
[/quote]

Any help is appreciated

_______________________
Also known as UltrasonicMadness on other sites.
Posted: 2015-02-08 15:40 Reply | Quote
Roflo

Avatar

Member for: 2973 days
Location: Germany
Status: Offline

#65507
You have to download the 'boost'-library.

Posted: 2015-02-08 23:04 Reply | Quote
UltrasonicCraze

Avatar

Member for: 3467 days
Location: European Union
Status: Offline

#65530
Seems to be working now. I assume all of the debug stuff is supposed to be there when compiled?

Many thanks and regards
UltrasonicMadness

_______________________
Also known as UltrasonicMadness on other sites.
Posted: 2015-02-09 22:03 Reply | Quote
UltrasonicCraze

Avatar

Member for: 3467 days
Location: European Union
Status: Offline

#65583
Never mind, changed the Configuration in the Configuration Manager available under the build menu from 'Debug' to 'Release'.

Thanks for everything!

_______________________
Also known as UltrasonicMadness on other sites.
Page 1 of 1 Sort: