It is currently Mon Feb 18, 2019 10:41 pm

All times are UTC - 7 hours





Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Wed Jan 30, 2019 5:24 am 
Offline
User avatar

Joined: Thu Aug 13, 2015 4:40 pm
Posts: 374
Location: Rio de Janeiro - Brazil
I have downloaded fceux 2.2.3 src from here, but I can't figure out what's needed to compile it (consider I'm a total newbie).
It seems to have visual studio 2010 v100 compatible project files, but I don't have vs 2010 and microsoft says it is not for me. I have vs 2017 but refactoring the solution expectedly generate hundreds of errors. Is there a simpler way than using visual studio?

What I want to do: change a few things on the debugger window, for personal use. Exactly how I want to change it:
Image

_________________
https://twitter.com/bitinkstudios <- Follow me on twitter! Thanks!


Last edited by nesrocks on Wed Jan 30, 2019 8:21 am, edited 1 time in total.

Top
 Profile  
 
PostPosted: Wed Jan 30, 2019 7:25 am 
Offline
Formerly Fx3
User avatar

Joined: Fri Nov 12, 2004 4:59 pm
Posts: 3176
Location: Brazil
Code:
To compile and install FCEUX for SDL, follow the instructions in the README-SDL.md file.

Users of Microsoft Visual Studio can use the solution files within the vc directory.
These solution files will compile FCEUX and some included libraries for full functionality.

CMake has been depreciated in favor of scons.  However, if you wish to use it you can find the old cmake build files in the ~attic.

From the file README-SDL:
Code:
1 - Requirements
----------------
* libsdl1.2 - It is strongly recommended that you upgrade to the latest
   version of sdl (1.2.15 at the time of writing).
* scons - Required to build fceux.
* libgtk2.0 (optional) - version >= 2.24 recommended
* libgtk3.0 (optional) - this compiles as of fceux 2.2.0
* liblua5.1 (optional)
* libgd (optional) - required for LOGO and CREATE_AVI options (https://bitbucket.org/libgd/gd-libgd/downloads)
* minizip (optional) - you may chose to use the version of minizip on your system by enabling SYSTEM_MINIZIP in the SConstruct
* c++ compiler -- you may use g++ from gcc or clang++ from llvm.


Top
 Profile  
 
PostPosted: Wed Jan 30, 2019 7:43 am 
Offline

Joined: Sun Sep 19, 2004 11:12 pm
Posts: 21101
Location: NE Indiana, USA (NTSC)
This is to compile the SDL version, which has no debugger whatsoever (unless you count debugging the emulator itself in GDB as an indirect means of debugging the ROM).


Top
 Profile  
 
PostPosted: Wed Jan 30, 2019 7:52 am 
Offline
User avatar

Joined: Thu Aug 13, 2015 4:40 pm
Posts: 374
Location: Rio de Janeiro - Brazil
tepples wrote:
This is to compile the SDL version, which has no debugger whatsoever (unless you count debugging the emulator itself in GDB as an indirect means of debugging the ROM).

That's no good then, my goal is rom hacking and rom mapping. What's my alternative for adjusting fceux's debugger UI?
edit: I've found and am installing a Microsoft Visual Studio Ultimate 2010, not sure if that will do.
edit2: Success!! With that it compiled perfectly! Now to do the changes. To anyone wondering, I got it from here https://download.cnet.com/Microsoft-Vis ... 50998.html
edit3: okay that was quick ^^ https://twitter.com/bitinkstudios/statu ... 5763596288

_________________
https://twitter.com/bitinkstudios <- Follow me on twitter! Thanks!


Top
 Profile  
 
PostPosted: Thu Jan 31, 2019 1:58 pm 
Offline
User avatar

Joined: Sun Jan 22, 2012 12:03 pm
Posts: 7210
Location: Canada
The current github version compiles "right out of the box" for me with VS2017 community, just open the .sln and build.
https://github.com/TASVideos/fceux

I used to use VS2010 express just fine with it in the past, similarly without having to install anything extra, though I was normally getting code from its (now defunct) Sourceforge SVN.

Never tried the source files hosted on the website itself though.


Top
 Profile  
 
PostPosted: Thu Jan 31, 2019 2:05 pm 
Offline
User avatar

Joined: Thu Aug 13, 2015 4:40 pm
Posts: 374
Location: Rio de Janeiro - Brazil
That's interesting. I openend the solution but to compile it is asking me to install Windows SDK 8.1. I'm installing that now.
Anyway, I got a lot done already, the UI now is waaaaay more suited for my romhacking needs, not to mention that I automated a few things. What I need the most right now is some way to rearrange the bookmarks. I'm still very lost in the C++ language to get that done.

_________________
https://twitter.com/bitinkstudios <- Follow me on twitter! Thanks!


Top
 Profile  
 
PostPosted: Thu Jan 31, 2019 2:11 pm 
Offline
User avatar

Joined: Sun Jan 22, 2012 12:03 pm
Posts: 7210
Location: Canada
Oh yeah 2017 community has a lot of install options, maybe I normally pick the set that comes with that SDK already. Thankfully it does a good job of letting you know about those and downloading the needed things, at least within the realm of microsoft-provided libraries anyway.

nesrocks wrote:
I'm still very lost in the C++ language to get that done.

FCEUX took me a while to find my way around. It's very old, lots of crust, lots of weird stuff stuck together from various old forks, etc.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: Nicole and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group