View unanswered posts | View active topics It is currently Sat Dec 07, 2019 3:20 pm



This topic is locked, you cannot edit posts or make further replies.  [ 136 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next
bsnes v0.040 released 
Author Message
Seen it all
User avatar

Joined: Mon Jan 03, 2005 5:04 pm
Posts: 2302
Location: Germany
Post 
FirebrandX wrote:
No I mean I use paint shop pro to save in various formats, and from there it claims the transparency version has to be 256 color format.

Uh...

Image

_________________
vSNES | Delphi 10 BPLs
bsnes launcher with recent files list


Mon Mar 09, 2009 6:38 pm
Profile WWW
Veteran
User avatar

Joined: Thu Feb 03, 2005 8:18 pm
Posts: 768
Post 
FirebrandX wrote:
No I mean I use paint shop pro to save in various formats, and from there it claims the transparency version has to be 256 color format.

So that super expensive rendering program can't output different file types?

_________________
Official ZSNES Docs | NSRT Guide | Using a Wiimote w/ emulators


Mon Mar 09, 2009 6:46 pm
Profile WWW
Rookie

Joined: Fri Apr 18, 2008 5:29 am
Posts: 15
Post 
creaothceann:
Sorry to be a bit off-topic.. What PNG Optimizer program is that? It looks nice.


About this release.. I just tried NHL '94 (north american release), and it's got some graphical corruption in the title screen which doesn't appear in zsnes (and I don't recall seeing on a real snes). I haven't tried it on older versions of bsnes, so I don't know if it's new.


Mon Mar 09, 2009 7:18 pm
Profile
Seen it all
User avatar

Joined: Mon Jan 03, 2005 5:04 pm
Posts: 2302
Location: Germany
Post 
augnober wrote:
What PNG Optimizer program is that? It looks nice.

That's the PNG export dialog of Paint Shop Pro 7.

_________________
vSNES | Delphi 10 BPLs
bsnes launcher with recent files list


Mon Mar 09, 2009 7:35 pm
Profile WWW
New Member

Joined: Sun Jun 03, 2007 2:01 pm
Posts: 6
Location: Sweden
Post 
Turambar wrote:
I noticed a few possible improvements too. First let's see what optipng -o7 did to the images in the data directory.

Code:
** Processing: bsnes.png
...
bsnes.png is already optimized.

** Processing: joypad.png
...
Output file size = 179991 bytes (14006 bytes = 7.22% decrease)

** Processing: logo.png
...
Output file size = 16759 bytes (5170 bytes = 23.58% decrease)


That isn't really much, but it cuts down the size of the binary, so less bandwidth gets used. It's more professional too.


advpng produces better results, better go with that.

Code:
$ advpng -4 -z *.png
        1368        1066  77% bsnes.png
      193997      166441  85% joypad.png
       21929       16418  74% logo.png
      217294      183925  84%

That's 217294-183925=33369, ~30kB less, so it saves ~10kB more than optipng.

Which reduces binary size is by 33376 bytes (which is actually 7 bytes more than the PNGs decreased).
Code:
$ ls -l /usr/bin/bsnes
-rwxr-xr-x 1 root root 1280960  9 mar 19.24 /usr/bin/bsnes
$ ls -l /usr/bin/bsnes
-rwxr-xr-x 1 root root 1247584  9 mar 19.27 /usr/bin/bsnes

_________________
Arch Linux bsnes package


Mon Mar 09, 2009 7:36 pm
Profile
Post 
Someone should find out how sinamas got gambatte so small. He statically links against Qt as well, but his binary is ~1.8MB compressed, ~5MB uncompressed. Mine is ~3.3MB compressed, ~11MB uncompressed. Would probably be better than shaving off ~20-30kb off PNGs (but we'll definitely do that as well.)

My version of Qt was built with:
configure -static -release -qt-libpng -qt-libjpeg

I only link to QtCore and QtGui.

Looked into hosting. VStech wants $4 a month for 3.5GB/mo. About half of what I need. I really don't want to spend $10 a month to get the bandwidth I need, nor do I want to go with a cheapo host that could disappear / drop me when bandwidth gets high.

augnober wrote:
About this release.. I just tried NHL '94 (north american release), and it's got some graphical corruption in the title screen which doesn't appear in zsnes (and I don't recall seeing on a real snes). I haven't tried it on older versions of bsnes, so I don't know if it's new.


Graphical corruption for a single duplicated scanline sounds a bit extreme, but semantics aside ...

