Author Topic: Windows 10 Cultured + GENKI fix  (Read 5901 times)

patrickgh3

  • Spike Dodger
  • Posts: 169
  • stay optimistic! :D
  • OS:
  • Windows 10 Windows 10
  • Browser:
  • Chrome 50.0.2661.102 Chrome 50.0.2661.102
    • View Profile
    • Github
  • Playstyle: Keyboard
Windows 10 Cultured + GENKI fix
« on: May 15, 2016, 02:54:08 PM »
Recently Brokenpeanut67 found a fix for certain fangames not working on Windows 10.

EDIT: On 9/5/16 I made a simple program to apply this fix to all exes in a folder. Scroll down to that post for more info.

Here's downloads of fixed exes for Cultured and Genki so you don't have to do it yourself (put the exe in the game folder next to the old exe). The steps are listed below for the sake of documentation. Please post if the fix works for any other fangames.

1. Download and install CFF Explorer https://www.softpedia.com/get/Programming/SDK-DDK/CFF-Explorer.shtml#download
2. Right-click on the game exe and open with CFF explorer. Click "no" to dialog.
3.
(click to show/hide)
Click "File Header" on the left, "Click here" on the right, check "App can handle 2gb address space", click ok. See the screenshot.
4. Save the exe, and try running it.
« Last Edit: September 05, 2016, 09:03:34 PM by patrickgh3 »

tehjman1993

  • Global Moderator
  • The Kid
  • Posts: 278
  • Meme Enthusiast
  • OS:
  • Windows 10 Windows 10
  • Browser:
  • Chrome 50.0.2661.102 Chrome 50.0.2661.102
    • View Profile
  • Playstyle: Keyboard
Re: Windows 10 Cultured + GENKI fix
« Reply #1 on: May 15, 2016, 09:29:18 PM »
Literally just upgraded to W10 today and someone found a fix. Neat RNG!

klazen108

  • Administrator
  • The Kid
  • Posts: 286
  • your a kid now your a squid now
  • OS:
  • Windows 10 Windows 10
  • Browser:
  • Chrome 50.0.2661.102 Chrome 50.0.2661.102
    • View Profile
    • Delicious-Fruit
  • Playstyle: Keyboard
Re: Windows 10 Cultured + GENKI fix
« Reply #2 on: May 15, 2016, 10:57:15 PM »
Is this windows 10 specific? I didn't know there was a flag in the PE headers that lets a program use more than 2GB of address space... This could actually be really big! I wonder if this would help people that can't run big fangames on older systems as well.

infern0man1

  • ~(=^・ω・^)ψ
  • Global Moderator
  • Oatmeal Killer
  • Posts: 1.021
  • Dear sir stroke madam, fire exclamation point
  • OS:
  • Unknown Unknown
  • Browser:
  • Chrome 48.0.2564.92 Chrome 48.0.2564.92
    • View Profile
    • Twitter
  • Playstyle: Keyboard
Re: Windows 10 Cultured + GENKI fix
« Reply #3 on: May 16, 2016, 12:57:08 AM »
I may test this out some time, since I use Vista and I know of quite a few games that won't run for me.

patrickgh3

  • Spike Dodger
  • Posts: 169
  • stay optimistic! :D
  • OS:
  • Windows 10 Windows 10
  • Browser:
  • Chrome 52.0.2743.116 Chrome 52.0.2743.116
    • View Profile
    • Github
  • Playstyle: Keyboard
Re: Windows 10 Cultured + GENKI fix
« Reply #4 on: September 05, 2016, 09:02:35 PM »
I made a simple program that applies the fix to all exe files in a folder and all its subfolders. Aronax said a recent windows 10 update caused all fangames to need this fix, and using CFF explorer to do them all individually was a pain.

WARNING: Use at your own risk. Backup your whole fangame folder if you want to be safe. I take no responsibility if this tool fucks up your shit. The program does it to all exes in its folder and all subfolders inside it, so be careful.

Download: https://www.dropbox.com/s/cn71cupoj1yycu9/win10fixer%20ver1.exe?dl=0
Source code (C#): https://www.dropbox.com/s/cusaqzzfx5cluv5/win10fix2.zip?dl=0
A pastebin of the source file if you just want to peek at it: https://pastebin.com/8KeNAgX9
« Last Edit: September 06, 2016, 12:22:57 AM by patrickgh3 »

Aronax

  • Wannabe
  • Posts: 15
  • OS:
  • Windows 10 Windows 10
  • Browser:
  • Chrome 52.0.2743.116 Chrome 52.0.2743.116
    • View Profile
  • Playstyle: Keyboard
Re: Windows 10 Cultured + GENKI fix
« Reply #5 on: September 05, 2016, 09:07:53 PM »
I made a simple program that applies the fix to all exe files in a folder and all its subfolders. Aronax said a recent windows 10 update caused all fangames to need this fix, and using CFF explorer to do them all individually was a pain.

WARNING: Use at your own risk. Backup your whole fangame folder if you want to be safe. I take no responsibility if this tool fucks up your shit.

Download: https://www.dropbox.com/s/cn71cupoj1yycu9/win10fixer%20ver1.exe?dl=0
Source code (C#): https://www.dropbox.com/s/cusaqzzfx5cluv5/win10fix2.zip?dl=0
A pastebin of the source file if you just want to peek at it: https://pastebin.com/8KeNAgX9

Tested this software and works like a charm, if you have any issues with slowdown or lag (especially on W10 which is what this was made for), this should fix all of that. I have heard some people do not need this fix but I did and it fixed all the issues for me.
Don't ask me to test bosses. It will always be a no.

WetWookie

  • Cherry Eater
  • Posts: 90
  • OS:
  • Windows 10 Windows 10
  • Browser:
  • Firefox 48.0 Firefox 48.0
    • View Profile
  • Playstyle: Keyboard
Re: Windows 10 Cultured + GENKI fix
« Reply #6 on: September 05, 2016, 10:48:29 PM »
Do you think it would be ok to apply this to everything we upload or should we leave it up to the players to decide to do it if they have a problem?

patrickgh3

  • Spike Dodger
  • Posts: 169
  • stay optimistic! :D
  • OS:
  • Windows 10 Windows 10
  • Browser:
  • Chrome 52.0.2743.116 Chrome 52.0.2743.116
    • View Profile
    • Github
  • Playstyle: Keyboard
Re: Windows 10 Cultured + GENKI fix
« Reply #7 on: September 06, 2016, 12:22:14 AM »
As far as I'm aware it's safe to apply the fix always. The Cultured 2 crew applied the fix to all exes they released.

Aronax

  • Wannabe
  • Posts: 15
  • OS:
  • Windows 10 Windows 10
  • Browser:
  • Chrome 52.0.2743.116 Chrome 52.0.2743.116
    • View Profile
  • Playstyle: Keyboard
Re: Windows 10 Cultured + GENKI fix
« Reply #8 on: September 06, 2016, 11:46:11 AM »
Do you think it would be ok to apply this to everything we upload or should we leave it up to the players to decide to do it if they have a problem?

I personally have applied this patch to my 4GB folder of fangames and none of them had ANY issues whatsoever; so in that regard its fine.
Don't ask me to test bosses. It will always be a no.