Emuforums.com

Go Back   Emuforums.com > Handheld Emulation > VBA-M Discussion
About Us Register FAQ Members List Calendar Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old February 9th, 2008   #1 (permalink)
Emu author
 
Spacy's Avatar
 
Join Date: Mar 2005
Location: Germany
Posts: 373
First Qt build (no emulation yet)

EDIT:

Get the latest build from this post: First Qt build (no emulation yet)


----------


Hi there. I just happened to have some free time, so I started to code on the Qt build. I start to really like Qt, because it is easy to code and I get to see results fast AND the build system kicks ass!

Get the binary from http://vba-m.ngemu.com/vbam/vbaother.../vba_qt_358.7z

About this build:
  • Compiled with MSVC++ 2008 Express
  • Static Qt build
  • Static C/C++ runtimes
  • OpenGL enabled
  • German translation available (remove the "lang" folder in order to see the english interface)
Of course translations will be optional and selectable later on. The Qt translation system is really great and flexible, so it won't take long until VBA-M got a bunch of translations.

This build is just for demonstration purposes, no emulation at all yet.


Edit:
By the way, I would be glad about feedback on whether the .pro makefile compiles without changes on Linux with GCC.

Last edited by Spacy; February 24th, 2008 at 17:17.
Spacy is offline   Reply With Quote
Old February 9th, 2008   #2 (permalink)
DS Cheat Code Hacker
 
Dualscreenman's Avatar
 
Join Date: Jun 2007
Location: New Hampshire, USA
Posts: 677
After wrestling around with (minor) build issues on IRC for a while, Spacy and I achieved compilage on Linux:



(Yes, that's supposed to be pink)
Looks great! The Oxygen Qt4 theme really makes it look sexy.
Dualscreenman is offline   Reply With Quote
Old February 9th, 2008   #3 (permalink)
Emu author
 
Spacy's Avatar
 
Join Date: Mar 2005
Location: Germany
Posts: 373
Build issues should be fixed now.

For a short build how-to have a look at our Wiki @ https://vbam.bountysource.com/wiki

Last edited by Spacy; February 9th, 2008 at 21:20.
Spacy is offline   Reply With Quote
Old February 10th, 2008   #4 (permalink)
DS Cheat Code Hacker
 
Dualscreenman's Avatar
 
Join Date: Jun 2007
Location: New Hampshire, USA
Posts: 677
I made a Spanish Translation. It shouldn't be bad, (it should be good) but if a native speaker (or anyone else for that matter) comes across a mistake, don't hesitate to correct it.

Zip includes the .ts file and the svn diff of vba-m.pro.
Attached Files
File Type: zip vbamspanish.zip (1.2 KB, 3 views)
Dualscreenman is offline   Reply With Quote
Old February 10th, 2008   #5 (permalink)
Emu author
 
shashClp's Avatar
 
Join Date: Sep 2006
Location: VisualC
Posts: 754
Just fixed spanish translation a bit, basically changing:

- "Exit"->"Salida" to "Salir" (like Firefox or other programs use)
- "Select translation" -> "Selecto traducción" to "Seleccione traducción" (selecto doesn't selection in spanish, it means something like "exclusive")

I attach a fixed zip. As a comment, shouldn't "Select translation" be changed to "Select language"? Imho, it's more logical that the program uses a certain language than it's translation, not to mention that most applications use that convention.
Attached Files
File Type: zip vbamspanish.zip (1.1 KB, 2 views)
__________________
Emulator development blog

Last edited by shashClp; February 10th, 2008 at 01:47.
shashClp is offline   Reply With Quote
Old February 10th, 2008   #6 (permalink)
Registered User
 
Join Date: Jun 2007
Location: Miramichi
Posts: 25
Great Look forward to seeing the linux build to have an awesome gui now great work Spacy
ubuntummc is offline   Reply With Quote
Old February 10th, 2008   #7 (permalink)
VBA-M Team
 
Squall-Leonhart's Avatar
 
Join Date: Feb 2006
Location: Australia
Posts: 5,832
guys, i love it, is that Oxygen theme available on the windows version as well?
Squall-Leonhart is offline   Reply With Quote
Old February 10th, 2008   #8 (permalink)
Registered User
 
Join Date: Jul 2007
Location: Europe
Posts: 47
I think the windows version of Qt will use your current native theme. There are two themes available for non-Linux systems, "Windows XP" and "Aqua". But no Oxygen theme (or you'll have to port it yourself).

Quote:
Originally Posted by Re: What a poor article
There are two "special" themes in Qt, "Windows XP" and "Aqua", which are only available on their respective platforms and which use the native widgets. They are also the default themes for these platforms. However, you can still use any of the other available themes or write your own silly roll-your-own theme, even under Windows or Mac OSX.

Last edited by Surkow; February 10th, 2008 at 08:54.
Surkow is offline   Reply With Quote
Old February 10th, 2008   #9 (permalink)
Emu author
 
Spacy's Avatar
 
Join Date: Mar 2005
Location: Germany
Posts: 373
Just as a note, I recommend waiting with the translations until VBA is in a more useful state so you don't have to redo your stuff as we make changes all the time. I'll add that translation nevertheless.
Spacy is offline   Reply With Quote
Old February 10th, 2008   #10 (permalink)
DS Cheat Code Hacker
 
Dualscreenman's Avatar
 
Join Date: Jun 2007
Location: New Hampshire, USA
Posts: 677
I was bored and I wanted to get familiar with the translation system. The Qt Linguist is a nifty tool, I like it.
Dualscreenman is offline   Reply With Quote
Old February 10th, 2008   #11 (permalink)
Emu author
 
Spacy's Avatar
 
Join Date: Mar 2005
Location: Germany
Posts: 373
I wrote a small how-to to select another widget style for VBA:
https://vbam.bountysource.com/wiki

This works on any Qt app.


EDIT:
Hi there, it's me again.

I just added a basic cheat side bar. Other side bars I plan to add are one for cheat searching, emulation pause/resume/breakpoints and later maybe enable the user to put the tile viewers into sidebars. A disassembler/register viewer might be nice as well.

Tell me if you have more ideas for useful side bars.
I'll have to add the possibilitie to save/preserve the side bar positions and only show individual side bars later.

Get the build (365) from http://vba-m.ngemu.com/vbam/vbaother.../vba_qt_365.7z

Last edited by Spacy; February 10th, 2008 at 14:54. Reason: Automerged Doublepost
Spacy is offline   Reply With Quote
Old February 10th, 2008   #12 (permalink)
DS Cheat Code Hacker
 
Dualscreenman's Avatar
 
Join Date: Jun 2007
Location: New Hampshire, USA
Posts: 677
Added translation instructions for Linux.
Attached Files
File Type: zip langhowto.zip (471 Bytes, 1 views)
Dualscreenman is offline   Reply With Quote
Old February 10th, 2008   #13 (permalink)
Emu author
 
Spacy's Avatar
 
Join Date: Mar 2005
Location: Germany
Posts: 373
Patch applied.
Spacy is offline   Reply With Quote
Old February 11th, 2008   #14 (permalink)
VBA-M Team
 
Squall-Leonhart's Avatar
 
Join Date: Feb 2006
Location: Australia
Posts: 5,832
with that, i 100% support the writing of an official theme for VBA under windows :P
Squall-Leonhart is offline   Reply With Quote
Old February 11th, 2008   #15 (permalink)
Refreshing Your Profile
 
TheCloudOfSmoke's Avatar
 
Join Date: Mar 2005
Location: In your butt. If I'm not there, I'm in Maryland, USA.
Posts: 3,023
Wow, almost a 2 meg download. Is it going to be like that for every new build when emulation is added in?
TheCloudOfSmoke is offline   Reply With Quote
Old February 11th, 2008   #16 (permalink)
....
 
mudlord's Avatar
 
Join Date: Feb 2007
Location: not that you need to know....
Posts: 1,580
It might be a bit more, but we can EXE compress it to make sure it all fits. Thats the price we pay for pure cross platform compatibility.

Spacy, I had a thought. We could add QPainter support. Sindre Aamas's GB/GBC emulator uses Qt exclusively and it uses QPainter. And from my testing, its damn fast. Could be useful as a replacement for DirectDraw....
mudlord is offline   Reply With Quote
Old February 11th, 2008   #17 (permalink)
VBA-M Team
 
Squall-Leonhart's Avatar
 
Join Date: Feb 2006
Location: Australia
Posts: 5,832
indeed, QPainter would be a good idea, i've seen a few apps that use it.
Squall-Leonhart is offline   Reply With Quote
Old February 11th, 2008   #18 (permalink)
Emu author
 
Spacy's Avatar
 
Join Date: Mar 2005
Location: Germany
Posts: 373
ok, so we have to do the Display Interface thingy again ^^


About the download size: As I said, I compiled my own static version of Qt so nobody has to mess around with DLLs.
An option would be to provide one DLL pack here and distribute the much smaller exe. This would sure save some space. I got a flatrate, so I haven't cared for that yet, sorry
Spacy is offline   Reply With Quote
Old February 11th, 2008   #19 (permalink)
VBA-M Team
 
Squall-Leonhart's Avatar
 
Join Date: Feb 2006
Location: Australia
Posts: 5,832
anyone who has Nach's NSRT on thier computer has the NF.exe which requires the dll's

but i do agree the dll files should be seperate to the program and only the vba.exe should be distributed in the zip.
Squall-Leonhart is offline   Reply With Quote
Old February 11th, 2008   #20 (permalink)
Refreshing Your Profile
 
TheCloudOfSmoke's Avatar
 
Join Date: Mar 2005
Location: In your butt. If I'm not there, I'm in Maryland, USA.
Posts: 3,023
Quote:
Originally Posted by Spacy View Post
About the download size: As I said, I compiled my own static version of Qt so nobody has to mess around with DLLs.
An option would be to provide one DLL pack here and distribute the much smaller exe. This would sure save some space. I got a flatrate, so I haven't cared for that yet, sorry
Ah, ok. Yeah, providing the dll pack for a one time download is a good idea.
TheCloudOfSmoke is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 11:46.

© 2006 - 2008 Emu Forums | About Emu Forums | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.7.0 Release Candidate 3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5