Author |
Message |
hellboy_666
|
|
Post subject: SNES: bsnes v080
Posted: Jun 26, 2011 - 10:54 AM
|
|
AEP Team Member
Joined: Dec 25, 2008
Posts: 2.630
Location: Vorhof zur Hölle
Status: Offline
|
|
byuu hat eine neue Version seines SNES Emulators bsnes veröffentlicht.
byuu has released a new version of his SNES emulator bsnes.
Quote: Changelog:
- added Cx4 low-level emulation; removed Cx4 high-level emulation code
- fixed S-SMP synchronization to S-CPU on CPUIO writes
- controllers now have their own threads and classes
- serial controller is now emulated as an actual controller, rather than as a coprocessor
- added link coprocessor module for special chip research and homebrew
- fixed cheat codes that target mask ROM addresses [Cydrak]
- fixed compilation error with the latest GCC 4.6.0 beta releases
- added flexibility to XML memory mapping file format
- updated to mightymo´s latest cheat pack (2011-06-20)
Related links:
[ SNES Emus ][ SNES Infos ][ Nintendo Infos ]
|
|
|
|
|
|
Jezze
|
|
Post subject: SNES: bsnes v080
Posted: Jun 27, 2011 - 08:31 AM
|
|
Banned Team Member
Joined: Oct 30, 2004
Posts: 5.751
Status: Offline
|
|
Auch wenn ich mit so ziemlich allen Ansichten von byuu was seine Philosophie zur Emulation und den unterstützen Formaten (keine Header etc.) angeht, so wünsche ich mir doch sehr eine einfache Unterstützung von Zip-Archiven via zlib zurück. Das Argument "wir haben heutzutage große Festplatten" zieht bei mir dabei nicht. Zip-Support ist ein weit verbreitetes Frontend-Feature und sollte nicht fehlen. |
_________________ Test your limits and break through!
|
|
|
|
|
Predator82
|
|
Post subject: SNES: bsnes v080
Posted: Jun 27, 2011 - 10:30 AM
|
|
Retromeister
Joined: Apr 14, 2007
Posts: 1.764
Location: Aephausen
Status: Offline
|
|
Ha, was sag ich andauernd
Vielleicht kommt ja mal wieder ein Build von TraxxAmigaEP |
|
|
|
|
|
Jezze
|
|
Post subject:
Posted: Jun 27, 2011 - 11:00 AM
|
|
Banned Team Member
Joined: Oct 30, 2004
Posts: 5.751
Status: Offline
|
|
So weit ich mir seinen Lösung angeschaut hatte, funktioniert sie nur unter Windows und setzt ein installiertes 7-Zip voraus; via zlib würde es auch auf anderen Plattformen funktionieren.
Sehr sinnvoll fände ich es bspw. wenn Zip-Archive einfach als Ordner interpretiert werden würden, in die man mit dem File Dialog browsen kann. |
_________________ Test your limits and break through!
|
|
|
|
|
byuu
|
|
Post subject:
Posted: Jun 27, 2011 - 11:27 AM
|
|
Emu Author
Joined: Nov 01, 2009
Posts: 24
Status: Offline
|
|
If you are worried about space-saving:
Right-click on ROMs folder, go to properties, go to advanced tab, choose "compress folder to save space on disk." and Windows will compress the folder for you. To you, it looks like an ordinary file, but Windows will store it as a zipped file and decompress it on-the-fly.
If you need it to actually be a ZIP, you can rename the .zip to .sfz and associate SFZ files with a tool that decompresses, launches bsnes with it, and then removes the decompressed file when bsnes closes.
If it must retain the ZIP file extension, you can use creaothceann's tool that acts as a 'bsnes launcher' and does the same as the theoretical tool above.
If you don't mind a different UI: you could use bsnes v073/Qt, use SSNES, use Mednafen, or use OpenEmu.
If you specifically want v080 with integrated ZIP support, you'd have to add it yourself or find someone who could do so.
If none of those options work for you, I'm very sorry, but we disagree on adding ZIP support.
Quote: Sehr sinnvoll fände ich es bspw. wenn Zip-Archive einfach als Ordner interpretiert werden würden, in die man mit dem File Dialog browsen kann.
Yeah. I really wish that operating systems would integrate this functionality directly into their native file browser dialogs. There is no reason why they can't, and it would then work for every program; rather than requiring every last program to bundle zlib :( |
|
|
|
|
|
Jezze
|
|
Post subject:
Posted: Jun 27, 2011 - 12:41 PM
|
|
Banned Team Member
Joined: Oct 30, 2004
Posts: 5.751
Status: Offline
|
|
Thanks for your response.
Quote: If you are worried about space-saving [...] No, I'm not worried about my disc-space, but as I said: to have big hard-drives is no argument not to compress files.
Quote: If you specifically want v080 with integrated ZIP support, you'd have to add it yourself [...] Maybe I'll take this choice.
Quote: I'm very sorry, but we disagree on adding ZIP support. Well, I still don't understand exactly why, but I accept that there is no chance to convince you to add support for Zip archives. |
_________________ Test your limits and break through!
|
|
|
|
|
retroK
|
|
Post subject:
Posted: Jun 27, 2011 - 02:12 PM
|
|
Site Admin
Joined: Jul 04, 2004
Posts: 12.054
Location: Frankfurt a.M.
Status: Offline
|
|
[quote:7fdf376557="Jezze"]Sehr sinnvoll fände ich es bspw. wenn Zip-Archive einfach als Ordner interpretiert werden würden, in die man mit dem File Dialog browsen kann.
Total Commander kann sowas und wird von mir daher auf jeden Windows Rechner als Erstes installiert. |
_________________ Alderaan shot first!
|
|
|
|
|
Jezze
|
|
Post subject:
Posted: Jun 27, 2011 - 02:37 PM
|
|
Banned Team Member
Joined: Oct 30, 2004
Posts: 5.751
Status: Offline
|
|
Der Windows Explorer kann es auch und auch die File Open Dialoge mit Explorer-Ansicht. Allerdings nutzt bsnes nicht den nativen File Open Dialog von Windows bzw. den der anderen Betriebssysteme, die es vermutlich nicht können. (?) |
_________________ Test your limits and break through!
|
|
|
|
|
retroK
|
|
Post subject:
Posted: Jun 27, 2011 - 02:42 PM
|
|
Site Admin
Joined: Jul 04, 2004
Posts: 12.054
Location: Frankfurt a.M.
Status: Offline
|
|
Ah. so meintest Du das. Da habe ich Dich falsch verstanden. |
_________________ Alderaan shot first!
|
|
|
|
|
Morku
|
|
Post subject:
Posted: Jun 27, 2011 - 03:12 PM
|
|
Banned
Joined: Jun 11, 2009
Posts: 149
Location: Halle
Status: Offline
|
|
Stimme Jezze zu. Das mit "großen Festplatten" ist für mich auch kein Argument. Um so mehr würde man ja insgesamt auf die Platte bekommen. Und da in meinem Laptop eine kleine SSD tourt, bin ich über jeden freien Platz dankbar.
Stören tut es mich aber nicht unbedingt. Ich werde einfach das Spiel, was ich spielen möchte extra entpacken. |
|
|
|
|
|
byuu
|
|
Post subject:
Posted: Jun 28, 2011 - 11:40 AM
|
|
Emu Author
Joined: Nov 01, 2009
Posts: 24
Status: Offline
|
|
[quote:dc4a2a1167="Jezze"]Maybe I'll take this choice.
In that case, look at ui/cartridge/cartridge.cpp line 108.
Code: unsigned size = fp.size();
uint8_t *data = new uint8_t[size];
fp.read(data, size);
fp.close();
That reads in the file from disk. Hook that to a decompression library like blargg's File_Extractor or zlib. As an easier route, you could invoke an executable extractor like pkzip.exe, extract to a temporary file and load that instead. The core will still see the original file name for save RAM and such.
Now go to ui/general/file-browser.cpp line 54:
Code: case Mode::Cartridge: {
setTitle("Load Cartridge");
filters.append(".sfc");
break;
Also add a filter for any supported compression types. And that should do it. |
|
|
|
|
|
Predator82
|
|
Post subject:
Posted: Jun 28, 2011 - 06:09 PM
|
|
Retromeister
Joined: Apr 14, 2007
Posts: 1.764
Location: Aephausen
Status: Offline
|
|
Does the dsp´s work with this change or should we zip them? |
|
|
|
|
|
NorQue
|
|
Post subject:
Posted: Jun 28, 2011 - 10:07 PM
|
|
Retromeister
Joined: Jul 18, 2004
Posts: 869
Status: Offline
|
|
[quote:5cc6b8fcaf="Predator82"]Does the dsp´s work with this change or should we zip them?Das ist noch kein "change", byuu hat Jezze nur gezeigt wo er ändern muss wenn er gezippte ROM Images laden (und im Ladedialog anzeigen) möchte. Das zu ändern liegt jetzt bei Jezze... es liegt allerdings nahe, das die DSP Images an einer anderen Stelle in den Speicher geladen werden. |
|
|
|
|
|
Predator82
|
|
Post subject:
Posted: Jun 29, 2011 - 08:00 AM
|
|
Retromeister
Joined: Apr 14, 2007
Posts: 1.764
Location: Aephausen
Status: Offline
|
|
Change beudeutet Änderung & ich wollte wissen, ob die DSP´s davon betroffen sind bzw. auch zippen brauchen (falls Jezze oder sonstwer einen eigenen Build erstellt) |
|
|
|
|
|
Jezze
|
|
Post subject:
Posted: Jul 02, 2011 - 05:17 PM
|
|
Banned Team Member
Joined: Oct 30, 2004
Posts: 5.751
Status: Offline
|
|
I found some time to implement the ZIP support for cartridge loading as promised. I've used Minizip as additional library to zLib, which provides some easy to use functions. Unfortunately, I could not compile a working x64 version of bsnes with that library. Well, I also didn't look very closely to figure out what's going on.
Everyone who wants to try this build can find the download (binary and source changes) here. |
_________________ Test your limits and break through!
Last edited by Jezze on Jul 03, 2011 - 10:40 AM; edited 1 time in total
|
|
|
|
|
|