Known issue, it's a limitation of scanline-based rendering. We have to pick a point during the line to draw. If we raise the value to fix this game, we trigger similar issues in other games.

We spent a good few weeks finding the most compatible value possible.


Mon Mar 09, 2009 7:37 pm
Veteran
User avatar

Joined: Thu Feb 03, 2005 8:18 pm
Posts: 768
Post 
http://aws.amazon.com/s3/
http://www.s3fox.net/

_________________
Official ZSNES Docs | NSRT Guide | Using a Wiimote w/ emulators


Mon Mar 09, 2009 7:54 pm
Profile WWW
New Member

Joined: Sun Jun 03, 2007 2:01 pm
Posts: 6
Location: Sweden
Post 
On the topic of bsnes downloads mirroring.. what do you want me to use for the source for the Arch Linux bsnes PKGBUILD?

As it's not in the official repos, but in AUR, users have to build it themself. Though I don't think the Arch Linux bsnes user group is that big (sadly), it might be worth noting that it uses cinnamonpirate atm. Though I can, and will, of course change it per your requests.

_________________
Arch Linux bsnes package


Mon Mar 09, 2009 7:57 pm
Profile
NO VOWELS >:[
User avatar

Joined: Sun Aug 31, 2008 12:59 pm
Posts: 753
Location: ALABAMA
Post 
FirebrandX if you're using Windows that can handle .NET (assuming you are) then why not just Paint.NET which if you can't operate PSP I'm sure P.NET will be easier. (Not to be offensive, though in general P.NET is a lot simpler than Photoshop or Corel/Jasc PSP, of which I like Jasc PSP 9.)
[/ot]

byuu you did an awesome job on this, I have flooding memories of visual boy advance :P I want my nintendoDS screen/minigba now I HAVE TO GET TO WORK ON SOMETHING AWESOME.

edit; for 1280x1024 monitors which are very common for budgeted people in the last x years :P
http://img144.imageshack.us/img144/174/ ... 801024.png
http://img144.imageshack.us/img144/2603 ... 801024.png
corrected ratio and non-corrected ratio 1280x1024 scale 4x cutouts, so that you know where your working area is there :V


Mon Mar 09, 2009 8:10 pm
Profile YIM WWW
Veteran

Joined: Wed Aug 04, 2004 5:43 pm
Posts: 861
Location: Sloop
Post 
http://e-rice.net/

I've used this service for a few years now. Their static options are great values if you don't need all the frills.

Regarding NHL 94, I actually remember that game's title screen being hclock sensitive. However, I thought your recent scanline improvements solved that. I guess I misunderstood. They only solved the perma-ones like in Franken, Winter Games, and Mega lo Mania, right? In other words, they achieved what line caching did without incurring the sprite flickering issue.


Mon Mar 09, 2009 8:50 pm
Profile
Lurker

Joined: Mon Mar 10, 2008 11:36 pm
Posts: 199
Post 
3c) Modify bsnes/src/ui/Makefile and set qtdir to the root folder of your Qt installation.

This right?

set qtdir C:/Qt/4.5.0

where I put this at in Makefile?

_________________
Window Vista Home Premium 32-bit / Intel Core 2 Quad Q6600 2.40Ghz / 3.00 GB RAM / Nvidia GeForce 8500 GT


Mon Mar 09, 2009 9:24 pm
Profile
Post 
qtdir is specified in src/ui_qt/Makefile.

Quote:
On the topic of bsnes downloads mirroring.. what do you want me to use for the source for the Arch Linux bsnes PKGBUILD?


Well, you're pulling the source, which is only ~600kb. It should be fine. The Windows binary is what's kicking my ass.

Quote:
edit; for 1280x1024 monitors which are very common for budgeted people in the last x years


Are they supposed to be solid white? :/
Some sort of thing there in the alpha, perhaps?

Quote:
Regarding NHL 94, I actually remember that game's title screen being hclock sensitive. However, I thought your recent scanline improvements solved that.


NHL '94, Jurassic Park, Battle Blaze, Dai Kaijuu Monogatari II et al are sensitive to ppu.hack.render_scanline_position. We use 512, NHL '94 works fine at 1024.

What I did was remove ppu.hack.oam_cache, which affected Adv of Dr Franken, LoTR, Megalomania, Nightwarriors and Winter Olympics.

Essentially, the OAM cache fix was making a single register ($2101 / OBSEL) "sort-of" cycle-accurate (we don't have the exact cycle it's read pinned down, I just guessed until everything worked). In NHL '94's case, it's the same issue with the game writing registers mid-scanline, but with a different register (probably BG enable or one of the mode 7 regs.)

