Duck and Cover Forum Index


Use these links, buy stuff from Amazon and help us out, nubs.
Amazon.com | Amazon.ca | Amazon.co.uk | Amazon.de
  Duck and Cover  •  FAQ  •  Search  •  Memberlist  •  Usergroups   •  Register  •  Profile  •  Log in to check your private messages  •  Log in

 Support DAC!
 Fallout 1 DEMO - hacking and restoration View next topic
View previous topic
Post new topicReply to topic
Author Message
Pizzahut Lover
Cakester Alt; I'm going places in life


Joined: 12 Apr 2011
Posts: 233

PostPosted: Thu Apr 14, 2011 11:29 am Reply with quoteBack to top

Quote:
==Summary==
Attempt to open save file - call sub_483AC4 : jnz loc_452500
report error ; "\n ** Error opening save game for writin"...

Attempt save Header - call sub_484744, call sub_452828 : jnz loc_452554
report error ; "\n ** Error writing save game header! **"...

print ; " Save file header size written: %d byte"...


Attempt Save Complete - : jnz loc_4525B8
00452577 call sub_484744
00452585 call ds:off_4CBCB8[esi]
report error ; "\n ** Error writing save function #%d da"...

print ; " Save function #%d data size written: %"...

print ; " Total save data written: %ld bytes.\n"


BEGTEXT:00452639 retn



make folder data in your game folder.
make folder SAVEGAME in data folder
make folder SLOT00 in SAVEGAME
copy fallout 2 save.dat to SLOT00 folder.

this DLL if injected, takes one key press of ctrl-right. your game will crash. go and refresh view of SLOT00 folder contents.

your save.dat will be 0kb. all data will have been cleared but nothing written. the crash is because of complication with strncopy.

the ultimate solution for no crash no doubt, a few instructions modified/added. but for now you have insight.
Code:

#include <Windows>

void SimpleGoto();

HRESULT WINAPI InputThread(LPVOID);

BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
   if(fdwReason == DLL_PROCESS_ATTACH){

      DisableThreadLibraryCalls(hinstDLL);

      CreateThread(NULL, 0, (LPTHREAD_START_ROUTINE)InputThread, NULL, NULL, NULL);
      return TRUE;
   }

   return FALSE;

}

HRESULT WINAPI InputThread(LPVOID Param)
{
   while(1){
      Sleep(1);
      if(GetAsyncKeyState(VK_RCONTROL) & 0x8000){

         SimpleGoto();

         Sleep(1);
      }
      if(GetAsyncKeyState(VK_PAUSE) & 0x8000){

         break;
      }
   }

   return TRUE;
}


char szSaveBuff [30051]={0}; // modding wiki . decimal value for header size is 30051.
void SimpleGoto()
{
   // with a debugger changing the register eax from 0xcd2a20bc to offset of szSaveBuff
   // gets a bit further, but still confused.

   DWORD dwSaveAddr = 0x00452488;
   __asm {
      call dwSaveAddr
   }


}
View user's profileSend private message
Gunman
s3x g0d
s3x g0d


Joined: 10 Apr 2011
Posts: 69
Location: Ze laboratory

PostPosted: Sat Apr 16, 2011 4:28 am Reply with quoteBack to top

Fuck this thread.


View user's profileSend private message
Stalagmite
Wandering Hero
Wandering Hero


Joined: 26 Feb 2009
Posts: 1192
Location: IN YOUR PANTS AUSTRALIA

PostPosted: Sat Apr 16, 2011 6:56 am Reply with quoteBack to top

Wait so what is Cakester trying to accomplish here?
View user's profileSend private messageMSN Messenger
Pizzahut Lover
Cakester Alt; I'm going places in life


Joined: 12 Apr 2011
Posts: 233

PostPosted: Sat Apr 16, 2011 4:11 pm Reply with quoteBack to top

Stalagmite wrote:
Wait so what is Cakester trying to accomplish here?


probably too complicated for you. seeing how you refer to me, and how you would be kind if you unbanned cakester.
View user's profileSend private message
Retlaw83
Goatse Messiah
Goatse Messiah


Joined: 17 Jul 2004
Posts: 5328

PostPosted: Sat Apr 16, 2011 4:44 pm Reply with quoteBack to top

He's either genuinely schizo or this is the worst attempt at lying ever.
View user's profileSend private message
Pizzahut Lover
Cakester Alt; I'm going places in life


Joined: 12 Apr 2011
Posts: 233

PostPosted: Sat Apr 16, 2011 4:56 pm Reply with quoteBack to top

Retlaw83 wrote:
He's either genuinely schizo or this is the worst attempt at lying ever.


the worst liars being more convincing. Don't talk about genuine when your own skills are in jeopardy.
View user's profileSend private message
Retlaw83
Goatse Messiah
Goatse Messiah


Joined: 17 Jul 2004
Posts: 5328

PostPosted: Sat Apr 16, 2011 5:41 pm Reply with quoteBack to top

My skill at being schizophrenic is in jeopardy? That's a good thing, I'd hope.
View user's profileSend private message
Pizzahut Lover
Cakester Alt; I'm going places in life


Joined: 12 Apr 2011
Posts: 233

PostPosted: Sat Apr 16, 2011 6:48 pm Reply with quoteBack to top

