netbook cuts bottom of NT viewer on FCEU*

Discuss emulation of the Nintendo Entertainment System and Famicom.

Moderator: Moderators

User avatar
Roni
Posts: 114
Joined: Fri Sep 26, 2008 7:55 pm
Location: Montreal
Contact:

netbook cuts bottom of NT viewer on FCEU*

Post by Roni »

just checking if anyone has had this problem and come up with an easy solution. My netbook has a display of 1024x600. This serves me perfectly except for when I'm trying to view FCEUXD's nametable viewer. Its window is taller than 600 pixels and even when using the move option+arrows the window won't move above a certain position where its bottom is still cut off. The only solution that's given me limited results was rotating my display via the graphics driver to make the screen 600x1024. This makes it hell to move the cursor without an external mouse.
Now I'm not sure if this is Windows's fault or if FCEU is preventing the nametable window's title bar from moving past the top of the screen. any thoughts from netbook users/FCEU* dev'rs?
tepples
Posts: 22345
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Re: netbook cuts bottom of NT viewer on FCEU*

Post by tepples »

Roni wrote:My netbook has a display of 1024x600. This serves me perfectly except for when I'm trying to view FCEUXD's nametable viewer. Its window is taller than 600 pixels
Do you own a high-definition television? Most nowadays have a VGA port and an HDMI port. Use this guide to identify the connectors on the TV and on the side of your netbook. Then go to Monoprice and pick up a 6 foot cable. Connect them and you'll have a second screen can go to 1360x768 (for basic HDTV) or 1920x1080 (for full HDTV).
User avatar
Roni
Posts: 114
Joined: Fri Sep 26, 2008 7:55 pm
Location: Montreal
Contact:

Post by Roni »

I have a full-res computer for home use, but I also like to dev/debug on the go.
User avatar
Roni
Posts: 114
Joined: Fri Sep 26, 2008 7:55 pm
Location: Montreal
Contact:

Post by Roni »

probably a stupid question, but might there be a tool for reprogramming a windows application to have different window arrangements, placing the nametable info to the right of the 512x480 image instead of below it?
User avatar
Roni
Posts: 114
Joined: Fri Sep 26, 2008 7:55 pm
Location: Montreal
Contact:

Post by Roni »

I'm pretty sure the solution lies in the sourcefile, in \drivers\win\ntview.c but I can't make heads or tails of it.
one free internet to the upstanding samaritan who can reconfig the code to display nt info to the side of the four tables.
if I don't get an answer I guess I'll have to dip into some C code myself...
User avatar
Dwedit
Posts: 4470
Joined: Fri Nov 19, 2004 7:35 pm
Contact:

Post by Dwedit »

There's a shareware program called "The Customizer" that watches when windows are created, and moves the controls around, it might still be available. Hard to find though, since it's a very non-unique program name.
Here come the fortune cookies! Here come the fortune cookies! They're wearing paper hats!
User avatar
clueless
Posts: 496
Joined: Sun Sep 07, 2008 7:27 am
Location: Seatlle, WA, USA

Post by clueless »

Dwedit wrote:There's a shareware program called "The Customizer" that watches when windows are created, and moves the controls around, it might still be available. Hard to find though, since it's a very non-unique program name.
That's cool.

You can also edit the dialog resources in the app manually, using this tool:

http://www.resedit.net/
tepples
Posts: 22345
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Post by tepples »

Hey, I remember ResEdit when it was on the Mac.
User avatar
clueless
Posts: 496
Joined: Sun Sep 07, 2008 7:27 am
Location: Seatlle, WA, USA

Post by clueless »

tepples wrote:Hey, I remember ResEdit when it was on the Mac.
So do I. System 6.0.8, ~1993, Mac LC-IIs in high school.
ccovell
Posts: 1041
Joined: Sun Mar 19, 2006 9:44 pm
Location: Japan
Contact:

Post by ccovell »

Heh heh, turning program icons into penises and turds, etc. :twisted:

Anyway, I have a netbook (Kohjinsha) too, and some programs that hardcode windows larger than 600 pixels do annoy me too sometimes. Doesn't your netbook have a scaled 1024x768 mode? My netbook switches between 640x480, 1024x600, 1024x768 with a press of Fn+F1.
User avatar
Roni
Posts: 114
Joined: Fri Sep 26, 2008 7:55 pm
Location: Montreal
Contact:

Post by Roni »

hey thanks, resedit is exactly what I needed. I've opened up the res file and made the changes I need, all that I need to do is figure out how to compile the whole thing.
User avatar
Roni
Posts: 114
Joined: Fri Sep 26, 2008 7:55 pm
Location: Montreal
Contact:

Post by Roni »

I've tried makewin.bat but get a flood of information that I can't interpret:

Code: Select all

C:\Documents and Settings\Administrator\Desktop\fc\sorce>mingw32-make.exe -s -f
Makefile.win
process_begin: CreateProcess((null), gcc -Wall -Winline -mcpu=i686 -O1 -Izlib -D
NOSTDOUT -DC80x86 -DLSB_FIRST -DWINDOWS -DNETWORK -DPSS_STYLE=2 -DZLIB -fomit-fr
ame-pointer -c -o xstring.o xstring.c, ...) failed.
make (e=2): The system cannot find the file specified.
mingw32-make.exe: *** [xstring.o] Error 2

C:\Documents and Settings\Administrator\Desktop\fc\sorce>pause
Press any key to continue . . .
and now I'm just left with more questions...
mainly what it has failed at and what make (e=2) is, what files are missing, etc...
User avatar
thefox
Posts: 3139
Joined: Mon Jan 03, 2005 10:36 am
Location: Tampere, Finland
Contact:

Post by thefox »

Roni wrote:hey thanks, resedit is exactly what I needed. I've opened up the res file and made the changes I need, all that I need to do is figure out how to compile the whole thing.
You don't need to recompile it to modify the resources. Just open the .exe in ResEdit or Resource Hacker. FCEUX seems to be packed with UPX though, so you need to get UPX to unpack it first (command line: upx -d fceux.exe).
User avatar
Roni
Posts: 114
Joined: Fri Sep 26, 2008 7:55 pm
Location: Montreal
Contact:

Post by Roni »

my result so far : fceuxdsp 1.07 netbook edition (only the ntviewer has been changed)
User avatar
NESHomebrew
Formerly WhatULive4
Posts: 418
Joined: Fri Oct 30, 2009 4:43 am
Contact:

Post by NESHomebrew »

Looks good. I've always just dealt with it the way it was. Thanks for this!
Post Reply