NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Information Community Announcements v
« Previous 1 … 52 53 54 55 56 Next »
My Programs Plugins Released

 
  • 0 Vote(s) - 0 Average
My Programs Plugins Released
oakleeman
Offline

Junior Member

Posts: 35
Threads: 9
Joined: Jan 2005
#21
2005-01-28, 12:10 AM
[b Wrote:Quote[/b] (reven @ Jan. 27 2005,02:40)]it just uses the filename then the %ROM% is replaced with the filename surround in quotes
eg
D:\Games\Nintendo\Jnes 0.5.3\Jnes.exe "D:\Games\Nintendo\Roms\rom.zip"
ill download project64 and give it a go.
reven,

Yes, I'm able to launch a game from the command prompt if I put the full path of the rom. I'm going to try it with the rom in quotation marks to see if I get the same error.
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#22
2005-01-28, 12:41 AM
which emulator is it project64 or jnes, i couldnt get any roms working from the command line (i was typing them in, not using this plugin) with project64, havent tried jnes. the quote marks wont make any difference, its just a dos thing. its so if a file name has spaces its not split into multiple tokens.

tipstir i cant test if it works on an MVP, but theres no reason it shouldnt, its not just for PAL systems, once again, using 720x80 = NTSC. that said, theres not much point using this on a MVP, since all the emulators, applications wont be displayed. they arent draw in the gbpvr window.
oakleeman
Offline

Junior Member

Posts: 35
Threads: 9
Joined: Jan 2005
#23
2005-01-28, 02:47 AM
Jnes is working perfectly, it's project64 that I have a problem with.

I am able to launch my games perfectly issuing the following at the command prompt:
D:\Games\Nintendo64\Project64\Project64.exe D:\Games\Nintendo64\Roms\rom.zip

However I was able to reproduce the error by issuing the command with quotation marks included: D:\Games\Nintendo64\Project64\Project64.exe "D:\Games\Nintendo64\Roms\rom.zip" So I'm guessing that in this case the quotation marks do matter for some reason.

On a side note, I compiled my first .exe file today....Hello World! here I come...lol
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#24
2005-01-28, 03:00 AM
huh, quote marks causing the error. i really really dont want to remove these, since if you have a rom called "X-Men Reign of the Apocalypse.rom" it would try and run "x-men" and ignore the rest, thinking those are different arguments. i suggest try finding a different emulator, also try using a rom with spaces in its name to see if that works, with and without the quotes.
oakleeman
Offline

Junior Member

Posts: 35
Threads: 9
Joined: Jan 2005
#25
2005-01-28, 05:37 AM
well, wish I knew a better answer for you but here's goes:

I initially was launching each individual game as a custom task using the following config:
Button Name: Mario Kart 64
Executable: D:\Games\Nintendo64\Project64 v1.5\Project64 v1.5.exe
Arguments: D:\Games\Nintendo64\Roms\Mario Kart 64 (U).v64
Description: Mario Kart on Nintendo 64

The above is working great but I decided to modify it since I too thought that the spaces might be causing a problem with the My Programs plugin. Here is my modified Custom Task:
Button Name: Mario Kart 64
Executable: D:\Games\Nintendo64\Project64\Project64.exe
Arguments: D:\Games\Nintendo64\Roms\Mario Kart 64.v64
Description: Mario Kart on Nintendo 64

Mario Kart 64.v64 and Goldeneye.rom are the roms I've been using to test this whole time. How are you exiting from the games when you are ready to quit playing? My {esc}{alt}+F-X macro that I had defined to my remote seems to not work as well with Jnes when launching through My Programs.

In any case, I hope that you don't think I'm being nitpicky or critical. I really love the potential this has and appreciate all of the help you have been giving. If I am unable to get Project64 to work right; I'll leave it as a custom task since I only have a few games that I actually play. My wife actually likes how it works too so extra kudos to you. Keep up the good work.
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#26
2005-01-28, 06:09 AM
[b Wrote:Quote[/b] (oakleeman @ Jan. 28 2005,18:37)]
[b Wrote:Quote[/b] ]How are you exiting from the games when you are ready to quit playing? My {esc}{alt}+F-X macro that I had defined to my remote seems to not work as well with Jnes when launching through My Programs.
Im not exiting them in anyway, it just simple starts the applications, using these lines of code
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">Process myProcess = new Process();
myProcess.StartInfo.FileName = EXE_TO_LAUNCH.Replace("%FILE%","\""+SelectedFileDetails.FullName+"\"");
myProcess.StartInfo.Arguments = " " + ARGUMENTS.Replace("%ROM%","\""+SelectedFileDetails.FullName+"\"");
myProcess.Start(); [/QUOTE]


