#Tetris The Grandmaster 2 Plus

1 messages · Page 1 of 1 (latest)

shadow verge
#

there should be a way to port it with a emulator, seen it on web before

old carbon
#

I gotchu

#

im so bored

shadow verge
#

ty

solid ocean
old carbon
#

@shadow verge @solid ocean Done I got a little distracted thats why it took so long: `<!DOCTYPE html>
<html>
<head>
<base href="https://cdn.jsdelivr.net/gh/CoderandHacker69/Ports/tgm2/">
<meta charset="utf-8">
<title>TGM2 Portable</title>
<style>
html, body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
background: black;
}
#game {
width: 100%;
height: 100%;
}
</style>
</head>
<body>

<div id="game"></div>

<script>
EJS_player = "#game";

// Arcade setup
EJS_system = "arcade";
EJS_core = "fbneo";

// ROM via direct link
EJS_gameUrl = "https://raw.githubusercontent.com/CoderandHacker69/Ports/refs/heads/main/tgm2/emulatorjs/data/roms/tgm2.zip";
EJS_gameName = "Tetris The Grand Master 2";

// EmulatorJS CDN (local)
EJS_pathtodata = "emulatorjs/data/";
</script>

<script src="emulatorjs/data/loader.js"></script>

</body>
</html>`

torn girder
solid ocean
torn girder
#

what the fuck

#

my jsdelivr link doesnt work

#

but the rawgit works

#

nvm fixed it

#

`<!-- PORTED BY CoderandHacker69 -->
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>TGM2 Portable</title>
<style>
html, body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
background: black;
overflow: hidden;
}
#game {
width: 100%;
height: 100%;
}
</style>
</head>
<body>

<div id="game"></div>

<script>
EJS_player = "#game";

// Arcade setup
EJS_system = "arcade";
EJS_core = "fbneo";

// ROM via jsDelivr
EJS_gameUrl = "https://cdn.jsdelivr.net/gh/CoderandHacker69/Ports@main/tgm2/emulatorjs/data/roms/tgm2.zip";
EJS_gameName = "Tetris The Grand Master 2";

// EmulatorJS Data Path via jsDelivr
// This tells the loader where to find the core engines and bios files
EJS_pathtodata = "https://cdn.jsdelivr.net/gh/CoderandHacker69/Ports@main/tgm2/emulatorjs/data/";
</script>

<!-- Loader Script via jsDelivr -->
<script src="https://cdn.jsdelivr.net/gh/CoderandHacker69/Ports@main/tgm2/emulatorjs/data/loader.js"></script>

</body>
</html>`

#

@solid ocean ^^ this version should work

#

what the fuck

#

never mind i guess

#

@boreal oracle could you perhaps tell me whats going wrong

void vessel
#

Try splitting it,

#

wait

#

I see that its a zip.

torn girder
#

oh fuck lmao

void vessel
#

idk how to do zip files on splitting, Im pretty sure that the browser fails to merge a zip

#

Idk i might try smth in a min after dead tapes, and eggs for bart

torn girder
solid ocean
void vessel
solid ocean
torn girder
boreal oracle
#

the game is 20.1mb im crine

void vessel
torn girder
boreal oracle
#

not even 0.1mb

void vessel
torn girder
torn girder
#

what tf does thiks mean

solid ocean
torn girder
#

however

solid ocean
torn girder
#

somebody help

solid ocean
torn girder
#

i split the files

void vessel
#

If im correct the reason its failing is because of the .part1 and .part2 instead of the .zip? I don't know much about emulation, even though I've did like 100 html files with EmuJS

solid ocean
torn girder
#

oh fuck me

#

i can rename this

#

right?

solid ocean
#

Because MAME uses the name of the file itself to know how to configure itself

torn girder
#

wait so do i rename something

#

oh this makes more sense

solid ocean
#

Yeah, it needs to be tgm2p specifically

torn girder
#

any way to change it?

solid ocean
#

GitHub is outside the scope of what I do aside from the uploading stuff

torn girder
#

i mean i have a ideaz

#

i dont know if this works because im making it up however

solid ocean
#

I never found a solution aside from deleting and reuploading when I made a mistake

torn girder
#

can we make a file that merges the two files, put it onto jsdelivr, and then name it tgm2.zip?

solid ocean
torn girder
#

someone whos more experienced with emulator.js try and fix this

solid ocean
torn girder
#

idk

void vessel
solid ocean
torn girder
tame crystal
torn girder
#

we need it to be jsdelivr

#

ok it wasnt under 20mb

#

this one works