I don't want to keep extending the scanline-PPU in this manner, and it won't really work as some of these regs are probably read at varying times (and even multiple times) per scanline. I know the BG enable reg can be written and take effect almost immediately -- the PPU reads it repeatedly every few cycles, which is 100% incompatible with my renderer, hacks or not.

And you saw the speedhit from the OBSEL workaround already ...


Last edited by byuu on Mon Mar 09, 2009 9:42 pm, edited 1 time in total.



Mon Mar 09, 2009 9:37 pm
NO VOWELS >:[
User avatar

Joined: Sun Aug 31, 2008 12:59 pm
Posts: 753
Location: ALABAMA
Post 
byuu yes, you fill in the white with your border XP
For border style graphics anyway.


Mon Mar 09, 2009 9:39 pm
Profile YIM WWW
Seen it all
User avatar

Joined: Mon Jan 03, 2005 5:04 pm
Posts: 2302
Location: Germany
Post 
Image

(PSP7 again)

_________________
vSNES | Delphi 10 BPLs
bsnes launcher with recent files list


Last edited by creaothceann on Mon Mar 09, 2009 9:42 pm, edited 1 time in total.



Mon Mar 09, 2009 9:42 pm
Profile WWW
Lurker

Joined: Mon Mar 10, 2008 11:36 pm
Posts: 199
Post 
rcc ui_qt/resource/resource.qrc -o ui_qt/resource/resource.rcc
process_begin: CreateProcess(NULL, rcc ui_qt/resource/resource.qrc -o ui_qt/reso
urce/resource.rcc, ...) failed.
make (e=2): The system cannot find the file specified.
mingw32-make: *** [ui_qt/resource/resource.rcc] Error 2
Press any key to continue . . .

won't work. :roll:

DXSDK_Nov08
qt-win-opensource-4.5.0-mingw
tdm-mingw-1.902.0-f1

Btw: qt-win-opensource-4.5.0-mingw telling me that MinGW is missing some files. So Install that MinGW first then tdm-mingw-1.902.0-f1. Then get include from C:\Program Files\Microsoft DirectX SDK (November 2008)\Include copy over to C:\MinGW\include.

This is messy.

tdm-mingw-1.902.0-f1 is install default setup.

I use the same command that I been using.

@echo off
cd c:\bsnes-src
set path=c:\mingw\bin;
@mingw32-make platform=win compiler=mingw32-gcc enable_gzip=true enable_jma=true
@pause
clean
@pause

_________________
Window Vista Home Premium 32-bit / Intel Core 2 Quad Q6600 2.40Ghz / 3.00 GB RAM / Nvidia GeForce 8500 GT


Mon Mar 09, 2009 9:42 pm
Profile
Inmate

Joined: Thu Jan 11, 2007 4:28 am
Posts: 1485
Location: Salem, Oregon
Post 
I'm also for transparency, or at least not degrading the quality of the pad any more. Lowering resolution is one thing but it would be good to have it as a png if possible.

_________________
byuu wrote:
Seriously, what kind of asshole makes an old-school 2D emulator that requires a Core 2 to get full speed? >:(


Mon Mar 09, 2009 9:59 pm
Profile WWW
NO VOWELS >:[
User avatar

Joined: Sun Aug 31, 2008 12:59 pm
Posts: 753
Location: ALABAMA
Post 
http://img90.imageshack.us/img90/2069/wooden.png here you go, a wooden border :P


Mon Mar 09, 2009 10:12 pm
Profile YIM WWW
Inmate

Joined: Thu Jan 11, 2007 4:28 am
Posts: 1485
Location: Salem, Oregon
Post 
I see you updated the contributors in bsnes but not on your site.

_________________
byuu wrote:
Seriously, what kind of asshole makes an old-school 2D emulator that requires a Core 2 to get full speed? >:(


Mon Mar 09, 2009 10:37 pm
Profile WWW
Post 
Quote:
(PSP7 again)


No :P

Quote:
process_begin: CreateProcess(NULL, rcc ui_qt/resource/resource.qrc -o ui_qt/resource/resource.rcc, ...) failed.


That's fairly self-explanatory ... it can't find rcc.
I'll try and get some build instructions up, since it's getting quite involved. No promises of when though, sorry.

This may help a little, but you have to adapt it for 4.5.0:
http://www.qtcentre.org/forum/f-install ... 16697.html

Quote:
http://img90.imageshack.us/img90/2069/wooden.png here you go, a wooden border


I wonder if it supports animated GIFs -- ooooh, or MNGs! Be awesome to put that technicolor transitioning llama thing AoL uses all around the image.

EDIT: aww, no to both.
Also, http://doc.trolltech.com/4.5/stylesheet.html

Someone make something awesome for the whole app, heh. Bonus points if someone clones ZSNES' UI :P

Quote:
I see you updated the contributors in bsnes but not on your site.


They haven't helped out long enough to be mentioned on the webpage yet :P


Mon Mar 09, 2009 10:45 pm
Regular
User avatar

Joined: Tue Mar 07, 2006 10:32 am
Posts: 347
Location: The Netherlands
Post 
I think the controller graphic bsnes uses should have transparency. It shouldn't matter to bsnes as you can just specify a background colour, right? (it might lead to a slightly bigger png, but the extra data should be relatively easy to compress)


Mon Mar 09, 2009 10:57 pm
Profile
Seen it all
User avatar

Joined: Mon Jan 03, 2005 5:04 pm
Posts: 2302
Location: Germany
Post 
byuu wrote:
Quote:
(PSP7 again)

No :P

Just wanted to post the previews. :wink:

_________________
vSNES | Delphi 10 BPLs
bsnes launcher with recent files list


Mon Mar 09, 2009 11:06 pm
Profile WWW
NO VOWELS >:[
User avatar

Joined: Sun Aug 31, 2008 12:59 pm
Posts: 753
Location: ALABAMA
Post 
apng/mng support would have been the bomb :P


Mon Mar 09, 2009 11:11 pm
Profile YIM WWW
Trooper
User avatar

Joined: Tue Apr 19, 2005 11:08 pm
Posts: 376
Location: DFW area, TX USA
Post 
Jipcy wrote:
FirebrandX wrote:
No I mean I use paint shop pro to save in various formats, and from there it claims the transparency version has to be 256 color format.

So that super expensive rendering program can't output different file types?


It can for the last time, I just use other programs to manipulate images as I have it default to bitmap. I'm not going to discuss that further.

gllt wrote:
FirebrandX if you're using Windows that can handle .NET (assuming you are) then why not just Paint.NET which if you can't operate PSP I'm sure P.NET will be easier. (Not to be offensive, though in general P.NET is a lot simpler than Photoshop or Corel/Jasc PSP, of which I like Jasc PSP 9.)
[/ot]



So let me get this straight: Just because I got confused about the difference between "transparency" and "alpha channel", this suddenly means I can't operated PSP? DO you realize how much shit I actually do with that program?? Yeah, thanks for the insult. Ok so I don't know jack about png's options, but I WAS technically correct when it claims png has to be in 256 color mode for transparency color, just not for "alpha channel".

I'm about ready to just ask byuu to pull the image. This has become a "you're an idiot because you don't know about alpha channels" thing directed at me.

_________________
NES NTSC palette file:

http://www.firebrandx.com/downloads/fbx2pal.zip


Tue Mar 10, 2009 1:38 am
Profile WWW
NO VOWELS >:[
User avatar

Joined: Sun Aug 31, 2008 12:59 pm
Posts: 753
Location: ALABAMA
Post 
(Not to be offensive, though in general P.NET is a lot simpler than Photoshop or Corel/Jasc PSP, of which I like Jasc PSP 9.)

Does that mean anything. :[
I said that whole post in the terms that I wasn't sure what you understood or didn't understand
and yet this is ignored and still interpreted as an insult

that being said, fitz/byuu/badinsults threadsplinter please into general discussion of styles/drama, up to you though.


Tue Mar 10, 2009 1:46 am
Profile YIM WWW
Trooper
User avatar

Joined: Tue Apr 19, 2005 11:08 pm
Posts: 376
Location: DFW area, TX USA
Post 
Here are a couple of examples of my skill with PSP. These are "digibashes" I did for the Transformers collector community, which I was told were some of the very best quality PSP work they've ever seen:

Image


Image

The above were requested paint schemes. Neither figure's actual paint scheme even remotely looks like that.

Also, the controller's logos & fonts were masks I created in PSP. I can also post several other even more complicated uses of PSP I've done for book covers if need be.

_________________
NES NTSC palette file:

http://www.firebrandx.com/downloads/fbx2pal.zip


Tue Mar 10, 2009 2:04 am
Profile WWW
Display posts from previous:  Sort by  
This topic is locked, you cannot edit posts or make further replies.   [ 136 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6  Next

Who is online

Users browsing this forum: No registered users and 1 guest


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

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software.