[b Wrote:Quote[/b] ]In any case, I hope that you don't think I'm being nitpicky or critical. I really love the potential this has and appreciate all of the help you have been giving. If I am unable to get Project64 to work right; I'll leave it as a custom task since I only have a few games that I actually play. My wife actually likes how it works too so extra kudos to you. Keep up the good work.
no i dont think you're being nitpicky, its a bug, it needs to be fixed. i might change it so in the args you must specify the quotes, so in the case of project64 you would just use
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">%ROM%[/QUOTE]
and every other emulator
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">"%ROM%"[/QUOTE]
only problem there, is you know some people are going to leave the quotes out, and say &quot;whats wrong? it doesnt work? its broken, you suck!&quot; etc. Tongue
oakleeman
Offline

Junior Member

Posts: 35
Threads: 9
Joined: Jan 2005
#27
2005-01-28, 07:04 AM
lol. I actually was asking how do you personally close the ROM when you are finished playing? Do you have any keystrokes mapped to your remote or actually use your keyboard &amp; mouse?
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#28
2005-01-28, 07:35 AM
i just close them like any other application, alt-f4 on keyboard, or ctrl-x (on a gba emulator i use, ill make these to a gamepad later). you can make the power button to close by default, so any program that isnt listed it will use alt-f4 when power is pressed.
bluesxman
Offline

Senior Member

Posts: 311
Threads: 7
Joined: Jul 2004
#29
2005-01-28, 08:26 AM
tipstir: I can't see this working on the MVP - how does what ever emulator you're running know to output on the MVP, it is just another program running on your PC - it just happened to be launched from GB-PVR
reven
Offline

Posting Freak

Posts: 5,782
Threads: 396
Joined: Sep 2004
#30
2005-01-28, 08:27 AM
ok it now doesnt automatically adds the quotes around the %ROM% or %FILE%. so in most case you MUST MUST MUST! (just to make so this is clear) add the quotes around the %ROM% and %FILE%.
so eg for most emulators
args= &quot;%ROM%&quot;

for some, eg project 64
args= %ROM%

if you have already set them all up, just manually edit the config.xml file and add the &quot; (its not special xml character, so just type it in as normal). currently theres no &quot;edit&quot; for a emulator item, because im a lazy programmer.

any questions, comments, find any bugs let me know.

oh download from the same link as in first post.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (4): « Previous 1 2 3 4 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  NextTool finally released mvallevand 0 3,099 2022-05-13, 09:53 PM
Last Post: mvallevand
  Searchlite v3 Released - maybe not so lite. mvallevand 0 2,286 2017-04-24, 03:04 PM
Last Post: mvallevand
  TV Listings 3.7.2 released alibert 0 3,003 2016-11-21, 05:13 PM
Last Post: alibert
  TV Listings 3.7.1 released alibert 3 3,974 2015-01-10, 11:05 AM
Last Post: liteswap
  NEWA Release Build 2.10 Released 2013-12-30 UncleJohnsBand 0 2,199 2013-12-31, 02:53 AM
Last Post: UncleJohnsBand
  TV Listings 3.7.0 released alibert 0 3,332 2013-10-23, 06:45 AM
Last Post: alibert
  TV Listings 3.6.2 released alibert 3 5,425 2013-04-30, 01:14 AM
Last Post: dljones8053
  NEWA Release Build 1.30 Released 2012-11-27 UncleJohnsBand 0 2,291 2012-11-28, 04:11 AM
Last Post: UncleJohnsBand
  NEWA Release Build 1.26 Released 2012-08-24 UncleJohnsBand 0 5,467 2012-08-25, 04:56 AM
Last Post: UncleJohnsBand
  MusicMonkey v1.1 Released cncb 0 2,354 2012-08-10, 05:06 PM
Last Post: cncb

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode