Home Action Replay Page Forum Index Home Action Replay Page
Home Action Replay Page
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

MESS Frontend Test
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    Home Action Replay Page Forum Index -> General
View previous topic :: View next topic  
Author Message
mahlemiut
Supereditor


Joined: 06 Jan 2005
Posts: 917
Location: New Zealand

PostPosted: Sat Jun 30, 2007 2:51 am    Post subject: MESS Frontend Test Reply with quote

Here's the first test beta for my "I'm learning C#" MESS frontend project.

http://mahlemiut.marpirc.net/frontendbeta1.zip (11kB)

It has a hardcoded list of options (incomplete, currently, I'll add to it in time), which are only shown on the option box if the specific option is available on the MESS executable (must be mess.exe for now) that is in the same folder as the frontend. Option settings are not saved, you should use mess.ini for this, but it isn't required. The frontend will not read or write mess.ini, initial settings are taken from the -showconfig function of MESS.

Requirements:
Windows 2000/XP/Vista, Windows 98/Me are not guaranteed, but should work.
.NET Framework 2.0 or later.
_________________
- Barry Rodewald
HARP CPC, X68000, Neo Geo Pocket, and Neo Geo AES section editor
http://galemu.emuunlim.com
Back to top
View user's profile Send private message Visit poster's website
mahlemiut
Supereditor


Joined: 06 Jan 2005
Posts: 917
Location: New Zealand

PostPosted: Thu Jul 12, 2007 12:38 am    Post subject: Reply with quote

Yeah, I can see you all are interested... Smile
_________________
- Barry Rodewald
HARP CPC, X68000, Neo Geo Pocket, and Neo Geo AES section editor
http://galemu.emuunlim.com
Back to top
View user's profile Send private message Visit poster's website
Chad
Supereditor


Joined: 05 Jan 2005
Posts: 811

PostPosted: Thu Jul 12, 2007 4:20 pm    Post subject: Reply with quote

haha, i'm getting around to it eventually! I sort of pupu on .NET installations, so i'm pushing myself to finding a bare computer to install it and .NET on. After microsoft drops support windows 2000, there's no telling what they'll be dropping support on in the future, as in everything they make now will probably no longer be supported in 2020.

I'm toying with qt/kde stuff now, something that will actually be around and free for a long time. Using kdevelop to make guis was really a breeze once i found the right documentation page. Of course cygwin kde still has some stuff left to be desired.
Back to top
View user's profile Send private message
mahlemiut
Supereditor


Joined: 06 Jan 2005
Posts: 917
Location: New Zealand

PostPosted: Fri Jul 13, 2007 12:22 am    Post subject: Reply with quote

Well, Visual C# is rather tied to .NET, so there's not much I can about that. Otherwise, I'd have used GTK+.
_________________
- Barry Rodewald
HARP CPC, X68000, Neo Geo Pocket, and Neo Geo AES section editor
http://galemu.emuunlim.com
Back to top
View user's profile Send private message Visit poster's website
mahlemiut
Supereditor


Joined: 06 Jan 2005
Posts: 917
Location: New Zealand

PostPosted: Thu Jan 24, 2008 6:57 am    Post subject: Reply with quote

Ok, uploaded another beta version. Not much functional change though. Mostly just worked in making it run under Linux, via Mono.

http://mahlemiut.marpirc.net/frontendbeta3.zip

Requirements revised to:
Windows 2000/XP/Vista, or Linux.
Windows 9x/ME and MacOS X support not guaranteed.
.NET Framework 2.0 or later (Win32), or Mono (tested with 1.2.4 under Linux)
Some version of MESS, SDLMESS or WolfMESS (or indeed SDLWolfMESS Wink).

Made a quick wiki page for it too: http://wiki.homeactionreplay.org/index.php?title=MESS_Frontend
_________________
- Barry Rodewald
HARP CPC, X68000, Neo Geo Pocket, and Neo Geo AES section editor
http://galemu.emuunlim.com
Back to top
View user's profile Send private message Visit poster's website
Chad
Supereditor


Joined: 05 Jan 2005
Posts: 811

PostPosted: Thu Jan 24, 2008 4:44 pm    Post subject: Reply with quote

awesome, i must try this mono thing, are you saying it's a port of .NET?
Back to top
View user's profile Send private message
Chad
Supereditor


Joined: 05 Jan 2005
Posts: 811

PostPosted: Thu Jan 24, 2008 5:04 pm    Post subject: Reply with quote

runing the system works great but making recordings does this, i don't think the brightness is the issue it's the pathname of the inp file, it may have something to do with relative and full pathnames for the inp file.

Invalid brightness value (must be between 0.100000 and 2.000000); keeping value of 1.0
Invalid contrast value (must be between 0.100000 and 2.000000); keeping value of 1.0
Invalid gamma value (must be between 0.100000 and 3.000000); keeping value of 1.0
Invalid brightness value (must be between 0.100000 and 2.000000); keeping value of 1.0
Invalid contrast value (must be between 0.100000 and 2.000000); keeping value of 1.0
Invalid gamma value (must be between 0.100000 and 3.000000); keeping value of 1.0
Fatal error: Failed to open file for recording (src/emu/inptport.c:1291)


Also, is there a way to default the device loading directory to be the {MESS}/software/{ParrentSystem} direcotry? So if i wanted to load a device for apple2c my directory would default load start in {MESS}/software/apple2. There is at least a parameter i hope that allows preservation of directory, the file open popup is always starting from root {MESS} for any system.

This looks like the begining of something special.
Back to top
View user's profile Send private message
mahlemiut
Supereditor


Joined: 06 Jan 2005
Posts: 917
Location: New Zealand

PostPosted: Thu Jan 24, 2008 9:01 pm    Post subject: Reply with quote

Well, it'd have to start saving some form of configuration to set a default software path (MESS no longer has an option for this, you simply just pass the full pathname to the device switch). I guess I'll do that eventually. :)

