Skip to content

Simple library to get the serial number for a given PS1 game.

License

Notifications You must be signed in to change notification settings

ncirocco/psx-serial-number

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PSX Serial Number

This library extracts the serial from PSX bin files. The serials are normalized to use always _ to separate string from numeric part of the serial and . for the last two digits of the numeric part. fe: SLUS_015.52

How to use it

package main

import (
	"fmt"

	psxserialnumber "github.com/ncirocco/psx-serial-number"
)

func main() {
	serial, err := psxserialnumber.GetSerial("/path/to/game.bin")
	if err == nil {
		fmt.Printf("The serial of the game is %s\n", serial)
	}
}

This library has been tested with the whole NTSC-U library.

About

Simple library to get the serial number for a given PS1 game.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages