Main > Software Forum
Johnny5 - error with clones
Howard_Casto:
I think posting a mame.ini might be helpful.
Also running j5 with the -debug tag might help (add -debug right after the -ahk 1000 entry in the script).
whatisk:
--- Quote from: Howard_Casto on May 22, 2006, 11:43:53 pm ---I think posting a mame.ini might be helpful.
Also running j5 with the -debug tag might help (add -debug right after the -ahk 1000 entry in the script).
--- End quote ---
Here is my mame.ini
--- Code: ---### MAME.ini ###
### Frontend Related ###
clones 0
### Windows path and directory options ###
rompath c:\mame\roms
samplepath c:\mame\samples
inipath c:\mame\ini
cfg_directory c:\mame\cfg
nvram_directory c:\mame\nvram
memcard_directory c:\mame\memcard
input_directory c:\mame\inp
hiscore_directory c:\mame\hi
state_directory c:\mame\sta
artwork_directory c:\mame\artwork
snapshot_directory c:\mame\snap
diff_directory c:\mame\diff
ctrlr_directory c:\mame\ctrlr
cheat_file c:\mame\cheat.dat
history_file c:\mame\history.dat
mameinfo_file c:\mame\mameinfo.dat
### Windows video options ###
autoframeskip 0
frameskip 0
waitvsync 0
triplebuffer 1
window 0
ddraw 1
direct3d 0
hwstretch 1
# screen <NULL> (not set)
cleanstretch auto
resolution 640x480
refresh 0
scanlines 0
switchres 1
switchbpp 1
maximize 1
keepaspect 1
matchrefresh 0
syncrefresh 0
throttle 1
full_screen_brightness 1.
frames_to_run 0
fast_startup_frames 0
skip_startup_frames 0
effect none
screen_aspect 4:3
### Windows Direct3D 2D video options ###
zoom 2
d3dtexmanage 1
d3dfilter 1
d3dfeedback 100
d3dscan 100
d3deffectrotate 0
d3dprescale auto
d3deffect none
# d3dcustom <NULL> (not set)
# d3dexpert <NULL> (not set)
### Windows misc options ###
sleep 0
rdtsc 0
high_priority 1
### Windows sound options ###
audio_latency 1
# wavwrite <NULL> (not set)
### Input device options ###
mouse 0
joystick 0
lightgun 0
dual_lightgun 0
offscreen_reload 0
steadykey 0
keyboard_leds 0
led_mode ps/2
a2d_deadzone 0.30
# ctrlr <NULL> (not set)
paddle_device keyboard
adstick_device keyboard
pedal_device keyboard
dial_device keyboard
trackball_device keyboard
lightgun_device keyboard
digital none
### Mame CORE video options ###
norotate 0
ror 0
rol 0
autoror 0
autorol 0
flipx 0
flipy 0
debug_resolution auto
gamma 1.00
brightness 1.00
pause_brightness 0.65
### Mame CORE vector game options ###
antialias 1
translucency 1
beam 1.00
flicker 0.00
intensity 1.50
### Mame CORE sound options ###
samplerate 22500
samples 1
resamplefilter 0
sound 1
volume 0
### Mame CORE misc options ###
artwork 1
use_backdrops 0
use_overlays 0
use_bezels 1
artwork_crop 0
artwork_resolution 0
cheat 1
debug 0
# playback <NULL> (not set)
# record <NULL> (not set)
log 0
maxlogsize 10000
oslog 0
skip_disclaimer 1
skip_gameinfo 1
skip_warnings 1
skip_validitychecks 1
crconly 0
bios default
# state <NULL> (not set)
### Configuration options ###
readconfig 1
verbose 0
--- End code ---
I have also tried using the J5Script3.0 from Howards website but get the same error.
Running from a batch file directly [eg: start johnny5.ahk chplftbl] gives the error also. I have noticed that there are a couple of batch files in the johnny folder that create text files listing clones, driver info, etc. These appear to get the right info in them. Not sure if this helps at all... One thing I haven't tried (but I will) is passing more than just the rom name to the script directly in the batch file.
I tried adding the -debug to the end of the line as directed but am not sure what it will do. When I ran the script the game paused and that was all that appeared to happen. Should a file be created with info or a box pop up or something?
Howard_Casto:
The pop-up box probably isn't receiving focus while in mame. Just try it outside of maem with debug on.
Looking at the mame.in the thing that glares out to me as abnormal is that you are passing full paths rather than relative paths in your mame.ini Mame certainly supports this, but i'm not sure I checked if j5 does.
try "ctrlr" instead of "c:\mame\ctrlr" "cfg" instead of "c:\mame\cfg" and "ini" instead of "c:\mame\ini"
Howard_Casto:
Actually, scratch the debug... looks like i broke it this release.
whatisk:
Have done some more experimenting.
Removed all paths from mame.ini (ie: 'ctrlr' instead of 'c:\mame\ctrlr', etc). Still received the run-time error.
Checked attributes of the files in the Johnny5 and Mame folder to make sure none were read only. Still get the error.
Run Johnny5 directly (eg: johnny5.exe chplftbl). Get the error.
One thing I have noticed though is that if the clone I run has no entry in the controls.ini then the picture of my panel comes up fine and has the text 'no entry found' in the top left corner. So, it only seems to be clones where the original rom has an entry in the controls file.
Also, not sure if this means anything, but for chplftbl, the driver.txt file that appears to be created by the getdriver.bat has no information in it. If I run chplft then the driver.txt file has info in there regarding driver file, sound files, etc.
I'm also on XP SP1. I guess upgrading to SP2 wouldn't change anything?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version