Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to upload bmp? #18

Open
polipen opened this issue Sep 17, 2022 · 10 comments
Open

how to upload bmp? #18

polipen opened this issue Sep 17, 2022 · 10 comments

Comments

@polipen
Copy link

polipen commented Sep 17, 2022

i tried imgur, my ftp server, some online image viewers but not worked.

@AlexALX
Copy link
Owner

AlexALX commented Sep 18, 2022

you need own web (http) server, not ftp one. Most image services like imgur converting bmp to jpg always, so you can't upload raw (true) bmp image here.

@polipen
Copy link
Author

polipen commented Sep 24, 2022

its now giving me "empty response" error and yes i made my localhost server and its an bmp image

@AlexALX
Copy link
Owner

AlexALX commented Sep 25, 2022

Did you tried open url in browser? And make sure its not httpS but just http (since i had issues with https in wiremod)

@polipen
Copy link
Author

polipen commented Sep 25, 2022

yes its http and yes i can open the image in my browser. btw i'm using iis feature of windows.

@AlexALX
Copy link
Owner

AlexALX commented Sep 25, 2022

Then i'm not sure, try 127.0.0.1 instead of localhost, also it might be related with this warning: https://wiki.facepunch.com/gmod/http.Post

To enable HTTP-requests to destinations on private networks use Command Line Parameters -allowlocalhttp (serverside only).

EDIT: just checked my gmod params - and yes i did added that at some point and forgot (so just add param in steam and will work for singleplayer).

@polipen
Copy link
Author

polipen commented Sep 25, 2022

parameter is worked thanks! and last thing, is there a way to make bigger dhdd? i mean i can't get songs its so small

when i try to edit hdd e2 chip it can't validate the code (failed to include "alx_pc/shared/main") when i delete it, it says "no such function: getentity(number).

@AlexALX
Copy link
Owner

AlexALX commented Sep 25, 2022

Yes you can make bigger dhdd by adding extra data banks and then edit e2 chip with adding # of them + connect with wirelink. As for error - you need download e2 folder manually (from this repository) and extract so path will be valid, then use main script (alx_pc/HDD.txt) when upload to e2 chip.

And note - 1 MB is physical limit for each HDD Bank (262144 sectors with 32bits).

@polipen
Copy link
Author

polipen commented Sep 28, 2022

ok last thing (really) a glitch happening to my pictures
20220928163747_1

it should be complete white (look closer if u didn't see it)

@AlexALX
Copy link
Owner

AlexALX commented Sep 28, 2022

Are you sure its not rendering issue (like scaling from different distance), or conversion issue (like from jpg to bmp)?

@AlexALX
Copy link
Owner

AlexALX commented Sep 28, 2022

Also make sure you didn't enabled "Compression" in any kind when save bmp. it should be 32/24/16/8/4/1 bits without compression. Also doesn't support RTL or something like this called, not remember already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants