Also sidenote least for those who purchase on google play when you click the upper corner while in the app/game where you look at achievements click on about instead where it will open the browser and take you to credits click on the url and it should be:
Ex: https://www.choiceofgames.com/user-contributed/community-college-hero/scenes/startup.txt
I haven’t seen a way to get past the block, just briefly looking at it, but for me just seeing the startup.txt helped a lot when i first started learning to code but you can restore purchases to your CoG account from the apple/google store and log in via browser.
Sorry if this doesnt make sense im running on very little sleep right now with no caffeine
The reason there’s a block is because you haven’t purchased the game. There’s no way around that, as far as I know, except to buy it.
And yeah, the rest of your explanation is pretty much what I explained above, but thanks for including the links! I think that’ll help mobile users a lot in seeing what I’m talking about instead of trying to blow up my pics and being all—
i will admit that was pretty much me when i was reading your reply above
When i meant the block i meant when the user leaves the app/actual game to open the browser the block is there even if they purchased it which can be fixed by logging in to their CoG account and restoring/linking their googleplay/apple purchases
I havent linked my stuff since theyre different emails but i plan on rebuying all my games with my email account that is connected to this account. Convoluted but im wierd and hey its my way of supporting these amazing writers -
Yeah, that’s what I meant too. The block is a purchase (?) block. Unless you’re logged into an account that’s connected to a purchase—well, you already know, lol.
oh worm? That’s what I’m doing with Steam! Just throwing all my love cash at authors.
Again, the screenshots above are if you have the inspector open as a separate window.
And now here's the tricky part. In your console, manually type in (yeah, I know, there's no copypasta-ing—so sad) allScenes["startup"].lines.join.("")—no, I have no idea what it means either, just do it.
No, as far as I know, there’s no way to clear your console history on Firefox like in Chrome, but uh…if you’ve made it this far…well…this is gonna be the least of your worries, frendo.
also pls forgive and ignore my CK2 files, i like to cheat a lot and at one point my ruler went off to fight a bear that i tried to recruit to court but it was automatically killed after the encounter and i was trying to see if i could revive it because who doesn’t want a bear courtier???
Anyway, if you have patience, you can indent it to something resembling ChoiceScript and perhaps learn some coding along the way but if I were you I would just watch paint dry—
EDIT:
It’s because when we went into SuperHacker mode, we wrote allScenes["startup"].lines.join("n") and for some reason the n puts in…n’s…everywhere???
Anyway, don’t do that. Stop. Don’t. Just leave the "" undefined, mkay? Don’t do what I did. Learn from my mistakes, fren.
Older games like Tin Star will have simpler folder contents than newer ones. To extract the code of these older games, we will basically extracting the gamename.exe file to view its contents. You will need to have 7-zip installed. I do not know if this works with other extraction tools as well, it doesn’t work with WinRAR for me.
Right-click the gamename.exe, go to 7-zip, then “Extract to gamename\”.
This will create a new folder with all the contents of the .exe file. In there is a folder “scenes” which holds all the .txt files with the game’s code. I’d recommend opening them in Notepad++ if you’ve got that installed.
idonotlikeusernames has linked two methods to extract a game’s code earlier in this thread and you can find more detailed explanation to the nodejs method in a reply to that post:
This method will ultimately also result in a new folder being created where all the files have been extracted to and you’ll find the game’s code again in the folder “scenes”.
That’s really clear info, thanks! Anyways just wondering how do you make sure you’re logged in? Is it the google play account etc that you bought the game on? Becuz I don’t seem to see any log in button on CoG main page
But Rose! What if I didn’t by the game from the webstore? Will I have to buy it twice?
Nope!
CoG is very generous, and you can send them an email to have your purchases from other platforms be transferred to the CoG webstore. This way, you can access a game online as though you bought it there yourself. The steps to doing so are detailed below:
Step 1: You need to email support@choiceofgames.com and provide the following information:
The email address you want it associated with
No, it doesn’t have to be the same email you use to log into the forum, it’s whatever email you want it to be associated with.
Receipts or other proof of purchase for the games
For Google Play, you can find receipts using the steps below:
If you didn’t delete them, you might still have your receipts in your inbox
Any games you purchased through Google Play should show up there. Chrome Webstore purchases will be there too.
Take a screenshot of the receipt and attach it to the email you send to CoG
For the Apple App Store, you can find receipts using the steps below:
On your device, open the App Store
Select the profile icon in the top right
Select your name, you may need to use Touch ID or enter your passcode to authenticate.
Select Purchase History
Find and select the purchase you want to see the receipt
For purchases older than 90 days, make sure you’re on the correct month and year that you purchased it as the App Store shows your most recent purchases first, so you may not see your receipt at fire
Take a screenshot of the receipt and attach it to the email you send to CoG
For Steam, you can find receipts using the steps below:
Open Steam
Click your name in the upper right hand corner
Select Account Details.
Under Store and Purchase History click the link to View Purchase History
Find the purchase you want and click on it to see the receipt
Take a screenshot of the receipt and attach it to the email you send to CoG
For the Amazon App Store, you can find receipts using the steps below:
Go to Your Orders
Click View Order Details next to the order.
Search through your orders until you find the order you want
Click on Order Details to see the receipt
Take a screenshot of the receipt and attach it to the email you send to CoG
And that should be it! In a day or two they’ll send their reply and you just log into the CoG webstore and boom! You got the game, lol.
If you're logged in, you'll see your email and the `logout` option below:
Yea i can see the code but is the purchase of the game as stated by impeccably-stressed through CoG itself or from apple/google/steam, because on phone the “buy it now” button links me to google play and also I’m logged in on forum but not in the game not sure if its same acc
I don’t think you can buy CoG games from the website if you in phone, not from my experience at least. Though it doesn’t really matter since CoG staff would unlock it for you if you emailed them the receipt you received after purchase.
The forum and choiceofgames.com website is not the same. To see the codes of the game beyond the demo, you need to log in (or make a account) in the website.
On your phone you can try “request desktop site” in the browser options if purchase button redirects you to play store. Then you can input email and register.
Usually, I log in through the restore purchase in the beginning page of the game, you got the option to sign up through “No, I’m new” after entering your email (pretty weird why they didn’t make it any easier to be honest not sure if that the only way or not)
To add to the options for phone purchase registering with the CoG site, there’s an Omnibus app available for Android via GooglePlay that if you restore the game into your Omnibus library or purchase it in the Omnibus, it’ll register the game as purchased on CoG site too. For Hosted Games, anyway. Don’t think the CoG games android omnibus is released yet.
Almost all of my HG titles were purchased before I figured out the “view site as website” option in my phone browser, and they are all available via the site now, without staff intervention.
Okay, I’ve managed to get to the code for my Steam CoG games, but I’ll be damned if I can get the WIP games on dashingdon to work with the following command: allScenes[“startup”].lines.join("\n"); (or variations of it).
No matter what browser I use, it returns an error that allScenes is not defined. I tried Scenes and got the same error. Anyone have any advice on how to get this to work?