# Internet conection lost

**URL:** <https://forum.makecode.com/t/internet-conection-lost/7797>\
**Category:** Arcade\
**Created:** [May 3, 2021, 7:05pm UTC](https://forum.makecode.com/t/internet-conection-lost/7797 "2021-05-03T19:05:24Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eretick](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/eretick/32/3954_2.png) [@Eretick](https://forum.makecode.com/u/Eretick)\
**Post date:** [May 3, 2021, 7:05pm UTC](https://forum.makecode.com/t/internet-conection-lost/7797/1 "2021-05-03T19:05:24Z")

</div>

I worked at least 2 hours in MakeCode App for Win10.  
And then I decided to save my project and it says I cannot save project cause I lost my Internet connection.  
No, Arcade. Its YOU lost internet connection for no-reason, my connection is fine, I checked. If I refresh my page or reopen the app - all things I did will be missed.

UPD: Reopened the App. This project even not in my proojects list. Great.

I got this error some times in Windows 10 app and in Chrome browser too. Why it happening? What should I do?

---

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [May 3, 2021, 8:30pm UTC](https://forum.makecode.com/t/internet-conection-lost/7797/2 "2021-05-03T20:30:33Z")

</div>

Reposted as the original thread was deleted for some reason:

> This is why you need to save periodically. If you use the online version of Arcade you get GitHub integration as well. In both cases, you can just save a `.png` or `.uf2` every time you get past a “good point.” 2 hours is way overdue for a save/commit. This has happened to all of us before and it’s not easy facing it. ☹ Trust me. It has happened to me too not just with Arcade.
> 
> Also for the first save, you need an internet connection AFAIK because it needs to connect to the servers for it to cloud compile. After the first save/compile, then it can do all the work locally.\* Also even if you don’t decide to save it should save it somewhere. When you open back up the page/app, it should be in your list of projects.
> 
> * * *
> 
> \* someone please confirm this.

---

<div class="post-metadata">

**Author:** ![Eretick](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/eretick/32/3954_2.png) [@Eretick](https://forum.makecode.com/u/Eretick)\
**Post date:** [May 4, 2021, 12:56am UTC](https://forum.makecode.com/t/internet-conection-lost/7797/3 "2021-05-04T00:56:09Z")

</div>

The big irony is I just clicked on Save btn 😃

> [@UnsignedArduino](#):
>
> This is why you need to save periodically

Yes, usually I do it. But this time i spend most time not coding, but drawing sprites and backgrounds. And I kinda got carried away with it. And after I drawed and placed 2 scenes, I clicked “save” icon.  
And something goes wrong…

---

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [May 4, 2021, 1:06am UTC](https://forum.makecode.com/t/internet-conection-lost/7797/4 "2021-05-04T01:06:56Z")

</div>

☹ big oof. If you go to `C:\Users\<YOUR-USERNAME>\Documents\MakeCode\arcade` (if you are using Windows, idk for macOS but it’s probably in the documents folder) do you see your project?

BTW, if you use the marquee tool, you can copy and paste your images into a text document and paste them back in:

 ![makecode arcade copy and paste](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/8/8d9406bdb4abeb89c5c5e3da12c012291cd2bf2c.gif)

---

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [May 4, 2021, 1:06am UTC](https://forum.makecode.com/t/internet-conection-lost/7797/5 "2021-05-04T01:06:58Z")

</div>

> [@UnsignedArduino](#):
>
> Also for the first save, you need an internet connection AFAIK because it needs to connect to the servers for it to cloud compile.

Also just realized that your are using the offline app again - the offline app should not need an internet connection.

---

<div class="post-metadata">

**Author:** ![Eretick](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/eretick/32/3954_2.png) [@Eretick](https://forum.makecode.com/u/Eretick)\
**Post date:** [May 4, 2021, 1:26am UTC](https://forum.makecode.com/t/internet-conection-lost/7797/6 "2021-05-04T01:26:35Z")

</div>

> [@UnsignedArduino](#):
>
> If you go to `C:\Users\<YOUR-USERNAME>\Documents\MakeCode\arcade` (if you are using Windows, idk for macOS but it’s probably in the documents folder) do you see your project?

I`m not sure. Yes, I see folder but idk is it last state.

 ![2021-05-04 (3)](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/a/a35e1c9ce09a7c88dd8b99e5a04625a165831dde.png)

What should I do?

> [@UnsignedArduino](#):
>
> BTW, if you use the marquee tool, you can copy and paste your images into a text document and paste them back in:

Nice trick, I will notice it.

> [@UnsignedArduino](#):
>
> Also just realized that your are using the offline app again - the offline app should not need an internet connection.

Yes, I guess for offline app its unforgivable error.  
But I guess its not online at all. It could be just kind of WinApp wrapper for web page

---

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [May 4, 2021, 3:00pm UTC](https://forum.makecode.com/t/internet-conection-lost/7797/7 "2021-05-04T15:00:07Z")

</div>

Well technically the offline app is just an electron application but with the compilers and everything packaged with it so it can be offline. Also, if you open `main.ts` in an text editor do you see your images???

---

<div class="post-metadata">

**Author:** ![LcAtonal](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/lcatonal/32/16800_2.png) [@LcAtonal](https://forum.makecode.com/u/LcAtonal)\
**Post date:** [May 4, 2021, 3:06pm UTC](https://forum.makecode.com/t/internet-conection-lost/7797/8 "2021-05-04T15:06:21Z")

</div>

My project got deleted too ☹

---

<div class="post-metadata">

**Author:** ![Eretick](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/eretick/32/3954_2.png) [@Eretick](https://forum.makecode.com/u/Eretick)\
**Post date:** [May 4, 2021, 3:10pm UTC](https://forum.makecode.com/t/internet-conection-lost/7797/9 "2021-05-04T15:10:05Z")

</div>

Oh. My. God.  
You saved my life, dude.

I backuped this project to another place, reimported old project to MakeCode app. And after that(while it’s running), replaced the _assets.json, images.g.jres, images.g.ts, main.blocks, main.ts (not main.py!!!), pxt.json, tilemap.g.jres_ from backup version to current.  
In some reason, replacement some files make project invisible and need to restart procedure from beginning.  
But in final - **I recovered all things** I’ve done, except last tilemap, but it doesn`t matter, walls can be setted in manual mode 😃  
**UPD:** last tilemap saved but no associated in blocks mode. So actually i recovered everything.

God bless you, you`re the best!

---

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [May 4, 2021, 3:23pm UTC](https://forum.makecode.com/t/internet-conection-lost/7797/10 "2021-05-04T15:23:08Z")

</div>

Is it in the Arcade app or online? Because if it’s the offline app maybe you could try following what Eretick did too???

---

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [May 4, 2021, 3:23pm UTC](https://forum.makecode.com/t/internet-conection-lost/7797/11 "2021-05-04T15:23:09Z")

</div>

Haha thanks I always try to help other people when I can. And don’t forget if you want to please post the game on the forum 😉

---

<div class="post-metadata">

**Author:** ![Eretick](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/eretick/32/3954_2.png) [@Eretick](https://forum.makecode.com/u/Eretick)\
**Post date:** [May 4, 2021, 3:35pm UTC](https://forum.makecode.com/t/internet-conection-lost/7797/12 "2021-05-04T15:35:27Z")

</div>

> [@UnsignedArduino](#):
>
> please post the game on the forum

It’s not a short story 😃  
I`m porting the game from my student, he did it in ClickTeam Fusion. So now I kind of demaking it, respriting everything from nothing, etc. For now its only half of (interactable) menu with some rooms done only.  
It may be something good. But it also will be something big.  
I will publish first demo after 1st level will be completed.

---

<div class="post-metadata">

**Author:** ![Eretick](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/eretick/32/3954_2.png) [@Eretick](https://forum.makecode.com/u/Eretick)\
**Post date:** [May 6, 2021, 11:11pm UTC](https://forum.makecode.com/t/internet-conection-lost/7797/13 "2021-05-06T23:11:12Z")

</div>

> [@UnsignedArduino](#):
>
> BTW, if you use the marquee tool, you can copy and paste your images into a text document and paste them back in:

is it some way or workaround to paste image from computer?

---

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [May 6, 2021, 11:35pm UTC](https://forum.makecode.com/t/internet-conection-lost/7797/14 "2021-05-06T23:35:15Z")

</div>

If you have a proper “Arcade image” in your clipboard and have the art editor open you can use Ctrl + P to paste.

---

<div class="post-metadata">

**Author:** ![Eretick](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/eretick/32/3954_2.png) [@Eretick](https://forum.makecode.com/u/Eretick)\
**Post date:** [May 6, 2021, 11:58pm UTC](https://forum.makecode.com/t/internet-conection-lost/7797/15 "2021-05-06T23:58:09Z")

</div>

Wait, how it suppose to be?

Ctrl+p do nothing (in offline app) or calls Print Menu (in Chrome)

---

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [May 7, 2021, 12:35am UTC](https://forum.makecode.com/t/internet-conection-lost/7797/16 "2021-05-07T00:35:37Z")

</div>

Oh sorry I meant V 🤦‍♂️

---

<div class="post-metadata">

**Author:** ![Eretick](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/eretick/32/3954_2.png) [@Eretick](https://forum.makecode.com/u/Eretick)\
**Post date:** [May 7, 2021, 2:00am UTC](https://forum.makecode.com/t/internet-conection-lost/7797/18 "2021-05-07T02:00:24Z")

</div>

> [@UnsignedArduino](#):
>
> Oh sorry I meant

I tried but it doesn`t work.  
What do you mean by “a proper “Arcade image””  
Well, I imported project to chrome. From Chrome, I saved img by “save as” in context menu. It downloads 32-bit bmp file.  
Is it correct image?  
So I opened it in… [Paint.Net](http://Paint.Net). Copied.  
Opened the image editor in App. Used ctrl+v.  
Nothing happens

---

<div class="post-metadata">

**Author:** ![UnsignedArduino](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/unsignedarduino/32/592_2.png) [@UnsignedArduino](https://forum.makecode.com/u/UnsignedArduino)\
**Post date:** [May 7, 2021, 3:42pm UTC](https://forum.makecode.com/t/internet-conection-lost/7797/19 "2021-05-07T15:42:18Z")

</div>

You don’t save it as a standard image. You know how Arcade represents images like:

```typescript
img`
. . . . . . . . . . . . . . . . 
. . . . . . . . . . . . . . . . 
. . . . . . 9 . . . 9 . . . . . 
. . . . . . 9 . . . 9 . . . . . 
. . . . . . 9 . . . 9 . . . . . 
. . . . . . 9 . . . 9 . . . . . 
. . . . . . 9 . . . 9 . . . . . 
. 9 . . . . 9 . . . 9 . . . . . 
. 9 9 . . . . . . . . . . . . . 
. . 9 . . . . . . . . . . . 9 . 
. . 9 9 . . . . . . . . . 9 9 . 
. . . 9 9 . . . . . . . 9 9 . . 
. . . . 9 9 9 9 9 9 9 9 9 . . . 
. . . . . . . . . . . . . . . . 
. . . . . . . . . . . . . . . . 
. . . . . . . . . . . . . . . . 
`

```

When you copy an image to the clipboard in Arcade, what get sent to the clipboard is a “text image” like above. When you do a Ctrl + V (huh I wonder which idiot said it was P) Arcade is looking for this “text image.”

Consider the following gif:

 ![makecode arcade copy and paste](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/2X/9/9f7b3973c9a07f385ec63ffa93aef35bc48650a1.gif)

You can see the keystrokes I press at the bottom, albeit they are quite small.

---

<div class="post-metadata">

**Author:** ![Eretick](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/eretick/32/3954_2.png) [@Eretick](https://forum.makecode.com/u/Eretick)\
**Post date:** [May 7, 2021, 9:15pm UTC](https://forum.makecode.com/t/internet-conection-lost/7797/20 "2021-05-07T21:15:27Z")

</div>

Sorry for missunderstanding. This is not a problem. I asked out of topic context.  
I mean if I have an IMAGE) on PC for example - background 160x120 in jpg or png, can I paste it to editor?  
Or even if I will recode it to 4-bit bmp. Can I copy it from graphic editor on PC directly to make code editor?

---

<div class="post-metadata">

**Author:** ![Agent\_14](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/agent_14/32/17567_2.png) [@Agent\_14](https://forum.makecode.com/u/Agent_14)\
**Post date:** [May 7, 2021, 10:17pm UTC](https://forum.makecode.com/t/internet-conection-lost/7797/21 "2021-05-07T22:17:45Z")

</div>

Yes there are tools!

[Next page](https://forum.makecode.com/t/internet-conection-lost/7797.md?page=2)