Retlaw83 wrote:
My skill at being schizophrenic is in jeopardy? That's a good thing, I'd hope.


schizophrenic and unskilled. your worth is in jeopardy.
View user's profileSend private message
Retlaw83
Goatse Messiah
Goatse Messiah


Joined: 17 Jul 2004
Posts: 5328

PostPosted: Sat Apr 16, 2011 6:49 pm Reply with quoteBack to top

I'd swear Cakester is looking at a mirror.
View user's profileSend private message
Pizzahut Lover
Cakester Alt; I'm going places in life


Joined: 12 Apr 2011
Posts: 233

PostPosted: Sat Apr 16, 2011 8:49 pm Reply with quoteBack to top

Retlaw83 wrote:
I'd swear Cakester is looking at a mirror.



your assertion and no doubt with smoke. gj freak.
View user's profileSend private message
Retlaw83
Goatse Messiah
Goatse Messiah


Joined: 17 Jul 2004
Posts: 5328

PostPosted: Sat Apr 16, 2011 9:08 pm Reply with quoteBack to top

Cakester's cute when he's mad.
View user's profileSend private message
Psychoul
Elite Wanderer
Elite Wanderer


Joined: 25 Nov 2007
Posts: 625
Location: Oil Rig

PostPosted: Sun Apr 17, 2011 1:04 am Reply with quoteBack to top

wtf?
View user's profileSend private messageMSN Messenger
Stalagmite
Wandering Hero
Wandering Hero


Joined: 26 Feb 2009
Posts: 1192
Location: IN YOUR PANTS AUSTRALIA

PostPosted: Sun Apr 17, 2011 1:07 am Reply with quoteBack to top

Pizzahut Lover wrote:
Stalagmite wrote:
Wait so what is Cakester trying to accomplish here?


probably too complicated for you. seeing how you refer to me, and how you would be kind if you unbanned cakester.

I asked a damn legit question you moron and you still throw bullshit. And I don't even know what the hell you're talking about in the second sentence.
Baa what's the use, it's becoming clear that suicide is probably the only feasible option for this kid.
View user's profileSend private messageMSN Messenger
SenisterDenister
250 Posts til Somewhere
250 Posts til Somewhere


Joined: 23 Apr 2007
Posts: 2968
Location: Cackalackyland

PostPosted: Sun Apr 17, 2011 2:16 am Reply with quoteBack to top

cakester in every post he's ever made wrote:
AUTISM! I HAVE AUTISM!
View user's profileSend private message
Pizzahut Lover
Cakester Alt; I'm going places in life


Joined: 12 Apr 2011
Posts: 233

PostPosted: Sun Apr 17, 2011 5:57 am Reply with quoteBack to top

Stalagmite wrote:
Pizzahut Lover wrote:
Stalagmite wrote:
Wait so what is Cakester trying to accomplish here?


probably too complicated for you. seeing how you refer to me, and how you would be kind if you unbanned cakester.

I asked a damn legit question you moron and you still throw bullshit. And I don't even know what the hell you're talking about in the second sentence.
Baa what's the use, it's becoming clear that suicide is probably the only feasible option for this kid.


but that is something you should of suggested for your self. you can't handle it. icon_joy
View user's profileSend private message
Gunman
s3x g0d
s3x g0d


Joined: 10 Apr 2011
Posts: 69
Location: Ze laboratory

PostPosted: Sun Apr 17, 2011 9:01 am Reply with quoteBack to top

Prosper. Now with 70 % more dick up his ass. icon_pelvic_thrust
View user's profileSend private message
Pizzahut Lover
Cakester Alt; I'm going places in life


Joined: 12 Apr 2011
Posts: 233

PostPosted: Fri Jul 15, 2011 7:26 pm Reply with quoteBack to top

Stalagmite wrote:
Pizzahut Lover wrote:
Stalagmite wrote:
Wait so what is Cakester trying to accomplish here?


probably too complicated for you. seeing how you refer to me, and how you would be kind if you unbanned cakester.

I asked a damn legit question you moron and you still throw bullshit. And I don't even know what the hell you're talking about in the second sentence.
Baa what's the use, it's becoming clear that suicide is probably the only feasible option for this kid.


I will be merciful.

What Cakester was working on was first the flow of the save/load process. Upon pressing the red button you are prompted with NOPE YOU CANT. but with some inspection he found the non-demo's normal save routine was still present.

the source code in his OP compiles into a DLL. to test for an effect, once you inject it, you go and press the save game button.

the result is a save file is overwritten if present, otherwise a new one is created. it will be blank.
View user's profileSend private message
Yonmanc
Hero of the Glowing Lands
Hero of the Glowing Lands


Joined: 23 Jun 2009
Posts: 2224
Location: Manchester, UK

PostPosted: Sat Jul 16, 2011 4:37 am Reply with quoteBack to top

Gunman wrote:
Fuck this thread.


View user's profileSend private message
rad resistance
Striding Hero
Striding Hero


Joined: 17 Dec 2008
Posts: 1435
Location: Penn's Woods

PostPosted: Sat Jul 16, 2011 6:39 am Reply with quoteBack to top

Cakester your hurting my dick, please stop talking.
View user's profileSend private messageSend e-mail
Display posts from previous:      
Post new topicReply to topic


Jump to:  



View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group