I didn't test INP recording/playback (my Linux system is not exactly powerful), only that it would properly call and run SDLMESS. I suppose I cought test that out a bit or something Smile
_________________
- Barry Rodewald
HARP CPC, X68000, Neo Geo Pocket, and Neo Geo AES section editor
http://galemu.emuunlim.com
Back to top
View user's profile Send private message Visit poster's website
mahlemiut
Supereditor


Joined: 06 Jan 2005
Posts: 917
Location: New Zealand

PostPosted: Thu Jan 24, 2008 9:23 pm    Post subject: Reply with quote

INP recording and playback works fine on my box, using the standard dialog. Pointed it to my home folder, entered filename, records fine. Playsback fine, too.
_________________
- Barry Rodewald
HARP CPC, X68000, Neo Geo Pocket, and Neo Geo AES section editor
http://galemu.emuunlim.com
Back to top
View user's profile Send private message Visit poster's website
Chad
Supereditor


Joined: 05 Jan 2005
Posts: 811

PostPosted: Thu Jan 24, 2008 10:51 pm    Post subject: Reply with quote

I should note, i'm actually using the .NET windows stuff. will try the mono side later.
Back to top
View user's profile Send private message
mahlemiut
Supereditor


Joined: 06 Jan 2005
Posts: 917
Location: New Zealand

PostPosted: Fri Jan 25, 2008 1:04 am    Post subject: Reply with quote

Uploaded beta 4. Added tooltips for the options.

http://mahlemiut.marpirc.net/frontendbeta4.zip
_________________
- Barry Rodewald
HARP CPC, X68000, Neo Geo Pocket, and Neo Geo AES section editor
http://galemu.emuunlim.com
Back to top
View user's profile Send private message Visit poster's website
Chad
Supereditor


Joined: 05 Jan 2005
Posts: 811

PostPosted: Fri Jan 25, 2008 2:32 am    Post subject: Reply with quote

ok, i very eager now, have the mono core, but how is it i'm supposed to run an exe in linux? i.e. i get

Code:
# mono frontend1.exe

** (frontend1.exe:4105): WARNING **: The following assembly referenced from /mnt/mess/frontend1.exe could not be loaded:
     Assembly:   System.Windows.Forms    (assemblyref_index=1)
     Version:    2.0.0.0
     Public Key: b77a5c561934e089
The assembly was not found in the Global Assembly Cache, a path listed in the MONO_PATH environment variable, or in the location of the executing assembly (/mnt/mess/).


** (frontend1.exe:4105): WARNING **: Could not load file or assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.

** (frontend1.exe:4105): WARNING **: Missing method EnableVisualStyles in assembly /mnt/mess/frontend1.exe, type System.Windows.Forms.Application

Unhandled Exception: System.IO.FileNotFoundException: Could not load file or assembly 'System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies.
Back to top
View user's profile Send private message
mahlemiut
Supereditor


Joined: 06 Jan 2005
Posts: 917
Location: New Zealand

PostPosted: Fri Jan 25, 2008 5:30 am    Post subject: Reply with quote

Are you using an older version that doesn't support System.Windows.Forms?

Works for me in 1.2.4 (standard Ubuntu 7.10 package), and 1.2.6 is the latest.
_________________
- Barry Rodewald
HARP CPC, X68000, Neo Geo Pocket, and Neo Geo AES section editor
http://galemu.emuunlim.com
Back to top
View user's profile Send private message Visit poster's website
Chad
Supereditor


Joined: 05 Jan 2005
Posts: 811

PostPosted: Fri Jan 25, 2008 7:30 am    Post subject: Reply with quote

yeah a 6month "older" version 1.1.7 times change. I'll see if i can find something for fc6, or i guess just build the source.

revists the mono repo

and after installing mono-data-1.2.6-4 and mono-core-1.2.6-4 i get the same error, i am getting an error installing mono-extras-1.2.6-4, i guess it's time to upgrade the whole linux.
Back to top
View user's profile Send private message
gameboy9
Site Admin


Joined: 20 Sep 2004
Posts: 810

PostPosted: Fri Jan 25, 2008 12:22 pm    Post subject: Reply with quote

I haven't taken a look at this, and I don't know if you've run into this yet... but have you had a situation where you have more than 255 selectable software programs, and if you select a program any higher than 256 in the list the emulation won't start?

This is the biggest reason why I don't confirm recordings in WolfMESS with great swiftness... because I have to keep the number of software titles in the list low.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Home Action Replay Page Forum Index -> General All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
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
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group