Command Line Question

General area for talk about ZSNES. The best place to ask for related questions as well as troubleshooting.

Moderator: ZSNES Mods

Post Reply
Zaknafein
New Member
Posts: 8
Joined: Wed Mar 27, 2013 4:00 am

Command Line Question

Post by Zaknafein »

I am having some ROM issues with command line loading.

This line works for this game:
"D:\Console Games\SNES\zsnesw151\zsnesw.exe" "D:\Console Games\SNES\Breath of Fire\Breath of Fire.smc"

This line does not work on this game:
"D:\Console Games\SNES\zsnesw151\zsnesw.exe" "D:\Console Games\SNES\Chrono Trigger\Chrono Trigger.smc"

The Chrono Trigger gives me a CHKSUM Fail
Breath Of Fire II works fine as well, but Arcana gives bad CHCKSUM too. But if I load the ROM while in ZSnes, it loads just fine. Any ideas?
Thanks in advanced. Oh, and I am using ZSnes 1.51.
grinvader
ZSNES Shake Shake Prinny
Posts: 5632
Joined: Wed Jul 28, 2004 4:15 pm
Location: PAL50, dood !

Re: Command Line Question

Post by grinvader »

Checksums failing or passing is irrelevant to command lines, especially if you have patched the ROMs.
皆黙って俺について来い!!

Code: Select all

<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
Zaknafein
New Member
Posts: 8
Joined: Wed Mar 27, 2013 4:00 am

Re: Command Line Question

Post by Zaknafein »

It only happens when I run it with those lines in the shortcut and only on some games... If I Load the game from Inside ZSnes it works fine. So irrelevant or not, that didn't help me any... The games will not load if I use the shortcut command lines...
grinvader
ZSNES Shake Shake Prinny
Posts: 5632
Joined: Wed Jul 28, 2004 4:15 pm
Location: PAL50, dood !

Re: Command Line Question

Post by grinvader »

Now that's interesting. Can we have the NSRT info for the roms that work when loaded through the GUI and not through command line ?
皆黙って俺について来い!!

Code: Select all

<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
Zaknafein
New Member
Posts: 8
Joined: Wed Mar 27, 2013 4:00 am

Re: Command Line Question

Post by Zaknafein »

Arcana
---------------------Internal ROM Info----------------------
File: Arcana.smc
Name: ARCANA Company: HAL Laboratory/Halken
Header: SWC Bank: LoROM
Interleaved: None SRAM: 64 Kb
Type: Normal + Batt ROM: 8 Mb
Country: USA Video: NTSC
ROM Speed: 200ns (SlowROM) Revision: 1.0
Checksum: Good 0xCFA5 Game Code:
---------------------------Hashes---------------------------
CRC32: C891B297
MD5: CEFE028852135A1695ED9F6E692BC0CA
--------------------------Database--------------------------
Name: Arcana
Country: USA Revision: 1.0
Port 1: Gamepad Port 2: Gamepad
Genre 1: RPG Genre 2: Card



Chrono Trigger
---------------------Internal ROM Info----------------------
File: Chrono Trigger.smc
Name: CHRONO TRIGGER Company: Square
Header: SWC Bank: HiROM
Interleaved: None SRAM: 64 Kb
Type: Normal + Batt ROM: 32 Mb
Country: USA Video: NTSC
ROM Speed: 120ns (FastROM) Revision: 1.0
Checksum: Good 0x788C Game Code: ACTE
---------------------------Hashes---------------------------
CRC32: 2D206BF7
MD5: A2BC447961E52FD2227BAED164F729DC
--------------------------Database--------------------------
Name: Chrono Trigger
Country: USA Revision: 1.0
Port 1: Gamepad Port 2: Gamepad
Genre 1: RPG Genre 2: Turn Based

These so far are all I have tested. I will test the rest soon, as work been keeping me really busy. Anything else that I can get you to help?
Truth Unknown
Regular
Posts: 271
Joined: Tue Jun 14, 2005 8:35 pm

Re: Command Line Question

Post by Truth Unknown »

Would ZSNES be using save/ips/etc from the current directory the command is executed (instead of in the ROM's or ZSNES's save folder) or something to that effect?
Zaknafein
New Member
Posts: 8
Joined: Wed Mar 27, 2013 4:00 am

Re: Command Line Question

Post by Zaknafein »

I'm not sure what you mean? That is just a shortcut command. Elaborate, cause kinda confused. And it only fails to load rom on select games when done via shortcut command line. I been looking online and have not really found much about it.
grinvader
ZSNES Shake Shake Prinny
Posts: 5632
Joined: Wed Jul 28, 2004 4:15 pm
Location: PAL50, dood !

