ppcasm / gsuploader

Nintendo64 homebrew development utility using gameshark.
35 stars 4 forks source link

GameShark not being detected/no data sent over parallel port? #2

Open TheEssem opened 3 years ago

TheEssem commented 3 years ago

I'm trying to run this program on a Windows 98 computer with a parallel port found on the motherboard itself. I've verified that the standard n64tools application works and that the connections are good. However, whenever I build the application using Dev-C++ 4.9.9.2 and attempt to run it, it gets stuck somewhere like this:

C:\WINDOWS\Desktop\gsuploader>gsuploader neon64gs.bin

N64 HomeBrew Loader - ppcasm
(Based on HCS GSUpload - http://here.is/halleyscomet)

File Size: 21096 bytes...

At this point, nothing seems to happen, even after waiting several minutes. I've tried locking on both Super Mario 64 and Bomberman 64 to no avail. Is there anything I need to look out for? What changes do I need to make? Thanks in advance.

deepfriedfilth commented 3 years ago

Having similar issue with Linux build from latest source. I'm going to try @MrAlert's fork which seems to have an additional commit and cross my fingers..

I'll report back when/if I can figure things out!

TheEssem commented 3 years ago

I tried that fork as well; unfortunately, however, it didn't seem to make much of a difference.

deepfriedfilth commented 3 years ago

Just want to confirm you've changed your parallel port address according to what's set in your system BIOS before compiling?

https://github.com/ppcasm/gsuploader/blob/cdc53111077576f042a5e12733e7359508df4db0/mips.h#L4

I have since tried https://github.com/parasyte/n64rd as well, and it's also unsuccessful, but does report back a comm port timeout error, which would explain why gsuploader was hanging after outputting the file size & not continuing with the transfer/output.

Kinda at a standstill attempting to troubleshoot that, at the moment, so:

Currently burning win98 to a flash drive to test out this, N64 Utils, and GSCC in that env, though! 🤞🏻

TheEssem commented 3 years ago

Sorry for the wait, but yes, the LPT1 address is set correctly. I got the setup back out and tried again, however I noticed this time that the BIOS gives me three different options for the parallel port "mode": Normal, EPP, and ECP. I've been using ECP to no success, so I might try normal and see if that helps. It seems like it could take a while, however...

Is the program only compatible with a specific parallel port mode?

deepfriedfilth commented 3 years ago

I'm unsure as I still haven't had any luck with this or other utilities with my current test rig + cords + adapter on Ubuntu, Windows 98, or XP, trying all available parallel port mode options via BIOS.

Although, this site mentions

Another common issue is the parallel port settings in the PC's BIOS... Once in the BIOS, locate the parallel port setting(s) and be sure it's set to EPP or ECP. Bi-Directional won't work.

..although that quote is in regards to troubleshooting the N64 Version 3 Utilities Windows software