Why have you done that?
Removing 'AppleSetupDone' will trigger the setup assistant next time you boot. It does not help with your current situation. If it ever manages to boot you will have to step through the setup process again (as if the Mac was new). All your data will still be on the Mac, but you will probably end up with a new user account.
You can reverse the process by 'touching' to create the file…
Boot using single user mode (by holding cmd+s at startup).
How to start up your Mac in single-user or verbose mode - Apple Support
fsck -fy
mount -uw /
touch /var/db/.AppleSetupDone
reboot
Notice I also added a 'fsck -fy' - that will check the filesystem, run it until it reports no errors.
Try the NVRAM/ PRAM reset and also try a safe boot that I linked above.
If you can't get any results from those then I'm afraid you may be stuck without any other disks to boot from. This older OS does not have any tools built in for system repairs, so you really need to find a suitable 10.5 (or a copy of the original grey disks). Apple may sell you a 10.5 disk (do you have an Apple store nearby?) or you probably have to look on Amazon or Ebay etc.