MCPcopy Index your code
hub / github.com/dev-drprasad/hsk00

github.com/dev-drprasad/hsk00 @v0.3.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.3.1 ↗ · + Follow
75 symbols 214 edges 33 files 1 documented · 1%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

🚧 hsk00 🚧

Add/Remove games to your "Data Frog Y2-HD (568 in 1)" console.

hsk00-osx-screenshot

⚠️ Before you use this, backup your SD card. Just copy/paste all files to your computer.

Download

There is no install step. You just download and run.

Can't launch ?

Windows 10 :

If you're seeing "Microsoft Defender SmartScreen prevented an unrecognized app from starting", then click on "More Info" and then "Run anyway"

OS X :

if you're seeing "“hsk00” cannot be opened because the developer cannot be verified." message, then go to "System Preferences" -> "Security & Privacy", you see "hsk00 was blocked .....", click on "Open Anyway"

Feel free to create an issue if facing any issue other than the one specified above

CLI

Download CLI :

For Linux and OS X binaries, you need to give executable permission by running command chmod +x <filename>.

add

Adds game(s) to given category (Racing, Adventure etc..)

--category number starts from 0, left to right in menu. Example: "Racing Games" category number is 4.

--root is root directory of game folder where Menu.ocv exists (can be SD card path or custom directory where files present)

Example:

hsk00-darwin-amd64 add nesroms/Famicom_Wars.nes  nesroms/Heavy_Barrel --category 4 --root ~/Datafrog

⚠️ This will change menu text slightly and sorts games by alphabetical order

If you can't lanuch games or change page, restore files with your backup.

replace

Replace will replace existing game with new game.

Not implemented yet

descramble

Extracts hidden files from scrambled files. Output filename will be <inputfilename>.<hidden-file-ext> and will be generated in same directory where input file present. Can extract hidden zip files and image files

Example 1:

hsk00-darwin-amd64 descramble  ~/Datafrog2/Game04/hsk06.asd

Example 2:

hsk00-windows-cli.exe descramble  F:\Game04\Game01.bin --out F:\Game04\Page01-GameList.jpg

scrambled-zip

Generates scrambled asd type files from given mutliple files. Input files can be anything. This is low level API. If you're uncertain what this command do, probably you don't need this command.

Example:

hsk00-darwin-amd64 scrambled-zip file1.nes file2.nes --out hskXX.asd

scramble

This command is removed in favour of scrambled-zip from v0.2.0.

Supported Consoles

  • DATA FROG Y2-HD (568 in 1)
  • Extreme Mini HD Game Box
  • U-BOX EMX-041
  • DEXP RetroGAME Flash + 300 игр
  • Probably works with console with SD card which looks like below

data-frog-sd-card-files

Let me know if it works with other consoles. It helps other people

Development

go get github.com/markbates/pkger/cmd/pkger
pkger -include /assets
pkger -include /assets -o cmd/

References

  • http://bootleg.games/BGC_Forum/index.php?PHPSESSID=bvomlllrtphq11187kpvontr72&topic=1775.msg17586#msg17586
  • https://golangcode.com/create-zip-files-in-go/
  • https://gist.github.com/madevelopers/40b269730df687cdcb8b
  • https://stackoverflow.com/questions/28513486/how-add-a-file-to-an-existing-zip-file-using-golang
  • http://blog.ralch.com/tutorial/golang-working-with-zip/
  • https://stackoverflow.com/a/42454716/6748719
  • https://exifinfo.org/

Core symbols most depended-on inside this repo

EncodeFileName
called by 6
pkg/common.go
PKToWQW
called by 4
pkg/common.go
sanitizeFilename
called by 3
pkg/common.go
Descramble
called by 3
pkg/common.go
GameNameFromFilename
called by 3
pkg/common.go
getHsk00lstContent
called by 3
pkg/common.go
GenerateScrambledZip
called by 3
pkg/scramble.go
Add
called by 3
pkg/add.go

Shape

Function 58
Method 12
Struct 4
TypeAlias 1

Languages

Go68%
TypeScript32%

Modules by API surface

pkg/common.go19 symbols
main.go11 symbols
frontend/src/App.js8 symbols
pkg/menu.go4 symbols
oldgui/main.go4 symbols
frontend/src/serviceWorker.js4 symbols
pkg/add.go3 symbols
frontend/src/Footer.jsx3 symbols
frontend/src/GameList.jsx2 symbols
frontend/scripts/test.js2 symbols
frontend/scripts/build.js2 symbols
cmd/main.go2 symbols

For agents

$ claude mcp add hsk00 \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact