Previous Thread
Next Thread
Print Thread
Page 113 of 331 1 2 111 112 113 114 115 330 331
Joined: Jul 2007
Posts: 4,625
A
Anna Wu Offline OP
Very Senior Member
OP Offline
Very Senior Member
A
Joined: Jul 2007
Posts: 4,625
Originally Posted By Anna Wu
Today I made a batch file to automate the compile process. smile

- switch to GCC 4.4.7 (because I use GCC 4.4.3 too for MESS)
- SVN update (you can start/close TortoiseSVN via command line)
- clean up the SVN folder
- compile MESS variant
- copy qmc2-mess.exe in my QMC2 folder for MESS
- clean up the SVN folder
- compile MAME variant
- copy qmc2-mame.exe in my QMC2 folder for MAME
- copy new data files in QMC2 sub folder for MESS/MAME




My batch file is now extended. smile

- create the QMC2 update package folder
- copy all (needed) files/sub folders in my QMC2 update package folder
- create a zipped* file from the QMC2 update package folder
- delete the QMC2 update package folder

* for this I use the command line version of pkzip.

Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,930
Likes: 24
Originally Posted By qmc2
  • On Linux, icons are also provided for ZIP contents, but that doesn't work on Windows because the "icon provider" on Windows does actually check if such a file exists, and responds with no icon otherwise.

The provided icon now falls back to a "generic file icon" when Qt's icon provider (QFileIconProvider) returns a null-icon (which is the case for non-existing files on Windows, and probably also on Mac OS X which I haven't tested yet).

As the icon providing mechanism also heavily depends on the underlying desktop environment on Linux, it was a good idea to do that generally smile.

SVN r3147.

Last edited by qmc2; 08/31/11 08:27 AM.

A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: Jul 2007
Posts: 4,625
A
Anna Wu Offline OP
Very Senior Member
OP Offline
Very Senior Member
A
Joined: Jul 2007
Posts: 4,625
QMC2 Mingw 32-bit Windows builds with last Qt libraries and all neccessary files/folders.
MESS variant (r3147, file chooser - new context menu for zipped archives ) and MAME variant (r3147)

DL

This package was created by batch-script.

Joined: Apr 2011
Posts: 292
Senior Member
Offline
Senior Member
Joined: Apr 2011
Posts: 292
Thanks Anna Wu, for posting compiled builds from the latest SVN.

I notice a strange problem after compiling my own. when I click on the about tab it only says version 0.34 and does not include the SVN version in about tab.

However, when I download builds that are posted in this thread the SVN number shows in about tab.

Another question please. Since the software lists seem to no longer be WIP is it still necessary to include the WIP=1 in make command?

I'm currently using "make WIP=1 EMULATOR=mess BROWSER_PLUGINS=1 MINGW=1"

Joined: Jul 2007
Posts: 4,625
A
Anna Wu Offline OP
Very Senior Member
OP Offline
Very Senior Member
A
Joined: Jul 2007
Posts: 4,625
Quote:
I notice a strange problem after compiling my own. when I click on the about tab it only says version 0.34 and does not include the SVN version in about tab.


make MINGW=1 help

and check the second last line to be sure the current revision number will not detected.



Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,930
Likes: 24
Originally Posted By B2K24
I notice a strange problem after compiling my own. when I click on the about tab it only says version 0.34 and does not include the SVN version in about tab.

You have to have the TortoiseSVN bin directory as part of your %PATH%, otherwise it can't find the 'subwcrev' command and will assume you're not using SVN. It's no problem, though.

EDIT: note that for updates of the SVN revision a clean build ('make clean') is required in order to recreate Makefile.qmake (the real makefile). You can also just 'del Makefile.qmake', should work smile.

Originally Posted By B2K24
Another question please. Since the software lists seem to no longer be WIP is it still necessary to include the WIP=1 in make command?

No smile!

Last edited by qmc2; 08/31/11 04:13 PM.

A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: Jul 2007
Posts: 4,625
A
Anna Wu Offline OP
Very Senior Member
OP Offline
Very Senior Member
A
Joined: Jul 2007
Posts: 4,625
Quote:
You have to have the TortoiseSVN bin directory as part of your %PATH%, otherwise it can't find the 'subwcrev' command and will assume you're not using SVN. It's no problem, though.


The easiest way: My Computer > Properties > Advanced tab > Environment variables



Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,930
Likes: 24
Originally Posted By qmc2
  • Be warned that archives with an extreme number of entries would block the GUI (until the ZIP directory has been read).

This has been worked on in SVN r3150 and should now work cleanly as well.


A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,930
Likes: 24
I'm currently adding support for 'item tagging' to all game/machine-list views so the user can do several tasks not only for one but for a number of sets in 'batch-mode'.

For now, I plan to use this
  • to feed the ROMAlyzer
  • to run the ROM tool for several sets in a row
  • for individual ROM checks
  • as a filter for the ROM status export
  • to select a set of games to run in 'demo-mode' (MAME-only)
  • to launch multiple games/machines (nearly forgotten smile!)
Perhaps there will be more useful areas... ideas welcome wink.

It will be implemented as an extra tag-column (that's already mostly done), meaning that the header-states of all view will have to be reconfigured again! Just to prepare you in advance smile.

Last edited by qmc2; 09/01/11 01:18 PM.

A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Joined: May 2008
Posts: 4,930
Likes: 24
Q
Very Senior Member
Offline
Very Senior Member
Q
Joined: May 2008
Posts: 4,930
Likes: 24
Guess it may be a good idea to also save/restore the tag-state for each game/machine, which would require another cache renew as well.

Last edited by qmc2; 09/01/11 01:24 PM.

A mind is like a parachute. It doesn't work unless it's open. [Frank Zappa]
Page 113 of 331 1 2 111 112 113 114 115 330 331

Link Copied to Clipboard
Who's Online Now
3 members (robcfg, Richard Bannister, Dorando), 19 guests, and 10 robots.
Key: Admin, Global Mod, Mod
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Forum Statistics
Forums9
Topics9,100
Posts119,251
Members5,019
Most Online890
Jan 17th, 2020
Our Sponsor
These forums are sponsored by Superior Solitaire, an ad-free card game collection for macOS and iOS. Download it today!

Superior Solitaire
Forum hosted by www.retrogamesformac.com