Re: Command Line Question

Post by grinvader »

@Truth Unknown
If it was just a checksum fail and the rom loaded fine, it could be soft-patching.
The weird thing is that it fails to load...

@Zaknafein
Can you change the rom filename so that it has no spaces, update the shortcut accordingly and retry ?
皆黙って俺について来い!!

Code: Select all

<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
Zaknafein
New Member
Posts: 8
Joined: Wed Mar 27, 2013 4:00 am

Re: Command Line Question

Post by Zaknafein »

"D:\Console Games\SNES\zsnesw151\zsnesw.exe" "D:\Console Games\SNES\zsnesw151\zsnesw.exe" "D:\Console Games\SNES\Arcana\Arcana.smc" - Does not work, but works if I manually load it into the Emu Same with Chrono Trigger. It almost acts like it is loading a whole completely different file. Not even the same CRC number, any ideas? Something else I just noticed, when I load it by command line, and it does that, I hit escape. click Load, and it is in a blank folder, I hit up directory, and brings me to D:\Console Games\SNES\ and i see all my game folders. but it does not seem like it went to the right folder for the rom, and the directory line is right.
Command Line Load
Image


Manual Load
Image
Zaknafein
New Member
Posts: 8
Joined: Wed Mar 27, 2013 4:00 am

Re: Command Line Question

Post by Zaknafein »

Upon further revue, for some reason it is looking in the zsnesw151 folder for the ROM. Wait, can that be? Ok some how the load line got loaded twice before loading the rom, but what is funny is the other times I copy and pasted it and posted it, it did not show the double load, like in my first post, until just now, problem fixed, sorry all! :-( Wow, strange, but ok... No idea what the heck happened there!
odditude
Official tech support dood
Posts: 2118
Joined: Wed Jan 25, 2006 7:57 am

Re: Command Line Question

Post by odditude »

Zaknafein wrote:"D:\Console Games\SNES\zsnesw151\zsnesw.exe" "D:\Console Games\SNES\zsnesw151\zsnesw.exe" "D:\Console Games\SNES\Arcana\Arcana.smc" - Does not work, but works if I manually load it into the Emu Same with Chrono Trigger.
if your commandline isn't a typo, that's your problem right there - you're effectively calling "zsnes zsnes romname.smc" which is trying to load zsnes.exe as a rom image.
Why yes, my shift key *IS* broken.
Zaknafein
New Member
Posts: 8
Joined: Wed Mar 27, 2013 4:00 am

Re: Command Line Question

Post by Zaknafein »

read the post after that one, but when i copy and pasted first time it did not show it
Truth Unknown
Regular
Posts: 271
Joined: Tue Jun 14, 2005 8:35 pm

Re: Command Line Question

Post by Truth Unknown »

Maybe ZSNES should be aware of loading itself?
Image
grinvader
ZSNES Shake Shake Prinny
Posts: 5632
Joined: Wed Jul 28, 2004 4:15 pm
Location: PAL50, dood !

Re: Command Line Question

Post by grinvader »

Truth Unknown wrote:Maybe ZSNES should be aware of loading itself?
Last time we did that a weird robot appeared from a big ball of lightning bolt and tried to kill us all with impeccably buttered toasts.
After dealing with the threat in an appropriately messy fashion, we wisely decided to remove that bit of code.
皆黙って俺について来い!!

Code: Select all

<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
Zaknafein
New Member
Posts: 8
Joined: Wed Mar 27, 2013 4:00 am

Re: Command Line Question

Post by Zaknafein »

Ok I have no joke to go with that, but I do have a Hhahahahaaahaahahahahaaa ZOMFGWTFBBQSAUCEPRINGLES I about peed myself. Well played sir, well played.
Gil_Hamilton
Buzzkill Gil
Posts: 4294
Joined: Wed Jan 12, 2005 7:14 pm

Re: Command Line Question

Post by Gil_Hamilton »

grinvader wrote:
Truth Unknown wrote:Maybe ZSNES should be aware of loading itself?
Last time we did that a weird robot appeared from a big ball of lightning bolt and tried to kill us all with impeccably buttered toasts.
After dealing with the threat in an appropriately messy fashion, we wisely decided to remove that bit of code.
Is that what happened to my little Zappy-chan? You bastards owe me money!
Squall_Leonhart wrote:
You have your 2s, 4s, 8s, 16s, 32s, 64s, and 128s(crash course in binary counting!). But no 1s.
DirectInput represents all bits, not just powers of 2 in an axis.
KHDownloads
Post Reply